<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5424788431051501558</id><updated>2012-02-16T16:59:20.366+05:30</updated><title type='text'>virtual Penguin</title><subtitle type='html'>The name states it... I like the Penguin and love it being virutalized ;)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-4800772732420243154</id><published>2010-11-12T11:48:00.002+05:30</published><updated>2010-11-12T12:08:13.692+05:30</updated><title type='text'>how to get flash videos on ubuntu-8.04 desktop</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;I was breaking my head for the past 15 days or more to play videos posted in &lt;/span&gt;facebook using firefox 3 on ubuntu-8.04 (hardy). But nothing worked, from downloading the .deb file from adobe to manually installing the adobe-flashplugin.&lt;br /&gt;After much search over web and testing on my ubuntu desktop finally below things solved my problem.&lt;br /&gt;&lt;br /&gt;Firefox actually searches for&lt;span style="font-weight: bold;"&gt; libflashplayer.so&lt;/span&gt; file to play the videos so if its not present in the plugins dir then create softlink using below commands...&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;prudhvi@RAPTOR:~$ sudo cd /usr/lib/firefox-addons/plugins/&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;prudhvi@RAPTOR:~$ ln -s /usr/lib/adobe-flashplugin/libflashplayer.so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now I was able to play the videos but it was like watching TV on mute :).. On checking for that I found that flash looks for &lt;span style="font-weight: bold;"&gt;libesd.so.1&lt;/span&gt; for playing audio.&lt;br /&gt;Again create a soft link.. blah blah like below.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;prudhvi@RAPTOR:~$ sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Its not over yet the above lib expects a socket for playing audio so create one as below..&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;prudhvi@RAPTOR:~$ sudo mkdir -p /tmp/.esd/&lt;/span&gt;&lt;br /&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;prudhvi@RAPTOR:~$ sudo touch /tmp/.esd/socket&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This should be it and i can view all my videos with out any problemo..&lt;br /&gt;Just thought of documenting here for future references and hope this is helpful to whoever is still using HARDY.&lt;br /&gt;&lt;br /&gt;see yaa&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-4800772732420243154?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/4800772732420243154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/11/how-to-get-flash-videos-on-ubuntu-804.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/4800772732420243154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/4800772732420243154'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/11/how-to-get-flash-videos-on-ubuntu-804.html' title='how to get flash videos on ubuntu-8.04 desktop'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-7884091993659426760</id><published>2010-10-25T12:22:00.009+05:30</published><updated>2010-10-25T12:31:09.524+05:30</updated><title type='text'>small script to collect data using esxtop</title><content type='html'>&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;here is a script to collect 24 hours worth of data into 24 separate files:&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;b&gt;for i in `seq 24`;do esxtop -a -b -n 1800 -d 2 &gt; esxtop_$i.csv;done&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;You can adjust the "&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;b&gt;seq x&lt;/b&gt;&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;" number to any number of hours and it names the file with the hour it is running in...&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;Cheers :)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-7884091993659426760?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/7884091993659426760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/10/small-script-to-collect-data-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/7884091993659426760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/7884091993659426760'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/10/small-script-to-collect-data-using.html' title='small script to collect data using esxtop'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-4089860183808815052</id><published>2010-10-05T14:17:00.014+05:30</published><updated>2010-10-05T21:19:17.038+05:30</updated><title type='text'>ESXTOP - a swiss knife for ESX performance analysis</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);font-family:trebuchet ms;font-size:85%;"  &gt;ESXTOP is an excellent tool for VMs performance analysis in an ESX server. Based on my analysis, i am posting info about some of the parameters in ESXTOP which help in identifying the resource that is degrading performance of VMs.&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic; color: rgb(51, 0, 153);font-family:trebuchet ms;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;History behind post:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:trebuchet ms;font-size:85%;"  &gt;Sometime ago, developers working for one of my client started complaining about performance issue they were facing with desktop VMs alloted to them. At that time  we weren't equipped with products which could do Performance analysis except for VIC Performance charts. But charts weren't giving me enough confidence to prove the cause of performance bottle necks. During this time I had to  play around with ESXTOP command and the Perfomance analysis using this was so accurate that we could exactly pinpoint what resources (CPU and Mem) were degrading the VMs Performance and take the necessary steps.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(102, 0, 204); font-style: italic;font-family:trebuchet ms;font-size:100%;"  &gt;Virtual Infrastructure:&lt;/span&gt; &lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;br /&gt;--&gt; &lt;span style="color: rgb(51, 51, 255);"&gt;Virtual center 2.5&lt;/span&gt;&lt;br /&gt;--&gt; &lt;span style="color: rgb(51, 51, 255);"&gt;ESX 3.5&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);font-family:trebuchet ms;font-size:100%;"  &gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Analysis:&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;" &gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;After running ESXTOP command in the ESX server decide the required option (like cpu, mem, disk and n/w) you want check and type ' f ' &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;to add/remove parameters that are mentioned below.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;--&gt;&lt;/span&gt; &lt;span style="color: rgb(51, 0, 153);"&gt;For CPU related:&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;The most important thing to check is &lt;span style="color: rgb(204, 0, 0);"&gt;%RDY&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="font-family: trebuchet ms;"&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;%RDY&lt;/span&gt; needs to be around 5  but if reaches more than 10% better press the panic button and start  finding what is eating resources. Usually, it could be low  availability of resources in the host which can be overcome by migrating  some VMs present on this host to other and then again check &lt;span style="color: rgb(204, 0, 0);"&gt;%RDY&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(204, 0, 0);"&gt;%USED&lt;/span&gt;  displays the percentage of CPU cycles that remain unused. This should be  compared with &lt;span style="color: rgb(204, 0, 0);"&gt;%RDY&lt;/span&gt;, see if &lt;span style="color: rgb(204, 0, 0);"&gt;%USED&lt;/span&gt; is not near to 1% while &lt;span style="color: rgb(204, 0, 0);"&gt;%RDY&lt;/span&gt; is in its  expected values.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;More &lt;span style="color: rgb(204, 0, 0);"&gt; %RDY&lt;/span&gt; can be brought down by reducing the VMs count on that host and also by  providing some CPU reservation to VMs.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Sometimes we also need to see the &lt;span style="color: rgb(204, 0, 0);"&gt;PCPU&lt;/span&gt; values which show utilization of physical processors. The utilization values should be nearly same for all the processors. &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;br /&gt;If they are not same, I mean -&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&gt; If the &lt;span style="color: rgb(204, 0, 0);"&gt;PCPU&lt;/span&gt; values are very high that means host is having high utilization – migrate some VMs from this host and check again if &lt;span style="color: rgb(204, 0, 0);"&gt;PCPU&lt;/span&gt; values have reduced (high host utilization will definitely reduce VM performance) . The values can be somewhere in b/w 30-65%&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;.&lt;/span&gt;&lt;br /&gt;&lt;div  style="color: rgb(0, 0, 0); text-align: left;font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&gt;If the &lt;span style="color: rgb(204, 0, 0);"&gt;PCPU&lt;/span&gt; values are showing different values like one processor has 100% utilization while another has 10% that means some of the VMs are using the whole CPU allocated to them. This may be reduced by allocating multiple vCPUs but this kind of situation is very rare&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="font-weight: bold; color: rgb(51, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;--&gt;&lt;/span&gt; For RAM related:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div  style="text-align: left;font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;From VM perspective, RAM utilization is more dependent on applications running in VMs but sometimes host might be having issue in providing RAM to VMs which can be checked with below parameters.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;Below are expansion of each parameter's abbreviation that are related RAM on ESX host.&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;PMEM&lt;/span&gt; – Physical memory;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;VMKMEM&lt;/span&gt; - virtual machine memory;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;COSMEM&lt;/span&gt; – ESX server service console memory;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;PSHARE&lt;/span&gt; – ESX server page sharing statistic;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;SWAP&lt;/span&gt; – ESX server swap space;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;MEMCTL&lt;/span&gt; – memory balloon driver;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;MEMSZ&lt;/span&gt; column gives total allocated memory;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;The memory that is actively in use by guest operating system and its applications are reported in touched (&lt;span style="color: rgb(204, 0, 0);"&gt;TCHD&lt;/span&gt;) and active counters (mainly &lt;span style="color: rgb(204, 0, 0);"&gt;%ACTV&lt;/span&gt;, &lt;span style="color: rgb(204, 0, 0);"&gt;%ACTVS&lt;/span&gt;, &lt;span style="color: rgb(204, 0, 0);"&gt;%ACTVF&lt;/span&gt;).&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;TCHD&lt;/span&gt; (shouldn’t cross around 60% of &lt;span style="color: rgb(204, 0, 0);"&gt;MEMSZ&lt;/span&gt;) and &lt;span style="color: rgb(204, 0, 0);"&gt;%ACTV&lt;/span&gt; counters should be as low as possible because the more these are the more they try to consume ESX memory and if that is not available &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;VMs &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;start using their swap memory (&lt;a style="color: rgb(204, 51, 204);" href="http://bizzard2000.wordpress.com/2010/03/26/vswp-file-location/"&gt;.vswp file&lt;/a&gt;) which lowers performance.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(204, 0, 0);"&gt;MCTL&lt;/span&gt; parameter shows if the balloon driver is active or not. Will be ‘Y’ if active.&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;MCTLSZ&lt;/span&gt; gives the amount of memory the balloon driver is using in a specific guest operating system. This memory for balloon driver is collected from less RAM intensive VMs. ESX server uses this before resorting to last option - VMs SWAP memory (present as &lt;a style="color: rgb(204, 51, 204);" href="http://bizzard2000.wordpress.com/2010/03/26/vswp-file-location/"&gt;.vswp file&lt;/a&gt;). This value should be nearer to 0.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;Check the swap write (&lt;span style="color: rgb(204, 0, 0);"&gt;SWW /s&lt;/span&gt; ) and swap read (&lt;span style="color: rgb(204, 0, 0);"&gt;SWW /r&lt;/span&gt;). These need to be nearer to 0. If they show a significant MB/s then the VM is not having enough RAM.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;The memory overhead required to maintain each virtual machine is displayed by the &lt;span style="color: rgb(204, 0, 0);"&gt;OVHD&lt;/span&gt; counter. This is dependent on memory, vCPUs, 32 or 64 bit OS of virtual machine. Its good to have these values as low as possible.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;span style="font-weight: bold;"&gt;--&gt; &lt;span style="color: rgb(51, 0, 153);"&gt;For Disk related:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;QUED&lt;/span&gt; - lists the number of queued commands that the host will process after commands in '&lt;span style="color: rgb(204, 0, 0);"&gt;ACTV&lt;/span&gt; column' have finished. This should be as low as possible.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(204, 0, 0);"&gt;LOAD&lt;/span&gt; - its ratio of "no. of commands that are active or queued" to the "total no. of commands that can be active or queued at one time". This should be nearer to 0.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(204, 0, 0);"&gt;%USD&lt;/span&gt; - counter provides the percentage of the queue depth used by VMkernel active commands. Thresholds should be around 0-10&lt;/span&gt;.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left; color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(204, 0, 0);"&gt;GAVG /cmd&lt;/span&gt; - total latency seen from a virtual machine to the array – Sum of 'hardware (&lt;span style="color: rgb(204, 0, 0);"&gt;HAVG&lt;/span&gt;)' and 'kernel (&lt;span style="color: rgb(204, 0, 0);"&gt;KAVG&lt;/span&gt;) latency'. &lt;span style="color: rgb(204, 0, 0);"&gt;GAVG&lt;/span&gt; around 0 - 25 is fine (this changes from local to SAN)&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;&lt;span style="color: rgb(204, 0, 0);"&gt;ABRTS /s&lt;/span&gt; - Aborted commands per second. – this should be near 0.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;span style="font-weight: bold;"&gt;--&gt; &lt;span style="color: rgb(51, 0, 153);"&gt;For Network related:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 51, 255);font-size:85%;" &gt;Things that need to be checked are, Transmitted data (&lt;span style="color: rgb(204, 0, 0);"&gt;MBTX /s&lt;/span&gt;) and Received data (&lt;span style="color: rgb(204, 0, 0);"&gt;MBRX /s&lt;/span&gt;). These values will be high if network usage is high.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:85%;" &gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Apart from above values, when usage is at saturation level some packet dropping while sending and receiving may be observed. These dropped packets can be checked using &lt;span style="color: rgb(204, 0, 0);"&gt;DRPTX /s&lt;/span&gt; (sending) and &lt;span style="color: rgb(204, 0, 0);"&gt;DRPRX /s&lt;/span&gt; (receiving), their values should be 0 or near to it.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(102, 51, 0);"&gt;For more info, on other parameters and also on how to use ESXTOP, check below links-&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: courier new;font-size:85%;" &gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.yellow-bricks.com/esxtop/"&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;http://www.yellow-bricks.com/esxtop/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://communities.vmware.com/docs/DOC-5240"&gt;http://communities.vmware.com/docs/DOC-5240&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;Happy Virtualizing....&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Note: These are my views... :-)&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="font-family: trebuchet ms; text-align: left;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-4089860183808815052?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/4089860183808815052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/10/esxtop-swiss-knife-for-esx-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/4089860183808815052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/4089860183808815052'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/10/esxtop-swiss-knife-for-esx-performance.html' title='ESXTOP - a swiss knife for ESX performance analysis'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-8832244137684778191</id><published>2010-05-11T18:15:00.002+05:30</published><updated>2010-05-11T18:19:02.203+05:30</updated><title type='text'>check cronjobs run by all users</title><content type='html'>how to check the cronjobs run by all users in a linux server?&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;below command would help::&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="color:#660000;"&gt;for i in `cat /etc/passwd | cut -f 1 -d ':'`; do echo -n "$i: "; crontab -l -u $i; done;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;cheers..&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-8832244137684778191?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/8832244137684778191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/05/check-cronjobs-run-by-all-users.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/8832244137684778191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/8832244137684778191'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/05/check-cronjobs-run-by-all-users.html' title='check cronjobs run by all users'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-8172431614915627007</id><published>2010-04-27T16:33:00.011+05:30</published><updated>2010-04-28T13:20:43.997+05:30</updated><title type='text'>Install and use PowerCLI</title><content type='html'>&lt;span style="color: rgb(102, 0, 0);font-family:trebuchet ms;font-size:100%;"  &gt;VMware vSphere PowerCLI is a powerful command line tool that lets you automate all aspects of vSphere management, including network, storage, VM, guest OS and more. PowerCLI is distributed as a Windows PowerShell snapin, and includes more than 150 PowerShell cmdlets.&lt;br /&gt;This scripting tool is gaining popularity day by day because of its easy to use architecture and it equips administrator who are good at scripting to manage their environments the best way.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Softwares needed:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=6CCB7E0D-8F1D-4B97-A397-47BCC8BA3806&amp;amp;displaylang=en"&gt;Powershell   &lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=6CCB7E0D-8F1D-4B97-A397-47BCC8BA3806&amp;amp;displaylang=en"&gt;vSphere PowerCLI -4.0&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Installation of PowerShell on windows box is pretty easy. But with PowerCLI you may face certain issue post installtion which are discussed below.&lt;br /&gt;Note: My Post is based on installation in Vista and I will be discussing issue specifically in that regard.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Issues during Installation and configuration of PowerCLI:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A) In Vista, While installation of PowerCLI a warning might be issued regarding the “ execution policy for running Power CLI”.&lt;br /&gt;&lt;br /&gt;                                                   &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_-x8qbQIhoW0/S9bcj8JFoDI/AAAAAAAABIo/idWDA4GLSHg/s1600/install_warn.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 141px;" src="http://1.bp.blogspot.com/_-x8qbQIhoW0/S9bcj8JFoDI/AAAAAAAABIo/idWDA4GLSHg/s320/install_warn.jpg" alt="" id="BLOGGER_PHOTO_ID_5464797707858452530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 102);"&gt;Solution&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 102);"&gt;:&lt;/span&gt; proceed by clicking continue, this warning is taken care after installation.&lt;br /&gt;&lt;br /&gt;B) After installation of PowerCLI and before you start using change the execution policy from “Restricted” to “Remote Signed”. Otherwise even if you open the PowerCLI prompt you won’t be able to work on it. It will fail with below error in red…&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-x8qbQIhoW0/S9bdBAvHg5I/AAAAAAAABIw/Kx3CHWlkyTY/s1600/startup_scrip_fail.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 160px;" src="http://4.bp.blogspot.com/_-x8qbQIhoW0/S9bdBAvHg5I/AAAAAAAABIw/Kx3CHWlkyTY/s320/startup_scrip_fail.jpg" alt="" id="BLOGGER_PHOTO_ID_5464798207307907986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 102);"&gt;Solution:&lt;/span&gt;&lt;span style="color: rgb(0, 0, 102);"&gt; &lt;/span&gt;Open PowerShell console as administrator (right click on PowerShell icon and select run as administrator)&lt;br /&gt;Enter the command: Set-ExecutionPolicy RemoteSigned&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 102, 0);"&gt;Note:&lt;/span&gt; If you run as normal user this won’t work and will throw permission error.&lt;br /&gt;&lt;br /&gt;After running above command you can use PowerCLI console by running cmdlets/commands to manage your vSphere environment.&lt;br /&gt;&lt;br /&gt;Eg:&gt; Connect-VMServer&lt;br /&gt;&lt;br /&gt;Now try running the above command in PowerShell console….I don’t want to have two consoles one for PowerShell and another for PowerCLI so I have decided to have PowerCLI used from PowerShell Console itself. For that we need to add the PowerCLI snap-in to PowerShell which is achieved by running the below command in PowerShell.&lt;br /&gt;&lt;br /&gt;D:/&gt;get-pssnapin -registered | add-pssnapin –passthru&lt;br /&gt;&lt;br /&gt;This will check all the registered snap-ins on PowerShell and add any new ones, in our case PowerCLI snap-in.&lt;br /&gt;Now you should be able to run all the PowerCLI cmdlets from PowerShell itself.&lt;br /&gt;&lt;br /&gt;But this addition is not persistant and once you close the powershell console and open a new one you have to run the above command again...&lt;br /&gt;I googled a little bit and tried a trick of windows which worked.&lt;br /&gt;&lt;br /&gt;Below steps can help in making the addition of snap-in permanent.&lt;br /&gt;1. open powershell console&lt;br /&gt;2.add powercli snap-in using command " &lt;span style="color: rgb(153, 102, 51);"&gt;get-pssnapin -registered | add-pssnapin –passthru&lt;/span&gt; "&lt;br /&gt;3.now export the console configuration to a file by running below command.&lt;br /&gt;export-console &lt;file_name&gt;&lt;br /&gt;a config file with the mentioned name will be created in the current directory.&lt;br /&gt;4.now right click on &lt;span style="color: rgb(0, 204, 204);"&gt;powershell application &lt;/span&gt;icon --&gt; open "&lt;span style="color: rgb(153, 102, 51);"&gt;Properties&lt;/span&gt;" --&gt; select tab "shortcut"&lt;br /&gt;5.Edit the lines in "&lt;span style="color: rgb(153, 102, 51);"&gt;target&lt;/span&gt;" section with&lt;br /&gt;%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -psconsolefile C:\Users\prudhvi\&lt;file_name&gt;file_name.psc1&lt;br /&gt;&lt;span style="color: rgb(51, 102, 102);"&gt;Note:&lt;/span&gt; filename should be specified with full path.&lt;br /&gt;6. Click 'ok'&lt;br /&gt;&lt;br /&gt;From now onwards whenenver you opent the Powershell console its comes added with PowerCLI.&lt;br /&gt;&lt;br /&gt;My intention of providing this info is to help people who like me are beginners and also facing similar problems that i bumped into. Hope the above info was helpful to kick off with PowerCLI&lt;br /&gt;&lt;br /&gt;Keep following this page as i'll be updating this post while i learn more about PowerCLI and use it more in my VMware Environment...&lt;br /&gt;&lt;br /&gt;Happy Virtualizing....&lt;br /&gt;-&lt;br /&gt;Penguin ;)&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/file_name&gt;&lt;/file_name&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-8172431614915627007?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/8172431614915627007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/04/install-and-use-powercli.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/8172431614915627007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/8172431614915627007'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/04/install-and-use-powercli.html' title='Install and use PowerCLI'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_-x8qbQIhoW0/S9bcj8JFoDI/AAAAAAAABIo/idWDA4GLSHg/s72-c/install_warn.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-2003944834224146328</id><published>2010-04-23T12:53:00.001+05:30</published><updated>2010-04-23T12:54:46.461+05:30</updated><title type='text'>free tools for VMware ESX</title><content type='html'>Check the below link its got some really nice tools for managing Vmware infra..&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.techhead.co.uk/vmware-esx-tools"&gt;http://www.techhead.co.uk/vmware-esx-tools&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Thanks to Rob.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-2003944834224146328?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/2003944834224146328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/04/free-tools-for-vmware-esx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/2003944834224146328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/2003944834224146328'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/04/free-tools-for-vmware-esx.html' title='free tools for VMware ESX'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-6251085365502559961</id><published>2010-01-22T16:12:00.006+05:30</published><updated>2010-02-02T17:38:09.261+05:30</updated><title type='text'>Update an ESX server with VUM</title><content type='html'>Vmware update manager (VUM)&lt;br /&gt;&lt;br /&gt;I've recently worked on VUM for one of my clients and I thought of sharing experiences here as it might be useful to people out there who may work in near future....&lt;br /&gt;&lt;br /&gt;Let me describe the setup on which i have tried VUM. My client runs 36 ESX servers (OS ver-3.5 update 4) over 4 clusters and 1 Virtual Center 2.5 with a licence to implement HA and DRS on all 4 clusters. VUM 1.0u2 version is installed on VC server and a plugin is installed to access from VI client. This should give you an idea of our setup.&lt;br /&gt;&lt;br /&gt;Now let me tell a small story of why we wanted to update our esx server to 3.5 update5. Sometime back our esx servers frequently started reporting HA errors and we also found there were process threads stuck in ESX server that were eating all service console memory. To resolve this issue we increased our service console memory but that too didnt help us :( .&lt;br /&gt;So we contacted VMware support and their advice was to upgrade to update5 which should solve this type of HA errors. (End of story ;)&lt;br /&gt;&lt;br /&gt;VUM:&lt;br /&gt;&lt;br /&gt;Regarding VUM, its a nice tool for admins like me who are lazy to sit and do all steps like putting ESX in maintenance mode, install updates, reboot etc. The GUI makes the VUM easy to use because once VUM is installed an additional tab is added to the ESX server in VI client and also you see option like "scan for updates and remediate" if you right click on any ESX server. The update manager gives information whether the ESX server is compliant or not.&lt;br /&gt;What VUM does while remediating an ESX host?&lt;br /&gt;It migrates the VMs in an ESX host, puts it in maintenance mode, installs updates, reboots host, brings out of maintenance mode and re-checks for compliance. All these steps are done during successfull remediation.&lt;br /&gt;&lt;br /&gt;We created a ESX_upd5 baseline and added the update5 that was downloaded by VUM from vmware site. Next we attached the created ESX_upd5 to the cluster&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_-x8qbQIhoW0/S1mHDkUUHxI/AAAAAAAAA0s/Rd31MYDvKrI/s1600-h/attach_baseline.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 192px;" src="http://2.bp.blogspot.com/_-x8qbQIhoW0/S1mHDkUUHxI/AAAAAAAAA0s/Rd31MYDvKrI/s320/attach_baseline.jpg" alt="" id="BLOGGER_PHOTO_ID_5429519321130082066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now proceeded to remediate hosts in this prod cluster which were non-compliant with ESX_upd5 baseline. Its simple just right click on ESX server and select remediate task, a window showing the attached baseline and the updates shows up click finish and remediation of host begins.&lt;br /&gt;But there are few things that i've noticed while using VUM which i feel could make the usage a pleasant experience.&lt;ul&gt;&lt;li&gt;Make sure you have configured the baseline with exact updates that you want to install because its very critical and most important task while configuring baselines.&lt;/li&gt;&lt;li&gt;For VUM to migrate VMs before putting the host in maintenance mode the DRS on cluster should be set to &lt;span style="font-weight: bold;"&gt;"fully automated"&lt;span style="font-weight: bold;"&gt;  &lt;/span&gt;&lt;/span&gt;or else VMs will not be migrated.&lt;/li&gt;&lt;li&gt;When VUM is migrating a VM it locks all possible options you can use like disable "edit settings ", "install vmware tools" etc. Only possible things you can do are poweroff, migrate and storage migration.&lt;/li&gt;&lt;li&gt;When VMs are not being migrated using VUM you could try to manually migrate VMs by resolving vMotion failure issues. If that is also not possible then we need cancel remediation task solve the issue then restart remediation task.&lt;/li&gt;&lt;li&gt;Dont forget to check the P2V'ed VMs where cdroms, serial ports are left enabled by mistake. They are the VMs that can waste ur time... &lt;/li&gt;&lt;/ul&gt;These issues may look silly but they can seriously extend the maintenance time (which I hate ). I mean imagine this .. you scheduled remediation task on host and next morning when you come the task is still progress just because one VM didnt migrate....&lt;br /&gt;Dont worry there is an alternative to this problem, In VUM configuration tab there is an setting called ESX host settings-&gt;failure response..&lt;br /&gt;It has 4 options :&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_-x8qbQIhoW0/S1mWLy3id7I/AAAAAAAAA00/-IMfWjlSmrM/s1600-h/vum_setings.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 194px;" src="http://1.bp.blogspot.com/_-x8qbQIhoW0/S1mWLy3id7I/AAAAAAAAA00/-IMfWjlSmrM/s320/vum_setings.jpg" alt="" id="BLOGGER_PHOTO_ID_5429535955149289394" border="0" /&gt;&lt;/a&gt;fail task:  if VM migration fails VUM will fail the task and report error in VC logs&lt;br /&gt;retry: if VM migration fails, VUM will retry after mentioned time.&lt;br /&gt;Poweroff and retry: If VM migration fails, VUM will power off the VM and retry migration&lt;br /&gt;suspend and retry: If VM migration fails, VUM will suspend the VM and retry&lt;br /&gt;&lt;br /&gt;3rd option can help in solving the problem but I wouldnt do that on production cluster but 4th option is a safe bet to use if you have approval for downtime.&lt;br /&gt;&lt;br /&gt;This concludes my narration of date with VUM. Till now i have updated 2 of 4 clusters and will be doing the remaining soon. If any new issues happen i shall update this post.&lt;br /&gt;Happy virtualizing....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-6251085365502559961?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/6251085365502559961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/01/update-esx-server-with-vum.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/6251085365502559961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/6251085365502559961'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2010/01/update-esx-server-with-vum.html' title='Update an ESX server with VUM'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_-x8qbQIhoW0/S1mHDkUUHxI/AAAAAAAAA0s/Rd31MYDvKrI/s72-c/attach_baseline.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-6401118288993938688</id><published>2009-08-06T13:09:00.004+05:30</published><updated>2010-01-22T18:53:06.448+05:30</updated><title type='text'>i wrote script to wish when u login!!!</title><content type='html'>First post.... :)&lt;br /&gt;most of unix admins use putty to login, so when they login this thing wishes... &lt;div&gt;cool thing in this is it actully adjusts to the terminal size and prints at the center of the screen.. here it goes....&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;#!/bin/bash&lt;/div&gt;&lt;div&gt;#Author: Prudhvi raj&lt;/div&gt;&lt;div&gt;# Print greetings during login of user&lt;/div&gt;&lt;div&gt;########################################################&lt;/div&gt;&lt;div&gt;#funtion to print the greeting word by word&lt;/div&gt;&lt;div&gt;greet()&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;string=$1&lt;/div&gt;&lt;div&gt;tput clear&lt;/div&gt;&lt;div&gt;#echo -e "                                          \c"&lt;/div&gt;&lt;div&gt;rows=`tput lines`&lt;/div&gt;&lt;div&gt;columns=`tput cols`&lt;/div&gt;&lt;div&gt;strng_len=`echo -n $string | wc -c`&lt;/div&gt;&lt;div&gt;indent=$(( ($columns / 2) - ($strng_len / 2) ))&lt;/div&gt;&lt;div&gt;verti_pos=$(( $rows / 2 ))&lt;/div&gt;&lt;div&gt;timevalue=`date +%S`&lt;/div&gt;&lt;div&gt;tput cup $verti_pos $indent&lt;/div&gt;&lt;div&gt;  for(( i=1; i&lt;=$strng_len; i++ ))&lt;/div&gt;&lt;div&gt;  do&lt;/div&gt;&lt;div&gt;     val=`echo $string | cut -c$i`&lt;/div&gt;&lt;div&gt;     echo -e "$val\c"&lt;/div&gt;&lt;div&gt;     usleep 100000&lt;/div&gt;&lt;div&gt;  done&lt;/div&gt;&lt;div&gt;echo " "&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#######################################################&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;n=`date +%H%M`&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;    if [ $n -ge 0600 ] ;&lt;/div&gt;&lt;div&gt;    then&lt;/div&gt;&lt;div&gt;         if [ $n -le 1200 ] ; then&lt;/div&gt;&lt;div&gt;             greet "Good morning `logname`"&lt;/div&gt;&lt;div&gt;          else&lt;/div&gt;&lt;div&gt;            if [ $n -le 1600 ] ; then&lt;/div&gt;&lt;div&gt;             greet "Good afternoon `logname`"&lt;/div&gt;&lt;div&gt;             else&lt;/div&gt;&lt;div&gt;              if [ $n -le 2200 ] ; then&lt;/div&gt;&lt;div&gt;                greet "Good evening `logname`"&lt;/div&gt;&lt;div&gt;               else&lt;/div&gt;&lt;div&gt;                  greet "`logname` Go home!!!!!"&lt;/div&gt;&lt;div&gt;              fi&lt;/div&gt;&lt;div&gt;            fi&lt;/div&gt;&lt;div&gt;          fi&lt;/div&gt;&lt;div&gt;      else&lt;/div&gt;&lt;div&gt;        greet "`logname` Go home!!!"&lt;/div&gt;&lt;div&gt;     fi&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#######################END###############################&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-6401118288993938688?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/6401118288993938688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2009/08/i-wrote-script-to-wish-u-when-u-login.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/6401118288993938688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/6401118288993938688'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2009/08/i-wrote-script-to-wish-u-when-u-login.html' title='i wrote script to wish when u login!!!'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5424788431051501558.post-2665880516832603042</id><published>2009-08-04T11:51:00.000+05:30</published><updated>2009-08-04T11:53:18.070+05:30</updated><title type='text'>First Post</title><content type='html'>{Where, what and how} do i start??&lt;div&gt; are the questions that are running in my mind now. Lets see how wil this thing go...&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5424788431051501558-2665880516832603042?l=g-prudhvi-raj.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://g-prudhvi-raj.blogspot.com/feeds/2665880516832603042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2009/08/first-post.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/2665880516832603042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5424788431051501558/posts/default/2665880516832603042'/><link rel='alternate' type='text/html' href='http://g-prudhvi-raj.blogspot.com/2009/08/first-post.html' title='First Post'/><author><name>Prudhvi raj</name><uri>http://www.blogger.com/profile/12861966065130439203</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_-x8qbQIhoW0/S17k0wVAwNI/AAAAAAAAA1A/-k0B5U4XDXU/S220/04122009046.jpg'/></author><thr:total>2</thr:total></entry></feed>
