18.7.1 Starting the mutual node switching system
This subsection describes the points you must keep in mind when you start the system using the mutual node switching system and the procedure for starting the system.
- Organization of this subsection
(1) Points to remember when starting the system
Keep the following points in mind when you start a system using the mutual node switching system:
-
The HA monitor deployed on the host of Application Server 1 and Application Server 2 starts simultaneously as the OS starts.
-
Before starting the virtual host on the hosts of Application Server 1 and Application Server 2, first start the Management Server.
(2) Procedure to start the system
The following figure shows the flow for starting the mutual node switching system.
Start the system as per the flow shown in the following figure on the hosts of Application Server 1 and Application Server 2:
|
- Reference note
-
The virtual host can be started in any order on the hosts of Application Server 1 and Application Server 2. You may start either from active node virtual host or spare node virtual host. Note that this manual describes the procedure of starting in the order of virtual host 1 and virtual host 2.
For steps 1. and 2. in the figure for starting the Management Server, see the following manuals:
-
In a system executing J2EE applications
See 4.1.1 Procedure for starting a system in the uCosminexus Application Server Management Portal User Guide.
-
In a system executing batch applications
See 6.1.1 Procedure for starting a system in the uCosminexus Application Server Management Portal User Guide.
Note that if auto-start settings are specified, the Administration Agent and Management Server also start when the host starts, therefore, you can omit stages 1 and 2. For details on how to start the system, see 2.6 Settings for starting and stopping the system.
The procedure for starting the virtual host shown in the figure is described below. To start the virtual host in the hosts of Application Server 1 and Application Server 2:
-
To start the virtual host in application server 1
-
Starting the active node 1 (virtual host 1)
Run the monbegin command to start the active node 1 (virtual host 1) as the executing node.
# monbegin AP1
As a result, the process defined in the script file that starts the virtual host of the active node is executed and the virtual host of the active node is started as the executing node.
-
Starting the spare node 2 (virtual host 2)
Run the monbegin command to start the spare node 2 (virtual host 2) as the standby node.
# monbegin AP2
As a result, the virtual host of the spare node becomes the standby node and prepares for the failure in the executing node.
-
-
To start the virtual host in Application Server 2
-
Starting the spare node 1 (virtual host 1)
Run the monbegin command to start the spare node 1 (virtual host 1) as the standby node.
# monbegin AP1
As a result, the virtual host of the spare node becomes the standby node and prepares for the failure in the executing node.
-
Starting the active node 2 (virtual host 2)
Run the monbegin command to start the active node 2 (virtual host 2) as the executing node.
# monbegin AP2
As a result, the process defined in the script file that starts the virtual host of the active node is executed and the virtual host of the active node is started as the executing node.
-