HP Serviceguard Metrocluster with EMC SRDF for Linux B.01.00.00

# vgchange -a y <vgname>
# vgcfgbackup <vgname>
# vgchange -a n <vgname>
# vgchange --deltag $(uname -n) <vgname>
10. After backing up the lvm configuration, establish the SRDF links.
# symrdf -g <dgname> establish -v
Installing and configuring an application
The disks where the application binaries and configuration files reside must not be replicated. Only
the disks where application data resides must be replicated. The following section describes how
to configure a package for the application.
Configuring a Metrocluster package
Using command line
When configuring Modular packages using Metrocluster with EMC SRDF for Linux B.01.00.00 or
later, only the package configuration file must be edited.
To configure a Metrocluster with EMC SRDF for Linux packager:
1. Run the following command to create a Metrocluster with EMC SRDF for Linux modular package
configuration file:
# cmmakepkg m dts/mcsrdf temp.config
2. Edit the following attributes in the temp.config file:
a. dts/srdf/dts_pkg_dir This is the package directory for this Metrocluster Modular
package. This value must be unique for all packages.
For example,
dts/srdf/dts_pkg_dir /usr/local/cmcluster/conf/<package_name>
b. DEVICE_GROUP Specify the SRDF Device Group managed by this package.
c. RDF_MODE Set this attribute to sync or async based on the data replication mode of
the device group.
d. CONSISTENCYGROUPS Set this attribute to 1 in case consistency groups are being
managed.
There are additional Metrocluster parameters available in the package configuration file. HP
recommends that you retain the default values of these variables unless there is a specific
business requirement to change them. For more information about the additional Metrocluster
parameters, see Appendix B (page 44).
Fill the attribute dts/srdf/DR_NOTIFICATION_CHOICES with one or more appropriate
notification types like SYSLOG CONSOLE EMAIL OPC.
For example
dts/srdf/DR_NOTIFICATION_CHOICES SYSLOG CONSOLE
NOTE: If Device Group Monitor functionality is not needed, you can provide your comment
on the Monitor service and attribute dts/srdf/DR_NOTIFICATION_CHOICES.
3. Validate the package configuration file.
# cmcheckconf -P temp.config
4. Apply the package configuration file.
# cmapplyconf -P temp.config
Installing and configuring an application 25