Migrating packages from legacy to modular style

18
2. Modify a copy of the package control script. Edit the file to:
Remove lines from # START OF CUSTOMER DEFINED FUNCTIONS to the end of the file
Remove the top lines up to VGCHANGE
Remove the comment after VGCHANGE
Change SUBNET to IP_SUBNET
Move all IP_ADDRESSES under the appropriate IP_SUBNET’s
Change “-R” to “unlimited”
Change in SERVICE_RESTART values of-r <value>” to just <value>
Remove all of the array values “-”
Remove all “=”
Remove “” from value for KILL_PROCESSES_ACCESSING_RAW_DEVICES
Make sure all file system attributes are in separate lines
Remove quotation marks from the values of FS and LV
Package control script after the modifications:
CVM_ACTIVATION_CMD "vxdg -g \$DiskGroup set activation exclusivewrite" VG
/dev/vglock2
DEACTIVATION_RETRY_COUNT 2
KILL_PROCESSES_ACCESSING_RAW_DEVICES NO LV /dev/vglock2/lvol1
FS /var/opt/tmp/mnt/dev/vglock2/lvol1
FS_TYPE ""
FS_MOUNT_OPT ""
FS_UMOUNT_OPT ""
FS_FSCK_OPT ""
LV /dev/vglock2/lvol10
FS /var/opt/tmp/mnt/dev/vglock2/lvol10
FS_TYPE ""
FS_MOUNT_OPT ""
FS_UMOUNT_OPT ""
FS_FSCK_OPT ""
LV /dev/vglock2/lvol2
FS /var/opt/tmp/mnt/dev/vglock2/lvol2
FS_TYPE ""
FS_MOUNT_OPT ""
FS_UMOUNT_OPT ""
FS_FSCK_OPT ""
LV /dev/vglock2/lvol3
FS /var/opt/tmp/mnt/dev/vglock2/lvol3
FS_TYPE ""
FS_MOUNT_OPT ""
FS_UMOUNT_OPT ""
FS_FSCK_OPT ""