Add custom application to Toolpack OAM

From TBwiki
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
= 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).
 
Toolpack OAM is able to automatically launch/monitor/relaunch applications (this includes Toolpack's own applications, and also custom applications).
  
Line 5: Line 6:
 
* Be added to the list of managed applications in the Web Portal
 
* 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
  
The list of applications that are launched and managed by Toolpack OAM is found in the Toolpack Web Portal, under sections:
+
== Steps to add an new applications ==
* Applications -> Configurations
+
* Applications -> Instances
+
 
+
Steps to add an new applications are:
+
 
* Create a new Application Configuration
 
* Create a new Application Configuration
** Go to Applications -> Configurations
+
** Go to Applications menu
** Click "Create New Application Config"
+
** Click "Create New Application"
 
** Fill appropriate information
 
** Fill appropriate information
*** Name of this application's configuration
+
*** 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)
 
*** Path of the binary file to launch (some variables can be used here for convenience)
 
*** Working directory
 
*** Working directory
 
*** Command-line arguments
 
*** Command-line arguments
* Create a new Application Instance
+
** Click "Create"
** Go to Applications -> Instances
+
* Select on which hosts the application will run
** Click "Create New Application Instance"
+
** Go to Applications menu
** Fill appropriate information
+
** Click on the application to edit
*** Name for this application instance
+
** On the bottom of the page, use the controls (<<) to move to the left box any host that the application must be run on
*** Host the application should be running on
+
** Go to "System" menu, and "Apply" the configuration
*** Configuration just created above
+
 
*** Target state (run, don't run)
+
= Add a non-OAM-friendly application =
* Apply the modified configuration
+
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.

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:

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.

Personal tools