Symantec logo

Creating starter database tablespaces on raw volumes (option 1)

To create a starter database on raw VxVM volumes, prepare the shared storage for the database tablespaces.

  1. Log in as root user.
  2. On the master node, create a shared disk group:

    # vxdg -s init oradatadg HDS0_30

  3. Create a volume in the shared group for each of the required tablespaces:

    # vxassist -g oradatadg make VRT_galaxy 1000M

    # vxassist -g oradatadg make VRT_spfile1 10M

    .

    .

  4. Define the access mode and permissions for the volumes storing the Oracle data. For each volume listed in $ORACLE_HOME/raw_config, use the vxedit(1M) command:

    vxedit -g disk_group set group=group user=user mode=660 volume

    For example:

    # vxedit -g oradatadg set group=dba user=oracle mode=660 \ VRT_galaxy

    In this example, VRT_galaxy is the name of one of the volumes. Repeat the command to define access mode and permissions for each volume in the oradatadg.

Running the dbca Utility for Raw VxVM Volumes

Use the dbca utility on the master node to create a general-purpose database on raw VxVM volumes. The utility is a graphical user interface and requires setting the DISPLAY environment variable.

  1. Make sure an oracle account is created on all nodes.
  2. Verify that rsh works among all nodes under the oracle account.
  3. Make sure the file configured for srvm is accessible to the oracle user.
  4. Start the Oracle Real Application Clusters Manageability daemon on each node:

    $ gsdctl start

  5. From one node, log in as oracle user.
  6. For Oracle9i users, create and start the Oracle listener using the NETCA utility (refer to the Oracle9i Installation Guide):

    $ netca

  7. Run the dbca utility to create the database. Refer to Oracle documentation for details on the dbca utility.