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!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!syros.belnet.be!news.belnet.be!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Date: Tue, 11 Oct 2005 20:46:53 +0200 From: Eric de Redelijkheid User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: nl, en-us, en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Trucluster (5.1a pk6) CDSL problems on cluster_root References: <1128995586.068019.166450@o13g2000cwo.googlegroups.com> <13zpeo2j20u3y$.dlg@pappnase.co.uk> In-Reply-To: <13zpeo2j20u3y$.dlg@pappnase.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <434c089e$0$11071$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: 80.126.41.245 X-Trace: 1129056414 news.xs4all.nl 11071 [::ffff:80.126.41.245]:1406 X-Complaints-To: abuse@xs4all.nl Xref: g2news1.google.com comp.unix.tru64:353 Anno Domini 11-10-2005 7:21, Adam Price sprak aldus: >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 > > No, don't do anything. Take your hands of it until department policies change: - no root password for anyone but system's administrator - no remote login; system's administrator is member of group system and does su to root (which is being logged in the event log) - no ftp for root - secure shell for clients Your cluster is connected to a LAN. There is no way of knowing if some wanne-be techie attached a modem to his PC, so assume no safety, but ensure it. With the current policies in effect, you should not waste any time if the same problem reoccurs in a few months because someone thinks he/she knows something about Tru64 Cluster. It's not your problem, it's the department's problem for messing up.