where node1 and node2 are the nodes in the Source Disk Site.

4.Activate the CVM disk group in the Source Disk Site CFS sub-cluster.

#cfsdgadm activate <cvm_dg_name>

5.Create a volume from the disk group

#vxassist -g <cvm_dg_name> make <cvm_dg_vol_name> 4500m

6.NOTE: Skip the following steps if you want to use the storage devices as raw CVM volumes.

To configure the storage devices using CFS, do: Create a file system using the created volume

#newfs -F vxfs \

/dev/vx/rdsk/<cvm_dg_name>/<cvm_dg_vol_name>

7.Create mount points for the complex workload data and set appropriate permissions

#mkdir /cfs

#chmod 775 /cfs

#mkdir /cfs/<cvm_dg_name>

8.Create the Mount Point MNP package with a unique name in the cluster

#cfsmntadm add <cvm dg name> <cvm_dg_vol_name> \

/cfs/<cvm_dg_name> <cfs_mount_point_pkg_name> all=rw \

<node1><node2>

where node1 and node2 are the nodes in the Source Disk Site.

Configuring the storage device for complex workload at the target disk site using SG SMS CFS or CVM

To import CVM disk groups on the nodes in the target disk site and to create CFS disk group and mount point MNP packages:

1.From the CVM master node at the target disk site, import the disk groups used by the complex workload.

#vxdg -stfC import <cvm_dg_name>

2.Create Serviceguard disk group MNP packages for the disk groups with a unique name in the cluster

#cfsdgadm add <cvm_dg_name><cvm_dg_pkg_name> all=sw\

<node 1> <node 2>

Where node1 and node2 are the nodes at the target disk site

3.Activate the complex workload disk groups in the CFS sub-cluster.

#cfsdgadm activate <cvm_dg_name>

4.NOTE: Skip the following steps if you want to use the storage devices as raw CVM volumes. Create the mount point directories for the complex workload cluster file systems

#mkdir /cfs

#chmod 775 /cfs

#mkdir /cfs/<cvm_dg_name>

5.Create the Mount Point MNP package with a unique name in the cluster.

#cfsmntadm add <cvm_dg_name><cvm_dg_vol_name>\

cvm_dg_name> /cfs/<cfs_mount_point_pkg_name> all=rw\

<node1> <node2>

112 Legacy packages

Page 112
Image 112
HP Serviceguard Metrocluster manual # cfsdgadm activate cvmdgname, # newfs -F vxfs \ Dev/vx/rdsk/cvmdgname/cvmdgvolname