Configuring an Ignite-UX Server under HP Serviceguard

9
10. Create package config and scripts
Create the package configuration file and the package control script template for Ignite on
the first node.
# cmmakepkg -p /etc/cmcluster/ha-iux/nfs.conf
The package template has been created.
This file must be edited before it can be used.
# cmmakepkg -s /etc/cmcluster/ha-iux/nfs.cntl
Package control script is created.
This file must be edited before it can be used.
11. Edit parameters in Ignite scripts and config files on the first node
as follows.
Substitute your system names for the example system names such as sgiux3.fc.hp.com
along with your IP addresses.
/etc/cmcluster/ha-iux/hanfs.sh
XFS[0]="-o anon=2 /var/opt/ignite/data"
XFS[1]="-o anon=2 /var/opt/ignite/clients"
XFS[2]="-o sec=sys,anon=2,rw=sgiux3.fc.hp.com:
sgiux4.fc.hp.com:sgiux5.fc.hp.com:sgiux6.fc.hp.com
/var/opt/ignite/recovery/archives"
NFS_SERVICE_NAME[0]="nfs.monitor"
NFS_SERVICE_CMD[0]="/etc/cmcluster/ha-iux/nfs.mon"
NFS_SERVICE_RESTART[0]="-r 3"
NFS_FILE_LOCK_MIGRATION=1
/etc/cmcluster/ha-iux/nfs.cntl
VG[0]=vg01
LV[0]=/dev/vg01/lvol1; FS[0]=/etc/opt/ignite;
FS_MOUNT_OPT[0]="-o rw"; FS_UMOUNT_OPT[0]="";
FS_FSCK_OPT[0]=""; FS_TYPE[0]="vxfs"
LV[1]=/dev/vg01/lvol2; FS[1]=/var/opt/ignite;
FS_MOUNT_OPT[1]="-o rw"; FS_UMOUNT_OPT[1]="";
FS_FSCK_OPT[1]=""; FS_TYPE[1]="vxfs"
LV[2]=/dev/vg01/lvol3; FS[2]=/opt/ignite/boot;
FS_MOUNT_OPT[2]="-o rw"; FS_UMOUNT_OPT[2]="";
FS_FSCK_OPT[2]=""; FS_TYPE[2]="vxfs"
IP[0]="15.1.53.116"
SUBNET[0]="15.1.48.0"
function customer_defined_run_cmds
{
# If /etc/bootptab exists, move aside. Link shared version.
if [[ -f /etc/bootptab ]];then
mv /etc/bootptab /etc/bootptab.iux.backup
fi
ln -s /etc/opt/ignite/bootptab /etc/bootptab
# If /etc/dhcptab is not a file or does not exist then we only
# need to create the symlink if it doesn't already exist.
# This can happen in the event of a failure.