
NOTE: If external_pre_script is specified in a Metrocluster package configuration, the external_pre_script will be executed after the execution of Metrocluster module scripts in package startup. Metrocluster module scripts are always executed first during package startup.
For a sample Metrocluster SRDF modular package configuration file, see Appendix C (page 491).
Migrating a Metrocluster Legacy Package to a Metrocluster SRDF A.08.00 Modular Package
Serviceguard legacy packages usually use application toolkits along with Metrocluster. Therefore migration from a legacy Metrocluster package to a Metrocluster modular package must account for the application toolkits also. Serviceguard 11.19 supports migration of the Serviceguard packages using application toolkits to modular packages. The migration for Metrocluster must always occur after the application toolkits have been migrated. After it has been ascertained that the application toolkits have been migrated, the following steps must be followed to migrate the Metrocluster legacy package into a modular package.
1.At this juncture, only the ECM toolkits are migrated. The package configuration file contains the ECM toolkit information as toolkit modules and its attributes. So the Metrocluster module must be added to this configuration file.
2.The cmmakepkg command provides an
The cmmakepkg command provides an
3.The package configuration file now contains the module attribute dts/dts/dts_pkg_dir. The Metrocluster environment file location directory must be provided as a value to this attribute.
4.This package configuration file is applied using the cmapplyconf command and with this the migration is completed.
The following example elaborates on the migration of a Metrocluster package that uses Oracle toolkit for Oracle single instance applications:
1.Migrate the Oracle toolkits from legacy to modular by creating the intermediate modular ASCII file from the
# cmmigratepkg
The
A modular ASCII file is created by taking in input parameters from the Oracle toolkit configuration file, the toolkit module and the originally created modular package configuration file.
#cmmakepkg
2.Include the Metrocluster SRDF module into this modular package configuration file. Use the following command to include Metrocluster module.
"#cmmakepkg
The new modular package configuration file will contain the dts/dts/dts_pkg_dir attribute unassigned.
278 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF