Top
Symfoware Server V12.1.0 Cluster Operation Guide
FUJITSU Software

B.4 How to Execute the mc_ctl Command

When executing the mc_ctl command, specify the server identifier in the --local-server option in order to identify the operation destination server.

Below is an example of starting Mirroring Controller of the server "server1" defined in the network.conf file. For mc_ctl command operations using another mode, also specify the --local-server option.

Define two server identifiers for the same IP address with different port numbers in the network.conf file.

Example)
server1 192.0.2.100 26540
server2 192.0.2.100 26541

Ensure that the port numbers of both primary server and standby server do not conflict with any other software.

When the Mirroring Controller option is used

Start Mirroring Controller of the server "server1":

Example)
> mc_ctl start -M D:\mcdir\inst1 -w -f --local-server server1

Stop Mirroring Controller of the server "server1":

Example)
> mc_ctl stop -M D:\mcdir\inst1 --local-server server1
When the Mirroring Controller option is not used

Start Mirroring Controller of the server "server1":

Example)
> mc_ctl start -M D:\mcdir\inst1 -w --local-server server1

Stop Mirroring Controller of the server "server1":

Example)
> mc_ctl stop -M D:\mcdir\inst1 --local-server server1

Note

To specify the mc_ctl command with register mode, for registering to the Windows service, and the mc_ctl command with unregister mode, for unregistering from the Windows service, add the --local-server option.