1.-Check server master what is the master server
#vxdctl -c mode
mode: enabled: cluster active - SLAVE
master: linuxtest1
2.-Master Server
------------------
------------------
linuxtest1
#vxdctl -c mode
mode: enabled: cluster active - SLAVE
master: linuxtest1
2.-Master Server
------------------
------------------
linuxtest1
2.1.-Slave Server
------------------
------------------
linuxtest2
3.-Connect to master server
---------------------------
---------------------------
ssh linuxtest1
4.-Check DG and FS before the change in our case we will increase data03
#vxassist -g POE-dg maxgrow data03
#vxassist -g POE-dg maxsize data03
5.-Check Disks availables for adding in the Disk Group we discover the new disk sdat/sdau/sdav, that are in online status, however they are not part from any DG
#vxassist -g POE-dg maxgrow data03
#vxassist -g POE-dg maxsize data03
5.-Check Disks availables for adding in the Disk Group we discover the new disk sdat/sdau/sdav, that are in online status, however they are not part from any DG
#vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
cciss/c0d0 auto:none - - online invalid
sda auto:cdsdisk POE-54 POE-dg online shared
sdaa auto:cdsdisk - - online
sdab auto:cdsdisk POE-56 POE-dg online shared
sdac auto:cdsdisk - - online thinrclm
sdad auto:cdsdisk POE-57 POE-dg online shared
sdae auto:cdsdisk - - online thinrclm
sdaf auto:cdsdisk POE-58 POE-dg online shared
sdag auto:cdsdisk - - online
sdah auto:cdsdisk POE-59 POE-dg online shared
sdai auto:cdsdisk - - online
sdaj auto:cdsdisk POE-60 POE-dg online shared
sdak auto:cdsdisk - - online
sdal auto:cdsdisk POE-61 POE-dg online shared
.
.
.
sdat
auto:cdsdisk - - online
sdau auto:cdsdisk - - online
sdav auto:cdsdisk - - online
sdau auto:cdsdisk - - online
sdav auto:cdsdisk - - online
Include a new disk to disk group
Disk free
sdat auto:cdsdisk - - online
sdau auto:cdsdisk - - online
sdav auto:cdsdisk - - online
vxdg –g <group> adddisk <disk>=<device>
#vxdg -g POE-dg adddisk POE-66=sdat
#vxdg -g POE-dg adddisk POE-67=sdau
#vxdg -g POE-dg adddisk POE-68=sdav
Check maxgrow and max size of diskgroup and File System
#vxassist -g POE-dg maxgrow data03
#vxassist -g POE-dg maxsize data03
Increase file system
Disk free
sdat auto:cdsdisk - - online
sdau auto:cdsdisk - - online
sdav auto:cdsdisk - - online
vxdg –g <group> adddisk <disk>=<device>
#vxdg -g POE-dg adddisk POE-66=sdat
#vxdg -g POE-dg adddisk POE-67=sdau
#vxdg -g POE-dg adddisk POE-68=sdav
Check maxgrow and max size of diskgroup and File System
#vxassist -g POE-dg maxgrow data03
#vxassist -g POE-dg maxsize data03
Increase file system
#vxresize -g POE-dg data03 +30g
Comments