What is a sticky bit

September 3rd, 2010 No comments

In Unix sticky bit is permission bit that protects the files within a directory. If the directory has the sticky bit set, a file can be deleted only by the owner of the file, the owner of the directory, or super user. This prevents a user from deleting other users’ files from publ

Categories: Solaris, Unix Tags:

VTOC , EFI disk label comparison

September 2nd, 2010 No comments

A disk lable is a special area for storing information about the disk’s controller, geometry, and slices (or partitions). This information is called the disk’s label and in Unix its called volume table of contents (VTOC). Writing slice information onto disk is called labeling a disk. B

How to change the IP Address in solaris

August 31st, 2010 No comments

Changing the ip address in Solaris is straight forward. But its not a one or two click methods like in Windows. There is one important advantage in solaris 10 is that there is no need of reboot of the server against its predecessor solaris 9 where you need to reboot to make the changes permemnant. I

Categories: Solaris Tags:

Oracle plans for Solaris 11

August 21st, 2010 No comments

After the acquisition of SUN, Oracle indicated its first ever release of Solaris Operating systems. But the release will be in 2011. John Fowler (an Oracle Executive VP) announced company’s plan for the first ever release of Solaris under Oracle. View his webcast for more details. http://www.o

Categories: Solaris Tags:

IPMP on solaris 10set up guide

June 8th, 2010 No comments

Here is the detailed configuration guide to set up ipmp, with the inputs from Sun docs, Summary of typical IPMP Configurations

1.  Production and test interfaces in the same IP subnet
1.1  With defaultrouter
1.2  Without defaultrouter
1.3  With dedicated hosts acting as test targets with “host-routes”
1.4  Configuration example for 1.1, 1.2 and 1.3

Read more…

How to check Solaris version

June 1st, 2010 No comments
Here is how to check the Oracle Solaris Version you are running
	$ uname -a
	SunOS mysunserver 5.10 Generic_125100-06 sun4v sparc SUNW,Sun-Fire-T1000 Solaris
	$

	Solaris 10 uses the SunOS 5.10 kernel, Solaris 9 uses the SunOS 5.9 kernel...
 Read more...
Categories: Solaris Tags:

How to check Solaris Server performance with SAR

June 1st, 2010 No comments

Whether you’re unsatisfied with your Solaris system performance or just want to get the most out of what the machine is capable of, there is a cyclical process to improve it, which consists of determining where the processing slow-down is occuring (the bottleneck), fixing it, then repeating the process, until the most significant bottlenecks are reduced.

First, we should learn about some tools to help us monitor system performance. SAR (the system activity reporter) is the time-honored (and very cryptic) standard UNIX performance monitoring tool. How do we use SAR to see what the Sun server has been doing?

Read more…

Categories: Solaris, UNIX TIPS Tags:

Solaris Zones Cheat Sheet

June 1st, 2010 No comments

As a zone is a light-weight VM created within a single instance of the Solaris Operating System, you can boot zone, login into zone, etc as if this is a separate computer. The original instance of Solaris is called a global zone. It always has the name global. The global zone run system-wide processes and is used for zone administrative control. A regular user of the global zone can be a root user of the zone and thus can boot the zone, add/delete users, etc. that’s a nice separation of duties in a large enterprise environment.

Solaris Zones can be maintained by System administrator with the help of minimal commands . Let us look at the commands which will help the Sys admins to face the day to day Zone administration.

Read more…

How to replace a failed bootdisk in VxVM

June 1st, 2010 No comments

System Administrators one of the nightmare is the boot fail. If the booting failed in a VxVM then it will be more problem. But Veritas Volume manager is a very friendly application every Sys Admins love. If you know what you are doing you can recover a failure pretty easy.  In the following example, the host has a failed bootdisk (c0t0d0). Fortunately, the system is using Veritas volume manager, with a mirror at c0t1d0. The following sequence of steps can be used to restore the system to full redundancy.

Read more…

How to Tune kernel parameters in Solaris 10

May 31st, 2010 No comments

Solaris 10 has introduced a lots of new features and one of them is to tune the kernel without rebooting the system. So that you can modify the kernel in a live production system. Many kernel parameters have been replaced by so called resource controls in Solaris 10. It is possible to change resource controls using the prctl command. All shared memory and semaphore settings are now handled via resource controls, so any entries regarding shared memory or semaphores (shm & sem) in /etc/system will be ignored. Before going into details let us check what is semaphore.

Read more…