exitmaintenancemode command

Use the exitmaintenancemode command to exit the maintenance mode for a host.

Synopsis

smcli [-c] [-prompt] [-user user_name] [-pw password] exitmaintenancemode options
  • For information about the options listed above that are specific to smcli, enter smcli -?.

smcli exitmaintenancemode [-h | -? | --help]

smcli exitmaintenancemode [-v] {-i host_oid | -n name}

Description

The exitmaintenancemode command exits the maintenance mode for a host that is specified by OID or name.

Options

-h | -?
Displays the syntax and a brief description of the command.
Tip: If you specify additional options, the options are ignored.
--help
Displays detailed information about the command, including the syntax, a description of the command, a description of the options and operands, error codes, and examples.
Tips:
  • If you specify additional options, the options are ignored.
  • (AIX® and Linux only) You can also display detailed help in the form of man pages using the man command_name command.
-i | --hostid host_oid
Specifies the OID of a single physical server.
-n | --name "name"
Specifies a name for the server on which action is taken.
Tip: If the name contains special characters such as spaces, enclose the name in quotation marks.
-v | --verbose
Writes verbose messages to standard output.

If this option is not specified, this command suppresses noncritical messages.

Exit status

The following codes are returned by this command.
  • 0: The operation completed.
  • 1: A usage error occurred.
  • 2: The command or bundle was not found.
  • 3: The command was not performed because either authentication failed or you are not authorized to perform the action.
  • 9: An invalid locale was used.
  • 29: The specified locale is not valid or not supported.
  • 80: The ensemble service is not available.
  • 86: Duplicate OID found.
  • 88: Duplicate name found.
  • 125: The command terminated.

Examples

  1. Exit maintenance mode
    This example illustrates how to exit maintenance mode for the server with host OID of 1234.
    smcli exitmaintenancemode -i 1234