Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00

5. Verify the configuration.
# vxprint -g logdata
6. Make the filesystem.
# newfs -F vxfs /dev/vx/rdsk/logdata/logfile
7. Create a directory to mount the volume group.
# mkdir /logs
8. Mount the volume group.
# mount /dev/vx/dsk/logdata/logfile /logs
9. Check if file system exits, then unmount the file system.
# umount /logs
10. Deport the disk group on the primary node.
# vxdg deport logdata
Installing and configuring the application at the primary cluster
An application must be installed and configured at both the sites in the primary cluster. The
application must be configured at the hot-standby site (DC2) nodes using the replicated disks at
DC2.
Configuring Primary Packages in the Primary Cluster using the 3DC Modules
A primary package must be created using Metrocluster 3DC primary module dts/
primary_xpca3dc. All 3DC parameters must be configured in the primary package configuration
file. There is no need to edit the Metrocluster environment file. The Metrocluster
environment file named as ${SG_PACKAGE_NAME}_xpca.env is automatically generated on
all nodes when this package configuration is applied in the cluster.
CAUTION: Do not delete or edit the Metrocluster environment file that is generated. This
file is crucial for 3DC operations.
Complete the following procedure on a node in the primary cluster to configure a primary package
using the 3DC modules:
1. Run the following command to create a modular primary package configuration file using the
Metrocluster with Continuous Access for P9000 and XP 3DC primary module dts/
primary_xpca3dc along with the required modules:
# cmmakepkg m dts/primary_xpca3dc pkgName.config
When deploying complex workloads, configure the Site Controller package as primary
package and include dts/primary_xpca3dc along with the dts/sc module:
# cmmakepkg m dts/primary_xpca3dc m dts/sc pkgName.config
By default, the Metrocluster 3DC primary module includes only the Serviceguard volume group
module. If other Serviceguard or Toolkit modules need to be included, they need to be explicitly
specified while creating the Metrocluster 3DC modular package configuration file.
2. Edit the following attributes in the pkgName.config file:
a. Specify the package directory for the dts/dts/dts_pkg_dir attribute:
dts/dts/dts_pkg_dir /etc/cmcluster/pkg
The Metrocluster Environment file is automatically generated for this package in
this directory.
b. Specify the value for the 3DC_TOPOLOGY parameter based on the configuration used:
For Tri-Link configuration, specify Tri-Link:
3DC_TOPOLOGY Tri-Link
120 Designing a Three Data Center Disaster Recovery Solution