Symantec logo
Installing Oracle on the new node

You must install Oracle locally on the new cluster node.

 To set up Oracle on the new node

  1. On the new node, create a local group and local user for Oracle. Make sure to assign the same group ID, user ID, and home directory as the ones for the current cluster nodes.

    For example, enter:

    # groupadd -g 1000 dba

    # useradd -g dba -u 1000 -d /oracle oracle

  2. Create a password for the oracle user:

    # passwd oracle

  3. Install Oracle on the local disk of the new node. Use the same location where Oracle is installed on the existing nodes.

 To install Oracle on the local disk of the new node

  1. Install Oracle9i Release 2 on the local file system of a node. Install the release and patch level used by the existing nodes.

    See Installing Oracle9i RAC

  2. Relink the Oracle binary to the Veritas libraries.

    See Relinking the SF Oracle RAC libraries to Oracle9i

  3. While installing Oracle on the new node, make sure the /var/opt/oracle/srvConfig.loc file is identical to the one for existing nodes, including contents, permissions, and ownership. If necessary, copy the file from one of the other nodes.
  4. Edit the listener.ora file on the new node to specify the IP address (or the virtual IP address) for the new node. For example, edit the section for LISTENER to resemble:

    .

    .

    LISTENER =

    (DESCRIPTION_LIST =

     (DESCRIPTION =

      (ADDRESS_LIST =

       (ADDRESS = (PROTOCOL = TCP)(HOST = 192.2.40.23)(PORT =

        1521))

       )

          )

         )

    .

    .

  5. Restart the new node:

    # /usr/sbin/shutdown -r now

    As the new node boots, the VCS propagates the configuration from the existing cluster nodes to the new node. All the configuration files located in the /etc/VRTSvcs/conf/config directory, including main.cf, CVMTypes.cf, CFSTypes.cf, and OracleTypes.cf, are identical on each node.

    At this point, GAB membership shows membership for all the nodes. All the following ports should be up on all the nodes:

    # gabconfig -a

    GAB Port Memberships
    ==============================================================
    Port a gen df205 membership 012
    Port b gen df20e membership 012
    Port d gen df20f membership 012
    Port f gen df219 membership 012
    Port h gen df211 membership 012
    Port o gen df208 membership 012
    Port v gen df215 membership 012
    Port w gen df217 membership 012

  6. Verify the CVM group is configured and online on each node (including the new node):

    # hastatus -sum

    -- SYSTEM STATE

    -- System State Frozen

    A galaxy RUNNING 0

    A nebula RUNNING 0

    A saturn RUNNING 0

    -- GROUP STATE

    -- Group System Probed AutoDisabled State

    B cvm galaxy Y N ONLINE

    B cvm nebula Y N ONLINE

    B cvm saturn Y N ONLINE

  7. On one of the existing nodes, ensure CVM recognizes the new node:

    # /opt/VRTS/bin/vxclustadm nidmap

    Name CVM Nid CM Nid State

    galaxy 0 0 Joined: Slave

    nebula 1 1 Joined: Master

    saturn 2 2 Joined: Slave

  8. Run the Global Services Daemon (gsd) in the background on the new node as oracle user:

    $ $ORACLE_HOME/bin/gsdctl start