expand file system ufs in RDS environment
Hi
I would like to expand the file system, on both nodes in a global cluster environment.
I would like to have a feedback from you.
Are these steps correct ?
how can I stop/start Replication ?
BR
Tiziano
root@MILHB01S # df -h /opt/sybase/data
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/datadg/lv_nms_data 89G 82G 5.8G 94% /opt/sybase/data
root@MILHB01S # hagrp -state
#Group Attribute System Value
AppService State MILHB05SCluster:MILHB05S |OFFLINE|
AppService State localclus:MILHB01S |ONLINE|
ClusterService State localclus:MILHB01S |ONLINE|
VVRService State localclus:MILHB01S |ONLINE|
Probably I have to do these steps:
vxrlink -g datadg status datarlk
Wed Apr 20 13:06:39 2016
VxVM VVR vxrlink INFO V-5-1-4467 Rlink datarlk is up to date
put offline the service group
hagrp -offline AppService -sys MILHB01S
STOP Replication - HOW ?
verify the space
vxassist -g datadg maxgrow lv_nms_data
Volume lv_nms_data can be extended by 251455488 to: 440199168 (214941Mb)
expand the file system on primary node
vxresize -f -F ufs -g datadg lv_nms_data +40g
expand the file system on secondary node
vxresize -f -F ufs -g datadg lv_nms_data +40g
put online the service group
hagrp -online AppService -sys MILHB01S
START Replication - HOW ?
vradmin -g diskgroup stoprep local_rvgname sec_hostname --> To stop
vradmin -g diskgroup -a startrep local_rvgname sec_hostname --> To startAbove two commands taken from the link that Marianne provided above.