Security Solutions

SITE site name>
...
NOTE: Only one site must be specified in the cluster configuration file, and all the nodes in
the cluster must belong to this site.
3. Run the cmapplyconf command to apply the configuration file.
4. Run the cmruncl command to start the cluster.
After the cluster is started, you can run the cmviewcl command to view the single site configuration.
Configuring the recovery cluster with a single site
The recovery cluster must be created with a single site configured in the Serviceguard cluster
configuration file. The procedure to create a recover cluster with single site is identical to the
procedure for creating a primary cluster with a single site. To configure a recovery cluster with a
single site, complete the procedure described in section “Configuring the primary cluster with a
single site” (page 44), for the recovery cluster.
Setting up the complex workload in the primary cluster
To create a complex workload, configure the required storage device (volume groups or disk
groups) on the disks that are part of the replication pair at the primary cluster. Then, configure a
complex workload package stack in this cluster.
Setting up the complex workload in the primary cluster involves the following steps:
1. Configuring the storage device for the complex workload in the primary cluster.
2. Configuring the complex workload stack in the primary cluster.
3. Halting the complex workload in the primary cluster.
Configuring the storage device for the complex workload at the primary cluster
The shared storage device for storing data of a complex workload can be configured using CFS,
CVM, or SLVM. When using CFS, appropriate Cluster File Systems must be created on the replicated
disks. When using SLVM or CVM, appropriate SLVM volume groups or CVM disk groups must be
created with the required raw volumes over the replicated disks.
Configuring the storage device using CFS or SG SMS CVM
Serviceguard enables you to manage all the CVM diskgroups and the CFS mountpoints required
by an application within a single package. This helps in significantly reducing the number of
packages a cluster administrator must manage.
To set up the CVM disk group volumes on the CVM cluster master node in the primary cluster:
1. Initialize the source disks of the replication pair:
# /etc/vx/bin/vxdisksetup -i <replicated_disk_1>
# /etc/vx/bin/vxdisksetup -i <replicated_disk_2>
2. Create a disk group for the complex workload data.
# vxdg s init <cvm_dg_name> <replicated_disk_1> <replicated_disk_2>
3. Activate the CVM disk group in the primary cluster.
# vxdg -g <cvm_dg_name> set activation=sw
4. Create a volume from the disk group.
# vxassist -g <cvm_dg_name> make <cvm_dg_vol_name> 4500m
NOTE: Skip this step if CVM raw volumes are used for storing the data.
Configuring the recovery cluster with a single site 45