Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.
    Image RemovedImage Added
     [Figure] Adding Resource in a group

  2. 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.
    Image RemovedImage Added
    [Figure] Resource Wizard Selection View

  3. Next steps are same as adding in resource type.

...

  1. ResourceType → Right Click → Click Add Resource
    Image RemovedImage Added
    [Figure] Adding Resource in a resource type

  2. Enter Resource name, pre-script file name in the StartProgram, StopProgram and MonitorProgram box.
    Image RemovedImage Added
    [Figure] Adding application resource view

  3. You can browse pre-scripted file when select the file selection icon.
    Image RemovedImage Added
    [Figure] Entering script file View

  4. You can browse pre-scripted file when select the file selection icon.
    Image RemovedImage Added
    [Figure] Script file selection View

  5. You can also write the script through selecting write script icon.
    Image RemovedImage Added
    [Figure] File Editor View

  6. 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.

    Image RemovedImage Added
    [Figure] Enter the script files and path for each attribute


  7. If you have an account that can execute application resource, you can enter the account as below.
    Image RemovedImage Added
    [Figure] Defining user account

  8. Click 'Finish' and resource is added.
    Image RemovedImage Added
    [Figure] Adding Application resource is completed

     

...

              Select delete menu. 
              Image RemovedImage Added
              [Figure] Deleting application resource view

...

StatusAgent commandDescriptionNote

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.
When the scripts are used for monitoring, the final value of 0 means success and other value means failures.
When you use the list of processes registered in the MonitorProcesses attributes for monitoring, if all the processes registered in the list are running, it is success.
If not, it is failures. When you register both the process list and the script, both the conditions should be met to be success.
If there is no process list or the script is not successful, it is regarded as a failure.

 

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.
StartProgram attributes allow you to use the batch scripts to run the program in a more flexible way than the process resource.
If the wrong path is entered, MCCS will display an error log and the resource cannot be used.

 
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.

 
OfflineRuns the script registered in the StopProgram attributes.  

 

 

Attribute

Image RemovedImage Added

[Figure] Application Attribute

...