Hitachi

uCosminexus Application Server Operation, Monitoring, and Linkage Guide


2.6.2 Stopping the system

The following are the stop procedures and the stop methods for the programs and servers. Note that in UNIX, you cannot specify automatic stop for Administration Agent and Management Server. For the automatic stop, specify the setting in such a way so that Administration Agent and Management Server are stopped simultaneously with the host. For details about the automatic stop settings, see 2.6.5 Settings for automatic stop.

The following are the stop procedures and the stop methods for the programs and servers. You use the following procedure to stop programs and servers:

  1. Stop the system

  2. Stop Management Server

  3. Stop Administration Agent

To stop programs and servers:

Organization of this subsection

(1) Stop the system

Use the Smart Composer functionality commands to stop Web systems or service units in a batch.

(2) Stop Management Server

If you stop Management Server manually, you stop it by specifying the stop argument in the mngsvrctl command on the host on which Management Server is set up.

We recommend that you synchronize the state of the command processing and stop processing of Management Server. In such cases, you specify the synchronous execution option (-sync option) when executing the command. If you specify this option, when the command processing ends, Management Server is in the stopped state. Also, during the synchronous execution, you can specify the waiting time from when the command is executed until Management Server is in the stopped state (the timeout time of synchronous execution), with the -timeout option.

The stop method is shown for each OS.

In Windows
Installation-directory-of-Cosminexus(1)\manager\bin\mngsvrctl stop -sync -timeout timeout-time-of-synchronous-execution
Reference note

Note that in Windows, you can also use services to stop Management Server.

In UNIX
# /opt/Cosminexus/manager/bin/mngsvrctl stop -sync -timeout the timeout-time-of-synchronous-execution

(3) Stop Administration Agent

If you stop Administration Agent manually, you stop it by using the adminagentctl command on each host of Application Server.

We recommend that you synchronize the state of the command processing and stop processing of Administration Agent. In such cases, you specify the synchronous execution option (-sync option) when executing the command. If you specify this option, when the command processing ends, Administration Agent is in the stopped state. Also, during the synchronous execution, you can specify the waiting time from when the command is executed until Administration Agent is in the stopped state (the timeout time of synchronous execution), with the -timeout option.

The stop method is shown for each OS.

In Windows
Installation-directory-of-Cosminexus\manager\bin\adminagentctl stop -sync -timeout timeout-time-of-synchronous-execution
Reference note

Note that in Windows, you can also use services to stop Administration Agent.

In UNIX
# /opt/Cosminexus/manager/bin/adminagentctl stop -sync -timeout timeout-time-of-synchronous-execution