1.Create a package configuration file using the following modules:
# cmmakepkg
2.Edit the configuration file and specify values for the following attributes:
package_name <cvm_dg_pkg_name> package_type multi_node cvm_dg <cvm_dg_name>
cvm_activation_cmd "vxdg
3.Specify the nodes in the primary cluster using the node_name attribute. node_name <node1>
node_name <node2>
In this command, <node1> and <node2> are nodes in the primary cluster.
4.Specify the Serviceguard dependency. dependency_name
5.Apply the newly created package configuration.
# cmapplyconf -v -P <cvm_dg_pkg_name>.conf
Configuring the storage device using SLVM
To create volume groups on the primary cluster:
1.Define the appropriate volume groups on every host system in the primary cluster.
#mkdir /dev/<vg_name>
#mknod /dev/<vg_name>/group c 64 0xnn0000
where the name /dev/<vg_name> and the number nn are unique within the entire cluster.
2.Create the volume group on the source volumes.
#pvcreate
#vgcreate /dev/<vg_name> /dev/dsk/cxtydz
3.Create the logical volume for the volume group.
#lvcreate -L XXXX /dev/<vg_name>
In this command, XXXX indicates the size in MB.
4.Export the volume groups on the primary system without removing the special device files.
#vgchange
#vgexport -s -p -m <map_file_name> <vg_name>
Ensure that you copy the mapfiles to all host systems.
5.On the nodes in the primary cluster, import the volume group.
#vgimport -s -m <map_file_name> <vg_name>
6.On every node, ensure that the volume group to be shared is currently inactive on all the nodes.
#vgchange -a n /dev/<vg_name>
7.On the configuration node, make the volume group shareable by members of the primary cluster in the cluster.
#vgchange -S y -c y /dev/<vg_name>
Setting up the complex workload in the primary cluster 47