<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sunsetsurf Techblog &#187; VMWare Stuff</title>
	<atom:link href="http://techblog.sunsetsurf.co.uk/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.sunsetsurf.co.uk</link>
	<description>Random tech bloggidge</description>
	<lastBuildDate>Fri, 09 Jul 2010 10:00:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VMWare ESX4 guests loosing network connectivity briefly.</title>
		<link>http://techblog.sunsetsurf.co.uk/2010/02/vmware-esx4-guests-loosing-network-connectivity-briefly/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2010/02/vmware-esx4-guests-loosing-network-connectivity-briefly/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 15:08:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=141</guid>
		<description><![CDATA[Came across a very odd issue lately where guests on one of our ESX4 hosts were periodically loosing network connectivity very briefly &#8211; maybe 10 ICMP packets every half hour or hour. After much debugging on the network side, thinking that perhaps there was a misconfigured NIC with the wrong VLAN config, the problem was [...]]]></description>
			<content:encoded><![CDATA[<p>Came across a very odd issue lately where guests on one of our ESX4 hosts were periodically loosing network connectivity very briefly &#8211; maybe 10 ICMP packets every half hour or hour.</p>
<p>After much debugging on the network side, thinking that perhaps there was a misconfigured NIC with the wrong VLAN config, the problem was still happening.</p>
<p>So ssh&#8217;ing onto the host, I started to trawl through the log files, and came across the below in the /var/log/vmkwarning file:</p>
<p>Feb 17 13:44:19 vminfraboxvmkernel: 18:00:00:11.865 cpu4:4222)WARNING: NMP: nmp_DeviceAttemptFailover: Retry world failover device &#8220;naa.6090a028004f243d08ab44c26687e3dd&#8221; &#8211; issuing command 0&#215;410002074040<br />
Feb 17 13:44:19 vminfrabox vmkernel: 18:00:00:11.865 cpu4:4222)WARNING: NMP: nmp_DeviceAttemptFailover: Retry world failover device &#8220;naa.6090a028004f243d08ab44c26687e3dd&#8221; &#8211; failed to issue command due to Not found (APD), try again&#8230;<br />
Feb 17 13:44:19 vminfrabox vmkernel: 18:00:00:11.865 cpu4:4222)WARNING: NMP: nmp_DeviceAttemptFailover: Logical device &#8220;naa.6090a028004f243d08ab44c26687e3dd&#8221;: awaiting fast path state update&#8230;</p>
<p>This was occuring repeatedly every half hour and the entries above filled the logs solidly for about 2 minutes continuously every half an hour.</p>
<p>After doing some digging on the google, I found out that ESX4 has a bug whereby if you have a duff or old connection to an iSCSI LUN &#8211; perhaps one that no longer exists &#8211; but you never rescanned to remove it &#8211; when the host tries to check the paths every 30 minutes, it finds this duff connection and goes through the motions of trying to find failover paths. The bug is that this causes very brief network loss to your guests.</p>
<p>The fix for me was to simply re-scan my adapter, which removed the old mapping to one of our removed LUNS&#8217;s and the problem went away.</p>
<p><map name='google_ad_map_141_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/141?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_141_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=141&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2010%2F02%2Fvmware-esx4-guests-loosing-network-connectivity-briefly%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2010/02/vmware-esx4-guests-loosing-network-connectivity-briefly/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMWare ESX4i guests power on automatically when host restarts.</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/10/vmware-esx4i-guests-power-on-automatically-when-host-restarts/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/10/vmware-esx4i-guests-power-on-automatically-when-host-restarts/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 11:09:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=115</guid>
		<description><![CDATA[From ESX3.5i to vSphere VMWare has changed slightly the location of where to configure your host so that the guests restart if you happen to have either power failures to your ESX host or if you just shut it down etc.. So follow the below steps to ensure your guests power on automatically on host startup. [...]]]></description>
			<content:encoded><![CDATA[<p>From ESX3.5i to vSphere VMWare has changed slightly the location of where to configure your host so that the guests restart if you happen to have either power failures to your ESX host or if you just shut it down etc..</p>
<p>So follow the below steps to ensure your guests power on automatically on host startup.</p>
<p>Open vSphere Client</p>
<p>In the left hand pane, highlight your choosen host, then click the configuration tab in the main pane.</p>
<p>Click Virtual Machine Startup/Shutdown under the software Section.</p>
<p>Click Properties in the top right hand corner of the main pane.</p>
<p>Then check Allow virtual machines to start and stop automatically with the system, then change the startup order of your guests in the box below as appropriate.</p>
<p>If you want all to startup with the host, then move them all up to automatic startup.</p>
<p>Now when your host restarts, your guests will come up automatically as well.</p>
<p><map name='google_ad_map_115_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/115?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_115_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=115&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F10%2Fvmware-esx4i-guests-power-on-automatically-when-host-restarts%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/10/vmware-esx4i-guests-power-on-automatically-when-host-restarts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find vmware guest using the MAC Address on ESX</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/10/find-vmware-guest-using-the-mac-address/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/10/find-vmware-guest-using-the-mac-address/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 18:03:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=108</guid>
		<description><![CDATA[With traditional networking, using switches arp tables it always was pretty simple to find a server using only the mac address. However, with VMWare things changed a little. Virtual Switches dont provide the same level of functionality as current physical switches (unless you spend lots of money) As far as I know basic VMWare switches [...]]]></description>
			<content:encoded><![CDATA[<p>With traditional networking, using switches arp tables it always was pretty simple to find a server using only the mac address.</p>
<p>However, with VMWare things changed a little. Virtual Switches dont provide the same level of functionality as current physical switches (unless you spend lots of money)</p>
<p>As far as I know basic VMWare switches dont have a command to tell you the arp table and the associated hosts / port.</p>
<p>So what can you do if you get for example an IP address conflict where you only know the mac address of the conflicting host?</p>
<p>Well, I found a superb script which interrogates an ESX host and lists the guest name, alongside the MAC address.</p>
<p>Its as follows &#8211; for ease create a shell script and paste the below in.</p>
<p>When you run it you will get output like this:</p>
<p><strong>win2k8server2.vmx</strong><br />
 /vmfs/volumes/49a2845c-2b4514f9-09bc-001f295db10d/win2k8server2/win2k8server2.vmx<br />
displayName = &#8220;win2k8server2&#8243;<br />
<strong>ethernet0.generatedAddress = &#8220;00:50:56:97:20:dd&#8221;</strong></p>
<p><strong>win2k8server1.vmx</strong><br />
 /vmfs/volumes/49ae5e8c-bb3c9818-e2dd-001d295db10d/win2k8server1/win2k8server1.vmx<br />
displayName = &#8220;win2k8server1&#8243;<br />
<strong>ethernet0.generatedAddress = &#8220;00:50:56:97:31:98&#8243;</strong></p>
<p>Script as follows</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>#!/bin/bash</p>
<p>for COUNT in $(vmware-cmd -l); do<br />
echo `echo $COUNT|awk -F’/’ ‘{print $6}’`<br />
echo ” “`echo $COUNT`<br />
echo ” “`cat $COUNT|grep “displayName”`<br />
#MAC Address may refer to “Address” instead of “generatedAddress”<br />
echo ” “`cat $COUNT|grep “generatedAddress”`<br />
echo<br />
done</p>
<p> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><map name='google_ad_map_108_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/108?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_108_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=108&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F10%2Ffind-vmware-guest-using-the-mac-address%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/10/find-vmware-guest-using-the-mac-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESX3 Errrors after storage or host failure. Could not power on VM: No Swap File. Failed to power on VM</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/07/vmware-esx3-errrors-after-storage-or-host-failure-could-not-power-on-vm-no-swap-file-failed-to-power-on-vm/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/07/vmware-esx3-errrors-after-storage-or-host-failure-could-not-power-on-vm-no-swap-file-failed-to-power-on-vm/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 09:09:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=84</guid>
		<description><![CDATA[After a recent storage failure we started to see the error message when trying to power virtual machines on &#8211; Could not power on VM: No Swap File. Failed to power on VM. It would seem that when the storage failed, VMWare didnt get a chance to cleanly shut the hosts down, although it did [...]]]></description>
			<content:encoded><![CDATA[<p>After a recent storage failure we started to see the error message when trying to power virtual machines on &#8211; Could not power on VM: No Swap File. Failed to power on VM.</p>
<p>It would seem that when the storage failed, VMWare didnt get a chance to cleanly shut the hosts down, although it did shut them down. This resulted in the virtual swap file being left on the filesystem, so that when the storage was available once again there was a orphaned vswp file. This was preventing the hosts from being powered on, because VMWare was seing this, thinking the hosts were on already and throwing an error.</p>
<p>The fix, manually removing the vswp file sorted this out.</p>
<p>I did it by ssh&#8217;ing onto the box, navigating to the datastore and the virtual machine directory, and then for safe measure, moving the vswp file to another name &#8211; .vswp.bak Then when I tried to power the machine on, it recreated the vswp file and the machine happily powered back on. Once this was up, I fully deleted the vswp.bak file to tidy things up, and we were back in business.</p>
<p>Note, we&#8217;ve also found that you might need to delete / move the hlog file too&#8230;</p>
<p><map name='google_ad_map_84_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/84?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_84_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=84&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F07%2Fvmware-esx3-errrors-after-storage-or-host-failure-could-not-power-on-vm-no-swap-file-failed-to-power-on-vm%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/07/vmware-esx3-errrors-after-storage-or-host-failure-could-not-power-on-vm-no-swap-file-failed-to-power-on-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare vSphere / virtual centre on Windows 7</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/06/vmware-vsphere-virtual-centre-on-windows-7/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/06/vmware-vsphere-virtual-centre-on-windows-7/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 09:35:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=82</guid>
		<description><![CDATA[Upgraded to Windows 7? Trying to use VMWare vSphere Client? Getting the messages: Error parsing the server &#8220;YOUR SERVERS IP&#8221; &#8220;clients.xml&#8221; file. Login will continue, contact your system administrator. You click OK and they you get: The type initializer for &#8216;VirtualInfrastructure.Utils.HttpWebRequestProxy&#8217; threw an exception. You click OK and vSphere fails to launch After upgrading to [...]]]></description>
			<content:encoded><![CDATA[<p>Upgraded to Windows 7? Trying to use VMWare vSphere Client? Getting the messages:</p>
<p>Error parsing the server &#8220;YOUR SERVERS IP&#8221; &#8220;clients.xml&#8221; file. Login will continue, contact your system administrator.</p>
<p>You click OK and they you get:</p>
<p>The type initializer for &#8216;VirtualInfrastructure.Utils.HttpWebRequestProxy&#8217; threw an exception.</p>
<p>You click OK and vSphere fails to launch <img src='http://techblog.sunsetsurf.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>After upgrading to Windows 7 you may have suddenly read horrible threads that tell you VMWare vSphere client will not work. Well its all lies. Its true that it wont work out the box, but a quick tweak and you&#8217;ll be good to go in minutes.</p>
<p>Follow these steps, which will get you up and working again in a flash.</p>
<p>1:) Obtain a copy of .NET framework system.dll from a non Windows 7 box. In my case I took it from a Windows 2003 server. The file is located at %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727 which for me was c:\windows\Microsoft.NET\Framework\v2.0.50727</p>
<p>2:)Create a folder (call it Lib+) in your VMWare vSphere installation to put this file. I created the following (on a 32bit installation) C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib+</p>
<p>A quick summary, you should now have a folder called C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib+ with a file called System.dll from a non windows 7 installation of .NET Framework v2.0.50727</p>
<p>3:) Now go into C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher and edit the file VpxClient.exe.config in textpad or notepad etc..</p>
<p>Add in the following lines just before the final line (which reads &lt;/configuration&gt;)</p>
<p>&lt;runtime&gt;<br />
  &lt;developmentMode developerInstallation=&#8221;true&#8221;/&gt;<br />
&lt;/runtime&gt;</p>
<p>Save this file</p>
<p>Now create a batch file called whatever you choose &#8211; I choose vSphereLauncer.cmd but it doesnt matter, and put the following in it (on the assumption that the paths are correct etc..) &#8211; Note it is 2 seperate lines.</p>
<p>SET DEVPATH=%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib+<br />
&#8220;%ProgramFiles%\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe&#8221;</p>
<p>Thats it!</p>
<p>Run your newly created batch file, and you should no longer get that irritating message!</p>
<p>If this post was useful, please click some of the Ad blocks which help me to keep this site running. Thanks!</p>
<p><map name='google_ad_map_82_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/82?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_82_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=82&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F06%2Fvmware-vsphere-virtual-centre-on-windows-7%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/06/vmware-vsphere-virtual-centre-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring VMWare ESX4i / vSphere for SNMP</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/06/configuring-vmware-esx4i-vsphere-for-snmp/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/06/configuring-vmware-esx4i-vsphere-for-snmp/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 14:22:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=78</guid>
		<description><![CDATA[Unlike its slightly older partner ESX3.5i, ESX4i supports both SNMP gets and traps, however to enable / configure it you need to install the new vSphere CLI utility &#8211; available from VMWare, you need to be registered, but its free.. Once you have the vSphere CLI, change the the directory where the vSphere binarys are [...]]]></description>
			<content:encoded><![CDATA[<p>Unlike its slightly older partner ESX3.5i, ESX4i supports both SNMP gets and traps, however to enable / configure it you need to install the new vSphere CLI utility &#8211; available from VMWare, you need to be registered, but its free..</p>
<p>Once you have the vSphere CLI, change the the directory where the vSphere binarys are installed, i.e /usr/bin</p>
<p>To configure the communities do the following:</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">vicfg-snmp.pl &#8211;server &lt;hostname&gt; &#8211;username &lt;username&gt; &#8211;password &lt;password&gt; -c &lt;com1&gt;.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Replace &lt;com1&gt; with the community name you wish to set. Each time you specify a community with this</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">command, the setings you specify overwrite the previous configuration. To specify multiple communities,</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">separate the community names with a comma.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">For example, to set the communities public and internal on the host host.example.com, you might type</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">vicfg-snmp.pl &#8211;server host.example.com &#8211;username user &#8211;password password -c public,</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">internal.</div>
<p>vicfg-snmp.pl &#8211;server &lt;hostname&gt; &#8211;username &lt;username&gt; &#8211;password &lt;password&gt; -c &lt;com1&gt;.</p>
<p>Replace &lt;com1&gt; with the community name you wish to set. Each time you specify a community with this</p>
<p>command, the setings you specify overwrite the previous configuration. To specify multiple communities,</p>
<p>separate the community names with a comma.</p>
<p>For example, to set the communities public and internal on the host host.example.com, you might type</p>
<p>vicfg-snmp.pl &#8211;server host.example.com &#8211;username user &#8211;password password -c public, internal.</p>
<p>To configure the SNMP agent traps do:</p>
<p>vicfg-snmp.pl &#8211;server &lt;hostname&gt; &#8211;username &lt;username&gt; &#8211;password &lt;password&gt; -t &lt;target</p>
<p>address&gt;@&lt;port&gt;/&lt;community&gt;.</p>
<p>Replace &lt;target address&gt;, &lt;port&gt;, and &lt;community&gt; with the address of the target system, the port number</p>
<p>to send the traps to, and the community name, respectively. Each time you specify a target with this</p>
<p>command, the settings you specify overwrite all previously specified settings. To specify multiple targets,</p>
<p>separate them with a comma.</p>
<p>For example, to send SNMP traps from the host host.example.com to port 162 on target.example.com using</p>
<p>the public community, type</p>
<p>vicfg-snmp.pl &#8211;server host.example.com &#8211;username user &#8211;password password -t</p>
<p>target.example.com@162/public.</p>
<p>Enable the SNMP agent by typing</p>
<p>vicfg-snmp.pl &#8211;server &lt;hostname&gt; &#8211;username &lt;username&gt; &#8211;password &lt;password&gt; &#8211;enable.</p>
<p>Send a test trap to verify that the agent is configured correctly by typing</p>
<p>vicfg-snmp.pl &#8211;server &lt;hostname&gt; &#8211;username &lt;username&gt; &#8211;password &lt;password&gt; &#8211;test.</p>
<p>The agent sends a warmStart trap to the configured target.</p>
<p>To configure the SNMP agent for polling do:</p>
<p>vicfg-snmp.pl &#8211;server &lt;hostname&gt; &#8211;username &lt;username&gt; &#8211;password &lt;password&gt; -p &lt;port&gt;.</p>
<p>Replace &lt;port&gt; with the port for the embedded SNMP agent to use for listening for polling requests.</p>
<p>If the SNMP agent is not enabled, enable it by typing</p>
<p>vicfg-snmp.pl &#8211;server &lt;hostname&gt; &#8211;username &lt;username&gt; &#8211;password &lt;password&gt; &#8211;enable.</p>
<p>And there you have it SNMP on ESX4i.</p>
<p><map name='google_ad_map_78_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/78?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_78_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=78&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F06%2Fconfiguring-vmware-esx4i-vsphere-for-snmp%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/06/configuring-vmware-esx4i-vsphere-for-snmp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling SNMP on VMWare ESX hosts</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/06/enabling-snmp-on-vmware-esx-hosts/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/06/enabling-snmp-on-vmware-esx-hosts/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 10:28:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=70</guid>
		<description><![CDATA[It is critial for accuratly monitoring your ESX hosts. So here is how to enable it. First you will need to make the neccesary hole in the ESX firewall, do this by running as root esxcfg-firewall -e snmpd Then configure snmp. You will need to do this appropriatly for your environment, but edit /etc/snmp/snmpd.conf Once [...]]]></description>
			<content:encoded><![CDATA[<p>It is critial for accuratly monitoring your ESX hosts. So here is how to enable it.</p>
<p>First you will need to make the neccesary hole in the ESX firewall, do this by running as root</p>
<p>esxcfg-firewall -e snmpd</p>
<p>Then configure snmp. You will need to do this appropriatly for your environment, but edit /etc/snmp/snmpd.conf</p>
<p>Once you have done this, type</p>
<p>chkconfig &#8211;level 2345 snmpd on</p>
<p>To enable snmpd on startup init levels 2, 3, 4 and 5.</p>
<p>Then either reboot or type</p>
<p>/etc/init.d/snmpd start</p>
<p>Jobs a goodun.</p>
<p><map name='google_ad_map_70_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/70?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_70_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=70&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F06%2Fenabling-snmp-on-vmware-esx-hosts%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/06/enabling-snmp-on-vmware-esx-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check how busy your VMWare esx cluster hosts are.</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/06/how-to-check-how-busy-your-vmware-esx-cluster-hosts-are/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/06/how-to-check-how-busy-your-vmware-esx-cluster-hosts-are/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 10:22:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=68</guid>
		<description><![CDATA[If you normally use Linux you will be familiar with top probably. Well VMWare has esxtop Commands when in esxtop are: s - change the screen update delay &#8211; values from 0.1 seconds upwards If you hit space, it will immediatly update the screen. f or F allows you to add additional fields / columns c allows [...]]]></description>
			<content:encoded><![CDATA[<p>If you normally use Linux you will be familiar with top probably.</p>
<p>Well VMWare has esxtop</p>
<p>Commands when in esxtop are:</p>
<p>s - change the screen update delay &#8211; values from 0.1 seconds upwards</p>
<p>If you hit space, it will immediatly update the screen.</p>
<p>f or F allows you to add additional fields / columns</p>
<p>c allows you to view CPU resource utilization</p>
<p>m allows you to view memory resource utilization</p>
<p>d allows you to view storage adapter resource utilization</p>
<p>u allows you to view storage device resource utilization</p>
<p>v allows you to view VM resource utilization</p>
<p>n allows you to view network resource utilization.</p>
<p>All these commands can help you to identify any potential bottlenecks or areas you need to make some additional resource changes.</p>
<p><map name='google_ad_map_68_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/68?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_68_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=68&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F06%2Fhow-to-check-how-busy-your-vmware-esx-cluster-hosts-are%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/06/how-to-check-how-busy-your-vmware-esx-cluster-hosts-are/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling SSH in VMWare ESX4i and making it permanent</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/06/enabling-ssh-in-vmware-esx4i-and-making-it-permanent/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/06/enabling-ssh-in-vmware-esx4i-and-making-it-permanent/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 09:41:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=29</guid>
		<description><![CDATA[Essentially the same as in VMWare 3.5i, but thought i&#8217;d put it here anyway&#8230; On the physical console of the ESX 4i hit ALT+F1 to view the console window, i.e you need your keyboard and monitor plugged into your ESX4i server to do this.. Type the word unsupported and hit ENTER. It will come up with a [...]]]></description>
			<content:encoded><![CDATA[<p>Essentially the same as in VMWare 3.5i, but thought i&#8217;d put it here anyway&#8230;</p>
<p>On the physical console of the ESX 4i hit ALT+F1 to view the console window, i.e you need your keyboard and monitor plugged into your ESX4i server to do this..</p>
<p>Type the word unsupported and hit ENTER.</p>
<p>It will come up with a load of red text, which should begin &#8211; You have activated Tech Support Mode.</p>
<p>It will then prompt you for the root password &#8211; enter that and you have activated SSH (until you reboot!)</p>
<p>Now to make it permanent.</p>
<p>at the prompt, type vi /etc/inetd.conf</p>
<p>This will edit the script that starts enabled services on bootup.</p>
<p>Using the arrow keys, go down until you find the line that begins with ssh. Note you should see 2 lines, the first begins with ssh, the 2nd begins with #ssh.</p>
<p>Make sure your cursor is right at the start of the line beginning with ssh.</p>
<p>Type i and then press the hash key to comment out the first line (Note you may find your keyboard is not english UK, so you might need to do shift 3 for your hash sign)</p>
<p>Now use the arrows to go down to the next line, the one that originally began #ssh.</p>
<p>Move the cursor so its under the first letter s and press backspace, which should remove the # sign.</p>
<p>Now type :wq and press enter, this will write out the changes you have just made.</p>
<p>Either reboot, or type /sbin/services.sh restart</p>
<p>Job should be done, and you should be able to ssh to your server. Bear in mind the shell you get is not a full linux install, its the vmware console which only has limited features, but very usefull for exploring the filesystem, and moving files around etc..</p>
<p>Have fun.</p>
<p><map name='google_ad_map_29_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/29?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_29_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=29&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F06%2Fenabling-ssh-in-vmware-esx4i-and-making-it-permanent%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/06/enabling-ssh-in-vmware-esx4i-and-making-it-permanent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware converter session not authenticated error</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/06/vmware-converter-session-not-authenticated-error/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/06/vmware-converter-session-not-authenticated-error/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 18:43:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=25</guid>
		<description><![CDATA[Simple one this. Trying to convert a VMWare Server machine to a VMware Infrastructure machine the new ESX4i one using VMWare vCentre Converter standalone and I got the above error &#8211; &#8220;Session not authenticated&#8221; Did a quick bit of research, and found that in task manager I for some reason had VMWare vCentre converter standalone [...]]]></description>
			<content:encoded><![CDATA[<p>Simple one this.</p>
<p>Trying to convert a VMWare Server machine to a VMware Infrastructure machine the new ESX4i one using VMWare vCentre Converter standalone and I got the above error &#8211; &#8220;Session not authenticated&#8221;</p>
<p>Did a quick bit of research, and found that in task manager I for some reason had VMWare vCentre converter standalone running twice. I didnt start it twice, but the first time I tried the convert it had failed, so I guess for some reason it started another instance.</p>
<p>Killed both processes off restarted VM Converter and all was happy.</p>
<p><map name='google_ad_map_25_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/25?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_25_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=25&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F06%2Fvmware-converter-session-not-authenticated-error%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/06/vmware-converter-session-not-authenticated-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
