MySQL Utilities 1.4 Manual  /  ...  /  Server Commands

8.4.4. Server Commands

The server commands are used to get information about servers and set their properties, namely status, mode and weight.

  • server set_weight: Set a server's weight, which determines its likelihood of being chosen to process requests or replace a failed master. The value must be greater than 0.0 and lower or equal to 1.0.

  • server lookup_uuid: Return a server's UUID value.

  • server set_mode: Set a server's mode, which determines whether it can process read_only, read_write, or both transaction types. It can also be set to offline meaning that the server will not process any kind of user's request.

  • server set_status: Set a server's status, which determines whether it is primary, secondary, spare, or faulty.

User Comments
Sign Up Login You must be logged in to post a comment.