Symantec logo
Preparing to configure the Oracle Server
Management (SRVM) component

The Oracle database requires configuring the Oracle9i SRVM component on a shared storage device. The SRVM component device stores information about the database server configuration.

You can use a raw volume or a cluster file system for SRVM. This volume requires at least 200 MB. To create a shared storage location for the SRVM, you can either create a shared disk group and raw volume, or set up the SRVM component on CFS.

See Storing the SRVM configuration file

Storing the SRVM configuration file

The Oracle Universal Installer (OUI) requires you to specify a location for the SRVM configuration file during the Oracle installation. The Server Control tool (srvctl) and Oracle Enterprise Manager use the SRVM configuration file. Symantec recommends creating a location for the configuration file to enable you to use the tools supplied by Oracle. The SRVM configuration file is typically created under the shared ORACLE_HOME file system. Keep in mind these points:


Creating a shared disk group and volume for the Oracle9i SRVM component

This procedure assumes you are creating the orasrvvol volume of 300 MB in the orasrvdg shared disk group on the c4t0d1 disk.

 To create a raw volume for SRVM

  1. From the CVM master node, create the shared disk group on the shared disk.

    # vxdg -s init orasrvdg c4t0d1

  2. Create the volume in the shared disk group:

    # vxassist -g orasrvdg make orasrvvol 300M

  3. Set the ownership and permissions for the volume:

    # vxedit -g orasrvdg set user=oracle group=dba\

    mode=660 orasrvvol

  4. Deport and import the disk group, and set the activation mode:

    # vxdg deport orasrvdg

    # vxdg -s import orasrvdg

    # vxvol -g orasrvdg startall

    # vxdg -g orasrvdg set activation=sw

  5. On the other nodes, enter:

    # vxdg -g orasrvdg set activation=sw

  6. When you install Oracle9i, specify the name of the raw volume (/dev/vx/rdsk/orasrvdg/orasrvvol).

Creating a cluster file system for the Oracle9i SRVM component

This procedure assumes you are creating the VxFS file system on the shared volume orasrvvol.

 To create a cluster file system for SRVM

  1. On the CVM master node, create a VxFS file system for SRVM on the shared volume created for this purpose.

    See Creating a shared disk group and volume for the Oracle9i SRVM component

    For example, create the file system on srvm_vol:

    # mkfs -F vxfs /dev/vx/rdsk/orasrvdg/orasrvvol

  2. On each node, create the identical mount point for the file system:

    # mkdir /orasrv

  3. On each node, mount the file system using the device file for the block device:

    # mount -F vxfs -o cluster,largefiles \

    /dev/vx/dsk/orasrvdg/orasrvvol /orasrv

  4. On one of the nodes, create a file for ora_srvm that is at least 200 MB. For example, to create a file of 200 MB, enter:

    # cd /orasrv

    # prealloc ora_srvm 200000000

  5. After mounting the file system, change the ownership again on each of the nodes:

    # chown -R oracle:dba /orasrv