Hoffman2:Accessing the Cluster: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==SSH==
Here are some of our favorite ways to access the Hoffman2 Cluster login nodes.


==NX Client (A GUI, yay!)==
=SSH=
''The official description of how to do this is found [http://www.ats.ucla.edu/clusters/common/head_node_access/access.htm here]''
 
==If you are on a Mac or PC running Linux/Unix...==
# Open up X11 or Terminal.  Both are under ''Applications > Utilities'' on Macs.
# Type the command
#: <code>ssh -X [USERNAME]@hoffman2.idre.ucla.edu</code>
#filling in your Hoffman2 username.
#: The <code>-X</code> is for X11 Forwarding so that any graphics that are rendered on Hoffman2 get forwarded to the screen of your computer.  A <code>-Y</code> flag accomplishes the same thing but does not secure the connection. Correct us if we have that switched.
# Press enter and type in your password when it asks for it.  No characters or asterisks will show up while you type.
# Provided your typing was good, you will be greeted by the Hoffman2 login message and have successfully SSHd into a login node.
 
==If you are on a PC running Windows...==
# Go to [http://www.ats.ucla.edu/clusters/common/head_node_access/access.htm] and follow the instructions under ''From a PC running Windows''.  We recommend PuTTY or NX Client.
# Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine
 
 
=NX Client (A GUI, yay!)=
''The official description of how to do this is found [http://www.ats.ucla.edu/clusters/hoffman2/head_node_access/nx.htm here]''
 
# Go to [http://www.nomachine.com/] and navigate to the ''Download'' tab.
# Find the section titled ''NX Client Products'' and click on the one for the operating system you are running.
#: '''NOTE: If you are running OS X 10.7 Lion, only NX Client 4.x will work for your operating system.  As of March 2012, this version of NX Client was still in testing but could be downloaded in the ''Download Preview'' section of the website ([http://www.nomachine.com/download-preview.php]).'''
# Download the appropriate installation file and install it on your computer.
# Once it is installed on your computer, start up NX Client.
# The window that appears will ask for:
#*Login -- your Hoffman2 username
#*Password -- your Hoffman2 password
#*Session -- type ''Hoffman2''
# Then click the ''Configure...'' button and fill out the necessary information
#*Under the ''General'' tab
#**In the ''Server'' section
#***Host -- ''hoffman2.idre.ucla.edu''
#***Port -- 22
#***Key -- Click this button and delete the contents of the window that appears.  Open up an [[Accessing Hoffman2#SSH|SSH session]] to Hoffman2 and run the command
#***:<code>cat /etc/nxserver/client.id_dsa.key</code>
#***:The output is the key.  Copy everything that was printed out and paste it into the Key window in NX Client and click ''Save''.
#**In the ''Desktop'' section -- Use the drop down menus to select ''Unix'' and ''GNOME''
#*Click ''Save''
# Now you can click ''Login'' on the main window and a GUI environment connection will be established with a Hoffman2 login node.
 
 
=UCLA Grid Portal=
We haven't used this one much yet, but we'll be trying it out and get back to you about our experiences.
 
''The official description of how to do this is found [http://www.ats.ucla.edu/clusters/grid_portal/ here]''
 
 
=External Links=
*[http://www.ats.ucla.edu/clusters/common/head_node_access/access.htm Accessing Hoffman2 via Command Line]
*[http://www.ats.ucla.edu/clusters/hoffman2/head_node_access/nx.htm Accessing Hoffman2 via NX Client]
*[http://www.ats.ucla.edu/clusters/hoffman2/head_node_access/ Information about Hoffman2 Login Nodes] -- RSA Fingerprints, node addresses
*[http://www.ats.ucla.edu/clusters/grid_portal/ Accessing Hoffman2 through UCLA Grid Portal]

Revision as of 21:46, 13 March 2012

Here are some of our favorite ways to access the Hoffman2 Cluster login nodes.

SSH

The official description of how to do this is found here

If you are on a Mac or PC running Linux/Unix...

  1. Open up X11 or Terminal. Both are under Applications > Utilities on Macs.
  2. Type the command
    ssh -X [USERNAME]@hoffman2.idre.ucla.edu
  3. filling in your Hoffman2 username.
    The -X is for X11 Forwarding so that any graphics that are rendered on Hoffman2 get forwarded to the screen of your computer. A -Y flag accomplishes the same thing but does not secure the connection. Correct us if we have that switched.
  4. Press enter and type in your password when it asks for it. No characters or asterisks will show up while you type.
  5. Provided your typing was good, you will be greeted by the Hoffman2 login message and have successfully SSHd into a login node.

If you are on a PC running Windows...

  1. Go to [1] and follow the instructions under From a PC running Windows. We recommend PuTTY or NX Client.
  2. Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine


NX Client (A GUI, yay!)

The official description of how to do this is found here

  1. Go to [2] and navigate to the Download tab.
  2. Find the section titled NX Client Products and click on the one for the operating system you are running.
    NOTE: If you are running OS X 10.7 Lion, only NX Client 4.x will work for your operating system. As of March 2012, this version of NX Client was still in testing but could be downloaded in the Download Preview section of the website ([3]).
  3. Download the appropriate installation file and install it on your computer.
  4. Once it is installed on your computer, start up NX Client.
  5. The window that appears will ask for:
    • Login -- your Hoffman2 username
    • Password -- your Hoffman2 password
    • Session -- type Hoffman2
  6. Then click the Configure... button and fill out the necessary information
    • Under the General tab
      • In the Server section
        • Host -- hoffman2.idre.ucla.edu
        • Port -- 22
        • Key -- Click this button and delete the contents of the window that appears. Open up an SSH session to Hoffman2 and run the command
          cat /etc/nxserver/client.id_dsa.key
          The output is the key. Copy everything that was printed out and paste it into the Key window in NX Client and click Save.
      • In the Desktop section -- Use the drop down menus to select Unix and GNOME
    • Click Save
  7. Now you can click Login on the main window and a GUI environment connection will be established with a Hoffman2 login node.


UCLA Grid Portal

We haven't used this one much yet, but we'll be trying it out and get back to you about our experiences.

The official description of how to do this is found here


External Links