Importing the agent types files in a VCS environment

To use the agent for WebSphere MQ, you must import the agent types file into the cluster.

You can import the agent types file using the Veritas Cluster Server (VCS) graphical user interface or via the command line interface.

To import the agent types file using the VCS graphical user interface

  1. Start the Veritas Cluster Manager and connect to the cluster on which the agent is installed.
  2. Click File > Import Types.
  3. In the Import Types dialog box, select the following file:

    VCS 4.x

    • AIX

    • HP-UX

    • Linux

    • Solaris

    /etc/VRTSvcs/conf/sample_WebSphereMQ6/

    WebSphereMQ6Types.cf

    VCS 5.x or later

    • AIX

    • HP-UX

    • Linux

    /etc/VRTSagents/ha/conf/WebSphereMQ6/

    WebSphereMQ6Types.cf

    VCS 5.0

    Solaris SPARC and x64

    /etc/VRTSagents/ha/conf/WebSphereMQ6/

    WebSphereMQ6Types50.cf

    VCS 5.1 or later

    Solaris SPARC and x64

    /etc/VRTSagents/ha/conf/WebSphereMQ6/

    WebSphereMQ6Types51.cf

  4. Click Import.
  5. Save the VCS configuration.

    The WebSphere MQ Queue Manager agent type is now imported to the VCS engine.

    You can now create WebSphere MQ Queue Manager resources. For additional information about using the VCS GUI, refer to the Veritas Cluster Server Administrator's Guide.

To import the agent types file using the Veritas Cluster Server command line interface (CLI):

  1. Log on to any one of the systems in the cluster as the superuser.
  2. Create a temporary directory.

    # mkdir ./temp

    # cd ./temp

  3. Copy the sample file Types.cf.

    VCS 4.x

    • AIX

    • HP-UX

    • Linux

    • Solaris

    /etc/VRTSvcs/conf/sample_WebSphereMQ6/

    WebSphereMQ6Types.cf

    VCS 5.x or later

    • AIX

    • HP-UX

    • Linux

    /etc/VRTSagents/ha/conf/WebSphereMQ6/

    WebSphereMQ6Types.cf

    VCS 5.0

    • Solaris SPARC and x64

    /etc/VRTSagents/ha/conf/WebSphereMQ6/

    WebSphereMQ6Types50.cf

    VCS 5.1 or later

    • Solaris SPARC and x64

    /etc/VRTSagents/ha/conf/WebSphereMQ6/

    WebSphereMQ6Types51.cf

  4. Create a dummy main.cf file:

    # echo 'include "WebSphereMQ6Types.cf"' > main.cf

  5. Create the WebSphere MQ resource type as follows:

    # hacf -verify .

    # haconf -makerw

    # sh main.cmd

    # haconf -dump

    The WebSphere MQ Queue Manager agent type is now imported to the VCS engine.

    You can now create WebSphere MQ Queue Manager resources. For additional information about using the VCS CLI, refer to the Veritas Cluster Server Administrator's Guide.