Top
Symfoware Server V12.1.0 Cluster Operation Guide
FUJITSU Software

8.1.2 Operations when the Server has Started Degrading after a Disconnection has Occurred

This section explains the operations when the server has started degrading after a disconnection has occurred.

Note

After a disconnection has occurred as a result of an abnormality on the standby server, the database will not have a multiplexed configuration until the standby server is rebuilt. Remove the cause of the error as quickly as possible, and then rebuild the standby server.

If the disconnection occurred and the server has started degrading, perform the following operations to recover the standby server and revert it to its original state:

The flow of these operations is shown in the figure below.

Figure 8.2 Flow of operations

8.1.2.1 Identify Cause of Error and Restructure the Standby Server

Perform the recovery according to the following procedure:

  1. Stop Mirroring Controller

  2. Recovery of the Mirroring Controller management directory

  3. Identify cause of error and perform recovery

8.1.2.1.1 Stop Mirroring Controller

Execute the mc_ctl command in stop mode for the standby server on which the error occurred.

Example)
$ mc_ctl stop -M /mcdir/inst1

This also stops the instance that is required to perform the recovery.

Note

If the instance does not stop, refer to "Actions in Response to Failure to Stop an Instance" in the Operation Guide, and then stop the instance.

Then, specify the -e option in the above command to forcibly stop Mirroring Controller.

8.1.2.1.2 Recovery of the Mirroring Controller management directory

Copy the files in the Mirroring Controller management directory from the backup data, and then perform the recovery.

8.1.2.1.3 Identify cause of error and perform recovery

Refer to the system logs of the primary server and the standby server to identify the cause of the error, and then perform recovery.

Execute the mc_ctl command in setup mode to perform recovery by synchronizing data in the primary server with the standby server.

Example)
$ mc_ctl setup -M /mcdir/inst1 -r standby -U userName -h primaryServerHostName -p primaryServerPortNumber --standby-name=standbyServerName

See

This recovery procedure is the same as the procedure for setting up the standby server.

Refer to "6.4.2 Creating, Setting, and Registering the Standby Server Instance", and then perform the recovery.

8.1.2.2 Rebuild the Standby Server

Start the Mirroring Controller and the instance of the standby server, and rebuild the standby server.

When the Mirroring Controller option is used

As the instance administrator user, execute the mc_ctl command in start mode with the -f option specified. This enables automatic switch and disconnection.

If you start Mirroring Controller and the instance without specifying the -f option, automatic switch and disconnection will not be enabled. To enable both, start Mirroring Controller and then execute the mc_ctl command in enable-failover mode, or restart Mirroring Controller with the -f option specified.

Example)
$ mc_ctl start -M /mcdir/inst1 -f
When the Mirroring Controller option is not used

As the instance administrator user, execute the mc_ctl command in start mode.

Example)
$ mc_ctl start -M /mcdir/inst1