Add custom application to Toolpack OAM
From TBwiki
(Difference between revisions)
Line 30: | Line 30: | ||
Toolpack can also manage launch of any 3rd-party application that don't support ALM (does not implement class [[CTBCAFServiceAlmMgmt]]). | Toolpack can also manage launch of any 3rd-party application that don't support ALM (does not implement class [[CTBCAFServiceAlmMgmt]]). | ||
− | To do this, it's necessary that the option "'''Supports Toolpack ALM'''" is unchecked in the application configuration page in the web portal. | + | To do this, it's necessary that the option "'''Supports Toolpack ALM'''" is '''unchecked''' in the application configuration page in the web portal. |
Latest revision as of 13:52, 20 August 2014
Add a OAM-friendly application to Toolpack OAM
Toolpack OAM is able to automatically launch/monitor/relaunch applications (this includes Toolpack's own applications, and also custom applications).
In order to be managed by Toolpack OAM, an application needs to:
- Create instances of classes CTBCAFServiceAlmMgmt (and optionally CTBCAFServiceCmMgmtClient)
- Be added to the list of managed applications in the Web Portal
The list of applications that are launched and managed by Toolpack OAM is found in the Toolpack Web Portal, under the following section:
- Applications
Steps to add an new applications
- Create a new Application Configuration
- Go to Applications menu
- Click "Create New Application"
- Fill appropriate information
- Name of this application
- Application type (should be "User-specific")
- "Supports Toolpack ALM" should be checked only if the application implements CTBCAFServiceAlmMgmt
- Path of the binary file to launch (some variables can be used here for convenience)
- Working directory
- Command-line arguments
- Click "Create"
- Select on which hosts the application will run
- Go to Applications menu
- Click on the application to edit
- On the bottom of the page, use the controls (<<) to move to the left box any host that the application must be run on
- Go to "System" menu, and "Apply" the configuration
Add a non-OAM-friendly application
Toolpack can also manage launch of any 3rd-party application that don't support ALM (does not implement class CTBCAFServiceAlmMgmt).
To do this, it's necessary that the option "Supports Toolpack ALM" is unchecked in the application configuration page in the web portal.