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 decreasing order of desirability, the list is as follows:

  • Graceful shutdown
  • Graceful reset of the control domain using the ILOM reset command
  • Manual system reset
  • The Break key or the equivalent ALOM system controller command pair:
    -> set /HOST send_break_action=break
    -> start /SP/console -force

 

Command ok prompt

OK show-disks      —> To show the disks
OK probe-scsi        —> To search the scsi devices attached to the primary scsi controller
OK probe-scsi-all   —> To search all the scsi devices
OK devalias <alias> <path> —>To temporarily create a device alias
OK printenv            —->To view the current NVRAM settings
OK setenv <env> <value> —> To set the envirement variables
OK set-defaults                  —> To set the open boot prompt settings to the factory default
OK nvalias <alias> <path>  —>To set the device alias permanently to NVRAM
OK nvunalias cdrom1  —-> To remove the nvalias ‘cdrom1’ from NVRAMRC
OK .version   ——> To find out the Open boot prompt version
OK .ent_addr —–> To find out the ethernet MAC address
OK .speed    —–> To find out the CPU and PCI bus speeds
OK banner    —–> To display the Model,Architecture,processor,openboot version,ethernet address,hostid and etc
OK set-defaults —-> To reset variable values to the factory defaults
OK reset-all —–> To reboot the system from OK Prompt
OK show-devs  —–>To show the PCI devices
OK boot   —> boot the system from the default boot devices
OK boot cdrom —-> to boot from cdrom
OK boot disk —-> boots the system from device as specified by the disk device alias
OK boot device-path —->boot from the full device mentioned
OK boot net —-> network boot .boots from a TFTP boot server or Jumpstart server
OK boot bet -install  —–>Jumpstart boot.
OK boot tape —–> Tape boot.boots off a SCSI tape if available
OK boot -h —-> boot halted .boot into a halted state(ok prompt) intersting for troubleshooting boot at the lowest level
OK boot -r —-> Reconfiguration boot.Boot and search for all attached device.useful when new device attached to the system
OK boot -s —-> Single user.boots the system to run level 1
OK boot -v —-> verbose boot.show good debugging information.

Displaying System Information
Commands to display additional system related information .Not all commands work on all Platforms
OK .idprom  ——–> Display ID PROM contents
OK .traps  ——–> Display a list of processor-dependent trap types
OK show-devs —–>display list of installed and probed devices
OK eject floppy —-> Eject the floppy
OK eject cdrom ——>eject the cdrom
OK sync —–> call the operating system to write information to hard disk

Emergency Keyboard Commands
These are key sequences recognized by the system to perform predetermined
actions at boot time or during normal operation.

Stop     —> Bypass POST .(This command does not depend on security-mode)
Stop-A —> Abort.(This will also stop a running system. You can
resume normal operations if you enter go at the prompt.
Enter anything else and you will stay halted)
Stop-D  —> Enter diagnostic mode(set diag-switch?to true)
Stop-N  —> Reset NVRAM contents to default values.


4 Comments

Oscar Bodin · 29/11/2017 at 09:30

Hi there every one, here every one is sharing these kinds of know-how, therefore it’s good to read this webpage, and I used to pay a
visit this website everyday.

NanceeSmall · 12/12/2017 at 10:34

I have checked your page and i’ve found some duplicate content,
that’s why you don’t rank high in google, but
there is a tool that can help you to create 100% unique content, search for: Boorfe’s tips unlimited content

    Rizki Amar Kuswara · 13/12/2017 at 20:29

    Indeed I have not done improvements to the content or SEO on this blog, because I just collect articles that help me in learning.
    I’ll try it later. Thanks

website hosting · 08/08/2020 at 19:21

whoah this blog is magnificent i love reading your posts.
Stay up the good work! You realize, a lot of individuals are looking round for
this information, you could aid them greatly.

Leave a Reply

Your email address will not be published. Required fields are marked *

five × four =

Related Posts

Oracle

How to Collect a Snapshot on SPARC M series servers Mx000 and M10-x systems

Running snapshot The syntax varies slightly from the Mx000 to the M10-x .The M10 requires a “-a” option to collect logs from all chassis. The two most common usages are described below. The first example Read more…

Oracle

Verifying HBA card connectivity in Solaris

1. Use the “luxadm -e port” command to verify HBA has established communication with a node. # luxadm -e port /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl CONNECTED /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0:devctl CONNECTED CONNECTED : HBA has established connection with either target or initiator. Read more…

Oracle

Setting Network IPMP & Aggregate Solaris 11

Configure an Active-Standby IPMP Group 1. Create an IPMP interface ipadm create-ip net0 ipadm create-ip net1 ipadm create-ipmp ipmp0 2. Add the physical interfaces net0 and net1 to the ipmp group. ipadm add-ipmp -i net0 Read more…