Sun Microsystems 440 manual Graceful Shutdown, Alom System Controller break or console Command

Page 25

Graceful Shutdown

The preferred method of reaching the ok prompt is to shut down the operating system by issuing an appropriate command (for example, the shutdown, init, or uadmin command) as described in Solaris system administration documentation. You can also use the system Power button to initiate a graceful system shutdown.

Gracefully shutting down the system prevents data loss, enables you to warn users beforehand, and causes minimal disruption. You can usually perform a graceful shutdown, provided the Solaris OS is running and the hardware has not experienced serious failure.

You can also perform a graceful system shutdown from the ALOM system controller command prompt.

ALOM System Controller break or console Command

Typing break from the sc> prompt forces a running Netra 440 server to drop into OpenBoot firmware control. If the operating system is already halted, you can use the console command instead of break to reach the ok prompt.

After forcing the system into OpenBoot firmware control, be aware that issuing certain OpenBoot commands (like probe-scsi, probe-scsi-all, or probe-ide) might hang the system.

L1-A (Stop-A) Keys or Break Key

When it is impossible or impractical to shut down the system gracefully, you can get to the ok prompt by typing the L1-A (Stop-A) key sequence from a Sun keyboard. If you have an alphanumeric terminal attached to the Netra 440 server, press the Break key.

After forcing the system into OpenBoot firmware control, be aware that issuing certain OpenBoot commands (like probe-scsi, probe-scsi-all, or probe-ide) might hang the system.

Note – These methods of reaching the ok prompt will only work if the system console has been redirected to the appropriate port. For details, see “System Console OpenBoot Configuration Variable Settings” on page 31.

Chapter 1 Configuring the System Console 11

Image 25
Contents Netra 440 Server System Administration Guide Page Contents Managing RAS Features and System Firmware Managing Disk Volumes Iv Netra 440 Server System Administration Guide August Figures Vi Netra 440 Server System Administration Guide August Tables Viii Netra 440 Server System Administration Guide August How This Book Is Organized PrefaceShell Prompts Using Unix CommandsRelated Documentation Typographic ConventionsThird-Party Web Sites Accessing Sun DocumentationContacting Sun Technical Support Sun Welcomes Your CommentsCommunicating With the System Configuring the System Console1Ways of Communicating With the System What the System Console Does Using the System ConsoleSerial MGT NET MGT Alom serial management port Alom network management port 3Alternative Console Ports Require Additional Configuration Alternative System Console ConfigurationAccessing the System Console Through a Graphics Monitor About the sc Prompt Access Through Multiple Controller Sessions OpenBoot ok PromptReaching the sc Prompt Reaching the ok Prompt Graceful Shutdown Alom System Controller break or console CommandL1-A Stop-A Keys or Break Key Manual System Reset Externally Initiated Reset XIRGetting to the ok Prompt For More InformationTo Get to the ok Prompt 2Ways of Accessing the ok PromptConsole # Using the Serial Management Port Accessing the System ControllerTo Use the Serial Management Port Activating the Network Management PortEstablish an Alom system controller session To Activate the Network Management Port To verify the network settings, typeLog out of the Alom system controller session To Access The System Console Through a Terminal Server Accessing the System Console Through a Terminal Server3Pin Crossovers for Connecting to a Typical Terminal Server Open a terminal session on the connecting device, and type Power on the system Accessing the System Console Through a TIP ConnectionA shell tool window on the Sun system, type To Access the System Console Through the TIP ConnectionOk power-off Modifying the /etc/remote File If the number displayed by the uname -rcommand is less thanTo Modify the /etc/remote File Netra 440 Server System Administration Guide August Ok setenv input-device ttyb ok setenv output-device ttyb To Verify the Serial Port Settings on Ttyb Verifying Serial Port Settings on TtybOpen a shell tool window Type Look for the following outputFor more information, see Getting to the ok Prompt on To cause the changes to take effect, type Output-device Ttya Ttyb Screen Input-device Keyboard System Console OpenBoot Configuration Variable SettingsNetra 440 Server System Administration Guide August Managing RAS Features and System Firmware Logging In To the Alom System Controller Alom System ControllerTo Log In To the Alom System Controller About the scadm UtilitySc showenvironment To View Environmental InformationTo turn on the Locator LED, do one of the following Controlling the Locator LEDTo turn off the Locator LED, do one of the following OpenBoot Emergency Procedures Stop-A Functionality To Restore OpenBoot Configuration DefaultsStop-N Functionality To reset the system, type the following command Automatic System RecoveryStop-F Functionality Stop-D FunctionalityAuto-Boot Options Error Handling Summary Automatic System Recovery User Commands Reset ScenariosEnabling and Disabling Automatic System Recovery To Enable Automatic System RecoveryTo cause the parameter changes to take effect, type To Disable Automatic System RecoveryTo cause the parameter change to take effect, type Obtaining Automatic System Recovery Information Unconfiguring and Reconfiguring DevicesTo Unconfigure a Device Manually To determine full physical device paths, type To Reconfigure a Device Manually Enabling the Hardware Watchdog Mechanism and Its Options To Enable the Hardware Watchdog MechanismMultipathing Software Disk Volumes Managing Disk VolumesVeritas Dynamic Multipathing Volume Management SoftwareSun StorEdge Traffic Manager Managing Disk Volumes Disk Concatenation RAID TechnologyRAID 1 Disk Mirroring RAID 0 Disk StripingRAID 5 Disk Striping With Parity Hardware Disk MirroringHot-Spares C1t3d0 Devices/pci@1f,700000/scsi@2/sd@3,0 To Create a Hardware Disk MirrorFor example To Delete a Hardware Disk Mirror To delete the volume, type the following command To Perform a Mirrored Disk Hot-Plug Operation To confirm a failed disk, type the following commandTo Perform a Non-Mirrored Disk Hot-SwapOperation CD-ROM View the status of the Scsi devices# cfgadm -x removedevice c0dsk/c1t1d0 Remove the hard drive from the device treeVerify that the device has been removed from the device tree Configure the new hard driveVerify that the new hard drive is in the device tree OpenBoot Configuration Variables Baudrate, bits Appendix a OpenBoot Configuration Variables Netra 440 Server System Administration Guide August Alarm Relay Output Application Programming Interface Netra 440 Server System Administration Guide August Page Netra 440 Server System Administration Guide August Page Netra 440 Server System Administration Guide August Index SymbolsNetra 440 Server System Administration Guide August Asr-disable, 46 go Console, 11, 41 console -f, 9 poweroff, 12 poweron Uadmin 11 uname, 25 uname -r Netra 440 Server System Administration Guide August