SPARC Solaris OpenBoot PROM (OBP) Commands
APPLIES TO : SPARC Solaris Servers
ISSUE : NIL
GOAL : SPARC Solaris Useful OK Prompt or OBP commands
SOLUTION : SPARC Solaris Useful OK Prompt or OBP commands
Prerequisites : NIL
OK Prompt or OBP commands
1. To show the disks
OK> show-disks
2. To search the scsi devices attached to the primary scsi controller
OK> probe-scsi
3. To search all the scsi devices
OK> probe-scsi-all
4. To list device alias names
OK> devalias
5. To temporarily create a device alias
OK> devalias <alias> <path>
6. To view the current NVRAM settings
OK> printenv
7. To set the envirement variables
OK> setenv <env> <value>
8. To set the open boot prompt settings to the factory default
OK> set-defaults
9. To set the device alias permanently to NVRAM
OK> nvalias <alias> <path>
10. To remove the nvalias 'cdrom1' from NVRAMRC
OK> nvunalias cdrom1
11. To find out the Open boot prompt version
OK> .version
12. To find out the ethernet MAC address
OK> .ent_addr
13. To find out the CPU and PCI bus speeds
OK> .speed
14. To display the Model, Architecture, processor, openboot version, ethernet address, hostid and etc
OK> banner
15. To reset variable values to the factory defaults
OK> set-defaults
16. To reboot the system from OK Prompt
OK> reset-all
17. To show the PCI devices
OK> show-devs
18. Boot the system from the default boot devices
OK> boot
19. To boot from cdrom
OK> boot cdrom
20. Boots the system from device as specified by the disk device alias
OK> boot disk
21. Boot from the full device mentioned
OK> boot device-path
22. Betwork boot .boots from a TFTP boot server or Jumpstart server
OK> boot net
23. Jumpstart boot.
OK> boot net -install
24. Tape boot.boots off a SCSI tape if available
OK> boot tape
25. Boot halted .boot into a halted state(ok prompt) interesting for troubleshooting boot at the lowest level
OK> boot -h
26. Reconfiguration boot.Boot and search for all attached device.useful when new device attached to the system
OK> boot -r
27. Single user.boots the system to run level 1
OK> boot -s
28. Verbose boot.show good debugging information.
OK> boot -v
29. To boot the server to failsafe mode
OK> boot -F failsafe
Displaying System Information
30. Display ID PROM contents
OK> .idprom
31. Display a list of processor-dependent trap types
OK> .traps
32. Display list of installed and probed devices
OK> show-devs
33. Eject the floppy
OK> eject floppy
34. Eject the cdrom
OK> eject cdrom
35. Call the operating system to write information to hard disk
OK> sync
Emergency Keyboard Commands
36. Bypass POST .(This command does not depend on security-mode)
OK> Stop
37. 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)
OK> Stop-A
38. Enter diagnostic mode(set diag-switch?to true)
OK> Stop-D
39. Reset NVRAM contents to default values.
OK> Stop-N
~Judi~
No comments:
Post a Comment