Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Recovering a Trucluster from backup

Adam Garsha
Valued Contributor

Recovering a Trucluster from backup

Let us say that you have a disaster, and you loose all of your cluster OS disks (cluster_root,cluster_usr,cluster_var,boot1 and boot2).

You boot off a cd and vrestore everything (after relabeling drives, etc, etc. and assuring WWID's, LUNs, and OS Unit ID's are unchanged).

Now... you need to get those pesky "h" partitions restored to the boot drives.... Let us pretend that you were smart, and that you have the requisite clu_bdmgr.conf files at hand.

Question: if you are booted from a non-clustered OS image from the install CD... can you run:

clu_bdmgr -c SOME_DISK_HERE SOME_MEMBER_ID_HERE

and

clu_bdmgr -h SOME_DISK_HERE /backup/xxx-clu_bdmgr.conf

i.e. does clu_bdmgr work when you are booted off the CD?

If not, how the heck can you restore a trucluster?

Thanks,
4 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: Recovering a Trucluster from backup

Hi,

this is described in Section 11.1.5 in the cluster administration guide.

greetings,

Michael
Ivan Ferreira
Honored Contributor

Re: Recovering a Trucluster from backup

The clu_bdmgr.conf is created at boot time in /cluster/members/{memb}/boot_partition/etc/clu_bdmgr.conf

From the man page:

If the cluster is down, boot the clusterized kernel of one member to create a single-member cluster. You can use the -h option and specify /cluster/members/{memb}/boot_partition/etc/clu_bdmgr.conf or an appropriate CNX configuration file that you previously saved with the clu_bdmgr -d command. If you use the -h option with no argument, the command will get the CNX partition information from the cluster member where you are logged on.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Adam Garsha
Valued Contributor

Re: Recovering a Trucluster from backup

Thanks, but I am reading beyond the docs... i.e. entire cluster is wiped and now I need to install from backup.

Tricky part is that clu_bdmgr is not included on the install CD.

I tried attaching a PPT that outlined how to get around it (even tried compressing... but won't fit).

Here is the trick (need to chroot to your restored filesystem mount :

chroot /mnt /sbin/sh
# dsfmgr â K (make device special files for sure)
# dsfmgr â vVF (make sure everything is in order)
# dsfmgr â vVF (run it again if they are not)

Now restore the CNX partition with clu_bdmgr

# clu_bdmgr -h dsk1 /cluster/members/member0/boot_partition/etc/clu_bdmgr.conf

# exit (to exit the chroot sh)

Note that if clu_bdmgr has some problem, you can use clu_partmgr instead
Ivan Ferreira
Honored Contributor

Re: Recovering a Trucluster from backup

I'm very interested in your file, can you send it please to:

ivan.ferreira@gmail.com

Thanks in advance.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?