IRIDIA cluster backup files
From IridiaWiki
(Difference between revisions)
Christensen (Talk | contribs) |
(→Backing up important files) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
== Stopping the current operation == |
== Stopping the current operation == |
||
− | Log on to majoranaas root, do a qstat to see if anyone is using the cluster, if not stop the Sun Grid Engine (SGE): |
+ | Log on to majorana as root, do a qstat to see if anyone is using the cluster, if not stop the Sun Grid Engine (SGE): |
<pre> |
<pre> |
||
− | /etc/init.d/rcsge stop |
+ | /etc/init.d/rc.d/sge stop |
</pre> |
</pre> |
||
Line 21: | Line 21: | ||
/etc (User passwords, conf files for NIS, NFS, ..) |
/etc (User passwords, conf files for NIS, NFS, ..) |
||
/usr/local/sge (Sun Grid Engine) |
/usr/local/sge (Sun Grid Engine) |
||
− | /usr/src/ganglia (Ganglia) |
||
/usr/lib/fai (Fully automated installation) |
/usr/lib/fai (Fully automated installation) |
||
/usr/share/fai (Fully automated installation) |
/usr/share/fai (Fully automated installation) |
||
Line 28: | Line 27: | ||
</pre> |
</pre> |
||
− | Backup the following directories from polyphemus |
+ | |
+ | Backup the following directories from polyphemus: |
||
<pre> |
<pre> |
||
/etc (Misc configuration files) |
/etc (Misc configuration files) |
||
+ | /var/www/ganglia (Ganglia Web frontend) |
||
/root/flexlmd (FlexLM license manager files) |
/root/flexlmd (FlexLM license manager files) |
||
/var/flexlm (More FlexLM) |
/var/flexlm (More FlexLM) |
Latest revision as of 11:37, 27 June 2005
This page contains information on how to stop the cluster and on what files to backup before reinstalling everything.
[edit] Stopping the current operation
Log on to majorana as root, do a qstat to see if anyone is using the cluster, if not stop the Sun Grid Engine (SGE):
/etc/init.d/rc.d/sge stop
Check if there is any mail on the servers (/var/spool/mail)
[edit] Backing up important files
If there are any MySQL database running on one of the servers back it up using mysqldump, e.g.:
mysqldump --allow-keywords --all-databases -u root -p > mysqldbbackup.txt
Backup the follow directories from majorana:
/home (Users' home directories) /etc (User passwords, conf files for NIS, NFS, ..) /usr/local/sge (Sun Grid Engine) /usr/lib/fai (Fully automated installation) /usr/share/fai (Fully automated installation) /usr/local/share/fai (Fully automated installation) /root (Scripts etc.)
Backup the following directories from polyphemus:
/etc (Misc configuration files) /var/www/ganglia (Ganglia Web frontend) /root/flexlmd (FlexLM license manager files) /var/flexlm (More FlexLM) /etc/init.d/flexlmd (More FlexLM) /etc/rc*/*80flexlmd (More FlexLM) /etc/flexlm (More FlexLM) /root (Scripts etc.)
Backup the following directories from one diskless node and one rack node:
/etc
Note: Some directories you can simply tar and compress, while that might take a bit too long/too much space for the home directories. In those cases rsync can prove useful.