14. Check CFS mount points.

# bdf grep cfs

/dev/vx/dsk/cfsdg1/vol1

 

 

 

10485760

36455 9796224

0%

/cfs/mnt1

/dev/vx/dsk/cfsdg1/vol2

 

 

 

10485760

36455 9796224

0%

/cfs/mnt2

/dev/vx/dsk/cfsdg1/vol3

 

 

 

614400 17653 559458 3% /cfs/mnt3

15.View the configuration.

#cmviewcl

CLUSTER STATUS

ever3_cluster up

NODE

STATUS

STATE

ever3a

up

running

ever3b

up

running

MULTI_NODE_PACKAGES

PACKAGE

STATUS

STATE

AUTO_RUN

SYSTEM

SG-CFS-pkg

up

running

enabled

yes

SG-CFS-DG-1 up

running

enabled

no

SG-CFS-MP-1 up

running

enabled

no

SG-CFS-MP-2

up

running

enabled

no

SG-CFS-MP-3

up

running

enabled

no

CAUTION: Once you create the disk group and mount point packages, you must administer the cluster with CFS commands, including cfsdgadm, cfsmntadm, cfsmount, and cfsumount. You must not use the HP-UX mount or umount command to provide or remove access to a shared file system in a CFS environment. Using these HP-UX commands under these circumstances is not supported. Use cfsmount and cfsumount instead.

If you use the HP-UX mount and umount commands, serious problems could occur, such as writing to the local file system instead of the cluster file system. Non-CFS commands could cause conflicts with subsequent CFS command operations on the file system or the Serviceguard packages, and will not create an appropriate multi-node package—cluster packages will not be aware of file system changes.

Deleting CFS from the Cluster

Halt the applications that are using CFS file systems.

1.Unmount CFS mount points.

#cfsumount /cfs/mnt1

#cfsumount /cfs/mnt2

#cfsumount /cfs/mnt3

2.Delete mount point multi-node package.

#cfsmntadm delete /cfs/mnt1

The following output will be generated:

Mount point “/cfs/mnt1” was disassociated from the cluster

#cfsmntadm delete /cfs/mnt2

The following output will be generated:

Mount point “/cfs/mnt2” was disassociated from the cluster

# cfsmntadm delete /cfs/mnt3

Creating a Storage Infrastructure with CFS 51

Page 51
Image 51
HP Serviceguard Extension for RAC (SGeRAC) Deleting CFS from the Cluster, # bdf grep cfs, # cfsmntadm delete /cfs/mnt1