ADMIN READONLY

Description

Enables/disables the server readonly mode.

Usage

cm admin readonly (enter | leave | status) [<server>]

Options

Option / ArgumentDescription
enterThe server enters read-only mode. Write operations will be rejected.
leaveThe server leaves read-only mode.
statusShows the server read-only mode status.
serverExecutes the command in the specified server (server:port). (Use 'cm help objectspec' to learn more about server specs.) If no server is specified, the command works with the server of the current workspace. If the current path is not in a workspace, the command works with the default server defined in the client.conf config file.

Help

Remarks

Only the server administrator can enter the server readonly mode.

Examples

cm admin readonly enter diana:8086

cm admin readonly leave