poweroff


Use the poweroff command to power off the host server to standby mode. If the server is already powered off, this command has no effect. However, ALOM is still available when the server is powered off, since ALOM uses the server's standby power. Some environmental information is not available when the server is in standby mode.

How to Use the poweroff Command

Note: You must have r level user permission to use this command.

At the sc> prompt, type the following command:

sc> poweroff option(s)

where option(s) is the desired option(s), if any.

If you type the poweroff command without using any options, the command initiates a graceful shutdown of the Solaris operating environment, similar to one of the Solaris operating environment commands shutdown, init, or uadmin .

It can take up to 65 seconds for the poweroff command to completely shut down the system. This is because ALOM attempts to wait for a graceful shutdown to complete before the system is powered off.

Note: After the poweroff command shuts down the system, ALOM issues the following message:

SC Alert: Host system has shut down.

Wait until you see this message before powering the system back on.

Command Options

The poweroff command uses the following options. You can use these two options together.
Option Description
-f Forces an immediate shutdown regardless of the state of the host. If the Solaris operating environment shutdown fails for any reason, use this option to force the system to be powered off immediately. This command works like the Solaris operating environment command halt; that is, it does not perform a graceful shutdown of the system or synchronize the file systems.
-y

Instructs ALOM to proceed without issuing the following confirmation: Are you sure you want to power off the system?

 

 


ALOM shell commands

bootmode

poweron

Types of ALOM commands