sdpctl Reference Guide



sdpctl appliance maintenance enable

Enable maintenance mode on a single Controller


Synopsis

For advanced users only.
enabling maintenance mode on the primary Controller can leave you with a unreachable environment.

USE WITH CAUTION

arguments are Optional, if no arguments are provided, you will be prompted
with an interactive prompt.
sdpctl appliance maintenance enable <applianceUUID> [flags]

Examples

  # Toggle maintenance mode to false on a fixed Controller UUID
  > sdpctl appliance maintenance enable 20e75a08-96c6-4ea3-833e-cdbac346e2ae
  Change result: success
  Change Status: completed

  # Enable maintenance mode interactive prompt
  > sdpctl appliance maintenance enable
  
  ? select appliance: Controller-two - Default Site - []
  
  This is a superuser function and should only be used if you know what you are doing.
  
  ? Are you really sure you want to enable maintenance mode on Controller-two?
  
  Do you want to continue? Yes
  Change result: success
  Change Status: completed
                  

Options

  -h, --help   help for enable
      --json   Display in JSON format

Options inherited from parent commands

      --api-version int          Peer API version override
      --ci-mode                  Log to stderr instead of file and disable progress-bars
      --debug                    Enable debug logging
      --descending               Change the direction of sort order when using the '--order-by' flag. Using this will reverse the sort order for all keywords specified in the '--order-by' flag.
      --events-path string       send logs to unix domain socket path
  -e, --exclude stringToString   Filter appliances using a comma separated list of key-value pairs. Regex syntax is used for matching strings. Example: '--exclude name=controller,site=<site-id> etc.'.
                                 Available keywords to filter on are: name, id, tags|tag, version, hostname|host, active|activated, site|site-id, function (default [])
  -i, --include stringToString   Include appliances. Adheres to the same syntax and key-value pairs as '--exclude' (default [])
      --no-interactive           Suppress interactive prompt with auto accept
      --no-verify                Don't verify TLS on for the given command, overriding settings from config file
      --order-by strings         Order appliance lists by keywords, i.e. 'name', 'id' etc. Accepts a comma seperated list of keywords, where first mentioned has priority. Applies to the 'appliance list' and 'appliance stats' commands. (default [name])
  -p, --profile string           Profile configuration to use

SEE ALSO