Format
The syntax for calling the post-attach command from the Mirroring Controller process is described below.
postattachCmd 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 attached to 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.
If the command times out, Mirroring Controller will stop the command, output an error message, and cancel the process.