<?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>Colocation to Virtualization &#187; Uncategorized</title>
	<atom:link href="http://blog.colovirt.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.colovirt.com</link>
	<description>and linux between</description>
	<lastBuildDate>Thu, 05 Jan 2012 08:00:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.colovirt.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/afd0d00d02b5abc67acf29066e3d1e3b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Colocation to Virtualization &#187; Uncategorized</title>
		<link>http://blog.colovirt.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.colovirt.com/osd.xml" title="Colocation to Virtualization" />
	<atom:link rel='hub' href='http://blog.colovirt.com/?pushpress=hub'/>
		<item>
		<title>Cisco UCS 6120 Manual Switch Failover</title>
		<link>http://blog.colovirt.com/2010/08/10/cisco-ucs-6120-manual-switch-failover/</link>
		<comments>http://blog.colovirt.com/2010/08/10/cisco-ucs-6120-manual-switch-failover/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 17:08:26 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[6120]]></category>
		<category><![CDATA[cisco ucs]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[cluster lead]]></category>
		<category><![CDATA[cluster state]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[connect local-mgmt]]></category>
		<category><![CDATA[fail over]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[local-mgmt]]></category>
		<category><![CDATA[primary]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[state]]></category>
		<category><![CDATA[subordinate]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[ucs]]></category>
		<category><![CDATA[ucsm]]></category>

		<guid isPermaLink="false">http://blog.colovirt.com/?p=942</guid>
		<description><![CDATA[Cisco UCS 6120 Manual Switch Failover<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=942&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Over the weekend maintenance, I needed to manually failover the primary role from one 6120 to the other.  This was being done as part of our firmware upgrade to 1.3(1c).  Below is the process of failing over.</p>
<p><strong>Login to the primary 6120 via the UCS cluster IP address (SSH).</strong></p>
<p><strong>Verify the current state (roles) of the cluster</strong></p>
<pre>ucs01-B# show cluster state
Cluster Id: 0xg7949/79843654he-0x8486a7868s8787785

A: UP, SUBORDINATE
B: UP, PRIMARY</pre>
<p><strong><span id="more-942"></span>Enter local management on the primary.</strong></p>
<pre>ucs01-B# connect local-mgmt
Cisco UCS 6100 Series Fabric Interconnect</pre>
<p><strong>Since the &#8220;b&#8221; 6120 is the current primary, the following will activate &#8220;a&#8221; as the primary.</strong></p>
<pre>ucs01-B(local-mgmt)# cluster lead a
Cluster Id: 0xg7949/79843654he-0x8486a7868s8787785</pre>
<p><strong>Verify that the subordinate 6120 has now become the primary.  This was done by SSHing directly to 6120 &#8220;a&#8221;.</strong></p>
<pre>ucs01-A# show cluster state
Cluster Id: 0xg7949/79843654he-0x8486a7868s8787785

A: UP, PRIMARY
B: UP, SUBORDINATE

HA READY</pre>
<p><strong>Process to failover</strong><br />
1. Login to the primary 6120 via the UCS cluster IP address.<br />
2. Verify the current primary 6120 in the cluster.<br />
3. Enter local management on the primary via &#8220;connect local-mgmt&#8221; command.<br />
4. Issue the &#8220;cluster lead x&#8221; command to make the subordinate switch become the primary.  Replace &#8220;x&#8221; with the correct switch letter.<br />
5. Verify that the role has changed on the previously subordinate switch by SSH&#8217;ing into it and issuing the &#8220;show cluster state&#8221; command.  The switch show now show up as the primary.<br />
<strong></strong></p>
<p><strong>Notes: I listed the 5 step process above with the &#8220;fluff&#8221; removed.  Just in case you don&#8217;t need to see the command(s) output.</strong></p>
<br />Filed under: <a href='http://blog.colovirt.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/942/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/942/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/942/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=942&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2010/08/10/cisco-ucs-6120-manual-switch-failover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>
	</item>
		<item>
		<title>Cisco UCS 6120 Management IP Change</title>
		<link>http://blog.colovirt.com/2010/08/02/cisco-ucs-6120-management-ip-change/</link>
		<comments>http://blog.colovirt.com/2010/08/02/cisco-ucs-6120-management-ip-change/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 19:24:02 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[ucs]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[Management IP]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[scope]]></category>
		<category><![CDATA[commit-buffer]]></category>
		<category><![CDATA[scope fabric-interconnect]]></category>
		<category><![CDATA[fabric-interconnect]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[out-of-band]]></category>
		<category><![CDATA[set out-of-band ip]]></category>
		<category><![CDATA[save changes]]></category>

		<guid isPermaLink="false">http://blog.colovirt.com/?p=931</guid>
		<description><![CDATA[Cisco UCS 6120 Management IP Change<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=931&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A few days ago when I was in the process of replacing a 6120 switch in our UCS environment. At one point I had to boot the new switch with a different IP address and update the firmware.  At the time I could not find the syntax to change the IP to its permanenet one via the CLI.</p>
<p>Instead, I just erased the configuration (needed to pull the permanent config from the cluster anyways) and rebooted the unit.  This took ~15 minutes to reset and re-configure the management interface.<span id="more-931"></span></p>
<p>I was able to find the process in a Cisco document (Linked to PDF below) and tested it on another switch.</p>
<p>First, connect into the Command Line Interface (CLI) of the 6120.</p>
<p><strong>Change the &#8220;scope&#8221; to match the 6120 that you want to modify.  We will be working with 6120 / fabric-interconnect a.</strong></p>
<pre>New6120-A# scope fabric-interconnect a</pre>
<p><strong>IP information is changed using the &#8220;set&#8221; command.  It is as easy as below</strong></p>
<pre>New6120-A /fabric-interconnect # set out-of-band ip 172.16.0.67 netmask 255.255.255.0 gw 172.16.0.1
Warning: When committed, this change may disconnect the current CLI session</pre>
<p><strong>Once you have made the changes, &#8220;commit-buffer&#8221; must be executed to activate the changes</strong></p>
<pre>New6120-A /fabric-interconnect* # commit-buffer</pre>
<p><strong>The following is from a continuous ping that was running from a local machine.  Pings started completing immediately after the changes were committed.</strong></p>
<pre>Request timed out.
Request timed out.
Request timed out.
Request timed out.
Reply from 172.16.0.67: bytes=32 time=5ms TTL=63
Reply from 172.16.0.67: bytes=32 time=1ms TTL=63
Reply from 172.16.0.67: bytes=32 time&lt;1ms TTL=63
Reply from 172.16.0.67: bytes=32 time=4ms TTL=63</pre>
<p><strong>This process can be referenced in Cisco&#8217;s official documentation (Large PDF) linked below.</strong><br />
Page 55 in <a href="http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/cli/config/guide/1.3.1/CLI_Config_Guide_1_3_1.pdf" target="_blank">UCS CLI Configuration Guide 1.3.1</a></p>
<p><a href="http://twitter.com/colovirt">Follow me on Twitter</a></p>
<br />Filed under: <a href='http://blog.colovirt.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/931/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/931/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/931/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/931/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/931/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/931/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/931/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/931/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=931&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2010/08/02/cisco-ucs-6120-management-ip-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>
	</item>
		<item>
		<title>Cisco UCS 6120 Startup Times</title>
		<link>http://blog.colovirt.com/2010/07/30/cisco-ucs-6120-startup-times/</link>
		<comments>http://blog.colovirt.com/2010/07/30/cisco-ucs-6120-startup-times/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 13:00:52 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.colovirt.com/?p=935</guid>
		<description><![CDATA[Cisco UCS 6120 Startup Times<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=935&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I like to time almost everything.  So naturally during my last maintenenace in our UCS environment I wanted to determing the amount of time it took for the 6120 to reboot.  I wound up having to restart the 6120 multiple times and found the following times to be pretty consistent:<span id="more-935"></span></p>
<p><strong>Time to shutdown: </strong>~30 seconds</p>
<p><strong><span style="font-weight:normal;">From boot:</span></p>
<p></strong></p>
<table>
<tbody>
<tr>
<td><strong>Loading firmware: </strong></td>
<td>~2.18 minutes</td>
</tr>
<tr>
<td><strong>Time to network ping: </strong></td>
<td>~3.23 minutes(no ssh access yet)</td>
</tr>
<tr>
<td><strong>Time to CLI serial console: </strong></td>
<td>~5.20 minutes</td>
</tr>
<tr>
<td><strong>Remote access via SSH: </strong></td>
<td>~5.20 minutes</td>
</tr>
</tbody>
</table>
<p><strong><span style="font-weight:normal;">It seems that SSH access came in at almost exactly the same time as the CLI console.  Some of you might find this useful, some not.  Just figured I would post it either way.</span></p>
<p></strong></p>
<br />Filed under: <a href='http://blog.colovirt.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/935/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/935/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/935/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=935&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2010/07/30/cisco-ucs-6120-startup-times/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>
	</item>
		<item>
		<title>Cisco UCS IO Module Fabric Port Pinning</title>
		<link>http://blog.colovirt.com/2010/06/30/cisco-ucs-io-module-fabric-port-pinning/</link>
		<comments>http://blog.colovirt.com/2010/06/30/cisco-ucs-io-module-fabric-port-pinning/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 12:52:45 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[error disabled]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[io module]]></category>
		<category><![CDATA[iom]]></category>
		<category><![CDATA[LinedKin]]></category>
		<category><![CDATA[nxos]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[port pinning]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[redudnancy]]></category>
		<category><![CDATA[ucs]]></category>
		<category><![CDATA[unified computing]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.colovirt.com/?p=892</guid>
		<description><![CDATA[Cisco UCS IO Module Fabric Port Pinning<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=892&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently we have had issues with our chassis 2 iom (IO Module) 1 port 1.  In the process of troubleshooting, Cisco sent out a replacement IO module hoping it would solve the issue.  Turns out one thing that I did not know is that once the &#8220;fabric ports&#8221; on the IOM have been wired, it must keep the same cabling.</p>
<p>I had the great (not really) idea to swap cable 1 and 2 on the IOM while I was replacing the module.  I figured that if it was a port issue on the 6120 blade switch that the problem would move to the new port.  Turns out the IOM freaked out when this happened and downed the ports that were not where they had been.</p>
<p>The part which made it more difficult to track down was the the &#8220;fabric ports&#8221; (links from chassis to switch) all showed green.  It was 3 of the 8 backend ports on the IOM that were errored.</p>
<p><strong>Here is a server interface that was pinned to a removed port from the UCS Manager CLI.  Below shows the downed interfaces as &#8220;Error disabled&#8221;.</strong></p>
<pre>ucsm01-A(nxos)# sh interface brief | inc "Error disabled"
Eth2/1/3      1      eth  access down    Error disabled              10G(D) --</pre>
<p><strong>Once the 10g cables (SFPs) were swapped back to their origional locations, this ports came back.  Here the status now shows &#8220;up&#8221;</strong></p>
<pre>ucsm01-A(nxos)# sh interface brief | inc Eth2/1/3
Eth2/1/3      1      eth  access up      none                        10G(D) --</pre>
<p>Again, the resolution here was to put the cabling back in their origional locations.  Even with this being a new IO module, UCS loaded it with the configuration from the origional card.  While talking with Cisco TAC, they said that the development group is working on making the IO module switch uplinks swappable (dynamic) and not statically pinned.</p>
<p><strong>This really wasn&#8217;t a major issue due to UCS having redundancy built in, we never lost connectivity to a server.  It&#8217;s just one of those &#8220;gotchas&#8221; that I ran into while troubleshooting a port.</strong></p>
<br />Filed under: <a href='http://blog.colovirt.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/892/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/892/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/892/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=892&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2010/06/30/cisco-ucs-io-module-fabric-port-pinning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>
	</item>
		<item>
		<title>Cisco UCS Implementation In Pictures: Part 1 Nexus 5010 And 2148 Fabric Extenders</title>
		<link>http://blog.colovirt.com/2010/05/06/cisco-ucs-implementation-in-pictures-part-1-nexus-5010-and-2148-fabric-extenders/</link>
		<comments>http://blog.colovirt.com/2010/05/06/cisco-ucs-implementation-in-pictures-part-1-nexus-5010-and-2148-fabric-extenders/#comments</comments>
		<pubDate>Thu, 06 May 2010 13:07:10 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[10 gigabit]]></category>
		<category><![CDATA[10gE]]></category>
		<category><![CDATA[2148]]></category>
		<category><![CDATA[5010]]></category>
		<category><![CDATA[Cisco Unified Computing]]></category>
		<category><![CDATA[fabric extender]]></category>
		<category><![CDATA[gigabit]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[N2K-C2148T-1GE]]></category>
		<category><![CDATA[Nexus 5010]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[pictures of cisco nexus 5010]]></category>
		<category><![CDATA[rack install]]></category>

		<guid isPermaLink="false">http://blog.colovirt.com/?p=723</guid>
		<description><![CDATA[Cisco UCS Implementation In Pictures: Part 1 Nexus 5010 And 2148 Fabric Extenders<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=723&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Below is a collection of photos from phase 1 of our Cisco UCS implementation.  This consisted of installing Nexus 5010&#8242;s with 2148 gigabit Ethernet fabric extenders to replace a few existing switches in the datacenter.  In doing so, we were able to move our existing physical (IBM 3850M2) VMware cluster to 10gE and FCOE.</p>
<p>Doing so allowed us to free up fiber ports on our Cisco MDS 9124 switches needed later on in the UCS blade chassis implementation.  I love pictures of equipment so I figured I would share.</p>
<div id="attachment_745" class="wp-caption alignnone" style="width: 235px"><a href="http://colovirt.files.wordpress.com/2010/05/img_10922.jpg"><img class="size-medium wp-image-745" title="Floor Jack Loader" src="http://colovirt.files.wordpress.com/2010/05/img_10922.jpg?w=225&#038;h=300" alt="" width="225" height="300" /></a><p class="wp-caption-text">Floor Jack Loader</p></div>
<p><span id="more-723"></span></p>
<div id="attachment_746" class="wp-caption alignnone" style="width: 235px"><a href="http://colovirt.files.wordpress.com/2010/05/img_10942.jpg"><img class="size-medium wp-image-746" title="Nexus 5010 Un-boxed" src="http://colovirt.files.wordpress.com/2010/05/img_10942.jpg?w=225&#038;h=300" alt="" width="225" height="300" /></a><p class="wp-caption-text">Nexus 5010 Un-boxed</p></div>
<div id="attachment_747" class="wp-caption alignnone" style="width: 310px"><a href="http://colovirt.files.wordpress.com/2010/05/img_10962.jpg"><img class="size-medium wp-image-747" title="Nexus 5010s Racked" src="http://colovirt.files.wordpress.com/2010/05/img_10962.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">Nexus 5010s Racked</p></div>
<div id="attachment_748" class="wp-caption alignnone" style="width: 310px"><a href="http://colovirt.files.wordpress.com/2010/05/img_10982.jpg"><img class="size-medium wp-image-748" title="Nexus 5010s With Fabric Extenders" src="http://colovirt.files.wordpress.com/2010/05/img_10982.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">Nexus 5010s With Fabric Extenders</p></div>
<div id="attachment_749" class="wp-caption alignnone" style="width: 310px"><a href="http://colovirt.files.wordpress.com/2010/05/img_10992.jpg"><img class="size-medium wp-image-749" title="Nexus 5010s Racked Front - Cold Aisle" src="http://colovirt.files.wordpress.com/2010/05/img_10992.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">Nexus 5010s Racked Front - Cold Aisle</p></div>
<div id="attachment_751" class="wp-caption alignnone" style="width: 310px"><a href="http://colovirt.files.wordpress.com/2010/05/img_12772.jpg"><img class="size-medium wp-image-751" title="5010's Rear Wired - Hot Aisle " src="http://colovirt.files.wordpress.com/2010/05/img_12772.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">5010&#039;s Rear Wired - Hot Aisle </p></div>
<div id="attachment_737" class="wp-caption alignnone" style="width: 235px"><a href="http://colovirt.files.wordpress.com/2010/05/img_12801.jpg"><img class="size-medium wp-image-737" title="N2K-C2148T-1GE Fabric Extenders In Network Rack" src="http://colovirt.files.wordpress.com/2010/05/img_12801.jpg?w=225&#038;h=300" alt="" width="225" height="300" /></a><p class="wp-caption-text">N2K-C2148T-1GE Fabric Extenders In Network Rack</p></div>
<br />Filed under: <a href='http://blog.colovirt.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/723/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/723/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/723/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=723&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2010/05/06/cisco-ucs-implementation-in-pictures-part-1-nexus-5010-and-2148-fabric-extenders/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>

		<media:content url="http://colovirt.files.wordpress.com/2010/05/img_10922.jpg?w=225" medium="image">
			<media:title type="html">Floor Jack Loader</media:title>
		</media:content>

		<media:content url="http://colovirt.files.wordpress.com/2010/05/img_10942.jpg?w=225" medium="image">
			<media:title type="html">Nexus 5010 Un-boxed</media:title>
		</media:content>

		<media:content url="http://colovirt.files.wordpress.com/2010/05/img_10962.jpg?w=300" medium="image">
			<media:title type="html">Nexus 5010s Racked</media:title>
		</media:content>

		<media:content url="http://colovirt.files.wordpress.com/2010/05/img_10982.jpg?w=300" medium="image">
			<media:title type="html">Nexus 5010s With Fabric Extenders</media:title>
		</media:content>

		<media:content url="http://colovirt.files.wordpress.com/2010/05/img_10992.jpg?w=300" medium="image">
			<media:title type="html">Nexus 5010s Racked Front - Cold Aisle</media:title>
		</media:content>

		<media:content url="http://colovirt.files.wordpress.com/2010/05/img_12772.jpg?w=300" medium="image">
			<media:title type="html">5010&#039;s Rear Wired - Hot Aisle </media:title>
		</media:content>

		<media:content url="http://colovirt.files.wordpress.com/2010/05/img_12801.jpg?w=225" medium="image">
			<media:title type="html">N2K-C2148T-1GE Fabric Extenders In Network Rack</media:title>
		</media:content>
	</item>
		<item>
		<title>Networking, SAN: Cisco MDS Switch Scheduled Backups</title>
		<link>http://blog.colovirt.com/2009/11/10/networking-san-cisco-mds-switch-scheduled-backups/</link>
		<comments>http://blog.colovirt.com/2009/11/10/networking-san-cisco-mds-switch-scheduled-backups/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 18:43:48 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[mds]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[tftp]]></category>

		<guid isPermaLink="false">http://blog.colovirt.com/?p=649</guid>
		<description><![CDATA[Most people are good about making backup copies of their configuration before changes, but everyone makes mistakes eventually. To me the risk is not worth it, so this will be dedicated to automating Cisco TFTP backups of configurations. Most server administrators have automated tasks using either Cron (Linux/Unix) or Windows Scheduler. Cisco IOS also has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=649&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most people are good about making backup copies of their configuration before changes, but everyone makes mistakes eventually.  To me the risk is not worth it, so this will be dedicated to automating Cisco TFTP backups of configurations.  Most server administrators have automated tasks using either Cron (Linux/Unix) or Windows Scheduler.  Cisco IOS also has the ability to schedule tasks.</p>
<p>I am very picky when it comes to my Cisco devices.  A lot of information I read on this had the schedule execute &#8220;copy running-config startup&#8221; and would only backup one configuration.  This is not a good thing, especially when there are multiple device managers.  Below will go through setting up two jobs that backup both the running and saved configurations to different files daily.<span id="more-649"></span></p>
<p><strong>Note:  This assumes that you already have a TFTP server running on the network.</strong></p>
<p><strong>After logging into the switch, move into configuration mode</strong></p>
<pre>FiberSw01# config terminal
Enter configuration commands, one per line.  End with CNTL/Z.</pre>
<p><strong>Enable the scheduler</strong></p>
<pre>FiberSw01(config)# scheduler enable</pre>
<p><strong>Crate a job named &#8220;backup_running&#8221;</strong></p>
<pre>FiberSw01(config)# scheduler job name backup_running</pre>
<p><strong>Enter the syntax used to copy the running configuration to your TFTP server</strong></p>
<pre>FiberSw01(config-job)# copy running-config tftp://172.0.0.22:69/config/FiberSw01_running</pre>
<p><strong>Exit configuration mode</strong></p>
<pre>FiberSw01(config-job)# end</pre>
<p><strong>Now that we have a job defined, make sure it is listed with the scheduler</strong></p>
<pre>FiberSw01# show scheduler job
Job Name: backup_running
------------------------
   copy running-config tftp://172.0.0.22:69/config/FiberSw01_running
==============================================================================</pre>
<p><strong>With the job defined, we can go back in and set when we want it executed</strong></p>
<pre>FiberSw01# config terminal
Enter configuration commands, one per line.  End with CNTL/Z.</pre>
<p><strong>Define a new schedule name and set execution time(s)</strong></p>
<pre>FiberSw01(config)# scheduler schedule name Backup_Running
FiberSw01(config-schedule)# time daily 23:00
FiberSw01(config-schedule)# job name backup_running
FiberSw01(config-schedule)# end</pre>
<p><strong>Now the schedule(s) can be listed with names, execution times, and status</strong></p>
<pre>FiberSw01# show scheduler schedule
Schedule Name       : Backup_Running
------------------------------------
User Name           : user
Schedule Type       : Run every day at 23 Hrs 0 Mins
Last Execution Time : Yet to be executed
-----------------------------------------------
     Job Name            Last Execution Status
-----------------------------------------------
    backup_running                        -NA-
==============================================================================</pre>
<p><strong>Since the running configuration was backed up previously, we can go in configure the startup configuration backup.  All commands are close to above except the tftp file name</strong></p>
<pre>FiberSw01# config terminal
Enter configuration commands, one per line.  End with CNTL/Z.
FiberSw01(config)# scheduler job name backup_startup
FiberSw01(config-job)# copy startup-config tftp://172.0.0.22:69/config/FiberSw01_startup
FiberSw01(config-job)# end

FiberSw01# config t
Enter configuration commands, one per line.  End with CNTL/Z.
FiberSw01(config)# scheduler schedule name Backup_Startup
FiberSw01(config-schedule)# time daily 23:05
FiberSw01(config-schedule)# job name backup_startup
FiberSw01(config-schedule)# end</pre>
<p><strong>Check the schedule once more and both jobs show up</strong></p>
<pre>FiberSw01# show scheduler schedule
Schedule Name       : Backup_Running
------------------------------------
User Name           : user
Schedule Type       : Run every day at 23 Hrs 0 Mins
Last Execution Time : Yet to be executed
-----------------------------------------------
     Job Name            Last Execution Status
-----------------------------------------------
    backup_running                        -NA-
==============================================================================
Schedule Name       : Backup_Startup
------------------------------------
User Name           : user
Schedule Type       : Run every day at 23 Hrs 5 Mins
Last Execution Time : Yet to be executed
-----------------------------------------------
     Job Name            Last Execution Status
-----------------------------------------------
    backup_startup                        -NA-
==============================================================================
<pre><strong>Now that the configuration is done, save the current (running) configuration so the schedules will not be lost on reboot</strong>
<pre>FiberSw01# copy running-config startup-config
[########################################] 100%</pre>
<p><strong>Notes: The above was done on Cisco MDS Switches but should work on most other Ciso IOS versions.  Also, the Execution Status will change after the job is executed.</strong></pre>
</pre>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/649/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/649/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/649/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=649&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2009/11/10/networking-san-cisco-mds-switch-scheduled-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux/Unix/File Systems: Inodes (Part 2) – File Level Inode Information And Removal</title>
		<link>http://blog.colovirt.com/2009/04/13/linuxunixfile-systems-inodes-part-2-file-level-inode-information-and-removal/</link>
		<comments>http://blog.colovirt.com/2009/04/13/linuxunixfile-systems-inodes-part-2-file-level-inode-information-and-removal/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 08:00:03 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[Filesystems]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[chown]]></category>
		<category><![CDATA[exec]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[gid]]></category>
		<category><![CDATA[inode]]></category>
		<category><![CDATA[inodes]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rm]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uid]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://blog.colovirt.com/?p=497</guid>
		<description><![CDATA[Linux/Unix/File Systems: Inodes (Part 2) - File Level Inode Information And Removal<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=497&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Inodes &#8220;Part 1&#8243; went into locating filesystem level inode information.  Here we will move from the main filesystem to the individual file.  Besides reviewing how the inode record reflects permissions modification using chown, file removal based on inode number will be covered.</p>
<p><strong>Create a test file</strong></p>
<pre>user01@testsrv:~$ touch testfile</pre>
<p><strong>Below, &#8220;ls&#8221; is used to display the inode number (2009418) of the test file </strong></p>
<pre>user01@testsrv:~$ ls -i /home/user01/testfile
<strong>2009418</strong> /home/user01/testfile
<span id="more-497"></span><strong>Check the inode record for the newly created empty file</strong></pre>
<pre>user01@testsrv:~$ stat /home/user01/testfile
File: `/home/user01/testfile'
Size: 0         	Blocks: 0          IO Block: 4096   regular empty file
Device: fe01h/65025d	Inode: 2009418     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/user01)   Gid: ( 1000/user01)
Access: 2009-04-10 17:52:59.000000000 -0400
Modify: 2009-04-10 17:52:58.000000000 -0400
Change: 2009-04-10 17:52:58.000000000 -0400</pre>
<p><strong>In the following example, a file is being checked that is solely owned by the root user</strong></p>
<pre>user01@testsrv:~$ ls -la /home/user01/w2k3-2.iso
-rw-r--r-- 1 root root 171769856 2009-03-28 13:15 /home/user01/w2k3-2.iso</pre>
<p><strong>Review the root owned ISO file inode information.  The user and group ownership is referenced as Uid and Gid respectively</strong></p>
<pre>user01@testsrv:~$ stat /home/user01/w2k3-2.iso
File: `/home/user01/w2k3-2.iso'
Size: 171769856 	Blocks: 335824     IO Block: 4096   regular file
Device: fe01h/65025d	Inode: 2009538     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2009-03-28 13:11:44.000000000 -0400
Modify: 2009-03-28 13:15:33.000000000 -0400
Change: 2009-03-28 13:15:33.000000000 -0400</pre>
<p><strong>Change the permissions of the ISO file via the root user (current owner of the file)</strong></p>
<pre>root@testsrv:/home/user01# chown user01:user01 /home/user01/w2k3-2.iso</pre>
<p><strong>Re-check tje ISO file permission from the initial user (user01) via the ls command</strong></p>
<pre>user01@testsrv:~$ ls -la /home/user01/w2k3-2.iso
-rw-r--r-- 1 user01 user01 171769856 2009-03-28 13:15 /home/user01/w2k3-2.iso</pre>
<p><strong>Re-stat the ISO file to view the changes in the inode record.  As you can see, the file ownership is now set to user user01 and group user01</strong></p>
<pre>user01@testsrv:~$ stat /home/user01/w2k3-2.iso
File: `/home/user01/w2k3-2.iso'
Size: 171769856 	Blocks: 335824     IO Block: 4096   regular file
Device: fe01h/65025d	Inode: 2009538     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/user01)   Gid: ( 1000/user01)
Access: 2009-03-28 13:11:44.000000000 -0400
Modify: 2009-03-28 13:15:33.000000000 -0400
Change: 2009-04-10 17:57:35.000000000 -0400</pre>
<p><strong>For the next example user01 is kept as the user, but the group is changed to &#8216;admin&#8217;.  Since the current user user01 now has full rights to the file, it can be done from that account</strong></p>
<pre>user01@testsrv:~$ chown :admin /home/user01/w2k3-2.iso</pre>
<p><strong>Re-stat the file once more to see if the group (Gid) has been changed in the inode for this file</strong></p>
<pre>user01@testsrv:~$ stat /home/user01/w2k3-2.iso
File: `/home/user01/w2k3-2.iso'
Size: 171769856 	Blocks: 335824     IO Block: 4096   regular file
Device: fe01h/65025d	Inode: 2009538     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/user01)   Gid: (  119/   admin)
Access: 2009-03-28 13:11:44.000000000 -0400
Modify: 2009-03-28 13:15:33.000000000 -0400
Change: 2009-04-10 18:00:32.000000000 -0400</pre>
<p><strong>Now with the basic understanding of finding an retrieving inode numbers and information, we will proceed to removing files using the &#8220;rm&#8221; command.  Specifically, the following will detail how to remove a file by referencing the inode number.  All of which is done by using &#8220;find&#8221; and passing the results to &#8220;rm&#8221;.</strong></p>
<p><strong>There have only been a few occasions that I can remember where I have needed to know the following, but it is worth knowing!  The main benefit is when a file has been created with a control character in the name</strong></p>
<p><strong>Create a test file</strong></p>
<pre>user01@testsrv:/tmp/testdir$ touch '`'
user01@testsrv:/tmp/testdir$ ls
`</pre>
<p><strong>Try to remove the file without enclosing the &#8220;`&#8221; filename</strong></p>
<pre>user01@testsrv:/tmp/testdir$ rm `
&gt;</pre>
<p><strong>Above you can see that the command did not work.  Instead it dropped to the &#8220;&gt;&#8221; sub-prompt</strong></p>
<p><strong>Locate the inode number for the &#8220;`&#8221; file.  Tab based auto-complete does wonders escaping the special character filename on the command line</strong></p>
<pre>user01@testsrv:/tmp/testdir$ ls -i /tmp/testdir/`
1163285 /tmp/testdir/`</pre>
<p><strong>Now that the inode number is known, the &#8220;find&#8221; command can be used to retrieve the filename associated with it</strong></p>
<pre>user01@testsrv:/tmp/testdir$ find /tmp -inum 1163285
/tmp/testdir/`</pre>
<p><strong>Putting it all together, we can remove the file passing the &#8220;find&#8221; results to &#8220;rm&#8221;.  Below uses a command line pipe (&#8220;|&#8221;) and xargs to accomplish this</strong></p>
<pre>user01@testsrv:/tmp/testdir$ find /tmp -inum 1163285 | xargs rm</pre>
<p><strong>Verify the file has been removed</strong></p>
<pre>user01@testsrv:/tmp/testdir$ ls /tmp/testdir/</pre>
<p><strong>The same can be accomplished via find commands built-in exec feature</strong></p>
<pre>user01@testsrv:/tmp/testdir$ find /tmp -inum 1163285 -exec rm {} ;</pre>
<p><strong>In my opinion, the best way to remove a file via the inode number is as follows</strong></p>
<pre>user01@testsrv:~$ find /tmp -inum 1163285 -exec rm -i {} ;
rm: remove regular empty file `/tmp/testdir/`'? <strong>y</strong></pre>
<p><strong>Specifying &#8220;-i&#8221; after rm makes the user verify the file to be removed.</strong></p>
<p><strong>Notes: There are other ways around removing files with certain characters.  In this chase, the &#8220;`&#8221; file could have been removed with:</strong></p>
<pre>user01@testsrv:/tmp/testdir$ rm /tmp/testdir/`</pre>
<p><strong>If any information in this post is found to be outdated, incorrect, useful, or needs further detail, please leave a comment or email me.</strong></p>
<br />Posted in Filesystems, Linux, Monitoring, Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/497/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=497&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2009/04/13/linuxunixfile-systems-inodes-part-2-file-level-inode-information-and-removal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>
	</item>
		<item>
		<title>NetApp: Enabling Deduplication (ASIS) On A Volume</title>
		<link>http://blog.colovirt.com/2008/11/14/netapp-enabling-deduplication-asis-on-a-volume/</link>
		<comments>http://blog.colovirt.com/2008/11/14/netapp-enabling-deduplication-asis-on-a-volume/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 09:31:05 +0000</pubDate>
		<dc:creator>Kevin Goodman</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[asis]]></category>
		<category><![CDATA[a_sis]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[dedupe]]></category>
		<category><![CDATA[deduplication]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[nearstore]]></category>
		<category><![CDATA[nearstore_option]]></category>
		<category><![CDATA[netapp]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[sis]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://colovirt.wordpress.com/?p=251</guid>
		<description><![CDATA[How to setup NetApp deduplication (formerly ASIS) on an existing volume<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=251&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Below shows how to setup NetApp deduplication (formerly ASIS) on an existing volume.  The following example is running NetApp Release 7.2.5.1.  The license are now free, and were already installed.</p>
<p><strong>Check to make sure the licensces are installed</strong><br />
NAS&gt; license<br />
nearstore_option xxxxxZH<br />
a_sis xxxxxCG</p>
<p><strong>Enable sis (deduplication) on the volume</strong><br />
NAS&gt; sis on /vol/testVol<br />
SIS for &#8220;/vol/testVol&#8221; is enabled.<br />
Already existing data could be processed by running &#8220;sis start -s /vol/testVol&#8221;.</p>
<p><strong>Initiate deduplication service</strong><br />
NAS&gt; sis start -s /vol/testVol<br />
The file system will be scanned to process existing data in /vol/testVol.<br />
This operation may initialize related existing metafiles.<br />
Are you sure you want to proceed with scan (y/n)? y</p>
<p>Thu Nov 13 10:01:38 EST [wafl.scan.start:info]: Starting SIS volume scan on volume testVol.<br />
The SIS operation for &#8220;/vol/testVol&#8221; is started.</p>
<p><span id="more-251"></span>NAS&gt; Thu Nov 13 10:01:42 EST [wafl.snap.delete:info]: Snapshot copy sis.93057f3c-aed8-11dd-a6d9-00a09804ad86 on volume testVol NetApp was deleted by the Data ONTAP function dense_delete_snapshot. The unique ID for this Snapshot copy is (44, 156).</p>
<p><strong>Sis status will display the state and running status on all volumes</strong><br />
NAS&gt; sis status</p>
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>State</td>
<td>Status</td>
<td>Progress</td>
</tr>
<tr>
<td>/vol/Shares</td>
<td>Enabled</td>
<td>Idle</td>
<td>Idle for 10:05:52</td>
</tr>
<tr>
<td>/vol/testVol</td>
<td>Enabled</td>
<td>Idle</td>
<td>Idle for 08:48:40</td>
</tr>
<tr>
<td>/vol/luns</td>
<td>Disabled</td>
<td>Idle</td>
<td>Idle for 2330:43:02</td>
</tr>
<tr>
<td>/vol/vm</td>
<td>Enabled</td>
<td>Idle</td>
<td>Idle for 00:09:35</td>
</tr>
</tbody>
</table>
<p><strong>View the status on a specific volume</strong><br />
NAS&gt; sis status /vol/testVol</p>
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>State</td>
<td>Status</td>
<td>Progress</td>
</tr>
<tr>
<td>/vol/testVol</td>
<td>Enabled</td>
<td>Idle</td>
<td>Idle for 00:11:23</td>
</tr>
</tbody>
</table>
<p><strong>After sis completes, use df to show the amount saved and deduplication percentage</strong><br />
NAS&gt; df -sh /vol/testVol</p>
<table border="0">
<tbody>
<tr>
<td>Filesystem</td>
<td>used</td>
<td>saved</td>
<td>%saved</td>
</tr>
<tr>
<td>/vol/testVol/</td>
<td>519GB</td>
<td>754GB</td>
<td>59%</td>
</tr>
</tbody>
</table>
<p><strong>Verify that sis is scheduled to run frequent enough at the times you want</strong><br />
NAS&gt; sis config</p>
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>Schedule</td>
</tr>
<tr>
<td>/vol/shares</td>
<td>sun-sat@0</td>
</tr>
<tr>
<td>/vol/testVol</td>
<td>sun-sat@0</td>
</tr>
<tr>
<td>/vol/luns</td>
<td>sun-sat@0</td>
</tr>
<tr>
<td>/vol/vm</td>
<td>sun-sat@0</td>
</tr>
</tbody>
</table>
<p><strong>Below is the help output of sis config</strong><br />
NAS&gt; sis help config<br />
sis config [ [ -s schedule ] &lt;path&gt; | &lt;path&gt; &#8230; ]<br />
- Sets up, modifies, and retrieves the schedule of SIS volumes.</p>
<p><strong>Reschedule for nightly at 11pm</strong><br />
NAS&gt; sis config -s sun-sat@23 /vol/testVol</p>
<p><strong>Verify the new configuration</strong></p>
<p>NAS&gt; sis config /vol/testVol</p>
<table border="0">
<tbody>
<tr>
<td>Path</td>
<td>Schedule</td>
</tr>
<tr>
<td>/vol/testVol</td>
<td>sun-sat@23</td>
</tr>
</tbody>
</table>
<p><strong>Note:  ASIS is not real time deduplication.  It is ran on a schedule instead of as the data is coming in.  Also, when setting the schedule for a volume, you can only specifiy the hour to start running, in this case trying to specify sun-sat@23:45 did not work when testing.</strong></p>
<br />Posted in NAS, Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/colovirt.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/colovirt.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/colovirt.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/colovirt.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/colovirt.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/colovirt.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/colovirt.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/colovirt.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/colovirt.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/colovirt.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/colovirt.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/colovirt.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/colovirt.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/colovirt.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.colovirt.com&amp;blog=5256186&amp;post=251&amp;subd=colovirt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.colovirt.com/2008/11/14/netapp-enabling-deduplication-asis-on-a-volume/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Kevin Goodman</media:title>
		</media:content>
	</item>
	</channel>
</rss>
