DevTech101

DevTech101

solaris

Solaris network statistics utility (only Solaris 10)

Capturing Network statistics on Solaris 10 Latest nicstat utility is available here. The latest nicstat utility is compiled and might work better, below is the older perl version. The latest version is also on sourceforge Example script output Time Int rKB/s wKB/s rPk/s wPk/s rAvs wAvs  %Util Sat 00:26:33 aggr1 60562.9 1521.4 41090.4 20494.1 1509.3 …

Solaris network statistics utility (only Solaris 10) Read More »

Steps to Live Upgrade Oracle Solaris 10

How to Live Upgrade an active Solaris 10 enverment split second disk (or replace it and put aside metadettach & metaclear Check for latest patches for live upgrade at live upgrade patches Or Get patch 121430-57 Oracle Live upgrade install from the latest os cd cd <mount>/Solaris_10/Product pkgadd -d . SUNWlucfg Contents 1 check for …

Steps to Live Upgrade Oracle Solaris 10 Read More »

Script to get the Solaris ZFS ARC Size

This script will list the ZFS adaptive replacement cache (ARC)statistics and usages To get the script click here Another great ZFS ARC summery script is available here Output will look something like this. [root@server] /tmp # ./arc_summary.pl System Memory: Physical RAM: 64128 MB Free Memory : 58808 MB LotsFree: 999 MB ZFS Tunables (/etc/system): ARC Size: …

Script to get the Solaris ZFS ARC Size Read More »

Speeding up SSH SCP data transfers on Niagara machines

Speeding up SCP data transfers on the Sun SPARC T+ server line I found the fowling Sun blog talking about SSH/SCP speed runing with the T1000/T2000 servers. When using ssh or scp to transfer files to another server on the Niagara T1/2 boxes it will use only one virtual CPU which could be slow, as …

Speeding up SSH SCP data transfers on Niagara machines Read More »

Oracle Solaris Jumpstart Server Configuration

Server Config mkdir /jumpstart/sol10-0106; mount /jumpstart mount /cdromt (sol10) ; cd /cdrom/sol_10_106_sparc/s0/Solaris_10/Tools ./setup_install_server /jumpstart/sol10-0106 mkdir /jumpstart/sol10-0106/Patches copy Solaris latest cluster files to /jumpstart/sol10-0106/Patches; unzip it add to /etc/dfs/dfstab share -F nfs -o ro,anon=0 -d “Jumpstart” /jumpstart run shareall (run share to make sure) on solarisk10 svcsadm tftpd start make sure rarp is running if not …

Oracle Solaris Jumpstart Server Configuration Read More »

Using Solaris10 CDE with a remote X11 and ssh

The tip below is for accessing CDE or Gnome from a remote server, the solution uses SSH protocol as the connection layer for security reasons. If you are using cygwin on Windows to access CDE or Gnome, First you connect with the below commend from one window, this will activate the ssh forwarding. ssh username@remote_host …

Using Solaris10 CDE with a remote X11 and ssh Read More »

Solaris ISCSI EMC Configuration (and maybe others)

Contents 1 First create the ISCSI lun on the EMC array 1.1 On EMC 1.2 On Client host 1.3 checkout the client’s initiator… 1.4 On EMC 1.5 On Client host 1.6 sendtargets discovery enable 1.7 add a discovery address (emc) 1.8 show what’s exported 1.9 enable the device… 1.10 see what’s there… 1.11 create file …

Solaris ISCSI EMC Configuration (and maybe others) Read More »

Enabling Solaris BSM to send the security logs remote

Enabling BSM on Solaris 10 to send BSM security logs remotely To enable Solaris Basic Security Module(BSM) just run the enable BSM script (/etc/security/bsmconv). A Solaris auto configure script the script will enable and configure BSM to log with syslog and is available here. Note1: The server will need to be rebooted for changes to …

Enabling Solaris BSM to send the security logs remote Read More »

External Sendmail SMTP Mail Server Configuration on Solaris

Contents 1 Create a DNS zone record for Mail (SMTP) 1.1 Configure and setup sendmail configuration(mc) file 1.1.1 Setup the mc file 1.1.2 compile the main.mc file 1.2 restart sendmail 1.3 Update all client servers with the latest mail server Create a DNS zone record for Mail (SMTP) Configure and setup sendmail configuration(mc) file cd …

External Sendmail SMTP Mail Server Configuration on Solaris Read More »