SUMMARY: moving RAID5 to another workstation

From: Yann (yann@veritel.com.br)
Date: Thu Jul 08 1999 - 19:03:06 CDT


        I did the steps below and I got success!

        Thanks Mikhail!!

        Yann

Mikhail V Zdorovenko wrote:
>
> HI Yann
>
> I've made the same task. The difference is what i move stripped disksuite
> configuration from one ultra1 to another ultra1.
>
> I've done it in the following order.
>
> 0. MAKE BACKUP OF YOUR RAID5
> 1. You have to create metadb on the Sparc20.
> 2. On Ultra5 write down all device numbers of disks which are in raid5
> metadevice (c?t?d?).
> Write down disks order in radi5 also. I have put label on each disks.
> The label was in form
> "cXtY". Where X and Y were scsi controller number and scsi id number of
> that disk. Use format
> utility. By using label you can fully recognize your disks on Sparc20.
> 3. Make printed copy of file /etc/opt/SUNWmd/md.cf on Ultra5
> 4. Move your disks to Sparc20. Try to keep scsi controller number (c?). I
> mean if you're have c1
> on Ultra5 try to attach your Raid to the c1 controller on Sparc20.
> If you're connecting raid5 to controller which already has connected
> disks - verify all scsi id's
> in order to avoid same id's.
> 5. Make reconfiguration boot on Sparc20
> 6. Verify that all Raid5 disks were recognized by Sparc20. Run the format
> utility and check
> the labels.
> 7. Make a backup copy of the /etc/opt/SUNWmd/md.tab file on sparc20.
> 8. On sparc20 append to the /etc/opt/SUNWmd/md.tab information about your
> raid5
> metadevice. Use printed copy from step 3. And add -k option to the raid
> 5 line to prevent
> reinitialization of raid5 device ! (read DiskSuite User's
> Guide->Troubleshooting->Recovering
> DiskSuite Configuration)
>
> VERY IMPORTANT! Verify the order and device names of raid5 parts ! They
> must be in
> the same order which was on Ultra5. If controller's number or disk's id
> was changed
> - edit the raid5 line accordingly.
>
> 9. run the metainit command to check the syntax of the md.tab file entries:
> # metainit -n -a
>
> 10. after verifying that the syntax of the md.tab file entries is correct,
> run the
> metainit command to recreate the metadevices from the md.tab file:
> # metainit -a
>
> 11. validate the data on the metadevices
>
> Sorry for poor english.
>
> Good luck!
> Mikhail V Zdorovenko
> UVTB, Russia
>
> -----Original Message-----
> From: Yann <yann@veritel.com.br>
> To: sun-managers@sunmanagers.ececs.uc.edu
> <sun-managers@sunmanagers.ececs.uc.edu>
> Date: 7 èþëÿ 1999 ã. 9:17
> Subject: moving RAID5 to another workstation
>
> > We have a Ultra5 running Solaris 7 and DiskSuite 4.2, a MultiPack with
> >6 18Gb drives.
> >
> > I created the database replicas on 6 HDs and I had setup a RAID5
> >metadevice using all disks of MultiPack.
> >
> > The Solaris is installed on a internal drive of 4Gb.
> >
> > I would like to move this MultiPack to another workstation, in case of
> >Ultra5 crash.
> >
> > I had test the action above, connecting the MultiPack in a Sparc20
> >running Solaris 7 and DiskSuite 4.2. On the Sparc20 I didn't create the
> >database replicas. I just do the following "mv /etc/opt/SUNWmd
> >/etc/opt/SUNWmd.orig" and put the same contents of /etc/opt/SUNWmd from
> >Ultra5 to /etc/opt/SUNWmd of Sparc20. After a reboot, the Sparc20 unknow
> >the RAID5.
> >
> > Is it possible to configure? What am I doing wrong?
> >
> > Thanks in advance,
> >
> > Yann
> >
> >--
> >H. S. Yann
> >yann@veritel.com.br
> >System & Network Administrator
> >VeritelNet

--
H. S. Yann
yann@veritel.com.br
System & Network Administrator
VeritelNet



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:23 CDT