Un-configure CFS cluster and mount point
Summary
I have two hosts
Ø
Guest1
Ø
Guest3
Configured in VCS and CFS. There is one mount point /cfs configured in cfs cluster “cfs_cluster”. My ./cfscluster status output goest
here:
[root@guest1 ~]# /opt/VRTS/bin/cfscluster
status
Node :
guest1
Cluster Manager :
running
CVM state :
running
MOUNT POINT SHARED VOLUME DISK
GROUP STATUS
/cfs cfsvol cfsdg MOUNTED
Node :
guest3
Cluster Manager :
running
CVM state :
running
MOUNT POINT SHARED VOLUME DISK GROUP STATUS
/cfs cfsvol cfsdg MOUNTED
Steps
1-
Find master node in cluster – run following
command
a.
Vxdctl –c mode
2-
Check if cfs mount
point is visible in current mounted volumes
a.
#df –h
3-
Check cluster status by running
a.
/opt/VRTSvcs/bin/hastatus -sum
-- SYSTEM STATE
-- System State Frozen
A guest1 RUNNING 0
A guest3 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B
ClusterService guest1 Y N ONLINE
B
ClusterService guest3 Y N OFFLINE
4-
Check CFS cluster status.
a.
/opt/VRTS/bin/cfscluster
status #Output is already shared in summary
5-
Check current disk and DG configuration by
running
a.
#vxdisk list
b.
#vxprint –hrt
6-
Umount the CFS volume
a.
/opt/VRTSvxfs/cfs/bin/cfsumount /cfs
Unmounting...
/cfs got successfully unmounted
from guest1
/cfs got successfully unmounted
from guest3
7-
Delete the mount point from CFS cluster
configuration
a.
/opt/VRTS/bin/cfsmntadm
delete /cfs
Mount Point is being removed...
/cfs deleted successfully from
cluster-configuration
8-
Un-configure the CFS cluster
a.
./cfscluster unconfig
Unconfiguring cluster setup between nodes:
[guest1guest3]
VCS WARNING V-16-1-50035 No Group
dependencies are configured
Vxfsckd removed from cluster configuration
Cluster Mount resource definition removed from cluster configuration
Vxfsckd resource definition removed from
cluster configuration
Deleting the cvm
configuration.
CVM configuration deleted.
cfscluster: Cluster unconfigured successfully
9-
Check CFS cluster status
a.
[root@guest1 bin]# ./cfscluster
status
NODE CLUSTER MANAGER
STATE CVM STATE
guest1
running not-running
guest3
running not-running
Error: V-35-41: Cluster not configured for data sharing application
10-
Check VCS status as:
a.
/opt/VRTSvcs/bin/hastatus -sum
-- SYSTEM STATE
-- System State Frozen
------------- ------------- -----------
A guest1 RUNNING 0
A guest3 RUNNING 0
-- GROUP STATE
-- Group System Probed AutoDisabled State
B
ClusterService guest1 Y N ONLINE
B
ClusterService guest3 Y N OFFLINE