because if you have a hung console, you can reboot from the ALOM with the following commands;
poweroff
poweron
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.
To Use the poweroff Command
Note - You must have reset/power (r) level user permission to use this command. See userperm for information on setting user permissions.
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 any options, the command initiates a graceful shutdown of the Solaris Operating System, similar to one of the Solaris 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. See Entering Command Options.
TABLE 5-7 poweroff Command Options
Option
Description
-f
Forces an immediate shutdown regardless of the state of the host. If the Solaris Operating System shutdown fails for any reason, use this option to force the system to be powered off immediately. This command works like the Solaris Operating System 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 prompting the following confirmation question: Are you sure you want to power off the system?
Related Information
ALOM Shell Commands
bootmode
poweron
poweron
Use the poweron command to power on the server. If the host server's keyswitch, operation mode switch or rotary switch is in the Locked position, or if the server is already powered on, this command has no effect.
To Use the poweron Command
Note - You must have reset/power (r) level user permission to use this command. See userperm for information on setting user permissions.
At the sc> prompt, type the following command:
sc> poweron [-c] [fru]
Note - If you have just used the poweroff command to power off the host server, ALOM issues the following message:
SC Alert: Host system has shut down.
Wait until you see the message before powering the system back on.
To turn on power to a specific FRU (field-replaceable unit) in the server, type the following command:
sc> poweron fru
Where fru is the name of the FRU you want to power on.
For example, to turn power on to Power Supply 0, type:
sc> poweron PS0
Command Options
The poweron command uses two options:
-c - Goes immediately to the Solaris OS console upon completion.
fru - Powers on the specified FRU, (for example, you can use this command when a power supply is replaced in the host server.) ALOM supports the following FRUs. Note that some servers have fewer than four power supplies, so refer to your system documentation before executing these commands to verify that you are powering on the proper power supply for your server.
TABLE 5-8 poweron FRU Values
Value
Description
PS0
Powers on Power Supply 0 in the host server.
PS1
Powers on Power Supply 1 in the host server.
PS2
Powers on Power Supply 2 in the host server.
PS3
Powers on Power Supply 3 in the host server.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment