Archive for October, 2007

Change boot up parameters with out going to the OK prompt

eeprom is used to change BootPROM environment variables. If you dont use eeprom then you would have to do init 0 and make the changes from the OK prompt but why would you want to bring your server down in order to make boot up (BootPROM) changes if you dont have to.

eeprom – EEPROM display and load utility

# eeprom
test-args: data not available.
diag-passes=1
local-mac-address?=false
fcode-debug?=false
silent-mode?=false
scsi-initiator-id=7
oem-logo: data not available.
oem-logo?=false
oem-banner: data not available.
oem-banner?=false
ansi-terminal?=true
screen-#columns=80
screen-#rows=34
ttya-rts-dtr-off=false
ttya-ignore-cd=true
ttya-mode=9600,8,n,1,-
output-device=ttya
input-device=ttya
auto-boot-on-error?=false
load-base=16384
auto-boot?=true
boot-command=boot
diag-file: data not available.
diag-device=net
boot-file: data not available.
boot-device=/pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w2100000c507aa519,0:a disk net
use-nvramrc?=false
nvramrc=devalias vx-rootdisk /pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w2100000c507aa519,0:a
devalias vx-rootmirror /pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w2100000c507acb2d,0:a
security-mode=none
security-password: data not available.
security-#badlogins=0
diag-out-console=false
post-trigger=error-reset power-on-reset
diag-script=normal
diag-level=min
diag-switch?=false
obdiag-trigger=error-reset power-on-reset
error-reset-recovery=boot

Will the server start booting when you turn it on or will it just sit at the OK prompt. Lets see.

# eeprom |grep auto-boot
auto-boot-on-error?=false
auto-boot?=true

Humm looks like it will be booting at power on, that is a good thing(most of the time). There are many boot up options that can also be changes such as boot device, diagnostics levels, serial display settings, and many others.

Comments

How to tell what architecture you are running

While uname -a can give you some useful information about the system that you are running you might still need more detailed information about what type of CPU you are running.

bash-2.03$ uname -a
SunOS server-1 5.8 Generic_117350-24 sun4u sparc SUNW,Sun-Fire-480R
bash-2.03$ isainfo
sparcv9 sparc

-bash-3.00$ uname -a
SunOS server-two5.10 Generic_125101-10 i86pc i386 i86pc
-bash-3.00$ isainfo
amd64 i386

Comments

« Previous Page « Previous Page Next entries »