C H A P T E R  3

Powering On and Powering Off the System

This chapter describes how to power on and power off the system, and how to initiate a reconfiguration boot.

This chapter explains the following tasks:


Before You Begin



Note - Before powering on the system, you must attach a system console device to gain access to the system. See Chapter 2. ALOM automatically boots up when the system is plugged in.


The following is a brief summary of powering on the system properly:

1. Attach a system console device to the serial management port and turn the console device on.

Serial management access is only possible during first-time startup.

2. Plug in the system power cords.

ALOM boots and starts issuing console messages. At this time, you can assign a username and password.

3. Power on the system. Once powered on, type console to get to the OK prompt to watch the system boot sequence.


Powering On the Server Remotely

To issue software commands, you need to set up an alphanumeric terminal connection, a local graphics monitor connection, ALOM system controller connection, or a Tip connection to the Sun Fire V445 server. See Chapter 2 for more information about connecting the Sun Fire V445 server to a terminal or similar device.

Do not use this power-on procedure if you have just added any new internal option or external storage device, or if you have removed a storage device without replacing it. To power on the system under those circumstances, you must initiate a reconfiguration boot. For those instructions, see:



caution icon Caution - Before you power on the system, ensure that the system doors and all panels are properly installed.




caution icon Caution - Never move the system when the system power is on. Movement can cause catastrophic disk drive failure. Always power off the system before moving it.


For more information, see:


procedure icon  To Power On the Server Remotely

1. Log in to the ALOM system controller.

2. Type:


TABLE 3-1
sc> poweron


Powering On the Server Locally

Do not use this power-on procedure if you have just added any new internal option or external storage device, or if you have removed a storage device without replacing it. To power on the system under those circumstances, you must initiate a reconfiguration boot. For those instructions, see:



caution icon Caution - Never move the system when the system power is on. Movement can cause catastrophic disk drive failure. Always power off the system before moving it.




caution icon Caution - Before you power on the system, ensure that the system doors and all panels are properly installed.



procedure icon  To Power On the Server Locally

1. Turn on power to any external peripherals and storage devices.

Read the documentation supplied with the device for specific instructions.

2. Establish a connection to the system console.

If you are powering on the system for the first time, connect a device to the serial management port using one of the methods described in Chapter 2. Otherwise, use one of the methods for connecting to the system console, also described in Chapter 2.

3. Connect the AC power cords.



Note - As soon as the AC power cords are connected to the system, the ALOM system controller boots and displays its power-on self-test (POST) messages. Though the system power is still off, the ALOM system controller is up and running, and monitoring the system. Regardless of system power state, as long as the power cords are connected and providing standby power, the ALOM system controller is on and monitoring the system.



4. Press and release the Power button with a ball-point pen to power on the system.

This illustration depicts the front panel, emphasizing the Power button on the top left to the right of the LEDs.

The power supply Power OK indicators light when power is applied to the system. Verbose POST output is immediately displayed to the system console if diagnostics are enabled at power-on, and the system console is directed to the serial and network management ports.

Text messages appear from 30 seconds to 20 minutes on the system monitor (if one is attached) or the system prompt appears on an attached terminal. This time depends on the system configuration (number of CPUs, memory modules, PCI cards, and console configuration), and the level of power-on self-test (POST) and OpenBoot Diagnostics tests being performed. The System Activity indicator lights when the server is running under control of the Solaris OS.


Powering Off the System Remotely

To issue software commands, you need to set up an alphanumeric terminal connection, a local graphics monitor connection, ALOM system controller connection, or a Tip connection to the Sun Fire V445 server. See Chapter 2 for more information about connecting the Sun Fire V445 server to a terminal or similar device.

You can power off the system remotely either from the ok prompt or from the ALOM system controller sc> prompt.



caution icon Caution - Applications running on the Solaris OS can be adversely affected by a poorly executed system shutdown. ensure that you stop and exit applications, and shut down the OS before powering off the server.


For more information, see:


procedure icon  To Power Off the System Remotely From the ok Prompt

1. Notify users that the server will be powered off.

2. Back up the system files and data, if necessary.

3. Obtain the ok prompt.

See Entering the ok Prompt.

4. Issue the following command:


TABLE 3-2
ok power-off


procedure icon  To Power Off the System Remotely From the ALOM System Controller Prompt

1. Notify users that the system will be powered off.

2. Back up the system files and data, if necessary.

3. Log in to the ALOM system controller.

See Using the Serial Management Port.

4. Issue the following command:


TABLE 3-3
sc> poweroff


Powering Off the Server Locally



caution icon Caution - Applications running on the Solaris OS can be adversely affected by a poorly executed system shutdown. Ensure that you stop and exit applications, and shut down the OS before powering off the server.



procedure icon  To Power Off the Server Locally

1. Notify users that the server will be powered down.

2. Back up the system files and data, if necessary.

3. Press and release the Power button with a ball-point pin.

The system begins a graceful software system shutdown.



