Sun Cluster Data Service for Oracle RAC Guide for Solaris OS

ProcedureHow to Install and Configure the Sun StorageTek QFS Shared File System

Before You Begin

You might use Solaris Volume Manager metadevices as devices for the shared file systems. In this situation, ensure that the metaset and its metadevices are created and available on all nodes before configuring the shared file systems.

  1. Ensure that the Sun StorageTek QFS software is installed on all nodes of the global cluster where Sun Cluster Support for Oracle RAC is to run.

    For information about how to install Sun StorageTek QFS, see Sun StorageTek QFS Installation and Upgrade Guide, Version 4, Update 6.

  2. Ensure that each Sun StorageTek QFS shared file system is correctly created for use with Sun Cluster Support for Oracle RAC.

    For information about how to create a Sun StorageTek QFS file system, see Sun StorageTek QFS File System Configuration and Administration Guide, Version 4, Update 6.

    For each Sun StorageTek QFS shared file system, set the correct mount options for the types of Oracle files that the file system is to store.

    • For the file system that contains binary files, configuration files, alert files, and trace files, use the default mount options.

    • For the file systems that contain data files, control files, online redo log files, and archived redo log files, set the mount options as follows:

      • In the /etc/vfstab file set the shared option.

      • In the /etc/opt/SUNWsamfs/samfs.cmd file or the /etc/vfstab file, set the following options:

        fs=fs-name
        stripe=width
        sync_meta=1 This value is not required for Sun StorageTek QFS shared file system version 4 6.
        mh_write
        qwrite
        forcedirectio
        nstreams=1024 This value is not required for Sun StorageTek QFS shared file system version 4.6.
        rdlease=300 Set this value for optimum performance.
        wrlease=300 Set this value for optimum performance.
        aplease=300 Set this value for optimum performance.
        
        fs-name

        Specifies the name that uniquely identifies the file system.

        width

        Specifies the required stripe width for devices in the file system. The required stripe width is a multiple of the file system's disk allocation unit (DAU). width must be an integer that is greater than or equal to 1.


      Note –

      Ensure that settings in the /etc/vfstab file do not conflict with settings in the /etc/opt/SUNWsamfs/samfs.cmd file. Settings in the /etc/vfstab file override settings in the /etc/opt/SUNWsamfs/samfs.cmd file.


  3. Mount each Sun StorageTek QFS shared file system that you are using for Oracle files.


    # mount mount-point
    
    mount-point

    Specifies the mountpoint of the file system that you are mounting.

  4. If you are using a zone cluster, configure the Sun StorageTek QFS shared file system into the zone cluster. Otherwise, go to Step 5.

    For information about configuring Sun StorageTek QFS shared file system into a zone cluster, see How to Add a QFS Shared File System to a Zone Cluster in Sun Cluster Software Installation Guide for Solaris OS.

  5. Change the ownership of each file system that you are using for Oracle files as follows:

    • Owner: the database administrator (DBA) user

    • Group: the DBA group

    The DBA user and the DBA group are created as explained in How to Create the DBA Group and the DBA User Accounts.


    # chown user-name:group-name mount-point
    
    user-name

    Specifies the user name of the DBA user. This user is normally named oracle.

    group-name

    Specifies the name of the DBA group. This group is normally named dba.

    mount-point

    Specifies the mountpoint of the file system whose ownership you are changing.


    Note –

    If you have configured Sun StorageTek QFS shared file system for a zone cluster, perform this step in that zone cluster.


  6. Grant to the owner of each file system whose ownership you changed in Step 5 read access and write access to the file system.


    # chmod u+rw mount-point
    
    mount-point

    Specifies the mountpoint of the file system to whose owner you are granting read access and write access.


    Note –

    When Sun StorageTek QFS shared file system is configured for a zone cluster, you need to perform this step in that zone cluster.


Next Steps

Ensure that all other storage management schemes that you are using for Oracle files are installed.

After all storage management schemes that you are using for Oracle files are installed, go to Registering and Configuring the RAC Framework Resource Group.