11.Creating volumes and adding a cluster filesystem.

# vxassist -g cfsdg1 make vol1 10240m

#vxassist -g cfsdg1 make vol2 10240m

#vxassist -g cfsdg1 make vol3 600m

#newfs -F vxfs /dev/vx/rdsk/cfsdg1/vol1

The following output will be displayed:

version 7 layout

10485760 sectors, 10485760 blocks of size 1024, log size 16384 blocks

largefiles supported

#newfs -F vxfs /dev/vx/rdsk/cfsdg1/vol2

The following output will be displayed:

version 7 layout

10485760 sectors, 10485760 blocks of size 1024, log size 16384 blocks

largefiles supported

#newfs -F vxfs /dev/vx/rdsk/cfsdg1/vol3

The following output will be displayed:

version 7 layout

614400 sectors, 614400 blocks of size 1024, log size 16384 blocks

largefiles supported

12.Configure mount point.

# cfsmntadm add cfsdg1 vol1 /cfs/mnt1 all=rw

The following output will be displayed:

Package name “SG-CFS-MP-1” was generated to control the resource. Mount point “/cfs/mnt1” was associated with the cluster.

#cfsmntadm add cfsdg1 vol2 /cfs/mnt2 all=rw

The following output will be displayed:

Package name “SG-CFS-MP-2” was generated to control the resource. Mount point “/cfs/mnt2” was associated with the cluster.

#cfsmntadm add cfsdg1 vol3 /cfs/mnt3 all=rw

The following output will be displayed:

Package name “SG-CFS-MP-3” was generated to control the resource. Mount point “/cfs/mnt3” that was associated with the cluster.

NOTE: The diskgroup and mount point multi-node packages (SG-CFS-DG_ID#and SG-CFS-MP_ID#) do not monitor the health of the disk group and mount point. They check that the application packages that depend on them have access to the disk groups and mount points. If the dependent application package loses access and cannot read and write to the disk, it will fail. However, the DG or MP multi-node package will not fail.

13.Mount cluster filesystem.

#cfsmount /cfs/mnt1

#cfsmount /cfs/mnt2

#cfsmount /cfs/mnt3

50 Serviceguard Configuration for Oracle 10g, 11gR1, or 11gR2 RAC

Page 50
Image 50
HP Serviceguard Extension for RAC (SGeRAC) manual # newfs -F vxfs /dev/vx/rdsk/cfsdg1/vol2