Managing App Spaces

An app space is a virtual pool of adapter nodes. You can use the adapteradmin utility to create, start, stop, and verify app spaces.

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 app space must exist in a domain. If you have not created a domain, enter the following command to create one:

    adapter[admin]> create domain DomainName

    where:

    DomainName

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

  4. Enter the following commands to manage app spaces:
    • To create an app space, enter the following command:

      adapter[admin]> create -d DomainName appspace AppSpaceName

    • To start an app space, enter the following command:

      adapter[admin]> start -d DomainName appspace AppSpaceName

    • To stop an app space, enter the following command:

      adapter[admin]> stop -d DomainName appspace AppSpaceName

    • To check the state of an app space, enter the following command:

      adapter[admin@Domain]>show appspaces

      See AppSpaces State for more details.

      where:

      DomainName

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

      AppSpaceName

            Name of the app space that you want to manage.