HP Serviceguard Metrocluster manual Legacy packages, Migrating legacy to modular packages

Models: Serviceguard Metrocluster

1 151
Download 151 pages 11.74 Kb
Page 100
Image 100

F Legacy packages

Migrating complex workloads using Legacy SG SMS CVM/CFS Packages to Modular SG SMS CVM/CFS Packages with minimal downtime

The procedure to migrate all the legacy SG SMS CVM/CFS packages managed by a Site Controller package to modular SG SMS CVM/CFS packages as follows:

1.Complete the following steps on the recovery cluster where the complex workload packages are not running:

a.Take a backup of the application package configurations and delete the application packages managed by the Site Controller on the recovery cluster. After completing this step, dependents must not exist on the legacy CFS mount point MNP packages. In case CFS mount point MNP packages have not been configured, this step will ensure that there are no dependents on the legacy CVM diskgroup MNP packages:

#cmgetconf -p <application_pkg_name> <backedup_application_config>

#cmdeleteconf -p <application_pkg_name>

b.Use the cfsmntadm command to delete all the legacy disk group and mount point MNP packages managed by the Site Controller from a node in the recovery cluster. Use the cfsdgadm command if there are no CFS mounts configured.

#cfsmntadm delete <mount point>

or

#cfsdgadm delete <cvm_diskgroup_name>

c.Configure all the CVM diskgroups and the mount points required by an application in a single modular SMS CFS /CVM package. Add the EMS resource and apply the configuration.

#cmapplyconf -P <modular_cfs_package_file>

d.Edit the application's configuration file and change its dependency from legacy CFS mount point or CVM disk group MNP packages to the newly created modular SMS CFS/CVM package. Apply this package configuration:

#cmapplyconf -P <backedup_application_config>

e.Get the current configuration of the Site Controller package on recovery cluster. Modify the Site Controller configuration with the new set of packages that must be managed on the recovery cluster.

2.Halt the Site Controller package in the primary cluster. This will halt all the complex workload packages that are running on the primary site.

3.Restart the Site Controller in the primary cluster. The complex workload will start up on the recovery site using the new modular SMS CFS/CVM packages.

4.Repeat step 1 that was performed on the recovery cluster initially, in the primary cluster.

5.Move the site controller back to the primary cluster.

Migrating legacy to modular packages

Migrating legacy monitor package

With Continentalclusters version A.08.00, the monitoring daemon ccmonpkg that was previously configured as a legacy package can be migrated to a modular style package.

To migrate the monitoring package, ccmonpkg, to a modular package:

100 Legacy packages

Page 100
Image 100
HP Serviceguard Metrocluster manual Legacy packages, Migrating legacy to modular packages, Migrating legacy monitor package