...
- When add a resource from a group name, select a group → right click → 'Add Resource'. Or select Edit(E) from the main menu bar → select 'Add Resource'. Or select 'Add Resource' icon from the tool bar.
[Figure] Adding Resource in a group - Select 'Application' from Resource Type lists and click 'Next' button. When add a resource from the Application resource type name, this step will be skipped.
[Figure] Resource Wizard Selection View - Next steps are same as adding in resource type.
...
- ResourceType → Right Click → Click Add Resource
[Figure] Adding Resource in a resource type - Enter Resource name, pre-script file name in the StartProgram, StopProgram and MonitorProgram box.
[Figure] Adding application resource view - You can browse pre-scripted file when select the file selection icon.
[Figure] Entering script file View - You can browse pre-scripted file when select the file selection icon.
[Figure] Script file selection View - You can also write the script through selecting write script icon.
[Figure] File Editor View After you have completed all of the input screen.
Info MCCS checks the list of monitor process list and monitor program when all the value of MonitorProgram and MonitorProcesses is entered.
[Figure] Enter the script files and path for each attribute- If you have an account that can execute application resource, you can enter the account as below.
[Figure] Defining user account - Click 'Finish' and resource is added.
[Figure] Adding Application resource is completed
...
Select delete menu.
[Figure] Deleting application resource view
...
Status | Agent command | Description | Note |
---|---|---|---|
Online All the processes registered in MonitorProcesses are running and MonitorProgram returns '0'. | Offline | Runs the script registered in the StopProgram attributes. | |
Monitoring | Runs the scripts registered in the MonitorProgram attributes. | ||
Offline If any one of the processes registered in MonitorProcesses is terminated or the monitoring program returns a non-zero value, it is deemed as offline. | Online | Runs the script registered in the StartProgram attribute. | |
Monitoring | Refer to the description of monitoring as above. | ||
Trouble When the online resource is switched to offline without using the agent termination command, it is defined as the trouble state. | Online | Refer to the above online command. | |
Offline | Runs the script registered in the StopProgram attributes. |
Attribute
[Figure] Application Attribute
...