Migrating packages from legacy to modular style
20
IP 192.42.2.19
IP_SUBNET 3ffe:1000:0:2a02::
IP 3ffe:1000:0:2a02::11/64
SERVICE_NAME pkg-nu-2_srv_1
SERVICE_CMD "/etc/cmcluster/pkg-nu-2/service.pl >> /etc/cmcluster/pkg-nu-
2/pkg-nu-2_srv_1.log 2>&1"
SERVICE_RESTART 2
SERVICE_NAME pkg-nu-2_srv_2
SERVICE_CMD "/etc/cmcluster/pkg-nu-2/simple >> /etc/cmcluster/pkg-nu-
2/pkg-nu-2_srv_2.log 2>&1"
SERVICE_RESTART unlimited
3. Concatenate the modified package configuration (ASCII) file with the modified package control script
4. Fix the Service attribute information, by moving the SERVICE_COMMAND, SERVICE_RESTART up to the location
where SERVICE_NAME is first defined. Remove extra SERVICE_NAME attributes.
PACKAGE_NAME pkg-nu-26561_3
module_name sg/all
module_version 1
PACKAGE_TYPE FAILOVER
NODE_NAME plankton
NODE_NAME patrick
NODE_NAME krabs
NODE_NAME sandy
AUTO_RUN YES
NODE_FAIL_FAST_ENABLED NO
RUN_SCRIPT_TIMEOUT 340
HALT_SCRIPT_TIMEOUT 340
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
LOCAL_LAN_FAILOVER_ALLOWED YES
MONITORED_SUBNET 192.42.2.0
MONITORED_SUBNET fec0:0:0:2a02::/64
SERVICE_NAME pkg-nu-26561_3srv26561_1
SERVICE_CMD "/etc/cmcluster/pkg-nu-2/service.pl >> /etc/cmcluster/pkg-nu-2/pkg-nu-
2_srv_1.log 2>&1"
SERVICE_RESTART 2
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 5
SERVICE_NAME pkg-nu-26561_3srv26561_2
SERVICE_CMD "/etc/cmcluster/pkg-nu-2/simple >> /etc/cmcluster/pkg-nu-
2/pkg-nu-2_srv_2.log 2>&1"