<?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>ucs manger &#8211; AgileOps</title>
	<atom:link href="https://agileops.co.uk/category/ucs-manger/feed/" rel="self" type="application/rss+xml" />
	<link>https://agileops.co.uk</link>
	<description>Virtualization made simple for Everyone.</description>
	<lastBuildDate>Sat, 20 Jul 2019 13:03:27 +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>ucs manger &#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>Reset Admin password for Cisco UCS Director</title>
		<link>https://agileops.co.uk/reset-admin-password-ucs-director/</link>
					<comments>https://agileops.co.uk/reset-admin-password-ucs-director/#comments</comments>
		
		<dc:creator><![CDATA[Ibrahim Quraishi]]></dc:creator>
		<pubDate>Mon, 10 Jun 2019 00:57:57 +0000</pubDate>
				<category><![CDATA[CISCO UCS]]></category>
		<category><![CDATA[Cisco UCS Director]]></category>
		<category><![CDATA[CISCO UCS Unified Computing System]]></category>
		<category><![CDATA[reset admin password]]></category>
		<category><![CDATA[system administrator]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ucs manger]]></category>
		<category><![CDATA[cisco ucs]]></category>
		<category><![CDATA[cisco ucs director]]></category>
		<category><![CDATA[reset admin password for ucs director]]></category>
		<category><![CDATA[reset root password]]></category>
		<category><![CDATA[reset root password for cisco ucs director]]></category>
		<category><![CDATA[ucs director]]></category>
		<category><![CDATA[ucsd]]></category>
		<guid isPermaLink="false"></guid>

					<description><![CDATA[
				<![CDATA[]]>		]]></description>
										<content:encoded><![CDATA[<div class="vgblk-rw-wrapper limit-wrapper"><p><!--[CDATA[
</p--></p>


<p>Hi All,</p>



<p>In this post i am going to take you through the process of resting the admin password of UCS Director. </p>



<p>As you might be aware that UCS director is a CentOS based appliance and the process to rest the root or the admin password is a bit different then other CentOS based server as this is highly customized appliance by Cisco. </p>



<figure class="wp-block-image"><img decoding="async" src="httpss://ibrahimquraishi.com/wp-content/uploads/2019/06/Cisco-UCS-Director1-1.jpg" alt="httpss://www.cisco.com/c/pt_br/products/servers-unified-computing/ucs-director/index.html" class="wp-image-1577"/></figure>



<h2 class="wp-block-heading">Step1</h2>



<p>To login to the ssh shell we have to use  the  user &#8216;shelladmin&#8217; the default password set by Cisco is &#8216;changeme&#8217; on you first login you will be required to change this.  </p>



<figure class="wp-block-image"><img decoding="async" src="httpss://ibrahimquraishi.com/wp-content/uploads/2019/06/image.png" alt="" class="wp-image-1561"/></figure>



<p>Reenter the new password</p>



<figure class="wp-block-image"><img decoding="async" src="httpss://ibrahimquraishi.com/wp-content/uploads/2019/06/image-1.png" alt="" class="wp-image-1562"/></figure>



<h2 class="wp-block-heading">Step2</h2>



<p>You will be then presented with a menu.  you need to press option 22 to  change or reset the root password.  </p>



<p><strong><em> 22) Manage Root Access</em></strong></p>



<figure class="wp-block-image"><img decoding="async" src="httpss://ibrahimquraishi.com/wp-content/uploads/2019/06/image-2.png" alt="" class="wp-image-1563"/></figure>



<p>Type 22 as shown in the screen below</p>



<p><strong><em>SELECT&gt; 22</em></strong></p>



<figure class="wp-block-image"><img decoding="async" src="httpss://ibrahimquraishi.com/wp-content/uploads/2019/06/image-3.png" alt="" class="wp-image-1564"/></figure>



<p>You can notice that a simple password was not accepted so i had to give a complex password. create one with letters numbers and special case. </p>



<h2 class="wp-block-heading">Step3</h2>



<p>Then login to the shell as root and  run the scrip in the location.<br>  /opt/infra/dbPwdReset.sh</p>



<p>As you can see below the option to specify admin password is not give as the password will be rest to the default password which is &#8216;changeme&#8217;</p>



<figure class="wp-block-image"><img decoding="async" src="httpss://ibrahimquraishi.com/wp-content/uploads/2019/06/image-4-1024x145.png" alt="" class="wp-image-1566"/></figure>



<p>Then you can login to the UCS Director UI  as admin and change the password from &#8216;changeme&#8217; to your desired password.  Make sure you keep this password safe or remember it for the next time you login. <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" />  </p>



<p>Once the password is change you will be logout, you will need to reenter the password to login again to mange the UCS Director</p>



<p>More information about Cisco UCS Director can be found on the links below</p>



<p>Getting Started guide</p>



<p><a href="httpss://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/getting-started-guide/6-5/cisco-ucs-director-getting-started-65.html">httpss://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/getting-started-guide/6-5/cisco-ucs-director-getting-started-65.html</a></p>



<p>Overview of Cisco UCS Director  <br><a href="httpss://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/fundamentals-guide/5-4/b_UCS_Director_Fundamentals_Guide_54/Overview.pdf">httpss://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-director/fundamentals-guide/5-4/b_UCS_Director_Fundamentals_Guide_54/Overview.pdf</a> </p>



<p>References:</p>



<p><a href="httpss://www.cisco.com/c/pt_br/products/servers-unified-computing/ucs-director/index.html">httpss://www.cisco.com/c/pt_br/products/servers-unified-computing/ucs-director/index.html</a></p>


<p>]]&gt;</p></div><!-- .vgblk-rw-wrapper -->]]></content:encoded>
					
					<wfw:commentRss>https://agileops.co.uk/reset-admin-password-ucs-director/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1559</post-id>	</item>
		<item>
		<title>UCS Blade unable to ping or connect to vCenter</title>
		<link>https://agileops.co.uk/ucs-blade-unable-to-ping-or-connect-to-vcenter/</link>
					<comments>https://agileops.co.uk/ucs-blade-unable-to-ping-or-connect-to-vcenter/#comments</comments>
		
		<dc:creator><![CDATA[Ibrahim Quraishi]]></dc:creator>
		<pubDate>Fri, 31 Oct 2014 22:30:11 +0000</pubDate>
				<category><![CDATA[Cisco B200 M3 blades]]></category>
		<category><![CDATA[Cisco Boot Flash]]></category>
		<category><![CDATA[Cisco FlexFlash]]></category>
		<category><![CDATA[CISCO UCS]]></category>
		<category><![CDATA[CISCO UCS Firmware Upgrade]]></category>
		<category><![CDATA[Cisco UCS FlexFlash]]></category>
		<category><![CDATA[Cisco UCS M3 Blades]]></category>
		<category><![CDATA[cisco ucs sd card]]></category>
		<category><![CDATA[cisco ucs server]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ucs manger]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[duplicate ip address]]></category>
		<category><![CDATA[duplicate mac]]></category>
		<category><![CDATA[esxcfg-nics -l]]></category>
		<category><![CDATA[esxcfg-vmknic]]></category>
		<category><![CDATA[network connectivity issue]]></category>
		<category><![CDATA[ucs blade not responding on network]]></category>
		<category><![CDATA[UCS Blade unable to ping or connect to vCenter]]></category>
		<category><![CDATA[vmknic mac]]></category>
		<category><![CDATA[vnic mac]]></category>
		<guid isPermaLink="false">https://quraishi.wordpress.com/?p=913</guid>

					<description><![CDATA[
				<![CDATA[]]>		]]></description>
										<content:encoded><![CDATA[<div class="vgblk-rw-wrapper limit-wrapper">
				<![CDATA[<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-9905384192895993",
    enable_page_level_ads: true
  });
</script>

Hi All,

I came across a strange issue where 2 blades was unable to ping I could get 2 ping and then Request time outs

<strong>Problem :</strong> 2 Servers( in the same chassis server 3,4 ) unable to ping their gateway. Ping drops are after 1-2 packets. We cannot ping/ssh to them from outside and they cannot be added to vCenter. Other blades in the same chassis are working ( 1,2)

<strong>Steps Taken :</strong>


<ol>
	

<li>Confirmed that we do not have any IP conflicts</li>


	

<li>Made sure that we do not use the same subnet anywhere else in the network</li>


	

<li>Also checked and confirmed that the Mgmt(CIMC) subnet is different</li>


</ol>


<a href="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/ucs1-1.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-923" src="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/ucs1-1.png" alt="ucs1" width="604" height="160" /></a>


<ol>
	

<li>Started a ping from inside a Host ( Server-3 ) to check if you are able to get to the gateway</li>


	

<li>Checked vobd logs  to find if you can find any  entrie <span style="font-size:13px;">for duplicate ip/mac</span></li>


	

<li>Checked the Mgmt Interface : vmk0</li>


	

<li>It is connected to Port Group : Management Network  on VLAN ID, Check if we are  using the right vlan</li>


	

<li>Found that the MAC Address of the vmk0 is same as vnic (vmnic0) : This is a known issue VMware KB article <a title="Duplicate MAC addresses" href="https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1031111" target="_blank">here</a>. This is the vnic mac address of the service profile which is attached to the esx blade.</li>


	

<li>Deleted and re-created the vmk0 interface</li>


	

<li>Confirmed that the MAC Address has changed</li>


	

<li>Started a continuous ping which work fine now</li>


	

<li>Host can now be added to the vCenter</li>


</ol>


&nbsp;

&nbsp;

So let me go through of the process of how we found the duplicate mac address.

The vnic mac address was taken by vmknic  as you might know vmknic mad starts with 00:50:56 but in my case it was same as the mac address of vnic from the service profile.<span id="more-913"></span>

login to the host and give the command

<em><strong>#esxcfg-nics -l</strong></em>


<p style="text-align:justify;"><a href="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/esxcfg-nics1-1.png"><img decoding="async" class="alignright wp-image-925 size-full" src="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/esxcfg-nics1-1.png" alt="" width="984" height="54" /></a></p>


this gives the list of vnics assigned to the service profile, note the management nics in my case vnic 0 and 1

then give the below command to get the vmkernal nics

<em><strong>#esxcfg-vmknic -l</strong></em>


<p style="text-align:justify;"><a href="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/p11-1.png"><img decoding="async" class="alignright wp-image-915 size-full" src="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/p11-1.png" alt="" width="1027" height="78" /></a></p>


as you can see above the mac address is not starting from 00:50:56 and it is been duplicated from the vnic template from the service profile vnic0 which is the root cause for the connectivity issue.

Now to fix this we have to delete the virtual switch and re-create it.

<em><strong>#esxcfg-vswitch -l</strong></em>

This lists the virtual switches


<p style="text-align:justify;"><img loading="lazy" decoding="async" class="wp-image-920 size-full" src="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/p21-1.png" alt="" width="649" height="152" /></p>


#esxcfg-vmknic -d -p &#8216;Management Network&#8217;

you have to specify exact name of the port

Now we will need to add the vmknic with the same Management network

<em><strong>#esxcfg-vmknic -a -i &lt;IPaddress&gt; -n &lt;Netmask&gt; &#8216;Management Network&#8217; </strong></em>

and also give the command <em><strong>#esxcfg-vswitch -l</strong></em>  to check the Management network created as shown below.

note you can not give a gateway at this point you can specify frm DCA


<p style="text-align:justify;"><a href="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/p3-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-918" src="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/p3-1.png" alt="p3" width="604" height="124" /></a></p>


 you should now be able to ping to the host as it has got a new mac address to check it you can give the command

<em><strong>#esxcfg-vmknic -l</strong></em>


<p style="text-align:justify;"><a href="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/p34-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-922" src="httpss://ibrahimquraishi.com/wp-content/uploads/2014/10/p34-1.png" alt="p34" width="604" height="53" /></a></p>


&nbsp;

for a continus ping you can give

#ping &lt;gateway ip&gt; -c 100

this will give 100 continuous pings

&nbsp;

Reference:

<a href="https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1031111">https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1031111</a>]]&gt;		</div>
<p><!-- .vgblk-rw-wrapper --></p>
]]></content:encoded>
					
					<wfw:commentRss>https://agileops.co.uk/ucs-blade-unable-to-ping-or-connect-to-vcenter/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">913</post-id>	</item>
	</channel>
</rss>