Note - Pressing and releasing the Power button initiates a graceful software system shutdown. Pressing and holding in the Power button for four seconds causes an immediate hardware shutdown. Whenever possible, you should use the graceful shutdown method. Forcing an immediate hardware shutdown can cause disk drive corruption and loss of data. Use that method only as a last resort.


4. Wait for the system to power off.

The power supply Power OK indicators extinguish when the system is powered off.

 



caution icon Caution - Ensure no other users have access to power on the system or system components while working on internal components.



Initiating a Reconfiguration Boot

After installing any new internal option or external storage device, you must perform a reconfiguration boot so that the OS is able to recognize newly installed devices. In addition, if you remove any device and do not install a replacement device prior to rebooting the system, you must perform a reconfiguration boot for the OS to recognize the configuration change. This requirement also applies to any component that is connected to the system I2C bus to ensure proper environmental monitoring.

This requirement does not apply to any component that is:

To issue software commands, you need to set up an alphanumeric terminal connection, a local graphics monitor connection, ALOM system controller connection, or a Tip connection to the Sun Fire V445 server. See Chapter 2 for more information about connecting the Sun Fire V445 server to a terminal or similar device.

This procedure assumes that you are accessing the system console using the serial management or network management port.

For more information, see:


procedure icon  To Initiate a Reconfiguration Boot

1. Turn on power to any external peripherals and storage devices.

Read the documentation supplied with the device for specific instructions.

2. Turn on power to the alphanumeric terminal or local graphics monitor, or log in to the ALOM system controller.

3. Use ALOM to initiate Diagnostics mode to run power-on self-test (POST) and OpenBoot Diagnostics tests to verify that the system functions correctly with the new part(s) you just installed.

4. Press the Power button with a ball-point pen to power on the system.

5. If you are logged in to the sc> prompt, switch to the ok prompt. Type:


TABLE 3-4
sc> console

6. When the system banner is displayed on the system console, immediately stop the boot process to access the system ok prompt.

The system banner contains the Ethernet address and host ID. To stop the boot process, use one of the following methods:

7. At the ok prompt, type:


 
ok setenv auto-boot? false
ok reset-all

You must set the auto-boot? variable to false and issue the reset-all command to ensure that the system correctly initiates upon reboot. If you do not issue these commands, the system might fail to initialize, because the boot process was stopped in Step 6.

8. At the ok prompt, type:


TABLE 3-5
ok setenv auto-boot? true

You must set auto-boot? variable back to true so that the system boots automatically after a system reset.

9. At the ok prompt, type:


TABLE 3-6
ok boot -r

The boot -r command rebuilds the device tree for the system, incorporating any newly installed options so that the OS will recognize them.



Note - A system banner appears in 30 seconds to 20 minutes. This time depends on the system configuration (number of CPUs, memory modules, PCI cards) and the level of POST and OpenBoot Diagnostics tests being performed. For more information about OpenBoot configuration variables, see Appendix C.


The system front panel LED indicators provide power-on status information. For information about the system indicators, see:

If the system encounters a problem during startup (running in the normal mode), try restarting the system in Diagnostics mode to determine the source of the problem. Use ALOM or the OpenBoot Prompt (ok prompt) to switch to Diagnostics mode and power cycle the system. See Powering Off the Server Locally.

For information about system diagnostics and troubleshooting, see Chapter 8.


Selecting a Boot Device

You specify the boot device by setting an OpenBoot configuration variable called boot-device. The default setting of this variable is disk net. With this setting, the firmware first attempts to boot from the system hard disk drive, and if that fails, from the on-board net0 Gigabit Ethernet interface.

Before you can select a boot device, you must complete system installation according to the instructions in the Sun Fire V445 Server Installation Guide.

This procedure assumes that you are familiar with the OpenBoot firmware and that you know how to enter the OpenBoot environment. For more information, see:



Note - The serial management port on the ALOM system controller card is preconfigured as the default system console port. For more information, see Chapter 2.


If you want to boot from a network, you must connect the network interface to the network. See, Attaching a Twisted-Pair Ethernet Cable.


procedure icon  To Select a Boot Device

single-step bullet  At the ok prompt, type:


 
ok setenv boot-device device-specifier

where the device-specifier is one of the following:



Note - The Solaris OS modifies the boot-device variable to its full path name, not the alias name. If you choose a nondefault boot-device variable, the Solaris OS specifies the full device path of the boot device.




Note - You can also specify the name of the program to be booted as well as the way the boot program operates. For more information, see the OpenBoot 4.x Command Reference Manual in the OpenBoot Collection AnswerBook for your specific Solaris OS release.


If you want to specify a network interface other than an on-board Ethernet interface as the default boot device, you can determine the full path name of each interface by typing:


 
ok show-devs

The show-devs command lists the system devices and displays the full path name of each PCI device.

For more information about using the OpenBoot firmware, refer to the OpenBoot 4.x Command Reference Manual in the OpenBoot Collection AnswerBook for your specific Solaris release.