UnixPedia : HPUX / LINUX / SOLARIS: HPUX :EXTENDING THE FILE SYSTEM, ADDITION OF NEW PV (CDISK) OR EXTENDING THE VG IN CLUSTER

Thursday, February 6, 2014

HPUX :EXTENDING THE FILE SYSTEM, ADDITION OF NEW PV (CDISK) OR EXTENDING THE VG IN CLUSTER

Note :Once we have created cDSFs for the cluster, HP-UX automatically creates new cDSFs when
you add shared storage.
otherwise we have to run
#insf
#cmsetdsfgroup -n «PrimaryNode»  -n «FailoverNode»
It will convert all new disks in Cdisk.
2.pvcreate with newly added cluster wide disk.

#pvcreate  newdisk


3. extend the VG
#vgextend  vgname  newlyaddeddisk

#lvextend -L +newsizeM lvname

#fsadm -F vxfs filesyste

#vgexport -p -v -s -m vgname.map /dev/vgname

#scp vgname.map nodeB:/etc/cmcluster/packageA

#edit the package conf file , if we added in LV/File system.

#cmcheckconf -v -P packageA.conf
#cmappyconf -P packageA.conf

NodeB
#vgexport /dev/vgname
#vgimport -m vgname.map -s -v -C /dev/vgname


Need to add –C switch for cluster device file system

No comments:

Post a Comment