Sun Microsystems 440 manual Reaching the ok Prompt

Page 24

When a Netra 440 server is at run level 0, the ok prompt appears. This prompt indicates that the OpenBoot firmware is in control of the system.

There are a number of scenarios under which OpenBoot firmware control can occur.

By default, the system comes up under OpenBoot firmware control before the operating system is installed.

The system boots to the ok prompt when the auto-boot?OpenBoot configuration variable is set to false.

The system transitions to run level 0 in an orderly way when the operating system is halted.

The system reverts to OpenBoot firmware control when the operating system crashes.

During the boot process, when there is a serious hardware problem that prevents the operating system from running, the system reverts to OpenBoot firmware control.

When a serious hardware problem develops while the system is running, the operating system transitions smoothly to run level 0.

You deliberately place the system under firmware control in order to execute firmware-based commands or to run diagnostic tests.

It is the last of these scenarios which most often concerns you as an administrator, since there will be times when you need to reach the ok prompt. Several ways to do this are outlined in “Reaching the ok Prompt” on page 10. For detailed instructions, see “Getting to the ok Prompt” on page 13.

Reaching the ok Prompt

There are several ways to reach the ok prompt, depending on the state of the system and the means by which you are accessing the system console. In order of desirability, these are:

Graceful shutdown

ALOM system controller break or console command

L1-A (Stop-A) keys or Break key

Externally initiated reset (XIR)

Manual system reset

Adiscussion of each method follows. For step-by-step instructions, see “Getting to the ok Prompt” on page 13.

10 Netra 440 Server System Administration Guide • August 2004

Image 24
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 Preface How This Book Is OrganizedUsing Unix Commands Shell PromptsTypographic Conventions Related DocumentationAccessing Sun Documentation Third-Party Web SitesContacting Sun Technical Support Sun Welcomes Your CommentsConfiguring the System Console Communicating With the System1Ways of Communicating With the System Using the System Console What the System Console DoesSerial MGT NET MGT Alom serial management port Alom network management port Alternative System Console Configuration 3Alternative Console Ports Require Additional ConfigurationAccessing the System Console Through a Graphics Monitor About the sc Prompt OpenBoot ok Prompt Access Through Multiple Controller SessionsReaching the sc Prompt Reaching the ok Prompt Alom System Controller break or console Command Graceful ShutdownL1-A Stop-A Keys or Break Key Externally Initiated Reset XIR Manual System ResetFor More Information Getting to the ok Prompt2Ways of Accessing the ok Prompt To Get to the ok PromptConsole # Accessing the System Controller Using the Serial Management PortActivating the Network Management Port To Use the Serial Management PortEstablish an Alom system controller session To verify the network settings, type To Activate the Network Management PortLog out of the Alom system controller session Accessing the System Console Through a Terminal Server To Access 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 Accessing the System Console Through a TIP Connection Power on the systemTo Access the System Console Through the TIP Connection A shell tool window on the Sun system, typeOk power-off If the number displayed by the uname -rcommand is less than Modifying the /etc/remote FileTo Modify the /etc/remote File Netra 440 Server System Administration Guide August Ok setenv input-device ttyb ok setenv output-device ttyb Verifying Serial Port Settings on Ttyb To Verify the 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 System Console OpenBoot Configuration Variable Settings Output-device Ttya Ttyb Screen Input-device KeyboardNetra 440 Server System Administration Guide August Managing RAS Features and System Firmware Alom System Controller Logging In To the Alom System ControllerAbout the scadm Utility To Log In To the Alom System ControllerTo View Environmental Information Sc showenvironmentControlling the Locator LED To turn on the Locator LED, do one of the followingTo turn off the Locator LED, do one of the following OpenBoot Emergency Procedures To Restore OpenBoot Configuration Defaults Stop-A FunctionalityStop-N Functionality Automatic System Recovery To reset the system, type the following commandStop-F Functionality Stop-D FunctionalityAuto-Boot Options Error Handling Summary Reset Scenarios Automatic System Recovery User CommandsEnabling and Disabling Automatic System Recovery To Enable Automatic System RecoveryTo Disable Automatic System Recovery To cause the parameter changes to take effect, typeTo cause the parameter change to take effect, type Unconfiguring and Reconfiguring Devices Obtaining Automatic System Recovery InformationTo Unconfigure a Device Manually To determine full physical device paths, type To Reconfigure a Device Manually To Enable the Hardware Watchdog Mechanism Enabling the Hardware Watchdog Mechanism and Its OptionsMultipathing Software Managing Disk Volumes Disk VolumesVolume Management Software Veritas Dynamic MultipathingSun StorEdge Traffic Manager Managing Disk Volumes RAID Technology Disk ConcatenationRAID 0 Disk Striping RAID 1 Disk MirroringHardware Disk Mirroring RAID 5 Disk Striping With ParityHot-Spares To Create a Hardware Disk Mirror C1t3d0 Devices/pci@1f,700000/scsi@2/sd@3,0For example To Delete a Hardware Disk Mirror To delete the volume, type the following command To confirm a failed disk, type the following command To Perform a Mirrored Disk Hot-Plug OperationTo Perform a Non-Mirrored Disk Hot-SwapOperation View the status of the Scsi devices CD-ROMRemove the hard drive from the device tree # cfgadm -x removedevice c0dsk/c1t1d0Configure the new hard drive Verify that the device has been removed from the device treeVerify 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 Symbols IndexNetra 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