<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pelicano Computer Services &#187; VMware</title>
	<atom:link href="http://pelicanohintsandtips.wordpress.com/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://pelicanohintsandtips.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 17:39:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='pelicanohintsandtips.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Pelicano Computer Services &#187; VMware</title>
		<link>http://pelicanohintsandtips.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pelicanohintsandtips.wordpress.com/osd.xml" title="Pelicano Computer Services" />
	<atom:link rel='hub' href='http://pelicanohintsandtips.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PowerShell Script to report on LUNs mapped to IGroups</title>
		<link>http://pelicanohintsandtips.wordpress.com/2011/11/27/powershell-script-to-report-on-luns-mapped-to-igroups/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2011/11/27/powershell-script-to-report-on-luns-mapped-to-igroups/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 17:42:06 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[NetApp]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=205</guid>
		<description><![CDATA[I had a requirement to produce a report of which of my NetApp LUNs were mapped to which of my 3 VMware vSphere clusters. Each cluster has its own Igroup on the NetApp filer: - Prod-Cluster Dev-Cluster UAT-Cluster Some LUNs &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2011/11/27/powershell-script-to-report-on-luns-mapped-to-igroups/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=205&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a requirement to produce a report of which of my NetApp LUNs were mapped to which of my 3 VMware vSphere clusters.  Each cluster has its own Igroup on the NetApp filer: -
</p>
<ul style="margin-left:38pt;">
<li>Prod-Cluster
</li>
<li>Dev-Cluster
</li>
<li>UAT-Cluster
</li>
</ul>
<p>Some LUNs are mapped to more than one cluster.
</p>
<p>Using PowerShell with the Data ONTap module installed I could get a list of LUNs with
</p>
<p>    Get-NaLun
</p>
<p>I could then filter this to just the ones that are mapped with
</p>
<p>    Get-NaLun | Where {$_.Mapped}
</p>
<p>I collected the results of the above command into an array named $MappedLUNs, i..e
</p>
<p>    $MappedLUNs = Get-NaLun | Where {$_.Mapped}
</p>
<p>I then setup an object with the property names I wanted to report on, by using a trick I learned from Hal Rottenberg by piping &#8220;&#8221; to the select commandlet, i.e.
</p>
<p>    $LUNMap = &#8220;&#8221; | Select LUN, Prod-Cluster, Test-Cluster, UAT-Cluster
</p>
<p>Then for each of the objects in the $MappedLUNs array I got the LUN path and then using Get-NaLUNMap I obtained the LUNID property where the Initiator Group Name equalled each of the Igroups I was interested in, i.e.
</p>
<p style="margin-left:36pt;">ForEach ($LUN in $MappedLUNs) {<br />       $LUNMap.LUN = $lun.path<br />       $LUNMap.Prod-Cluster = (Get-NaLUNMap $LUN | Where {$_.InitiatorGroupName -eq &#8220;Prod-Cluster&#8221;}).LUNID<br />       $LUNMap.Test-Cluster = (Get-NaLUNMap $LUN | Where {$_.InitiatorGroupName -eq &#8220;Test-Cluster}).LUNID<br />       $LUNMap.UAT-Cluster = (Get-NaLUNMap $LUN | Where {$_.InitiatorGroupName -eq &#8220;UAT-Cluster&#8221;}).LUNID<br />       $LUNMap<br />}
</p>
<p>I saved all of these commands into a script file named Get-LUNMap.ps1 and piped the output through Export-CSV to get the results into a CSV file which I could load up into Microsoft Excel to perform some formatting, sorting and analysis, i.e.
</p>
<p>    Get-LUNMap.ps1 | Export-CSV lunmap.csv</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/205/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/205/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/205/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=205&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2011/11/27/powershell-script-to-report-on-luns-mapped-to-igroups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>
	</item>
		<item>
		<title>Get LUN id of Raw Disk Mappings with PowerCLI</title>
		<link>http://pelicanohintsandtips.wordpress.com/2011/11/27/get-lun-id-of-raw-disk-mappings-with-powercli/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2011/11/27/get-lun-id-of-raw-disk-mappings-with-powercli/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 17:41:46 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=203</guid>
		<description><![CDATA[I had a need to get the LUN id of all of the Raw Disk Mappings for a particular virtual machine running on VMware vSphere. I could see this information within the vSphere Client by editing the setting of the &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2011/11/27/get-lun-id-of-raw-disk-mappings-with-powercli/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=203&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a need to get the LUN id of all of the Raw Disk Mappings for a particular virtual machine running on VMware vSphere.  I could see this information within the vSphere Client by editing the setting of the virtual machine, selecting each of the Raw Disk Mapping Hard Disks one at a time and clicking on the Manage Paths button in the bottom right hand corner.  The LUN id is then displayed for each path to the LUN in the LUN column, the LUN id is also the last part of the Runtime Name – displayed in the first column, e.g.
</p>
<p><img src="http://pelicanohintsandtips.files.wordpress.com/2011/11/112711_1741_getlunidofr1.png?w=640" alt="" /><br />
		<img src="http://pelicanohintsandtips.files.wordpress.com/2011/11/112711_1741_getlunidofr2.png?w=640" alt="" />
	</p>
<p>This is a time consuming process, especially if you need to perform it for a large number of virtual machines.  Also I do not like editing the settings of a virtual machines just to look at the setting as I may accidently change something and forget to click on cancel instead of OK.  So I looked at getting this information with PowerCLI.
</p>
<p>You can get a list of hard disks the virtual machine has with the following one liner
</p>
<p>    Get-VM  | Get-HardDisk
</p>
<p>You can then limit this information to just the Raw Disk Mappings as follows:
</p>
<p>    Get-VM  | Get-HardDisk | Where {$_.DiskType –eq &#8220;RawPhysical&#8221;}
</p>
<p>However the properties returned do not include the LUN id.  From the SCSI Canonical Name you can find out the Runtime Name by using the Get-SCSILun command against one of the hosts, of course this should be the host the virtual machine is running on which is returned in the VMHost property from Get-VM. So if I run Get-SCSILun for the SCSI Canonical Name of each of the Raw Disk Mappings I can get the Runtime Name.  Then if I use the Substring method on the Runtime Name to strip off the number of L at the end of the Runtime Name, by using the LastIndexof method, I can get the LUNid.  The following commands achieve this:
</p>
<p style="margin-left:36pt;">$Disks = Get-VM  | Get-HardDisk | Where {$_.DiskType -eq &#8220;RawPhysical&#8221;}<br />Foreach ($Disk in $Disks) {<br />             $Lun = Get-SCSILun $Disk.SCSICanonicalName -VMHost (Get-VM ).VMHost<br />             $Lun.RuntimeName.Substring($Lun.RuntimeName.LastIndexof(&#8220;L&#8221;)+1)<br />}
</p>
<p>Where  is the name of the virtual machine you want to get the LUN ids for.
</p>
<p>I have put all of this into a script and only run the commands if the virtual machine passed to the script exists, i.e.
</p>
<p style="margin-left:36pt;"><span style="color:blue;font-family:Courier New;font-size:10pt;">Param<span style="color:black;">(<span style="color:purple;">$VM<span style="color:black;">)<br />
</span></span></span></span></p>
<p style="margin-left:36pt;"><span style="color:blue;font-family:Courier New;font-size:10pt;">if<span style="color:black;"> (Get-VM <span style="color:purple;">$VM<span style="color:black;">) {<br />
</span></span></span></span></p>
<p style="margin-left:36pt;"><span style="color:black;font-family:Courier New;font-size:10pt;">    <span style="color:purple;">$Disks<span style="color:black;"><br />
					<span style="color:red;">=<span style="color:black;"> Get-VM <span style="color:purple;">$VM<span style="color:black;"> | Get-HardDisk | Where {<span style="color:purple;">$_<span style="color:black;">.DiskType <span style="color:red;">-eq<span style="color:black;"><br />
													<span style="color:maroon;">&#8220;RawPhysical&#8221;<span style="color:black;">}<br />
</span></span></span></span></span></span></span></span></span></span></span></span></span></p>
<p style="margin-left:36pt;"><span style="color:black;font-family:Courier New;font-size:10pt;">    <span style="color:blue;">Foreach<span style="color:black;"> (<span style="color:purple;">$Disk<span style="color:black;"><br />
							<span style="color:blue;">in<span style="color:black;"><br />
									<span style="color:purple;">$Disks<span style="color:black;">) {<br />
</span></span></span></span></span></span></span></span></span></p>
<p style="margin-left:36pt;"><span style="color:black;font-family:Courier New;font-size:10pt;">        <span style="color:purple;">$Lun<span style="color:black;"><br />
					<span style="color:red;">=<span style="color:black;"> Get-SCSILun <span style="color:purple;">$Disk<span style="color:black;">.SCSICanonicalName -VMHost (Get-VM <span style="color:purple;">$VM<span style="color:black;">).VMHost<br />
</span></span></span></span></span></span></span></span></span></p>
<p style="margin-left:36pt;"><span style="color:black;font-family:Courier New;font-size:10pt;">        <span style="color:purple;">$Lun<span style="color:black;">.RuntimeName.Substring(<span style="color:purple;">$Lun<span style="color:black;">.RuntimeName.LastIndexof(<span style="color:maroon;">&#8220;L&#8221;<span style="color:black;">)<span style="color:red;">+<span style="color:black;">1)<br />
</span></span></span></span></span></span></span></span></span></p>
<p style="margin-left:36pt;"><span style="color:black;font-family:Courier New;font-size:10pt;">    }<br />
</span></p>
<p style="margin-left:36pt;"><span style="color:black;font-family:Courier New;font-size:10pt;">}<br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">I saved this script in C:\VIscripts as Get-VMLUNid.ps1 and run it as follows: -<br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">    C:\VIscripts\Get-VMLUNid.ps1<br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">e.g.<br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;">    C:\VIscripts\Get-VMLUNid.ps1 sqlsvr01<br />
</span></p>
<p><span style="color:black;font-family:Courier New;font-size:10pt;"><br />
		</span> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=203&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2011/11/27/get-lun-id-of-raw-disk-mappings-with-powercli/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2011/11/112711_1741_getlunidofr1.png" medium="image" />

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2011/11/112711_1741_getlunidofr2.png" medium="image" />
	</item>
		<item>
		<title>ESXi Hosts Becoming Disconnected from vCenter</title>
		<link>http://pelicanohintsandtips.wordpress.com/2011/11/27/esxi-hosts-becoming-disconnected-from-vcenter/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2011/11/27/esxi-hosts-becoming-disconnected-from-vcenter/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 17:39:56 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=195</guid>
		<description><![CDATA[Recently I have been experiencing problems with ESXi 4.1 hosts becoming disconnected from vCenter. Right clicking on the host and selecting Connect does not normally fix the problem. Also logging in directly to the host with the vSphere Client usually &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2011/11/27/esxi-hosts-becoming-disconnected-from-vcenter/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=195&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I have been experiencing problems with ESXi 4.1 hosts becoming disconnected from vCenter.
</p>
<p>Right clicking on the host and selecting Connect does not normally fix the problem.  Also logging in directly to the host with the vSphere Client usually does not work, or if it does it disconnects quickly after connecting.
</p>
<p>All of the virtual machines running on the host continue to run; however without the host being connected to vCenter or being able to connected directly with the vSphere Client you are unable to manage the virtual machines.  Also, connecting to the host with PowerCLI does not work, if it does connect it drops the connection soon afterwards.
</p>
<p>I have used a variety of &#8220;tricks&#8221; to get the host to reconnect.
</p>
<ol>
<li>
<div>Restart the management agents and then reconnect.  If this does not work the first time then try again.  I have found that it often works on the second attempt.
</div>
<ol>
<li>From the host console press F2 to login
</li>
<li>Enter the root password
</li>
<li>Go down to Troubleshooting Options and select it
</li>
<li>Select Restart Management Agents
</li>
<li>Press F11 to restart the management agents
</li>
<li>Once they have been restarted attempt to reconnect the host by right clicking on it within vCenter and select Connect.  You will normally get an error message and then prompted to enter a username and password, enter root and the root password.
</li>
</ol>
</li>
<li>
<div>If the above fails twice then try removing the host from vCenter and adding it in again.  This has an impact in that you will lose performance statistics, the virtual machines will need to be put back into the correct resource pools if you are using resource pools and if you are using Site Recovery Manager (SRM) the virtual machine protection will need to be reconfigured.  You might want to skip this step and try the ones below first and use this as a last resort.
</div>
<ol>
<li>Right click on the host in vCenter and select Remove.
</li>
<li>Once it has been removed right click on the container the host was originally in, e.g. a cluster and select Add host
</li>
<li>Enter the host name, root for the username and the root password
</li>
<li>If the host starts to add and then fails then repeat the steps in 1 above, again you might have to try the steps in 1 above a couple of time.
</li>
</ol>
</li>
<li>
<div>If you still cannot get the host to reconnect and you are using Fibre Channel storage then rescan the HBAs.  As you cannot manage the host with a vSphere Client you will have to do this at the command line.
</div>
<ol>
<li>At the console, if you are not already in the Troubleshooting Options then follow steps a through to c in 1 above to get to the Troubleshooting Options.
</li>
<li>If the menu shows Disable Remote Tech Support Mode then Remote Tech Support is already enabled, if there is an option for Enable Remote Tech Support Mode then select it.
</li>
<li>Using a SSH client such as Putty to get a SSH connection to the host
</li>
<li>Login as root
</li>
<li>Issue the command esxcfg-rescan  for each of the HBAs on  the host where hba is the hba device, e.g.<br />          esxcfg-rescan vmhba1<br />          esxcfg-rescan vmhba2
</li>
<li>Now try reconnecting the host by right clicking on it and selecting Connect as described in step 1.f.  Again if it does not work then follow the steps in 1 above a couple of times.
</li>
</ol>
</li>
<li>
<div>If you still cannot get the host to connect check for redundant directories in /var/run/vmware/root_0 and /var/lib/vmware/hostd/stats being full, tidy these directories and attempt to reconnect again.
</div>
<ol>
<li>If you do not already have a SSH connection to the host follow steps a through to d in 3 above to get a SSH connection.
</li>
<li>cd /var/run/vmware/root_0
</li>
<li>
<div>There should be a directory in here for each running virtual machines on the host, issue the following command to get a list of all the directories here.<br />          ls
</div>
<p>If there are more directories than the number of running virtual machines then use the following command to remove the empty ones, it will attempt to delete the non-empty ones but will fail to delete these, so you are safe to run the command against all directories<br />          rmdir *
</p>
</li>
<li>
<div>Issue the following command to check for full filesystems.<br />          vdf
</div>
<p>The one to check is hostdstats, if it is 100% full then tidy it as follows
</p>
<ol>
<li>cd /var/lib/vmware/hostd/stats
</li>
<li>rm hostAgentStats-*.stats
</li>
</ol>
</li>
<li>Now restart all of the services with<br />          services.sh restart<br />You can run this while there are running virtual machines on the host without affecting them.
</li>
<li>Now attempt to connect the host again, as detailed in 1.f.
</li>
</ol>
</li>
</ol>
<p>I have found that if a host becomes disconnected and I have had to use the steps above to reconnect it then it becomes disconnected again within the next 24 hours or so unless the host is restarted.  Therefore, I suggest that once you have the host reconnected put it into maintenance mode and restart it.
</p>
<p>I think this issue is being caused by NetApp SnapManager for SQL and SnapManager for Exchange because usually the SnapDrive running on one of the virtual machines on the failing host is normally reconfiguring the virtual machine and rescanning the HBAs to attach or detach RDMs from a NetApp snapshot to verify a backup that has just been run by the SnapManager product running on the virtual machine when the host becomes disconnected.  I do not think that it is a fault of the SnapManager product as it is just using the VMware APIs to perform the tasks it needs to do.  All of the hosts I am having this issue with are running an unpatched version of ESXi 4.1 (build 260247).  They are also running from IBM supplied USB keys without the latest IBM customisation.  I plan to upgrade the hosts to at least ESXi 4.1 update 1 (build 45697) or ESXi 4.1 update 2 (build 502767) to see if this helps the situation.  I will also apply IBM customisation 1.0.4 as this fixes the issue of vMotion and Fault Tolerance becoming disabled following a reboot of the host.  I will update this post with details of whether these updates helped or not.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=195&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2011/11/27/esxi-hosts-becoming-disconnected-from-vcenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>
	</item>
		<item>
		<title>Repeating ADAM_VMwareVCMSDS Error Every Minute in Windows Active Directory Web Services Log</title>
		<link>http://pelicanohintsandtips.wordpress.com/2011/10/29/repeating-adam_vmwarevcmsds-error-every-minute-in-windows-active-directory-web-services-log/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2011/10/29/repeating-adam_vmwarevcmsds-error-every-minute-in-windows-active-directory-web-services-log/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 14:32:00 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/2011/10/29/repeating-adam_vmwarevcmsds-error-every-minute-in-windows-active-directory-web-services-log/</guid>
		<description><![CDATA[I have seen the following error repeat EVERY minute in the Windows Active Directory Web Services Log on Windows 2008 R2 Servers running VMware vCenter 4.1. &#8220;Active Directory Web Services encountered an error while reading the settings for the specified &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2011/10/29/repeating-adam_vmwarevcmsds-error-every-minute-in-windows-active-directory-web-services-log/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=176&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have seen the following error repeat EVERY minute in the Windows Active Directory Web Services Log on Windows 2008 R2 Servers running VMware vCenter 4.1.
</p>
<p>&#8220;Active Directory Web Services encountered an error while reading the settings for the specified Active Directory Lightweight Directory Services instance. Active Directory Web Services will retry this operation periodically. In the mean time, this instance will be ignored. Instance name: ADAM_VMwareVCMSDS&#8221;
</p>
<p>To fix this look in the regestry key
</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ADAM_VMwareVCMSDS\Parameters
</p>
<p>for
</p>
<p>Port SSL.
</p>
<p> If Port SSL is already there as a string (REG_SZ), delete it and create a new REG_DWORD named Port SSL and set the value to 636 (Decimal).  You then need to restart the two services &#8220;Active Directory Web Services&#8221; and &#8220;VMwareVCMSDS&#8221;.  Not sure if both of these services needed to be restarted but I have always done this whenever I notice this error message without impacting anything
</p>
<p>I have yet to discover anything not functioning while this error is occurring but it is annoying that it repeats every minute so I always ensure the registry key is correct on new implementations and correct it on any installation suffering from the issue.
</p>
<p>
 </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=176&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2011/10/29/repeating-adam_vmwarevcmsds-error-every-minute-in-windows-active-directory-web-services-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>
	</item>
		<item>
		<title>ESXi4.1 vMotion using incorrect vmnic</title>
		<link>http://pelicanohintsandtips.wordpress.com/2011/06/16/esxi4-1-vmotion-using-incorrect-vmnic/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2011/06/16/esxi4-1-vmotion-using-incorrect-vmnic/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 14:58:12 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=167</guid>
		<description><![CDATA[I have a number of esxi 4.1 update 1 hosts configured as follows: - vSwicth0 &#8211; vmnic0, vmnic1, vmnic2, vmnic 6 &#8211; all active VMKernel Port &#8211; Management &#8211; enabled for Management &#8211; Active vmnic0, Standby vmnic2, unused vmnic1 and &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2011/06/16/esxi4-1-vmotion-using-incorrect-vmnic/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=167&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a number of esxi 4.1 update 1 hosts configured as follows: -</p>
<p>vSwicth0 &#8211; vmnic0, vmnic1, vmnic2, vmnic 6 &#8211; all active<br />
VMKernel Port &#8211; Management &#8211; enabled for Management &#8211; Active vmnic0, Standby vmnic2, unused vmnic1 and vmnic6<br />
VMKernel Port &#8211; vMotion &#8211; enabled for vMotion &#8211; Active vmnic2, Standby vmnic0, unused vmnic1 and vmnic6<br />
VMKernel Port &#8211; FT Logging &#8211; enabled for FT Logging &#8211; Active &#8211; vmnic1 and vmnic6, standby vmnic0 and vmnic2</p>
<p>Each VMKernel Port only has the function it is intended for enabled and the other two disabled, i.e. the Management VMKernel port is enabled for Management but has vMotion and FT Logging disabled.</p>
<p>When performing a vMotion and monitoring the physical switch I notice traffic coming out of the source host on vmnic0 and going in to the destination host on vmnic2.  This should be coming out of vmnic2 and going in to vmnic2.  It always does this regardless of the source and destination hosts, e.g. if I vMotion a VM from host01 to host02 traffic goes from vmnic0 on host01 to vmnic2 on host02, when vMotioning the VM back from host02 to host01 it goes from vmnic0 on host02 to vmnic2 on host01.</p>
<p>I have also tried separating vMotion and Management onto different vSwitches but still see the traffic coming out of the vmnic configured for management on the source, e.g.</p>
<p>vSwitch0 &#8211; vmnic0 acvtive, vnmic1 standby<br />
VMKernel Port &#8211; Management &#8211; only enabled for Management</p>
<p>vSwitch1 &#8211; vmnic2 active,  vmnic6 standby<br />
VMKernel Port &#8211; vMotion &#8211; only enabled for vMotion</p>
<p>When I perform a vMotion the vmnic0 is used on the source host and vmnic2 on the destination host.</p>
<p>This is all true when vMotion and Management are on the same VLAN/subnet, this should be a valid configuration.</p>
<p>If I change vMotion to use it&#8217;s own VLAN/subnet then the correct vmnic is used on the source host but I should not have to do this.</p>
<p>The minor issue I have with using a separate VLAN/subnet for vMotion and Management is that they both use the same VMKernel default gateway so the vMotion interface is now configured for a default gateway which it can never access!  Not a major issue as the vMotion traffic should never need to leave it&#8217;s subnet.  Some environments I have the vMotion interface is being monitored by a monitoring utility and this can not access the vMotion interfaces if the default gateway is not accessible.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=167&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2011/06/16/esxi4-1-vmotion-using-incorrect-vmnic/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>
	</item>
		<item>
		<title>Storage vMotion taking twice as long when block sizes do not match</title>
		<link>http://pelicanohintsandtips.wordpress.com/2010/11/25/storage-vmotion-taking-twice-as-long-when-block-sizes-do-not-match/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2010/11/25/storage-vmotion-taking-twice-as-long-when-block-sizes-do-not-match/#comments</comments>
		<pubDate>Thu, 25 Nov 2010 22:39:14 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=53</guid>
		<description><![CDATA[While trouble shooting performance issues at a customer I noticed in esxtop that the MB written/s were double the MB read/s when performing a Storage vMotion when the block sizes of the source and target datastores where different. The customer &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2010/11/25/storage-vmotion-taking-twice-as-long-when-block-sizes-do-not-match/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=53&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While trouble shooting performance issues at a customer I noticed in esxtop that the MB written/s were double the MB read/s when performing a Storage vMotion when the block sizes of the source and target datastores where different.</p>
<p>The customer has two storage devices connected to the same Storage Area Network (SAN); an IBM DS4700 and an IBM DS3400. The DS4700 has Fibre Channel disks in it and the DS3400 SATA disks.</p>
<p>I performed a number of tests with a VM having a 22GB fat vmdk file, using the following datastores: -</p>
<p>VMFS_VOL2 Block Size 8MB FC Disks on the DS4700<br />
VMFS_VOL4 Block Size 4MB FC Disks on the DS4700<br />
VMFS_VOL12 Block Size 4MB SATA Disks on the DS3400</p>
<p>Details of the original tests I performed are shown in the image below, click it to see a larger version.</p>
<p><a href="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests1-2.jpg"><img height="38" alt="Tests1" src="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests1-2-small.jpg?w=450&h=38" width="450" /></a></p>
<p>I then changed vmfs_vol12 to an 8MB block size to see what difference that made. Transfer times between datastores with the same block size, i.e. 8MB, where the same as the above times for transfers between datastores with matching 4MB block size. Times when the block sizes where different were double the times when the block sizes matched. Transferring to the SATA disks was slower than transferring off the SATA disks as I expected would be the case. When the block size did not match then the MB written per second where always double the MB read per second regardless of whether the transfer was from the 8MB block size to the 4MB block size or from the 4MB block size to the 8MB block size. See details below</p>
<p>
<a href="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests2.jpg"><img height="39" alt="Tests2" src="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests2-small.jpg?w=450&h=39" width="450" /></a></p>
<p>Now I wondered what would happen if the block sizes where something other than double the other, so I deleted vmfs_vol12 and recreated it with a 1MB block size, my thoughts were that when transferring between an 8MB block size and a 1MB block size I would see the MB written being 8 times the MB read and the transfer time being 8 times the time when the block sizes matched, and when migrating between a 4MB block size and a 1MB block size the figures would be 4 times. However the MB written were once again double the MB read and almost matched the figures above for when the block sizes where different, as detailed below.</p>
<p><a href="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests3.jpg"><img height="26" alt="Tests3" src="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests3-small.jpg?w=450&h=26" width="450" /></a></p>
<p>The figures in the tables above are rough figures as they fluctuated during the migration.</p>
<p>Here are a couple of screenshots from esxtop from when the block sizes match and when they are different.</p>
<p><a href="http://pelicanohintsandtips.files.wordpress.com/2010/11/blocksizedifferent-1.jpg"><img height="133" alt="BlockSizeDifferent" src="http://pelicanohintsandtips.files.wordpress.com/2010/11/blocksizedifferent-1-small.jpg?w=450&h=133" width="450" /></a></p>
<p><a href="http://pelicanohintsandtips.files.wordpress.com/2010/11/blocksizematch-2.jpg"><img height="119" alt="BlockSizeMatch" src="http://pelicanohintsandtips.files.wordpress.com/2010/11/blocksizematch-2-small.jpg?w=450&h=119" width="450" /></a></p>
<p>It does not seem right that if you migrate a VM between datastores with different block sizes then the transfer takes twice as long as when the datastores have the same block size.</p>
<p>Further investigated required.  I have posted details on the VMware ESX 4 VMTN Community, see <a href="http://communities.vmware.com/thread/293823?tstart=0">http://communities.vmware.com/thread/293823?tstart=0</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=53&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2010/11/25/storage-vmotion-taking-twice-as-long-when-block-sizes-do-not-match/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests1-2-small.jpg" medium="image">
			<media:title type="html">Tests1</media:title>
		</media:content>

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests2-small.jpg" medium="image">
			<media:title type="html">Tests2</media:title>
		</media:content>

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2010/11/tests3-small.jpg" medium="image">
			<media:title type="html">Tests3</media:title>
		</media:content>

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2010/11/blocksizedifferent-1-small.jpg" medium="image">
			<media:title type="html">BlockSizeDifferent</media:title>
		</media:content>

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2010/11/blocksizematch-2-small.jpg" medium="image">
			<media:title type="html">BlockSizeMatch</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing ESX IP Address via Service Console</title>
		<link>http://pelicanohintsandtips.wordpress.com/2010/03/24/changing-esx-ip-address-via-service-console/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2010/03/24/changing-esx-ip-address-via-service-console/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 20:11:58 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=31</guid>
		<description><![CDATA[If you need to change the ESX (3.5 or 4.0) Service Console IP address but can not connect to it via the vSphere (or VI) Client then it can be changed from the console. Access one of the virtual terminals, &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2010/03/24/changing-esx-ip-address-via-service-console/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=31&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you need to change the ESX (3.5 or 4.0) Service Console IP address but can not connect to it via the vSphere (or VI) Client then it can be changed from the console.</p>
<p>Access one of the virtual terminals, for example by pressing Alt-F1.<br />
Login as root<br />
Find out what virtual switch interface (vswif) the Service Console is on and what the port group is called, by defaulty vswif=vswif0 and port group=&#8221;Service Console&#8221; by issuing the command</p>
<blockquote>
<p>esxcfg-vswif -l</p>
</blockquote>
<p>to list the virtual switch interfaces. The output will be similar to</p>
<p><a href="http://pelicanohintsandtips.files.wordpress.com/2010/03/untitled11.jpg"><img height="11" alt="untitled1" src="http://pelicanohintsandtips.files.wordpress.com/2010/03/untitled1-small.jpg?w=450&h=11" width="450" /></a></p>
<p>In the above example the vswif name is vswif0 and the port group is &#8220;Service Console&#8221;. The current IP address is 192.168.35.166, to change it issue the command</p>
<blockquote>
<p>
esxcfg-vswif &lt;swif name&gt; -pÂ &lt;port group&gt; -i &lt;new ip address&gt; -n &lt;network mask&gt; -b &lt;broadcast address&gt;</p>
</blockquote>
<p>
e.g. to change it to 192.168.25.151, netmask 255.255.255.0 broadcast 192.168.25.255 enter</p>
<blockquote>
<p>esxcfg-vswif vswif0 -p &#8220;Service Console&#8221; -i 192.168.25.166 -n 255.255.255.0 -b 192.168.25.255</p>
</blockquote>
<p>You might also need to change the default gateway. To do this edit /etc/sysconfig/network (with something like vi) and change the GATEWAY setting, once you have edited /etc/sysconfig/network you will need to restart networking with /etc/ini.d/network restart</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=31&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2010/03/24/changing-esx-ip-address-via-service-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>

		<media:content url="http://pelicanohintsandtips.files.wordpress.com/2010/03/untitled1-small.jpg" medium="image">
			<media:title type="html">untitled1</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing IBM Systems Director 6.1.1 Common Agent on ESX 4.0</title>
		<link>http://pelicanohintsandtips.wordpress.com/2010/03/22/installing-ibm-systems-director-6-1-1-common-on-agent-on-esx-4-0/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2010/03/22/installing-ibm-systems-director-6-1-1-common-on-agent-on-esx-4-0/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 18:40:18 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[IBM]]></category>
		<category><![CDATA[IBM Systems Director]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=26</guid>
		<description><![CDATA[You should be able to push the IBM Systems Director 6.1.1 Common Agent out from the IBM Systems Director to the ESX Hosts.  Firstly download the IBM Systems Director 6.1.1 Common Agent for Linux on x86 from the IBM Systems &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2010/03/22/installing-ibm-systems-director-6-1-1-common-on-agent-on-esx-4-0/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=26&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You should be able to push the IBM Systems Director 6.1.1 Common Agent out from the IBM Systems Director to the ESX Hosts.  Firstly download the IBM Systems Director 6.1.1 Common Agent for Linux on x86 from the IBM Systems Director Agents for Remote Installation with the Installation Wizard Page.  6.1.1 is the latest version of the IBM Systems Director Common Agent for Linux on x86 at the time of writting.  When I downloaded this is came down as SysDir6_1_1_Common_Agent_Linux_x86.zip.  You will find that when you attempt to import this into the IBM Director Server it will say that No agents were found.  Rename the downloaded file to SysDir6_1_1_Common_Agent_Linux_x86.tcdriver, it should then successfully import.  However, having imported it when you attempt to deploy it to an ESX 4 server you may get a message stating that it is not supported.  Best bet is to install it manually as follows: -</p>
<p>Extract dir6.1.1_commonagent_linux.sh from the SysDir6_1_1_Common_Agent_Linux_x86.tcdriver file (if your computer does not recognise it as a zipped file rename it to have a zip extension).<br />
Transfer dir6.1.1_commonagent_linux.sh to the ESX host, make sure you transfer it in binary mode<br />
Change the perfmissions on dir6.1.1_commonagent_linux.sh so that it can be executed, e.g. chmod 755 dir6.1.1_commonagent_linux.sh<br />
If you have a Remote Supervisor Adapter installed in the server run esxcfg-module -s libsub_support=1 usb.o (you will need to restart the ESX host)<br />
Open a number of ports on the ESX firewall with: -<br />
     esxcfg-firewall -o 9510:9515,tcp,in,ibmdirector<br />
     esxcfg-firewall -o 9510:9515,tcp,out,ibmdirector<br />
Run the installer with ./dir6.1.1_commonagent_linux.sh</p>
<p>Once it has finished installing you should be able to discover it with the IBM Systems Director console and gain access.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=26&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2010/03/22/installing-ibm-systems-director-6-1-1-common-on-agent-on-esx-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing vSphere 4 on IBM System x3650M2 via KVM Switch and IBM 17&#8243; Rack Flat Panel Monitor</title>
		<link>http://pelicanohintsandtips.wordpress.com/2010/03/20/installing-vsphere-4-on-ibm-system-x3650m2-via-kvm-switch-and-ibm-17-rack-flat-panel-monitor/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2010/03/20/installing-vsphere-4-on-ibm-system-x3650m2-via-kvm-switch-and-ibm-17-rack-flat-panel-monitor/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 19:36:49 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=13</guid>
		<description><![CDATA[When installing vSphere 4 on an IBM System x3650M2 connected via a 2&#215;8 Local Console Switch to the IBM 17&#8243; Rack mounted Flat Panel Monitor the display could not be displayed on the screen using the Graphic Mode, I got &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2010/03/20/installing-vsphere-4-on-ibm-system-x3650m2-via-kvm-switch-and-ibm-17-rack-flat-panel-monitor/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=13&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When installing vSphere 4 on an IBM System x3650M2 connected via a 2&#215;8 Local Console Switch to the IBM 17&#8243; Rack mounted Flat Panel Monitor the display could not be displayed on the screen using the Graphic Mode, I got an &#8220;out of range&#8221; message.</p>
<p>Therefore the text mode had to be used.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=13&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2010/03/20/installing-vsphere-4-on-ibm-system-x3650m2-via-kvm-switch-and-ibm-17-rack-flat-panel-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Default Gateway on vSphere 4</title>
		<link>http://pelicanohintsandtips.wordpress.com/2010/03/20/setting-default-gateway-on-vsphere-4/</link>
		<comments>http://pelicanohintsandtips.wordpress.com/2010/03/20/setting-default-gateway-on-vsphere-4/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 19:23:15 +0000</pubDate>
		<dc:creator>pelicanohintsandtips</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://pelicanohintsandtips.wordpress.com/?p=11</guid>
		<description><![CDATA[I had an issue recently where I had installed ESX4 on a number of hosts but had not been allocated IP addresses for them.  So I installed them using DHCP.  Later when I had been given the IP addresses I &#8230; <a href="http://pelicanohintsandtips.wordpress.com/2010/03/20/setting-default-gateway-on-vsphere-4/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=11&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had an issue recently where I had installed ESX4 on a number of hosts but had not been allocated IP addresses for them.  So I installed them using DHCP. </p>
<p>Later when I had been given the IP addresses I set them on the service console via the vSphere Client, on checking the default gateway it was already set as it had been picked up from the DHCP server.  I checked connectivity to each of the hosts while I was oniste but later while working remotely I could not access the service consoles, obviously the default gateway was not correct. </p>
<p>The servers were all IBM System x3650M2 servers with the IBM Virtual Media Key installed so I could access the Integrated Management Module (IMM) and access the console via the Remote Console functionality.  The default gatewayhas correctly listed in /etc/vmware/esx.conf but was not listed in /etc/sysconfig/network</p>
<p>The solution was to add the following to /etc/sysconfig/network (I added it as the last line)</p>
<p>GATEWAY=xxx.xxx.xxx.xxx</p>
<p>where xxx.xxx.xxx.xxx is the IP address of the default gateway.</p>
<p>For this change to be picked up networking needed to be restarted by running</p>
<p>/etc/init.d/network restart</p>
<p>This procedure could be used if you ever need to change the default gateway on ESX4.  To should be the same for previous versions of ESX.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pelicanohintsandtips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pelicanohintsandtips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pelicanohintsandtips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pelicanohintsandtips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pelicanohintsandtips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pelicanohintsandtips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pelicanohintsandtips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pelicanohintsandtips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pelicanohintsandtips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pelicanohintsandtips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pelicanohintsandtips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pelicanohintsandtips.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pelicanohintsandtips.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pelicanohintsandtips.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pelicanohintsandtips.wordpress.com&#038;blog=12717866&#038;post=11&#038;subd=pelicanohintsandtips&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://pelicanohintsandtips.wordpress.com/2010/03/20/setting-default-gateway-on-vsphere-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00c001f4598ec2800186417c938df38c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pelicanohintsandtips</media:title>
		</media:content>
	</item>
	</channel>
</rss>
