Operating System - Tru64 Unix
1753765 Members
5912 Online
108799 Solutions
New Discussion юеВ

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 4
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?