ADMIN READONLY
Description
Enables/disables the server readonly mode.
Usage
cm admin readonly (enter | leave | status) [<server>]
Options
Option / Argument | Description |
---|---|
enter | The server enters read-only mode. Write operations will be rejected. |
leave | The server leaves read-only mode. |
status | Shows the server read-only mode status. |
server | Executes 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