Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


9.4.5 Setting a Property File for Executing Management Actions

The definition of the management action, and the mapping between the message IDs and management actions are defined in the property file for executing management action (maction.properties). For maction.properties, see 8.2.10 maction.properties (Property file for execution of Management actions) in the uCosminexus Application Server Definition Reference Guide.

Organization of this subsection

(1) Storage location of the file

The storage location of maction.properties is as follows:

(2) Example of setting the file

The following is an example of setting the property file used for executing Management actions in Windows:

# Defining the Management action
maction.restart.command=c\:\\tmp\\command1.bat
maction.restart.timeout=12
maction.restart.timeout.forced_stop=true
maction.restart.exclusive_time=60
maction.restart.max_executable_actions=1
 
# Mapping of the message ID and Management action
maction.message.KDJE11111-E.mactions=restart
maction.message.KDJE22222-E.mactions=restart
 
# Mapping of the logical server and Management action
maction.server.j2ee1.mactions=restart
maction.server.j2ee2.mactions=restart
maction.server.j2eeClstr1.mactions=restart

This setting example defines restart as an ID to identify Management action (Management action ID). This section describes the operation and settings of the Management action of restart:

#

Management actions are distinguished by Management action IDs, and you can execute the same Management action for multiple servers and for different message IDs. By setting the suppression time and the number of concurrent executions, and controlling the execution of Management actions, you can prevent the aggregation and duplication of Management actions. For details on the execution control, see 9.3 Controlling the Execution of Management Action.

(3) Notes

The following are the precautions related to the property file for executing Management actions: