Symantec logo

Creating file system or volume for SRVM

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 a standalone volume or file system.

 To create a raw volume for SRVM (option 1)

  1. From the master node, create the shared disk group on a shared disk. This procedure assumes you are creating the srvm_vol volume of 300 MB in the orasrvdg shared disk group on the c2t3d1 disk:

    # vxdg -s init orasrvdg c2t3d1

  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

 To create a cluster file system for SRVM (option 2)

  1. From the master node, create a VxFS file system for SRVM on the shared volume created for this purpose (see previous section). For example, create the file system on orasrvvol:

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

  2. On each node, create the 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 \

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

  4. On only one of the nodes, change the ownership again:

    # chown -R oracle:dba /orasrv