Sun Cluster 2.2 Software Installation Guide

6.2.3 How to Prepare Multihost Disks for Sybase SQL Servers and 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.


    Caution - Caution -

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


    If you are using Solstice DiskSuite to set up raw mirrored metadevices, perform the following steps:

    1. Change the owner, group, and mode of each of the raw mirrored metadevices. (If you are not using raw mirrored metadevices, skip this step.)

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

    2. Type the following commands for each metadevice.

      # chown sybase_id /dev/md/disk_group/rdsk/dn
       # chgrp dba_id /dev/md/disk_group/rdsk/dn
       # chmod 600 /dev/md/disk_group/rdsk/dn
      

      If you are using SSVM, refer to Appendix C, Configuring Sun StorEdge Volume Manager and Cluster Volume Manager, and to your SSVM documentation for information on setting up your disk devices.