Monday, January 28, 2013

Solaris Boot/OK Prompt

To boot from cdrom and do admin task without mounted disk:

  • init 0
  • connect to system from sc
  • ok> boot cdrom -s or boor cdrom - nowin

Monday, January 21, 2013

Setting Up SSH Public/Private Key

Creating keys, if don't have it yet
ssh-keygen -t dsa
or
ssh-keygen -t rsa -b 4096

Copy public file content (id_dsa.pub) to ~/.ssh/authorized_keys on REMOTE site

ssh client uses id_rsa as private key
ssh server use authroized_keys as public key of client to check validity



  • The file $HOME/.ssh/authorized_keys  lists  the public keys that are permitted for logging in.
  • PuTTY key file formats seems not match with linux/solaris ssh, or need change to make it compatible



Solaris Hardware RAID

raidctl
List current raid configuration and setup

raidctl -c primary secondary
Make hardware mirrored volume
raidctl -c c0t0d0 c0t1d0

raidctl -c -r 0 disk1 disk2 ...
Make hardware striped volume

raidctl -l c0t0d0
Check existing raid volume


Use format->label to finalize and make it usabe

Physical Memory Size in Solaris

prtconf | grep Mem