Managing Adapter Nodes

An adapter node is a runtime entity that hosts runtime adapters. You can use the adapteradmin utility to create, start, stop, and verify adapter nodes.

Prerequisites

Before using the adapteradmin utility, you have to start the adapter agent and TIBCO Hawk agent:
  1. Open two command lines and navigate to the TIBCO_HOME\afx\version_number\bin directory.
  2. On one command line, enter the following command to start the TIBCO Hawk agent:

    tibhawkagent

  3. On the other command line, enter the following command to start the adapter agent:

    adapteragent

Procedure

  1. Open a command line and navigate to the folder where the adapteradmin utility is located.
    By default, it is located in the TIBCO_HOME\afx\version_number\bin directory.
  2. Enter the following command to start the Adapter Administration console:
    adapteradmin
  3. An adapter node must exist in an app space. If you have not created an app space, enter the following command to create one:

    adapter[admin]> create -d DomainName appspace AppSpaceName

    where:

    DomainName

          Name of the domain where the app space that contains the adapter node that you want to manage is added.

    AppSpaceName

          Name of app space where the adapter node that you want to manage is added.

  4. Enter the following commands to manage adapter nodes:
    • To create an adapter node, enter the following command:

      adapter[admin]> create -d DomainName -a AppSpaceName adapternode AdapterNodeName

    • To start an adapter node, enter the following command:

      adapter[admin]> start -d DomainName -a AppSpaceName adapternode AdapterNodeName

    • To stop an adapter node, enter the following command:

      adapter[admin]> stop -d DomainName -a AppSpaceName adapternode AdapterNodeName

    • To check the state of an adapter node, enter the following command:

      adapter[admin@Domain/MyAppSpace]>show adapternodes

      See Adapter Node State for more details.

      where:

      DomainName

            Name of the domain where the app space is added.

      AppSpaceName

            Name of the app space where the adapter node is added.

      AdapterNodeName

            Name of the adapter node that you want to manage.