Format
The syntax for calling the pre-detach command from the Mirroring Controller process is described below.
predetachCmd cmdServerId serverRole targetServerId primarycenter
Input
ID of the database server that called the command
Role of the database server that called the command
primary: Primary
standby: Standby
ID of the standby server to be disconnected from the cluster system
Fixed value
Output
None
Notes
The command is executed by the operating system user who started Mirroring Controller.
The operating system user who started Mirroring Controller must have execution privileges to the command. Otherwise, the command will not be called, however, Mirroring Controller will output an error message and continue the process.
If the command times out, Mirroring Controller will stop the command, output an error message, and cancel the process.