Performance issues on Solaris: The below mentioned key resources will play a huge role in system performance. 1.Disk Utilization 2.CPU Utilization 3.Memory Usage 4.Network Bottle neck In the post we are going to see about disk performance issues and how to identify IO bottle neck. Generally a problem is identified when an application is not performing as we expected. […]
Solaris 10
How to enable SAR(System Activity Reporter) in Solaris?
SAR:(System Activity Reporter) SAR is a legacy system monitoring tool which is used to report CPU activity, system loads average, memory/paging, LUN load, network activity.We can add SAR in crontab to monitor the server through out the day and this will help you to find the system disk I/O,memory utilization,CPU utilization any given time.Once you have the sar output files, you can use ksar graphical […]
How to cleanup veritas volume manager device tree ?
In Solaris , Sometimes veritas volume manger device tree will be messed up with newly assigned LUNS and you have to perform the device tree cleanup in a order to fix the device tree mess up. Below are two options for resolving device tree inconsistencies in VXVM. The first option does not require a reboot. […]
VXVM Failures
we may very often to fight with volume issues in day to day UNIX administration. When its come to veritas volume manager,it will be very less compare to other volume mangers. In rare cases you may need to face such a issues due environment(Like SAN issue),volume may go in to I/O error state or LUN paths will […]
how to boot Solaris local zone in single user mode ?
Many of us known to boot the Solaris global zone in single user mode.But have you ever tried to boot Solaris non-global zone in single user mode ?.In SPARC based machines we have an “OK” prompt to boot the OS in single user mode and using grub menu, we can to boot on X86 machines in single user mode.So how can we […]
ZFS quick command reference with examples
ZFS-Zetta Byte filesystem is introduced on Solaris 10 Release.To develop this filesystem cum volume manager,Sun Micro-systems had spend lot of years and some billion dollars money. ZFS has many cool features over traditional volume managers like SVM,LVM,VXVM.Here is the some of the advantages listed below.Advantages:1.Zpool Capacity of 256 zettabytes2.ZFS snapshots,clones and Sending-receiving snapshots3.Lightweight filesystem creation4.Encryption5.Software RAID6.Data integrity 7.Integrated Volume management (No need an additional volume manager)Disadvantages:1.No way […]
How to add new SWAP in Solaris 10 on fly
Rarely we may pushed in a such a situation to add the additional swap space while system is in production.Sometimes due to applications ,system may in to memory bottle neck.As a workaround,we will add additional swap space to avoid the system hung/panic.Here i would like to demonstrate couple of ways of adding swap.1.Adding the physical disk directly as swap.2.If we don;t have free […]
Difference between Crash dumps and Core dumps – Solaris
Core files are just a process dump (image from physical memory) when the process terminates abnormally. These files are very important to find the root cause of process(application/DB) failure. Normally , application/DB need to send these core files to application vendor to fix this issue. Otherwise system administrator’s job will become hectic to perform the core file clean […]
How to recover the OS using ZFS snapshot
Many of them are very familiar with Solaris OS recovery on UFS root filesystem.Here we are going to see about how to recover Solaris 10 on ZFS root filesystem. Here is assumptions is we are periodically keeping root FS zfs snapshot in NAS location using zfs send feature.This can be achieved easily using small “zfs send” command. Note:This procedure will be […]
How to recover a destroyed zfs storage pool
ZFS has one of the cool features that we can recover the destroyed pool if the zpool disk is not used or removed from the system for other purpose. Once we issue the command to destroy the particular pool, Solaris will put the zpool in destroyed mode and it won’t remove any data from those zpool disks.Note:Zpool destroy is very dangerous command since it destroys the zpool even if it […]
