Importing the type definition files for Cluster Server agent for Oracle

Perform this procedure if you installed the VRTSvcsea RPM manually. The installer program imports the type definition files if you chose all RPMs or recommended RPMs during VCS installation.

Before configuring the Cluster Server agent for Oracle, you must import the OracleTypes.cf file to the VCS engine.

If you want to configure the ASM agents, you must import the OracleASMTypes.cf file. Import the OracleASMTypes.cf file using the command-line.

To import using the Cluster Manager

  1. Start Cluster Manager and log on to the cluster.
  2. From the Cluster Explorer's File menu, choose Import Types.
  3. In the Import Types dialog box, select the /etc/VRTSagents/ha/conf/Oracle/OracleTypes.cf file.
  4. Click Import.
  5. Save the configuration.

To import using the command line

  1. Log in to the system as superuser.
  2. Ensure that all changes to the existing configuration have been saved and that further changes are prevented while you modify main.cf:
    # haconf -dump  -makero
  3. To ensure that VCS is not running while you edit main.cf, stop the VCS engine on all nodes and leave the resources available:
    # hastop -all  -force
  4. Make a backup copy of the main.cf file:
    # cd /etc/VRTSvcs/conf/config
    # cp main.cf main.cf.orig
  5. Copy the Oracle types configuration file into place:
    # cp  /etc/VRTSagents/ha/conf/Oracle/OracleTypes.cf \
    /etc/VRTSvcs/conf/config/OracleTypes.cf

    If you want to configure the ASM agents, do the following:

    # cp /etc/VRTSagents/ha/conf/OracleASM/OracleASMTypes.cf \
    /etc/VRTSvcs/conf/config/OracleASMTypes.cf
  6. Edit the main.cf file to include the OracleTypes.cf file:
    include "OracleTypes.cf"

    If you want to configure the ASM agents, you must also include the OracleASMTypes.cf file:

    include "OracleASMTypes.cf"
  7. Verify the configuration.
    # cd /etc/VRTSvcs/conf/config
    # hacf -verify .
  8. Start the VCS engine.
    # hastart