Friday, September 17, 2010

Learn Oracle RAC with Netapp Simulator

Posting here as one of my lovely friend Felix asked about Oracle RAC .
If you want to learn how Oracle RAC works here is a great tutorial of setting it up posted by Sachin Garg.

Link

The tutorial Lack the netapp Filer installation you can proceed using the below
Link


Below are more links about Oracle RAC

Oracle RAC Introduction Link

If you Need more info the given link got a lot of links for RAC References:
Link

Best Way to Kill Java Program

ps -ef | grep java | grep -v grep | awk '{print $2}' | xargs kill -9

PowerShell Script to Create Visio Diagram of Your Aggregates, Volumes, and LUNS!

Want to Visio your Netapp Filer for Aggregates, Volumes, and LUNS!. I found a great article on it explaining the whole process .

Netapp LinK

Blog Link

Thursday, September 16, 2010

Migrating Printers In windows

Migrating Printers In windows
A friend ask me how he can migrate a number's of printers from one SAP server to other .

Here is the tool provided by Microsoft to do so Link

Wednesday, September 8, 2010

Zenoss Grouping Alerts

Zenoss misses this feature of group alerts , i wanted a alert email showing me all the devices having issue when i start my work so based on the priority wise i can start working on there resolution .
Below is the script which full fill my wish and i add it to cron or you can place it in the apache web folder and use it by commenting the mail paramter with print $message . You can add more parameters to it to narrow device type like add eventtype<>-1 if you donot want to see alerts which are acknowledged ( currently don't have a zenoss system access but will correct it if its wrong .


Download the script from this Link

Check Snapshot on VMware

Check Snapshot on VMware

To find the snapshot on the VMware ESX host use the below script . I found this on Nagios Exchange :


Add the following to your ESX server in the /etc/snmp/snmpd.conf and restart the snmpd deamon
exec .1.3.6.1.4.1.6876.99999.2 snapshots /etc/snmp/snapshots.sh


snapshot.sh should contains these lines.
#!/bin/sh
/usr/bin/find /vmfs/volumes/ -name '*delta*.vmdk' -printf %f' '%s'\n'

make sure it's executable by using the following command
chmod a+x /etc/snmp/snapshots.sh

Add a datastore in zenoss of snmp type and call this from there :

snmpwalk -v 2c -c $community $device .1.3.6.1.4.1.6876.99999.2.101 |\
grep vmdk | awk {' print $4,$5 '} |\
sed 's/ /_size:/g' | sed 's/\"//g'`

Thursday, September 2, 2010

Common Sense - Not so Common

We all believe in this quote but how many of us can differentiate Knowledge with Common Sense. Not Many of us...My post today elaborates on how we improve our Common Sense.
Many of us feel that our technical skill is not a part of our common sense, for us common sense is analytical, logical and aptitude based...this is a myth. Common sense can be anything, be it technical or behavioral.
Then how does Technical ability amount to be a part of Common Sense? An individuals understanding of how a thing works and putting it into practice is ability. Eg.: driving a bike, coding, PC Management. Not all people are experts at it but if you see some people do it and you do it the same way, you are able to do it.
From repeated practice of an ability amidst different conditions, situations and variable resources we become skilled. Eg.: Coding different Reports, Troubleshooting PC issues etc., and when you become skilled, you don't know different things, you just know different ways of doing things.
There is a science or a logic or an area of study behind every skill, this is not independent. Knowledge is dependent on various other disciplines. for a human mind, this knowledge can be mapped to a cloud in the sky or a water droplet on a floor.Interconnecting these little water droplets will give you Knowledge. Eg.: Understanding Electronics will enhance Computer Hardware Troubleshooting. This is Knowledge.
Knowledge cannot be static, it is dynamic and it needs to be put into practice. We do it through correlating our skill with other disciplines. Correlation takes your skill to next level. this next level is called competence. At this level, you are able to understand the problem based on the symptoms or error messages and you maintain a mental checklist of things you should be checking. Eg.: You approach a mechanic and say that your bike does not start, he has a invisible checklist. He checks the Petrol first, cleans spark plug, checks the spark, cleans the air filter, checks the electricity circuit to the engine and so on. He has a predetermined method of approaching the problem. This is Competence.
Now by virtue of putting Competence to practice in your day to day life, it gets ingrained into your thought process. Every time you see something, you know if it is running good or if there is some problem with the whole set up. This is Common Sense.
Here is a detailed example in the Software Engineering Lingo for our readers

Coding - Ability
Application Development - Skill
Application Troubleshooting - Knowledge
Performance Tuning - Competence
Planning an application development Document - Common Sense

One last line, you don't forget riding a bicycle if you don't ride one for 10 years, you don't forget the numbers and alphabets even if you don't use them regularly. The reason is that they are ingrained in your common sense.