Sun Cluster 2.2 Software Installation Guide

7.2.3 How to Prepare Logical Hosts for Informix Databases

  1. Make sure Sun Cluster is started and the node owns the disk groups.

    If necessary, as root, use the scadmin(1M) command.

    # scadmin startcluster
    

    This command causes the node to take disk group ownership.

  2. Configure the disk devices for use by your volume manager.

    1. If you are using Solstice DiskSuite, set up UFS logging devices or raw mirrored metadevices on all nodes that will be running Sun Cluster HA for Informix.

      If you will be using raw mirrored metadevices to contain the databases, change the owner, group, and mode of each of the raw mirrored metadevices. If you are not using raw mirrored metadevices, skip this step.


      Caution - Caution -

      While Informix supports raw I/O to both raw physical devices and raw metadevices (mirrored or nonmirrored), Sun Cluster only supports raw Informix I/O on raw mirrored volumes or metadevices. You cannot use devices such as /dev/rdsk/c1t1d1s2 to contain Informix data under Sun Cluster.


      Instructions for creating mirrored metadevices are provided in Appendix B, Configuring Solstice DiskSuite."

      If you are creating raw mirrored metadevices, type the following commands for each metadevice.

      # vxvol set owner=informix_id group=dba_id mode=600 \
       /dev/vx/rdsk/diskgroup_name/volume_name
      
      # chown informix_id /dev/md/diskset/rdsk/dn
       # chgrp informix_id /dev/md/diskset/rdsk/dn
       # chmod 600 /dev/md/diskset/rdsk/dn
      
    2. If you are using Sun StorEdge Volume Manager, set up VxFS logs or raw devices on all Sun Cluster nodes.

      If you will be using raw devices to contain the databases, change the owner, group, and mode of each device. If you are not using raw mirrored metadevices, skip this step. See your Sun StorEdge Volume Manager documentation for further details. Type the following commands for each raw device:

      # chown informix_id /dev/vx/rdsk/diskgroup_name/volume_name
       # chgrp informix_id /dev/vx/rdsk/diskgroup_name/volume_name
       # chmod 600 /dev/vx/rdsk/diskgroup_name/volume_name