Hello all,
Here is a solution summary of my problem:
There are two cases:
1. If your system disk is a part of the raid you wish to
to change controller ID and it is encapsulated.
2. If your system disk is not part of the raid you wish
to change controller ID.
Solution for problem #1:
------------------------
1. Backup following dirs:
/dev/dsk/
/dev/rdsk/
/devices/
/etc/path_to_inst
2. vxunroot your system disk
# save old config files
cp /etc/system /etc/system.vxvm
cp /etc/vfstab /etc/vfstab.vxvm
# decapsulate rootdg
cp /etc/system.prevm /etc/system
cp /etc/vfstab.prevm /etc/vfstab
3. reboot your system to make sure it can boot without
rootvol but with regular slices.
4. halt your system, connect raids in the order you wish
and boot your system from cdrom (boot cdrom -s)
5. mount your old system "/" partition as /mnt and copy new devices:
cd /dev/dsk
tar cf - .|(cd /mnt/dev/dsk;tar xf -)
cd /dev/rdsk
tar cf - .|(cd /mnt/dev/rdsk;tar xf -)
cd /devices
tar cf - .|(cd /mnt/devices;tar xf -)
rm /mnt/etc/path_to_inst
6. edit /mnt/etc/vfstab and change old system disk controller ID
to the new value.
7. halt and update NVRAM with new boot disk value.
9. boot bootdisk -arv
If you wish to return encapsulation of rootdg - just restore
/etc/system.vxvm as /etc/system and /etc/vfstab.vxvm as /etc/vfstab
These steps have worked for me.
Solution for problem #2:
------------------------
If you need to change controller ID of raids which
does not contain system/encapsulated disks,just
perform steps 1,4,5,9 or boot -r
regards.
On Tue, 21 Oct 1997, Mike Dubman wrote:
> Dear Sun Gurus,
> Please advise with such problem:
>
> Hardware: sparc6000
> OS: solaris 2.5.1 + latest patch cluster
> Volume manager: Veritas VM 2.3
>
>
> We have 6 raids connected to two IO boards of sparc6000.
> (three fiber optics filters on each board).
> The system disk is a part of one of raids. (encapsulated)
>
> For some reasons we need to chage raid`s controllers ID
> (example: c0t0d3s0 --> c5t0d3s0, ...) to suit requirements
> of High Availability program.
>
> We would unplug all raid Fiber cables and plug them in the different
> order to get it.
>
> So,the question is:
>
> Is there any standard procedure to reconfig volume manager
> if raid controller is changed ? How did it recognize new controller
> ID of system disk ?
>
> Any help will be highly appreciated and summarized.
>
>
> Thank you.
>
>
> Mike.
>
>
>
>
>
> --
>
> Mike Dubman -- Software Engineer
> ---------------------------------------
> Voice: 972-3-9348482
> Fax: 972-3-9348489
> mailto: mike@compugen.co.il
> http://www.compugen.co.il/~mike
>
>
--Mike Dubman -- Software Engineer --------------------------------------- Voice: 972-3-9348482 Fax: 972-3-9348489 mailto: mike@compugen.co.il http://www.compugen.co.il/~mike
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:06 CDT