Chaning the WWN after contoller replacement.
UPDATE: If booting from Solaris 2.5 HW 1/96 or higher you will NOT need to mount /usr or /opt. [ And you don't even have to mount "/", if you remember the old WWN.] Just use /usr/sbin/ssaadm. 1) Boot from the cdrom and mount O/S.
ok boot cdrom -sw ; boot the single-user cdrom shell
# mount -o ro /dev/dsk/c0t0d0s0 /a ; provides RO access to "root"
NOTE: In the case of a single large / (no separate /usr, /opt, etc) this is all you need to mount. Otherwise, also mount 'usr' and 'opt' on /a/usr and /a/opt. Use the /a/etc/vfstab for reference. NOTE2: Use of the "-o ro" mount will prevent superblock consistency problems in the case of mirrored system disks. 2) Obtain the old WWN value. List one (any one) of the disks in the storage array. For example:
# cd /a/dev/rdsk
# ls -l c2t1d3s0
In this example, the "c2" is the OLD controller. You will get an output that looks like the following:
lrwxrwxrwx 1 root root 94 Mar 19 10:28 c2t1d3s0 ->
../../devices/iommu@0,10000000/sbus@0,10001000/SUNW,soc@2,0/
SUNW,pln@a0008000,78cf18/ssd@1,3:a
^^^^ ^^^^^^
xxxx yyyyyy
The WWN is 12 digits long, and is in the form xxxx00yyyyyy . The 4 characters immediately before the comma are the first 4 characters of the WWN. The 6 numbers after the comma are the last 6 digits of the WWN. Place two zeros between these values. For the above example, the WWN would be 80000078cf18. 3) Locate the new array controller.
# ls -l /dev/dsk/c*t0d0s2 | grep NWWN ; where NWWN is the four digits
; appearing in the SSA display
a match will come from controller N
4) Download the old address to the new controller.
/a/opt/SUNWssa/bin/ssacli -s -w 80000078cf18 download cN
OR
/a/usr/sbin/ssaadm download -w 80000078cf18 cN
UPDATE: If booting from Solaris 2.5 HW 1/96 or higher
/usr/sbin/ssaadm download -w 80000078cf18 cN
5) Reset the system.
# umount
# halt
Powercycle the SSA.
ok boot
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий