Archive for the ‘solaris utilities’ Category
Trussing processes on Sun Cluster?
One of the apps running on Sun Cluster was randomly crashing. So, I decided to take a look what was happening. Yeah, there is DTrace in Solaris 10. Since I am pretty comfortable with truss I decided to give that a shot first: root@node1 # truss -p 27462 truss: process is traced: 27462 root@node1 # [...]
In: solaris, solaris tips, solaris utilities, sun cluster
Quick and dirty SVM cheatsheet
This list focuses mostly on mirror operations. I use Solaris Volume Manager quite a bit when mirroring internal drives. There are tons of additional features and commands, if you use SVM for things other than mirroring. In that case you might want to look at check out Solaris Volume Manager Administration Guide. Create database replicas: [...]
In: solaris, solaris utilities, solaris volume manager, storage
Corrupt superblock, now what?
This is an oldie, but a goodie. For some reason I was asked about it 3 times in a span of a week. Suppose your system was not shut down cleanly and it refuses to come up. During bootup fsck refuses to run, complaining about corrupt superblock. So, what do you do? First, get the [...]
In: solaris, solaris tips, solaris utilities
Getting handle on log files
Starting with Solaris 9 there is a very handy tool called logadm that makes management of any log files a breeze. Syslog and messages files, among others, are managed by logadm which is called from root’s crontab. Logadm reads /etc/logadm.conf file to figure out what it needs to do. By default there are following entries [...]
In: solaris, solaris tips, solaris utilities
Solaris Link Aggregation
Link aggregation takes a bunch of network interfaces and creates a big pipe out of them. Aggregation also provides redundancy. If all interfaces but one go down, the server will remain connected to the network. Before starting make sure that: interfaces to be aggregated are of the following type: xge, e1000g, and bge interfaces to [...]
In: networking, solaris, solaris tips, solaris utilities

