Symantec logo

Configuring the new Oracle instance

 To configure the new Oracle instance

  1. On an existing system, add a new instance. Refer to the Oracle9i Installation Guide. Highlights of the steps to add a new instance include:
  2. If you use in-depth monitoring for the database, create the table for the database instance. Create the table on the new system. Refer to the Veritas High Availability Agent for Oracle Installation and Configuration Guidefor instructions on creating the table.
  3. Configure the ODM port on the new node.
    1. Unmount the ODM directory to unconfigure port d. ODM is automatically mounted on the new system during installation, but not linked.

      # umount /dev/odm

    2. Mount the ODM directory. Re-mounting the ODM directory configures port d and re-links the ODM libraries with SF Oracle RAC:

      # mount /dev/odm

  4. Create a mount point directory for the database file system. For example:

    # mkdir /oradata

  5. Set the permissions for the mount point:

    # chown oracle:dba /oradata

  6. Mount the file system with the database on the new system:

    # mount -F vxfs -o cluster /dev/vx/dsk/oradatadg/oradatavol \

    /oradata

  7. Log in as user oracle and attempt to manually start the new instance; the following example is for a third system:

    $ export ORACLE_SID=rac3

    $ sqlplus "/ as sysdba"

    sqlplus> startup pfile=/oracle/orahome/dbs/initrac3.ora

  8. After the new Oracle instance is brought up manually on the new system, place the instance under VCS control.
    1. Add the new system to the SystemList. For example, where the existing nodes, galaxy and nebula are nodes 0 and 1, saturn, the new node, would be node 2:

      # haconf -makerw

      # hagrp -modify oradb1_grp SystemList -add saturn 2

    2. Add the new system to the AutoStartList for oradb1_grp:

      # hagrp -modify oradb1_grp AutoStartList galaxy nebula \

      saturn

    3. Modify the Sid (system ID) and Pfile (parameter file location) attributes of the the Oracle resource. For example:

      # hares -modify VRTdb Sid rac3 -sys saturn

      # hares -modify VRTdb Pfile \

      Pfile=/oracle/orahome/dbs/initrac3.ora -sys saturn

    4. If you have created a table for in-depth monitoring, modify the Table attribute of the Oracle resource,. For example:

      # hares -modify VRTdb Table vcstable_saturn -sys saturn

    5. Close and save the configuration:

      # haconf -dump -makero

  9. To verify the configuration, enter the following command on the new system:

    # hastop -local

    All resources should come offline on the new system.

  10. Verify that all resources come online after starting VCS on the new system:

    # hastart