0% found this document useful (0 votes)
128 views

# Check If The DRD Software Is Installed

The document provides instructions for mirroring the root volume on servers to protect against disk failure. It describes using LVM tools like pvcreate, vgextend, lvextend, and lvlnboot to add disks, extend volume groups and logical volumes onto those disks to setup disk mirroring. The mirrored logical volumes are mounted to achieve fault tolerance for the root file system.

Uploaded by

Rakesh PM
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
128 views

# Check If The DRD Software Is Installed

The document provides instructions for mirroring the root volume on servers to protect against disk failure. It describes using LVM tools like pvcreate, vgextend, lvextend, and lvlnboot to add disks, extend volume groups and logical volumes onto those disks to setup disk mirroring. The mirrored logical volumes are mounted to achieve fault tolerance for the root file system.

Uploaded by

Rakesh PM
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

# Check if the DRD software is installed

swlist l product DynRootDisk

# Identify boot and spare disks.


ioscan -fknC disk

# Clone the root disk ( -p to print the output )


drd clone -v -t /dev/dsk/c2t0d0 more /var/opt/drd/drd.log drd mount drd umount drd runcmd swinstall s hpvldas .usa.hp.com!/hpvl"depot/ignite/patches drd runcmd swlist -l product %&'("#))*) drd runcmd swverify %&'("#))*) swlist l product %&'("#))*) drd activate -+ re$oot,true

.2# $"%&'("#))*)

To Convert a

! "# server into a Trusted $yste%

-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

To lo& the network connection

inetd -l /etc/rc.config.d/netdaemons

#I&nite %ethod
make"tape"recovery + inc"entire,vg00 + inc"entire,vg0 + e+clude,/tmp

#Incase of shutdown check the below files


shutdown.log rc.log

Reduce 'irror (if you have a sin&le %irror copy)


0 lvreduce -m 0 -1 n /dev/vgname/lvname pvname

(n releases prior to follows,

!-"# ))i v*+ you %ust rebuild the lv%tab file as

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

7/etc/lvmta$ or /etc/lvmta$"p8! 0vgreduce f vgname 2pvname3 0vgscan f vgname

DI$- replace%ent when (.R+ hotswapabble disk and ./' is %irrored


0 lvln$oot v 0 pvchange -a ' /dev/dsk/c2t )d0 2detach the disk3 0 2replace the hot-swappa$le disk3 0 vgcfgrestore n vg0 /dev/rdsk/c2t )d0 0 vgchange a y vg0

(T swappable disk but 0( 'IRR(RI01 0( (.R


0 lvln$oot v

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

'irrored 6 "n%irrored 0onboot Disk


0 ioscan -m lun 0 pvchange -a ' /dev/disk/disk * 2stop disk access to lvm3 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 * 0 pvchange a y /dev/disk/disk * 2disk acess to .563 0 vgchange -a y /dev/vg

Replacin& a 'irrored 4oot Disk


0 ioscan m lun /dev/disk/disk * 0 pvchange -a ' /dev/disk/disk *"p2 0 pvchange -a ' /dev/disk/disk * 2on &% =000 servers3

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

'irrorin& the Root /olu%e on !3-RI$C $ervers


0insf -e -& 2/0/9. ).0 2install secial files3 0 pvcreate -> /dev/rdisk 0 vge+tend /dev/vg00 /dev/dsk/c2t )d0 0 mk$oot l /dev/rdsk/c2t )d0 0 mk$oot a ?hpu+ -l@A /dev/rdsk/c2t )d0 0 lve+tend m /dev/vg00/lvol /dev 0 lve+tend m /dev/vg00/lvol2 /dev 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

'irrorin& root volu%e on Inte&rity servers


0 vi /tmp/partionfile Cn this e+ample/ the partition (DC )006> &%EF 00G &%4% *006> 0 idisk -f /tmp/partitonfile -w /dev/rdsk/c2t d0 0insf -e -& 2/0/9. ).0 2install secial files3 0 efi"fsinit -d /dev/rdsk/c2t d0s 2to initialiHe fat filesystem3 0 pvcreate -> /dev/rdisk 0 vge+tend /dev/vg00 /dev/dsk/c2t )d0 0 mk$oot el /dev/rdsk/c2t )d0 0 efi"cp -d /dev/rdsk/c2t d0s ./1E-I /efi/hpu+/auto 2copy efi disk partition to new disk3 0 lve+tend m /dev/vg00/lvol /dev 0 lve+tend m /dev/vg00/lvol2 /dev

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

You might also like