Author: ruchir

Network tuning Solaris

Setting up TCP stack for best performance in solaris:   set ndd:tcp_wscale_always=1 set ndd:tcp_tstamp_if_wscale=1 set ndd:tcp_max_buf=16777216 set ndd:tcp_cwnd_max=8388608 set ndd:tcp_xmit_hiwat=1048576 set ndd:tcp_recv_hiwat=1048576 ndd -set /dev/ip ip_forwarding 0 ndd -set /dev/tcp tcp_wscale_always 1 ndd -set /dev/tcp tcp_tstamp_if_wscale 1 ndd -set /dev/tcp tcp_max_buf 16777216 ndd -set /dev/tcp tcp_cwnd_max 8388608 ndd -set /dev/tcp tcp_xmit_hiwat 2048576 ndd -set /dev/tcp […]

Solaris – SAN easy way

Hey Everyone, I know sometime it seems a bit difficult to assign LUN’s to Solaris, here are my goto Steps: 1: Verify HBA port info to ensure assignment is correct: # fcinfo hba-port -l 2:  find LUN stmsboot –u 3: Format LUN ‘fdisk’ and ‘label’ 4: Put the device names (ending with s2) into /etc/lvm/ […]

Solaris Root mirroring Easy way

Hey Everyone, Something from my old notes: Root mirroring in Solaris: Root Mirroring Root disk – c5t500000E010F08540d0 Mirror disk – c5t500000E010EFE890d0 Transfer the partition table prtvtoc /dev/rdsk/c5t500000E010F08540d0s2 | fmthard -s – /dev/rdsk/c5t500000E010EFE890d0s2 Creation of meta databases metadb -c 2 -a -f /dev/dsk/c5t500000E010F08540d0s7 /dev/dsk/c5t500000E010EFE890d0s7 Initialising the meta devices metainit -f d10 1 1 c5t500000E010F08540d0s0 metainit d20 […]