Академический Документы
Профессиональный Документы
Культура Документы
.2# $"%&'("#))*)
To Convert a
-o make our server into a trusted server. .ogin as root and enter the $elow command/ 0 tsconvert /etc/initta$ /etc/fsta$ /var/adm/s$ta$ /etc/hosts /etc/nsswitch.conf /etc/rc.config.d/netconf /etc/inetd.conf and /var/adm/inetd.sec /etc/rc.config.d/namesvrs /etc/resolv.conf /etc/lvmta$ /stand/system
inetd -l /etc/rc.config.d/netdaemons
#I&nite %ethod
make"tape"recovery + inc"entire,vg00 + inc"entire,vg0 + e+clude,/tmp
0 vgreduce -f vgname 2pvname3 0 mv /etc/lvmta$ /etc/lvmta$.save 0 vgscan v 'ote ! 4tarting with i v#/ use the following steps to re$uild the .56 configuration files
0 umount /dev/vg0 /lvol 2if umount is $usy3 0 fuser -ku /dev/vg0 /lvol 0 ps -fp29: ) -p29 :* 2replace the hot-swappa$le disk3 0 vgcfgrestore -n y vg0 0 vgchange -a y vg0 0 newsf /dev/vg0 /rlvol 0 mount filesystem 0 restore filesystem from $ackup
0o
(T $23!!34.5 DI$-
0 lvln$oot v 0 shutdown h 0 2replace the disk3 0 2re$oot normally3 0 scsimgr replace"wwid D /dev/rdisk/disk * 2if system is not re$ooted3 0 ioscan 0 vgcfgrestore n vg0 /dev/rdsk/c2t2d0 0 vgchange a y vg0 0 newfs ;options< /dev/vg0 /rlvol 0 mount filesystem 0 2restore the file system from $ackup3
0 scsimgr replace"wwid D /dev/rdisk/disk * 0 io"redirect"dsf -d /dev/disk/disk * -n /dev/disk/disk2: 2replace old instance num$er with new3 0ioscan 0 vgcfgrestore -n /dev/vgnn /dev/rdisk/disk *"p2 0 vgcfgrestore -n /dev/vgnn /dev/rdisk/disk * 2on &% =000 servers3 0 pvchange a y /dev/disk/disk *"p2 0 pvchange a y /dev/disk/disk * 2on &% =000 servers3 0 vgchange -a y /dev/vg00
0 lve+tend m /dev/vg00/lvol# /dev/dsk/c2t )d0 0 lve+tend m /dev/vg00/lvol) /dev/dsk/c2t )d0 0 lve+tend m /dev/vg00/lvolB /dev/dsk/c2t )d0 0 lve+tend m /dev/vg00/lvol9 /dev/dsk/c2t )d0 0 lvln$oot -R /dev/vg00 2 -o update the root volume group informatrion3 0 set$oot a 2/0/9. ).0 2set alternate $oot path3 0 vi /stand/$ootconf 2add entry on this file3