<?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#"
	>

<channel>
	<title>Troubleshooting &#8211; AgileOps</title>
	<atom:link href="https://agileops.co.uk/tag/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>https://agileops.co.uk</link>
	<description>Virtualization made simple for Everyone.</description>
	<lastBuildDate>Mon, 25 May 2020 22:50:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.8</generator>

<image>
	<url>https://agileops.co.uk/wp-content/uploads/2017/10/favicon-01-50x50.png</url>
	<title>Troubleshooting &#8211; AgileOps</title>
	<link>https://agileops.co.uk</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">194680508</site>	<item>
		<title>Troubleshooting The vMotion migration failed because the ESX host were not able to connect over the vMotion network.</title>
		<link>https://agileops.co.uk/troubleshooting-the-vmotion-migration-failed-error/</link>
					<comments>https://agileops.co.uk/troubleshooting-the-vmotion-migration-failed-error/#comments</comments>
		
		<dc:creator><![CDATA[Ibrahim Quraishi]]></dc:creator>
		<pubDate>Mon, 10 Nov 2014 22:02:26 +0000</pubDate>
				<category><![CDATA[cisco ucs sd card]]></category>
		<category><![CDATA[cisco ucs server]]></category>
		<category><![CDATA[CISCO UCS Unified Computing System]]></category>
		<category><![CDATA[Hardware Virtualization]]></category>
		<category><![CDATA[Hosted Virtualization]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VCenter]]></category>
		<category><![CDATA[vCenter Server]]></category>
		<category><![CDATA[virtualized]]></category>
		<category><![CDATA[vMotion]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Vmware]]></category>
		<category><![CDATA[Cisco Systems Inc]]></category>
		<category><![CDATA[dvport]]></category>
		<category><![CDATA[esxcfg]]></category>
		<category><![CDATA[esxcfg-nics]]></category>
		<category><![CDATA[esxcfg-nics -l]]></category>
		<category><![CDATA[esxcfg-vmknic]]></category>
		<category><![CDATA[esxcfg-vmknic -l]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[service profile]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[ucs]]></category>
		<category><![CDATA[vmkping]]></category>
		<category><![CDATA[vmotion]]></category>
		<category><![CDATA[vMotion migration failed Troubleshooting]]></category>
		<guid isPermaLink="false">https://quraishi.wordpress.com/?p=883</guid>

					<description><![CDATA[
				<![CDATA[]]>		]]></description>
										<content:encoded><![CDATA[<div class="vgblk-rw-wrapper limit-wrapper"><p>Hi All,</p>
<p>Today I will take you thought the troubleshooting for vMotion using CLI, If you have not done network troubleshooting on esx host you will find some really good esxi commands on this post. And if you are using a converged infrastructure its important to understand end to end connectivity especially if you have different vlans for each service like vMotion FT, Management traffic and VM-Traffic.</p>
<p>I build a brand new Data Center and after configuring the dv switch I decided to test the vMotion first and this is the error I saw on the first attempt the vm was stuck at 14 % and after a while it gave the below error message.</p>
<p>as shown below:</p>
<p><a href="https://quraishi.files.wordpress.com/2014/10/vmotion-error_task.png"><img decoding="async" class="size-full wp-image-886" src="https://quraishi.files.wordpress.com/2014/10/vmotion-error_task.png" alt="vmotion error_task" width="604" height="55" /></a></p>
<p> </p>
<p>Migrate virtual machine error message</p>
<p style="text-align: justify;"><a href="https://quraishi.files.wordpress.com/2014/10/vmotion-error.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-885" src="https://quraishi.files.wordpress.com/2014/10/vmotion-error.png" alt="vmotion error" width="604" height="181" /></a></p>
<p>If you read the above error message you will find the IP&#8217;s of the host which I am migrating from and to.</p>
<p>for example lets consider the below two host this troubleshooting is done on esx-02. vmnic2 is FT vmnic3 is vMotion so I am comparing the mac address of booth the host on the ucs service profile to compare tht the vnic template has the right mac address and if they are connected to the right vlan.<span id="more-883"></span></p>
<p><em>esx-01</em></p>
<p><em>vmnic2 0000:08:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:0d 9000 Cisco Systems Inc Cisco VIC Ethernet NIC</em><br /><em> vmnic3 0000:09:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:0c 9000 Cisco Systems Inc Cisco VIC Ethernet NIC</em></p>
<p><em> esx-02</em></p>
<p><em><span style="font-size: 13px;">vmnic2 0000:08:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:19 9000 Cisco Systems Inc Cisco VIC Ethernet NIC</span></em></p>
<p><em> vmnic3 0000:09:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:18 9000 Cisco Systems Inc Cisco VIC Ethernet NIC</em></p>
<ol>
<li>check the mac address on ucs and on the esx host for the vmnic2 ( ft) vmnic3 (vmotion)</li>
<li>check the mtu it should be 9000 although this shuld not affect but I have changed them from 1500 mtu to 9000 mtu.</li>
<li> check the nics with mac address<br /><span style="color: #ff9900;">esxcfg-nics -l</span></li>
<li> check the vmkernal nics<br /><span style="color: #ff9900;">esxcfg-vmknic -l</span></li>
<li> ping from the vnic using<br /># <span style="color: #ff9900;">vmkping -I vmk2 192.168.242.1</span> this is using vmk2 interface which is for vmotion<br />you will notice its failing initially because the uplink on the dv switch was first given to both the ft and vmotion nics<br />I then moved the dvuplink_1 to unused as I and it was my mistake which is why it was not working agian.</li>
<li><span style="color: #ff9900;"> vmkping -I vmk2 192.168.242.1</span> the ping test failed again<br />then I moved the dvuplink_1 in active and moved dvuplink_2 to unused and the result is</li>
</ol>
<p>The time and date of this login have been sent to the system logs.</p>
<p>VMware offers supported, powerful system administration tools. Please<br />see www.vmware.com/go/sysadmintools for details.<!--more--></p>
<p>The ESXi Shell can be disabled by an administrative user. See the<br />vSphere Security documentation for more information.<br />~ # esxcfg-nics<br />esxcfg-nics &lt;options&gt; [nic]<br />-s|&#8211;speed &lt;speed&gt; Set the speed of this NIC to one of 10/100/1000/10000.<br />Requires a NIC parameter.<br />-d|&#8211;duplex &lt;duplex&gt; Set the duplex of this NIC to one of &#8216;full&#8217; or &#8216;half&#8217;.<br />Requires a NIC parameter.<br />-a|&#8211;auto Set speed and duplexity automatically. Requires a NIC parameter.<br />-l|&#8211;list Print the list of NICs and their settings.<br />-r|&#8211;restore Restore the nics configured speed/duplex settings (INTERNAL ONLY)<br />-h|&#8211;help Display this message.</p>
<p><a href="https://quraishi.files.wordpress.com/2014/10/cli.png"><img decoding="async" class="size-full wp-image-888" src="https://quraishi.files.wordpress.com/2014/10/cli.png" alt="cli" width="604" height="268" /></a></p>
<p style="text-align: justify;"> </p>
<p><strong><span style="color: #ff9900;">~ # esxcfg-nics -l</span></strong><br />Name PCI Driver Link Speed Duplex MAC Address MTU Description<br />vmnic0 0000:06:00.00 enic Up 20000Mbps Full xx:xx:xx:a3:01:14 1500 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic1 0000:07:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:1a 1500 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic10 0000:10:00.00 enic Up 20000Mbps Full xx:xx:xx:a3:01:10 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic11 0000:11:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:11 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br /><span style="color: #ff0000;">vmnic12 0000:12:00.00 enic Up 20000Mbps Full xx:xx:xx:a3:01:0f 9000 Cisco Systems Inc Cisco VIC Ethernet NIC</span><br /><span style="color: #ff0000;"> vmnic13 0000:13:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:10 9000 Cisco Systems Inc Cisco VIC Ethernet NIC</span><br />vmnic14 0000:14:00.00 enic Up 20000Mbps Full xx:xx:xx:a3:01:0c 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic15 0000:15:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:0f 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic2 0000:08:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:19 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic3 0000:09:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:18 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic4 0000:0a:00.00 enic Up 20000Mbps Full xx:xx:xx:a3:01:13 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic5 0000:0b:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:17 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic6 0000:0c:00.00 enic Up 20000Mbps Full xx:xx:xx:a3:01:12 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic7 0000:0d:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:16 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic8 0000:0e:00.00 enic Up 20000Mbps Full xx:xx:xx:a3:01:11 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br />vmnic9 0000:0f:00.00 enic Up 20000Mbps Full xx:xx:xx:b3:01:15 9000 Cisco Systems Inc Cisco VIC Ethernet NIC<br /><strong><span style="color: #ff9900;">~ # esxcfg-vmknic -l</span></strong><br />Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSS Enabled Type<br />vmk0 Management Network IPv4 192.168.248.2 255.255.254.0 192.168.249.255 xx:xx:xx:a3:01:14 1500 65535 true STATIC<br /><span style="color: #ff0000;">vmk1 1 IPv4 192.168.240.2 255.255.254.0 192.168.241.255 xx:xx:xx:68:7c:e3 9000 65535 true STATIC</span><br />vmk3 1 IPv4 192.168.237.2 255.255.255.0 192.168.237.255 xx:xx:xx:67:0d:34 1500 65535 true STATIC<br />vmk4 1 IPv4 192.168.245.2 255.255.255.0 192.168.245.255 xx:xx:xx:68:07:a0 1500 65535 true STATIC<br />vmk5 1 IPv4 192.168.244.2 255.255.255.0 192.168.244.255 xx:xx:xx:62:60:66 1500 65535 true STATIC<br />vmk6 129 IPv4 192.168.245.102 255.255.255.0 192.168.245.255 xx:xx:xx:64:9c:a8 1500 65535 true STATIC<br />vmk7 129 IPv4 192.168.244.102 255.255.255.0 192.168.244.255 xx:xx:xx:65:b6:41 1500 65535 true STATIC<br /><span style="color: #ff0000;">vmk2 129 IPv4 192.168.242.2 255.255.254.0 192.168.243.255 xx:xx:xx:65:ff:87 9000 65535 true STATIC</span></p>
<p><span style="color: #ff9900;">~<strong> # vmkping -I vmk2 192.168.242.1 &#8211;  [ping to the esx-01 failed]</strong></span><br />PING 192.168.242.1 (192.168.242.1): 56 data bytes</p>
<p>&#8212; 192.168.242.1 ping statistics &#8212;<br />3 packets transmitted, 0 packets received, 100% packet loss<br /><strong><span style="color: #ff9900;">~ # vmkping -I vmk2 192.168.242.2   &#8211; [ this is the same host I am troubleshooting so its ping is ok.]</span></strong><br />PING 192.168.242.2 (192.168.242.2): 56 data bytes<br />64 bytes from 192.168.242.2: icmp_seq=0 ttl=64 time=0.081 ms<br />64 bytes from 192.168.242.2: icmp_seq=1 ttl=64 time=0.027 ms<br />64 bytes from 192.168.242.2: icmp_seq=2 ttl=64 time=0.055 ms</p>
<p>&#8212; 192.168.242.2 ping statistics &#8212;<br />3 packets transmitted, 3 packets received, 0% packet loss<br />round-trip min/avg/max = 0.027/0.054/0.081 ms<br />~ #<br />~<strong><span style="color: #ff9900;"> # vmkping -I </span><span style="color: #ff0000;">vmk1</span><span style="color: #ff9900;"> 192.168.242.2 [  vmk1 is the vmkernal port of FaultTolarant so it will not ping as its on a different subnet and vlan]</span></strong><br />PING 192.168.242.2 (192.168.242.2): 56 data bytes</p>
<p>&#8212; 192.168.242.2 ping statistics &#8212;<br />2 packets transmitted, 0 packets received, 100% packet loss</p>
<p><strong><span style="color: #ff9900;">~ # vmkping -I vmk1 192.168.240.2</span></strong><br />PING 192.168.240.2 (192.168.240.2): 56 data bytes<br />64 bytes from 192.168.240.2: icmp_seq=0 ttl=64 time=0.084 ms</p>
<p>&#8212; 192.168.240.2 ping statistics &#8212;<br />2 packets transmitted, 2 packets received, 0% packet loss<br />round-trip min/avg/max = 0.039/0.062/0.084 ms<br />~ # vmkping -I vmk1 192.168.240.1<br />PING 192.168.240.1 (192.168.240.1): 56 data bytes</p>
<p>&#8212; 192.168.240.1 ping statistics &#8212;<br />2 packets transmitted, 0 packets received, 100% packet loss</p>
<p>Now it is clear that the MAC and NIC are presented correct from UCS service profile and we have verified the MAC address and pinging from the vmkernal ports proofs that its is still not working.</p>
<p>I have check that they vnic template is connected to the right vlan on ucs. So next thing I have done is check the dvport group and I found that I had two uplinks on active which was wrong as one uplink is only for FT which has vlan 20and the other uplink is for vMotion which is on 21 vlan.</p>
<p>So, I have moved the dvuplink2 to unused as its for FT. on the dvport group which is for vMotion as shown below:</p>
<p><a href="https://quraishi.files.wordpress.com/2014/10/dv_switch.png"><img loading="lazy" decoding="async" class="size-full wp-image-889" src="https://quraishi.files.wordpress.com/2014/10/dv_switch.png" alt="dv_switch" width="604" height="445" /></a></p>
<p>&#8212; 192.168.242.2 ping statistics &#8212;</p>
<p>3 packets transmitted, 3 packets received, 0% packet loss<br />round-trip min/avg/max = 0.040/0.061/0.088 ms<br /><strong><span style="color: #ff9900;">~ # vmkping -I vmk2 192.168.242.1</span></strong><br /><span style="color: #99cc00;">PING 192.168.242.1 (192.168.242.1): 56 data bytes</span><br /><span style="color: #99cc00;"> 64 bytes from 192.168.242.1: icmp_seq=0 ttl=64 time=0.428 ms</span><br /><span style="color: #99cc00;"> 64 bytes from 192.168.242.1: icmp_seq=1 ttl=64 time=0.197 ms</span><br /><span style="color: #99cc00;"> 64 bytes from 192.168.242.1: icmp_seq=2 ttl=64 time=0.219 ms</span></p>
<p><span style="color: #99cc00;">&#8212; 192.168.242.1 ping statistics &#8212;</span></p>
<p><a href="https://quraishi.files.wordpress.com/2014/10/successful_migration1.png"><img loading="lazy" decoding="async" class="size-full wp-image-892" src="https://quraishi.files.wordpress.com/2014/10/successful_migration1.png" alt="successful_migration" width="604" height="20" /></a><br />3 packets transmitted, 3 packets received, 0% packet loss<br />round-trip min/avg/max = 0.197/0.281/0.428 ms</p>


<p></p>
</div><!-- .vgblk-rw-wrapper -->]]></content:encoded>
					
					<wfw:commentRss>https://agileops.co.uk/troubleshooting-the-vmotion-migration-failed-error/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">883</post-id>	</item>
	</channel>
</rss>
