Monday, August 10, 2009

SUN OBP Commands


Sun SPARC (Scalable Processor Architecture) Open Boot Prompt Commands

  1. boot boot the OS into runlevel.
  2. boot cdrom booting from cdrom/dvd.
  3. boot -r boot in reconfiguration mode.
  4. boot -s boot in single user mode.
  5. printenv Display all configuration variables.
  6. setenv Set variable to value.
  7. devalias Display all defined aliases.
Some common configuration variables.
  1. auto-boot? Determine if solaris boots on power-on
  2. boot-device value disk or disk:a etc
  3. diag-level Determine the diagnostic level min,max etc.
Open Boot Commands.
  1. probe-scsi provide details of scsi devices.
  2. test-device test all devices self test method.
  3. watch-net test net devices and monitors for bad blocks.
  4. reset-all reset entire system.
  5. .speed show cpu speed and PCI bus speed.
  6. .version show OBP version.

Wednesday, July 8, 2009

Solaris patch installation

Solaris patch installation

patchadd’ is the command to install patches in solaris

eg. $ patchadd 99-118025

For removing installed patch from OS

$ patchrm 99-118025

Redhat package installation (rpm)

For installing an rpm

rpm –ivh package name

$ rpm –ivh squid-2.6.STABLE6-3.el5.i386.rpm

For removing a package

rpm –e package name

eg. $ rpm –e squid-2.6.STABLE6-3.el5.i386

For installing an rpm with dependencies

rpm –ivh package name --deps

Linux backup with dump command

Document in progress......

Solaris backup with ufsdump

Document in progress......