Sun Cluster 2.2 Software Installation Guide

5.2.3 How to Prepare Logical Hosts for Oracle 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 Oracle supports raw I/O to both raw physical devices and raw metadevices (mirrored or nonmirrored), Sun Cluster only supports raw Oracle I/O on raw mirrored volumes or metadevices. You cannot use devices such as /dev/rdsk/c1t1d1s2 to contain Oracle data under Sun Cluster.


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

      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. 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:

      # chown oracle_id /dev/md/disk_group/rdsk/dn
      # chgrp dba_id /dev/md/disk_group/rdsk/dn 
      # chmod 600 /dev/md/disk_group/rdsk/dn
      
    2. If you are using Sun StorEdge Volume Manager, set up VxFS logs or raw devices on all 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 devices, skip this step. Refer to your Sun StorEdge Volume Manager documentation for information on setting up VxFS logs.

      If you are creating raw devices, type the following command for each raw device:

      # vxvol set owner=oracle_id group=dba_id mode=600 \
       /dev/vx/rdsk/diskgroup_name/volume_name