Accessing LSF Application Center
You can use multiple methods of accessing LSF Application Center from an LSF Application Center supported browser.
Gathering IP addresses
Regardless of which method you use to access LSF Application Center, first collect the IP addresses of your compute nodes and the floating IP address that is attached to your bastion node:
- In the IBM Cloud console, select Projects > project_name > Configurations > project_configuration_name > Resources tab, and click the link for the workspace.
- On the workspace page, click the Resources tab. In the list of Terraform resources, click the
management_host
resource link, which opens a new window with a list of the VSIs that were provisioned. - On the Virtual server instances for VPC page, locate the IP address for
<cluster_prefix>-mgmt-1
, which is the management IP address that you need. - Locate the floating IP address that is attached to the bastion node.
Logging in to LSF Application Center
You can access the LSF Application Center directly:
-
Open a new command line console and run the following command:
application_center_tunnel = "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=5 -o ServerAliveCountMax=1 -L 8443:pac.hpcaas.com:8443 -L 6080:pac.hpcaas.com:6080 -L 8444:pac.hpcaas.com:8444 -J ubuntu@<floating_IP_address> lsfadmin@<login_VSI_IP_address>" ... ..."
Where
<floating_IP_address>
is the floating IP address for the bastion node and<management_node_IP_address>
is the IP address for the management node.You can copy the command to access LSF Application Center from the output section of your workspace; look for
application_center
. -
Open a browser:
- If you are on your local host, access https://localhost:8443.
- If you enabled a VPN connection or a direct link among your on-premises facilities and the VPC, access http://pac.<domain_name>, where
<domain_name>
is your IBM Cloud® HPC cluster domain name.
-
Log in to LSF Application Center, by using the default user lsfadmin and the password that you configured when you deployed your IBM Cloud cluster (for example, Admin@123).
If LDAP is enabled, you can access the LSF Application Center:
- by using the LDAP username and password that you configured during IBM Cloud® HPC cluster deployment.
- by using an existing LDAP username and password.
Clear the browsers cache if you encounter slowness in loading or accessing LSF Application Center.
Accessing LSF Application Center through VNC (remote) consoles
You can also access LSF Application Center by using a remote console, which opens a remote desktop on the LSF Application Center server through Virtual network computing (VNC):
-
In LSF Application Center, select the Workload tab.
-
Perform one of the following actions:
-
To submit a custom application job from LSF Application Center, click GEDIT. Wait for the remote console to open, choose the appropriate language and security requirement option, and click Next to access the remote console.
-
To open a new remote console, select VNC Consoles > Open my console to access the remote console.
-
When you deploy the IBM Cloud HPC cluster with LSF Application Center and enable high availability by using a self-signed certificate, you need to accept the certificates for both the LSF Application Center port (8443) for https://pac.<domain_name>:8443, and the VNC port (6080) for https://pac.<domain_name>:6080.
Accessing LSF Application Center by using SSH tunneling from a bastion host
When you deploy the IBM Cloud® HPC cluster with LSF Application Center and high availability that is enabled, the output section provides guidance about accessing LSF Application Center with an SSH tunnel. Note the application_center_tunnel
and application_center_url_NOTE
lines in the following example output:
application_center_tunnel = "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=5 -o ServerAliveCountMax=1 -L 8443:pac.hpcaas.com:8443 -L 6080:pac.hpcaas.com:6080 -J ubuntu@<floating_IP_address> lsfadmin@<login_VSI_IP_address>"
application_center_url = "https://pac.<dommain_name>:8443"
application_center_url_NOTE = "you may need '127.0.0.1 pac pac.<domain-name>' in your /etc/hosts, to let your browser use the ssh tunnel"
Where <floating_IP_address>
is the floating IP address for the bastion node, <login_VSI_IP_address>
is the IP address for the login node, and <domain_name>
is your IBM Cloud® HPC cluster
domain name.
You need '127.0.0.1 pac.
To access LSF Application Center by creating a port-forwarding SSH tunnel from your bastion host:
- Edit the
./etc/hosts
file on your host to add this line to the file:
For example:127.0.0.1 pac pac.<domain-name>
127.0.0.1 pac pac.mydomain.com
- Customize your
./ssh/config
file for SSH tunnelling and port forwarding for the login VSI. This example shows settings for a bastion and a login VSI:Host clusterX-vsi-for-bastion Hostname <bastion_floating_IP_address> ForwardAgent yes IdentityFile ~/.ssh/my-ssh-key StrictHostKeyChecking no User ubuntu Host clusterX-vsi-for-login Hostname clusterX-vsi-for-login-001.hpcaas.com ForwardAgent yes LocalForward 8443 pac.<domain_name>:8443 LocalForward 8444 pac.hpcaas.com:8444 LocalForward 6080 pac.<domain_name>:6080 IdentityFile ~/.ssh/my-ssh-key StrictHostKeyChecking no User lsfadmin ProxyJump ubuntu@<bastion_floating_public_IP_address>
- Establish an SSH connection to the login VSI. For example, to connect to the clusterX-vsi-for-login VSI, run:
ssh clusterX-vsi-for-login
- Open a browser and access https://pac.<domain_name>:8443. For example, https://pac.mydomain:8443.