Migrating packages from legacy to modular style

31
Figure 8: Modular package configuration after migration
Troubleshooting
If you use cmeasymigrate only to migrate or consolidate CFS MP & DG packages it will display some warning messages
telling that you have to change the dependency condition in the application packages which are dependent on
consolidated CFS packages. Display of these warnings doesn’t mean that the command has failed. For example,
consider a scenario where an application package is dependent on a CFS Mount point package which in turn depends
on a CFS Disk group package.
If you use cmeasymigrate to consolidate the legacy mount point and disk group package into a single modular
package it will display a message as follows.
Note: Change the dependency in the following packages from the package <mp_pkg_name> to <consolidated_pkg_name>:
<application_pkg_names>
In the same scenario as above, if you can use cmeasymigrate to migrate only the CFS legacy disk group package, it will
display a warning message as follows.
WARNING: Legacy CFS package <mp_pkg_name> is dependent on <dg_pkg_name> which is migrated to modular now
<mp_pkg_name> must also be converted to modular.
This message gets displayed because cross dependencies (legacy mount point package dependent on modular disk
group package (or) modular mount point package dependent on legacy disk group package) are not supported with
CFS packages and you have to migrate the CFS legacy mount point package also to modular.
cmeasymigrate can fail for the following reasons:
cmeasymigrate will fail if the toolkit legacy package has any dependencies other than a Serviceguard shipped toolkit
package(s) or CFS mount point and disk group package(s).
If a toolkit legacy package and CFS mount and disk group packages are specified on the command line then the toolkit
package must be dependent on those CFS mount point and disk group packages. Otherwise error will be thrown and
migration will not be done.
For consolidation of multiple CFS packages, common package parameters like auto_run, node_name etc should be
same across the packages specified for consolidation.