uCosminexus Application Server, Operation, Monitoring, and Linkage Guide
When a failure occurs, the stopped Management Server and Administration Agent can restart automatically. If you set up automatic restart, the settings for automatic start are also valid. You use the mngautorun command to specify the automatic restart settings of Management Server and Administration Agent. For details on the mngautorun command, see mngautorun (Set up/canceling the set up of autostart and autorestart) in the uCosminexus Application Server Command Reference Guide.
We recommend that in Windows, you make the automatic restart processing of Management Server and Administration Agent set up with the mngautorun command to execute synchronously. In such cases, you specify the synchronous execution option (-sync option) when executing the command. If you specify this option, during the automatic restart, the starting of Management Server and Administration Agent is executed synchronously. Also, during the automatic restart, you can specify the waiting time until the starting of Management Server and Administration Agent is executed synchronously (the timeout time of synchronous execution), with the -timeout option.
In UNIX, the synchronous execution option cannot be specified for the automatic restart processing.
The execution format and execution example of the mngautorun command are as follows:
mngautorun respawn {server|agent|both} [-runlevel run-level]#1 [-sync#2 [-timeout timeout-time-of-synchronous-execution#2]] |
The following subsection describes the contents of an automatic restart, set up in Management Server and Administration Agent, when executing the mngautorun command:
This subsection describes the OS-wise settings specified in Management Server for automatic restart, when executing the mngautorun command.
CoMS:3:respawn:/opt/Cosminexus/manager/bin/mngsvrctl start |
# Register CoMS.conf in which the following contents are coded under the /etc/init directory: start on runlevel [3] respawn exec /opt/Cosminexus/manager/bin/mngsvrctl start |
This subsection describes the OS-wise settings specified in Administration Agent for automatic restart, when executing the mngautorun command.
CoAA:3:respawn:/opt/Cosminexus/manager/bin/adminagentctl start |
# Register CoAA.conf in which the following contents are coded under the /etc/init directory start on runlevel [3] respawn exec /opt/Cosminexus/manager/bin/adminagentctl start |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.