From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,356ecc989164bf7c X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Adam Price Newsgroups: comp.unix.tru64 Subject: Re: Trucluster (5.1a pk6) CDSL problems on cluster_root Date: Tue, 11 Oct 2005 06:21:40 +0100 Message-ID: <13zpeo2j20u3y$.dlg@pappnase.co.uk> References: <1128995586.068019.166450@o13g2000cwo.googlegroups.com> Reply-To: adam+usenet@pappnase.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net U9f8S1bxvIniGFYbGljNYwCtwDg4ah+oZuZUc/RmGZloZcjInY User-Agent: 40tude_Dialog/2.0.15.1 X-Face: $%HL1>bt@/.#Q9..+rV,tLW5O*T;6$K?P5E#$MpuT]7#&k)d|ET$6(AB@w{czE[.TI:-mD0 8QBGvE`1e3apUSKT8C7t_.VFSkb'nG5.a+W&UVO:jZX_wof!K9 Xref: g2news1.google.com comp.unix.tru64:352 On 10 Oct 2005 18:53:06 -0700, Jack Estes wrote: > I think I'm screwed on this one, but I thought I'd post to the group to > see if anyone else has seen this. > > I have a two node trucluster serving an oracle 8i database and an > application originally written as single-instance so CAA manages it. > The cluster interconnect is memory channel and storage is fiber > channel-connected dual HSG80s into 3 StorageWorks SCSI enclosures. > > For reasons passing understanding, about 40 people know the root > password on this cluster and by department policy, root is allowed to > login remotely. I'm assuming because this cluster is on a private > network serving only this department and is physically disconnected > from anything else, they think this is a good idea. > > On to my problem: A user reluctantly admitted to me that he forgot his > user account password so he went ahead and logged in as root from his > PC. Thinking he was in his home directory, he executed an mv on / > thinking he would only move the files in his home directory to another > NFS mounted drive he used as a backup device. Shortly into this > process, I think he figured out he was getting the wrong stuff, killed > the command, then tried to mv the stuff back to /. In doing so, he > obviously destroyed all the CDSLs for both nodes on the cluster /, > /usr, /etc, and /var filesystems. Within about 10 minutes of this > catastrophe, a thermal breaker blew in the cabinet and uncerimoniously > shut off power to both nodes. Neither node can boot now because, among > other things, the cluster database is unavailable to them and neither > node has a unique identity (there's just one /etc/* between them). > > I CAN boot the first member via the old build disk on the internal bus > and see down the HSGs to the AdvFS domains on the other side, and > they're all good. In fact, I mounted them read-only by monkeying > around in /etc/fdmns on the build disk to make temp domains and > filesets so I'm not worried about. That's how I found out there were no > more CDSLs on the cluster filesystem. The quorum disk out there is > perfectly intact as well. The entire application and oracle database > are on some filesets out on the SAN and the startup scripts are > manually executed so I'm not worried about recreating anything other > than users (I know the old UIDs to make home directories match up right > away, etc...) > > I'm wondering if there's a reliable way to recreate the links and put > things back where they belong (um, like the correct /etc/sysconfigtab) > maybe with some combination of clu_delete_member and clu_add_member or > if I'm better off time-wise, to just finally upgrade to 5.1B-3 (i'm > licensed and have the media) by doing a fresh install and remounting > the AdvFS data domains on the SAN. LSM was not managing any disks. > > Any help is graciously accepted. Thanks! > > Jack Your best bet is to recover it all from the backup tapes, but if for some reason you can't do that then I think you are stuck with a re-install. If you need a bare metal recovery guide then the one on the legato networker site is quite good when it describes recovering a cluster, even though the recovery commands are obviously related to their backup product they are generic enough that you should be able to adapt them and specific enough that you should get all that you need. That said, I would say the upgrade to 5.1B-3 is a good idea anyway. Adam