Skip to content
Alireza Kheirkhahan edited this page Sep 8, 2016 · 10 revisions

Moving to a new Cluster

Rostam is our new cluster being built from some new nodes and nodes from Hermione Cluster. The major part of Rostam cluster is set up and at this point and we started to remove nodes from Hermione to attach to Rostam.

Moving Order and Schedule

We scheduled to move the servers in following order and we expect to move each patch of servers every 3 days or so.

  • Carson and Reno: done.
  • Ariel Nodes: done.
  • 2 of Beowulf Nodes
  • Lyra Nodes
  • Trillian Nodes
  • Tycho
  • The rest of Beowulf Nodes
  • Marvin Nodes

Access to new Cluster

You can have access to the new cluster through hostname: rostam.cct.lsu.edu and port: 8000, the other credential are the same as Hermione, your username is the same, your public keys has been transferred to Rostam and your home folder has been synced.

Syncing your files again

The key based authentication is configured between Rostam and Hermione. If you have done some work on Hermione recently and want to transfer you files to Rostam, you can ssh to Hermione through port: 9000 from Rostam to transfer your files.

Alternatively you can sync you home folder again by logging in to Rostam and running following command:

$ rsync -avz -e "ssh -p 9000" hermione.cct.lsu.edu: ~

Removing the error message

Rostam uses a new cluster configuration and all of Hermione configurations are not necessarily compatible with Rostam. Moving home folders from Hermione to Rostam brings some of old configuration with itself. If after logging in Rostam you see the error message: “no cluster-env” don’t be alarmed, it is a trivial error.

You can remove the error by removing lines 33-35 of ~/.bashrc in your home folder which causes the error message about cluster-env. Alternatively you can use following command to do the job for you:

$ sed '/if\ which\ cluster-env\ >\ \/dev\/null;\ then/,/fi/d' -i ~/.bashrc

Restoring your shell setting

If you like to restore all setting of your shell to Red Hat default setting you can use following command. Note that, this step is not necessary to use Rostam and it is only a matter of taste.

$ cp /etc/skel/.* ~
Clone this wiki locally