Hp ux cluster (Service guard)
Extending the cluster space
Step 1 - Adding the LV in the cluster server.
1.check for the Online JFS software installed.
2.Yes, then extend the LV.
3.Activate the VG in exclusive mode.
4.Export and import vg configurations.
5.Check for the newly added LV.
6.No need to restart the package.
Extending the cluster space
Step 1 - Adding the LV in the cluster server.
1.check for the Online JFS software installed.
2.Yes, then extend the LV.
3.Activate the VG in exclusive mode.
4.Export and import vg configurations.
5.Check for the newly added LV.
6.No need to restart the package.
Step 2 - IF u have to export/import the vg on apotive node .bcos u r adding the disk in vg. if ur onle extending lv then no need to export/import
FOR eg -
cmviewcl -v --------> Take a snapshot and check for
cmhaltpkg -n nodename -v packge name -------->Halt the dependency pkg gmlci
tail -f /etc/cmcluster/packge/ci.cntl.log ----> Check the pkg log for any error
cmviewcl -v --------> Check the package
cmhaltpkg -n nodename -v packge name -----> Halt the database pkg gmldb
tail -f /etc/cmcluster/package/db.cntl.log ---->check for pkg log for error
cp -p /etc/lvmconf/vgn.conf /etc/lvmconf/vgn.conf.`date +%Ymd` ----> Backup the vg configuration
lvextend -L 154000 /dev/vgn/lvoln -----> e.g Extend the FS to 32 Gb already 122 Gb exists( 122+34)
extendfs -F vxfs /dev/vgn/rlvoln -----> Give the extendfs command to extend the FS
vgchange -c n vgn -----> Disable volume group for HA cluster
vgchange -a y vgn -----> Enable the vg without exclusive mode
mount -F vxfs /dev/vgn/lvoln filesystem name
bdf filesystem name
vgchange -a n vgn ----> Deactivate the VG
vgchange -c y vgn ----> Activate in VG for HA cluster
vgexport -p -s -v -m /tmp/vgn.map /dev/vgn -----> Export vgn
rcp -p /tmp/vgn.map gmiux:/tmp/vgn.map -----> Copy the mapfile to the adoptive node
rlogin gmiux
cp -p /etc/lvmconf/vgn.conf /etc/lvmconf/vgn.conf.`date +%Ymd`----> Backup the Vg info
vgimport -s -v -m /tmp/vgn.map /dev/vgn -----> Import vgn to gmiux
vgchange -c n vgn ----->Disable volume group for HA cluster
vgchange -a y vgn ----->Enable the vg without exclusive mode
mount -F vxfs /dev/vgn/lvol13 filesystem name -----> Check the fs is mounting properly
bdf filesystem name ----->check the fs
vgchange -a n vgn -----> Deactivate the VG
vgchange -c y vgn ---->Activate in VG for HA cluster
cmrunpkg -n server name -v package name
tail -f /etc/cmcluster/package/db.cntl.log -----> Check the pkg log for any error
cmrunpkg -n server name -v package name
tail -f /etc/cmcluster/package/ci.cntl.log -----> Check the pkg log for any error
cmviewcl -v
If the Global switching is disabled enable that
cmmodpkg -e package name
cmviewcl -v to verify
cmhaltpkg -n nodename -v packge name -------->Halt the dependency pkg gmlci
tail -f /etc/cmcluster/packge/ci.cntl.log ----> Check the pkg log for any error
cmviewcl -v --------> Check the package
cmhaltpkg -n nodename -v packge name -----> Halt the database pkg gmldb
tail -f /etc/cmcluster/package/db.cntl.log ---->check for pkg log for error
cp -p /etc/lvmconf/vgn.conf /etc/lvmconf/vgn.conf.`date +%Ymd` ----> Backup the vg configuration
lvextend -L 154000 /dev/vgn/lvoln -----> e.g Extend the FS to 32 Gb already 122 Gb exists( 122+34)
extendfs -F vxfs /dev/vgn/rlvoln -----> Give the extendfs command to extend the FS
vgchange -c n vgn -----> Disable volume group for HA cluster
vgchange -a y vgn -----> Enable the vg without exclusive mode
mount -F vxfs /dev/vgn/lvoln filesystem name
bdf filesystem name
vgchange -a n vgn ----> Deactivate the VG
vgchange -c y vgn ----> Activate in VG for HA cluster
vgexport -p -s -v -m /tmp/vgn.map /dev/vgn -----> Export vgn
rcp -p /tmp/vgn.map gmiux:/tmp/vgn.map -----> Copy the mapfile to the adoptive node
rlogin gmiux
cp -p /etc/lvmconf/vgn.conf /etc/lvmconf/vgn.conf.`date +%Ymd`----> Backup the Vg info
vgimport -s -v -m /tmp/vgn.map /dev/vgn -----> Import vgn to gmiux
vgchange -c n vgn ----->Disable volume group for HA cluster
vgchange -a y vgn ----->Enable the vg without exclusive mode
mount -F vxfs /dev/vgn/lvol13 filesystem name -----> Check the fs is mounting properly
bdf filesystem name ----->check the fs
vgchange -a n vgn -----> Deactivate the VG
vgchange -c y vgn ---->Activate in VG for HA cluster
cmrunpkg -n server name -v package name
tail -f /etc/cmcluster/package/db.cntl.log -----> Check the pkg log for any error
cmrunpkg -n server name -v package name
tail -f /etc/cmcluster/package/ci.cntl.log -----> Check the pkg log for any error
cmviewcl -v
If the Global switching is disabled enable that
cmmodpkg -e package name
cmviewcl -v to verify
0 comments:
Post a Comment