<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Welcome to... The UNIX Zone</title>
	
	<link>http://www.theunixzone.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Fri, 15 Jan 2010 23:30:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TheUnixZone" /><feedburner:info uri="theunixzone" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Modem Emulation.. Fast and easy!</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/Cgh9f__lu6k/</link>
		<comments>http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 23:30:00 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[Serial]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=251</guid>
		<description><![CDATA[I have a weekness for anything that communicates via RS-232 Serial.  This is probably due to most of my youth days being in front of a computer connected via modem to the world.
Occasionally I like to access Telnet BBS to re-live my youth.  Telnet works fine, but once you want to start doing file transfers, [...]]]></description>
			<content:encoded><![CDATA[<p>I have a weekness for anything that communicates via RS-232 Serial.  This is probably due to most of my youth days being in front of a computer connected via modem to the world.</p>
<p>Occasionally I like to access Telnet BBS to re-live my youth.  Telnet works fine, but once you want to start doing file transfers, etc., it quickly becomes limited.</p>
<p>Enter &#8220;modemu&#8221;.</p>
<p>ModemU adds Telnet capability to a comm program by redirecting Telnet I/O to a PTY.  Basically, the Communications Program doesn&#8217;t really have any clue that it&#8217;s not a serial port.</p>
<p>You can get ModemU from Good &#8216;ol Sunsite by clicking <a href="ftp://sunsite.unc.edu/pub/linux/apps/serialcomm/dialout/modemu-0.0.1.tar.gz">here</a>.</p>
<p>ftp://sunsite.unc.edu/pub/linux/apps/serialcomm/dialout/modemu-0.0.1.tar.gz</p>
<p>It compiled just fine on my Ubuntu 9.04 workstation after installing flex.  Once compiled, you can  use it as a stand-alone client, which doesn&#8217;t serve much purpose, if you ask me.</p>
<p>However, this is the way I used it with minicom:</p>
<blockquote><p>$ modemu -c &#8220;minicom -p %s&#8221;</p></blockquote>
<p>This should work with other communications program, as long as you can pass in the port to use.  ModemU, after creating the virtual PTY, passes in the PTY # to the command specified via the %s variable substitution.</p>
<p>Tada!</p>
<p>Once in minicom, you can do the following to connect to your favorite telnet systems:</p>
<blockquote><p>atd&#8221;hostname</p>
<p>CONNECT</p>
<p>Welcome to&#8230;.</p></blockquote>
<p>To disconnect, once you exit your system, you will receive a &#8220;NO CARRIER&#8221; message.  Then, you can exit with at%q, or exit with your communications program.</p>
<blockquote><p>* Main * 0:00:03 [2] DOVE-Net [1] General: /O</p>
<p>NO CARRIER<br />
at%q</p></blockquote>
<p>There you have it.  Simple Telnet&lt;-&gt;Modem Emulation in Linux.  This should also work on other UNIXes, but your milage my vary.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/&amp;title=Modem Emulation.. Fast and easy!' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/&amp;title=Modem Emulation.. Fast and easy!' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=Modem Emulation.. Fast and easy!+http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/Cgh9f__lu6k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2010/01/15/modem-emulation-fast-and-easy/</feedburner:origLink></item>
		<item>
		<title>BFTP: Back in the day….</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/BbxqxHt7r-A/</link>
		<comments>http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 12:49:30 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[BFTP]]></category>

		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=246</guid>
		<description><![CDATA[Here is a little blast from the past for me.
Looking through my ~/bin directory, which is a collection of some of the scripts I&#8217;ve written going back to the wee days of me playing with UNIX.
I found this script, named &#8220;findjosh&#8221;.
#!/bin/sh
joshsip=`lynx -dump http://www.cae.wisc.edu/~resch/ip.txt &#124; head -3 &#124; tail -1`
case $? in
0) echo &#8220;Josh&#8217;s IP Address [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a little blast from the past for me.</p>
<p>Looking through my ~/bin directory, which is a collection of some of the scripts I&#8217;ve written going back to the wee days of me playing with UNIX.</p>
<p>I found this script, named &#8220;findjosh&#8221;.</p>
<blockquote><p>#!/bin/sh</p>
<p>joshsip=`lynx -dump http://www.cae.wisc.edu/~resch/ip.txt | head -3 | tail -1`<br />
case $? in<br />
0) echo &#8220;Josh&#8217;s IP Address is presently &#8220;$joshsip;;<br />
1) echo &#8220;..There was an error&#8230;&#8221;;;<br />
esac</p></blockquote>
<p>I know, it&#8217;s really simple, but I must have used this script a couple of times a day.   A little explanation.  This script was written in the very early 90&#8217;s.   This time was way before Instant Messaging that we know today.  To chat with friends back then, we often utilized the UNIX &#8220;Talk&#8221; facility, and later, Windows programs that provided the same functionality.</p>
<p>Instead of having a directory of people, or the ability to just punch in their &#8220;handle&#8221;, to chat with a friend, you had to know their IP address.  This would be easy, but even back then, they often changed quite often.</p>
<p>My friend Josh, as well as other friends from their era, resorted to many methods to let people know where they were.   In the case of Josh, he published his current IP address into a text file called ip.txt.  So whether he was in his dorm room, or on one of the numerous HP or SUN workstations, this made it easier to find him rather than using the &#8220;finger&#8221; command to hundreds of UNIX workstations!</p>
<p>Another version of this script that I was playing with is below:</p>
<blockquote><p>#!/bin/sh</p>
<p>lynx -dump http://www.cae.wisc.edu/~resch/ip.txt &gt; ~/bin/findjosh.tmp<br />
cat ~/bin/findjosh.tmp | head -3 | tail -1</p></blockquote>
<p>I wasn&#8217;t surprised to find a findjosh.tmp file in my bin directory:</p>
<blockquote><p>$ cat findjosh.tmp</p>
<p>Josh last logged into the following address-<br />
144.92.181.221<br />
F18x-xxx.net.wisc.edu (fill in the x&#8217;s yourself)<br />
-<br />
Last updated-<br />
08-31-1996 21:33:29</p></blockquote>
<p>Does anyone remember doing stuff like this to track down your friends?  What methods did you use?</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/&amp;title=BFTP: Back in the day&#8230;.' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/&amp;title=BFTP: Back in the day&#8230;.' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=BFTP: Back in the day&#8230;.+http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/BbxqxHt7r-A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/12/21/bftp-back-in-the-day/</feedburner:origLink></item>
		<item>
		<title>Simple Load Balancing with PV-Links [HPUX]</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/Qq0kTpbWP8I/</link>
		<comments>http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 11:15:08 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[hpux]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=241</guid>
		<description><![CDATA[Many sites still only utilize HP&#8217;s PV-Links/Alternate-Links product to provide a simple failover for SAN connected disks.   This product doesn&#8217;t do load balancing to spread out load, and is simply a failover if one of your SAN paths goes away.
This works great for redundancy, but with a little planning, you can accomplish simple [...]]]></description>
			<content:encoded><![CDATA[<p>Many sites still only utilize HP&#8217;s PV-Links/Alternate-Links product to provide a simple failover for SAN connected disks.   This product doesn&#8217;t do load balancing to spread out load, and is simply a failover if one of your SAN paths goes away.</p>
<p>This works great for redundancy, but with a little planning, you can accomplish simple load-balancing too.</p>
<p>Let&#8217;s consider a HPUX system which has two paths to the SAN, and two 50GB LUNS present to the server.    The controllers are c17 and c19 and the two disks are t0d0 and t0d1.  With PV-Links, you will thus have the following disks detected by the operating system:</p>
<p>/dev/dsk/c17t0d0<br />
/dev/dsk/c17t0d1<br />
/dev/dsk/c19t0d0<br />
/dev/dsk/c19t0d1</p>
<p>Both c17t0d0 and c19t0d0 are the same LUN on the SAN, and also c17t0d1 and c19t0d1.  With me so far?</p>
<p>The trick is, when adding these to a new volume group, you want to stagger them so that every disk you add, alternates between using the two controllers.</p>
<p>Therefore, I add them like this:</p>
<blockquote><p>vgcreate vgTESTVG /dev/dsk/c17t0d0 /dev/dsk/c19t0d0<br />
vgextend vgTESTVG /dev/dsk/c19t0d1 /dev/dsk/c17t0d1</p></blockquote>
<p>You will end up with a vgdisplay -v /dev/vgTESTVG that looks like:</p>
<blockquote><p>.<br />
.<br />
.<br />
&#8212; Physical volumes &#8212;<br />
PV Name                     /dev/dsk/c17t0d0<br />
PV Name                     /dev/dsk/c19t0d0 Alternate Link<br />
PV Status                   available<br />
Total PE                    12797<br />
Free PE                     12797<br />
Autoswitch                  On<br />
Proactive Polling           On</p>
<p>PV Name                     /dev/dsk/c19t0d1<br />
PV Name                     /dev/dsk/c17t0d1 Alternate Link<br />
PV Status                   available<br />
Total PE                    12797<br />
Free PE                     12797<br />
Autoswitch                  On<br />
Proactive Polling           On</p></blockquote>
<p>Therefore, all disk access to the first disk will go down the c17 controller, and all access to the second disk will go down the c19 controller.  You would then continue the pattern to add additional disks.</p>
<p>Keep in mind, that this is very basic load-balancing,  and might not even qualify as true load-balancing.  There are much better products out there that do a much better job (Powerpath, Veritias Storage Foundation, etc.).</p>
<p>However, if you only need very basic load balancing, and want to save a few dimes, this might work for you.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/&amp;title=Simple Load Balancing with PV-Links [HPUX]' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/&amp;title=Simple Load Balancing with PV-Links [HPUX]' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=Simple Load Balancing with PV-Links [HPUX]+http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/Qq0kTpbWP8I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/12/18/simple-load-balancing-with-pv-links-hpux/</feedburner:origLink></item>
		<item>
		<title>Cloning a Volume Group [hpux]</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/E7s9c70DBgA/</link>
		<comments>http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 02:30:18 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[hpux]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=232</guid>
		<description><![CDATA[Often I am asked to clone an entire Volume Group including all of the logical volumes contained.  This can be a tedius task when the Volume Group contains a hundred or so logical volumes.
This request is often used for testing software releases, deployments, etc.
I&#8217;ve use this script at least a dozen times per month, and [...]]]></description>
			<content:encoded><![CDATA[<p>Often I am asked to clone an entire Volume Group including all of the logical volumes contained.  This can be a tedius task when the Volume Group contains a hundred or so logical volumes.</p>
<p>This request is often used for testing software releases, deployments, etc.</p>
<p>I&#8217;ve use this script at least a dozen times per month, and haven&#8217;t really fine tuned it, or improved it at all.  I still create the volume group manually, and add the physical disks.</p>
<blockquote><p>
# Loop through each logical volume name (They all should start with l),<br />
# get the size, and then create in the new VG.</p>
<p>for i in `ls -1 /dev/vgORIGINALVG/l*`<br />
do<br />
MB=`lvdisplay /dev/vgORIGINALVG/$i | grep &#8220;LV Size&#8221; | cut -c23-40`<br />
lvcreate -n $i -L $MB /dev/vgNEWVG<br />
done
</p></blockquote>
<p>Real basic, but saves quit a bit of time.  I am merely keeping everything default, and am not taking into consideration any special settings.  Again, these are generally used for testing, and then removed &#8212; at least in my environment. So it&#8217;s not really a true &#8220;clone&#8221;.</p>
<p>I&#8217;m sure there are countless otherways to accomplish this, and maybe even an easier way, but I whipped this up one day when I had a request to clone 3 or 4 VG&#8217;s.</p>
<p>This might work on other LVM systems with some tweaking.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/&amp;title=Cloning a Volume Group [hpux]' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/&amp;title=Cloning a Volume Group [hpux]' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=Cloning a Volume Group [hpux]+http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/E7s9c70DBgA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/12/17/cloning-a-volume-group-hpux/</feedburner:origLink></item>
		<item>
		<title>Fixing missing devices (NO_HW) on HPUX</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/NKaTvXPDb0o/</link>
		<comments>http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 11:53:42 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[Reference]]></category>

		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[hp]]></category>

		<category><![CDATA[hpux]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=227</guid>
		<description><![CDATA[This last weekend, after some SAN changes, some of our HPUX systems experienced problems where either one of the hardware path&#8217;s to disk devices changed or the only path on some tape devices changed.  Of course, this wasn&#8217;t found out about until Monday morning&#8230;
A reboot would have fixed this &#8212; but I don&#8217;t like rebooting [...]]]></description>
			<content:encoded><![CDATA[<p>This last weekend, after some SAN changes, some of our HPUX systems experienced problems where either one of the hardware path&#8217;s to disk devices changed or the only path on some tape devices changed.  Of course, this wasn&#8217;t found out about until Monday morning&#8230;</p>
<p>A reboot would have fixed this &#8212; but I don&#8217;t like rebooting UNIX/Linux unless it&#8217;s absolutely necessary (and it rarely is).</p>
<p>The first thing I noticed is that doing an ioscan -fnC tape showed &#8220;NO_HW&#8221; on one of our IBM tape drives.   NO_HW indicates the devices has dissapeared, and was there before.</p>
<p>Next, I forced HPUX to rescan for new devices with the insf command:</p>
<blockquote><p># insf -e -C tape</p></blockquote>
<p>The &#8220;-e&#8221; option tells insf to reinstall the special files for pseudo-drivers and existing devices.   The &#8220;-C tape&#8221; told insf to only match devices that belonged to the tape class.   Since I like to narrow down any impact, I prefer to work with one class at a time.</p>
<p>Once this command was completed, I now saw the tape drive that was &#8220;NO_HW&#8221; earlier, appear in the ioscan output.</p>
<p>However, the one that went missing was still there at the old patch.   Now, again, a reboot would fix this&#8230;. But do we want to do that?  NO. You don&#8217;t.</p>
<p>The rmsf command comes to the rescue here.  Let&#8217;s say the one missing (NO_HW) was at the following hardware path:  0/2/0/0.197.12.255.1.8.0, the following command would remove it.</p>
<blockquote><p># rmsf -H 0/2/0/0.197.12.255.1.8.0</p></blockquote>
<p>No reboot necessary.  There also ways to accomplish the same tasks under other OSes, and I will cover those in future posts.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/&amp;title=Fixing missing devices (NO_HW) on HPUX' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/&amp;title=Fixing missing devices (NO_HW) on HPUX' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=Fixing missing devices (NO_HW) on HPUX+http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/NKaTvXPDb0o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/09/15/fixing-missing-devices-no_hw-on-hpux/</feedburner:origLink></item>
		<item>
		<title>Been a little crazy lately…</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/OrFGeGP_7-g/</link>
		<comments>http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 15:40:32 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=221</guid>
		<description><![CDATA[About 9 months ago I started a new project&#8230; Er, maybe even could call it a hack&#8230; A good hack.   Tuesday, it was born.
I&#8217;d like to introduce the newest UNIX guy into my family&#8230;   Meet my new Son, Dexter&#8230;
http://www.flickr.com/photos/47643618@N00/sets/72157622188318531/
Born 9:28am on 9/8/9.  8 pounds, 14 ounces.  20 1/2  Inches.
     [...]]]></description>
			<content:encoded><![CDATA[<p>About 9 months ago I started a new project&#8230; Er, maybe even could call it a hack&#8230; A good hack.   Tuesday, it was born.</p>
<p>I&#8217;d like to introduce the newest UNIX guy into my family&#8230;   Meet my new Son, Dexter&#8230;</p>
<p><a href="http://www.flickr.com/photos/47643618@N00/sets/72157622188318531/" target="_blank">http://www.flickr.com/photos/47643618@N00/sets/72157622188318531/</a></p>
<p>Born 9:28am on 9/8/9.  8 pounds, 14 ounces.  20 1/2  Inches.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/&amp;title=Been a little crazy lately&#8230;' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/&amp;title=Been a little crazy lately&#8230;' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=Been a little crazy lately&#8230;+http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/OrFGeGP_7-g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/09/10/been-a-little-crazy-lately/</feedburner:origLink></item>
		<item>
		<title>A very sad day…</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/UMwn3C7jaJo/</link>
		<comments>http://www.theunixzone.com/2009/08/08/a-very-sad-day/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 13:47:29 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=211</guid>
		<description><![CDATA[Today marks a very sad day.  Last night, we experienced several extended power outages.   I&#8217;m saddened to say that &#8220;Nattie&#8221;, my HP DL380 RedHat ES4 Server, finally lost power.
No, she is O.K. now, and is back up and running.  I am saddened because this server had been up for 826 days and had been a [...]]]></description>
			<content:encoded><![CDATA[<p>Today marks a very sad day.  Last night, we experienced several extended power outages.   I&#8217;m saddened to say that &#8220;Nattie&#8221;, my HP DL380 RedHat ES4 Server, finally lost power.</p>
<p>No, she is O.K. now, and is back up and running.  I am saddened because this server had been up for 826 days and had been a braggin&#8217; point for me quite sometime.  Sure, I&#8217;ve seen servers that have been up longer &#8211;but never has a machine at one of my &#8220;at home&#8221; Data Centers /Labs been up this long.</p>
<p>She was connected with redundant power supplies, with each one going to a separate commercial UPS, and each of those going to separate breakers, with each of those going to separate sides of the incoming 220 service.   There wasn&#8217;t much else I could have done to keep Nattie&#8217;s power redundant &#8212; short of a second power company feed.  <img src='http://www.theunixzone.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Right now, I am at the whim of the batteries in the UPS which surprisingly kept everything (several other servers, tape library, 4 switches, VPN Concentrator, Secure Computing Firewall, Backup Server, etc.) on for about an hour.   I&#8217;m definitely thinking a whole-house generator is going to be on my shopping list in the future!</p>
<blockquote><p>10:09:03 up 800 days, 9:51, 3 users, load average: 0.33, 0.76, 0.62</p></blockquote>
<p>(Uptime from July 13th, 2009, when I celebrated 800 days)</p>
<p>Well, at least now I have a good opportunity to add some additional memory and make a few other hardware changes!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/08/08/a-very-sad-day/&amp;title=A very sad day&#8230;' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/08/08/a-very-sad-day/&amp;title=A very sad day&#8230;' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/08/08/a-very-sad-day/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=A very sad day&#8230;+http://www.theunixzone.com/2009/08/08/a-very-sad-day/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/08/08/a-very-sad-day/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/UMwn3C7jaJo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/08/08/a-very-sad-day/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/08/08/a-very-sad-day/</feedburner:origLink></item>
		<item>
		<title>Virtual Google Search Appliances? Sweet.</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/EIgTFW8mcbw/</link>
		<comments>http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 00:02:55 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[appliances]]></category>

		<category><![CDATA[Embedded]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=207</guid>
		<description><![CDATA[A good friend of mine, Eric Lightbody works for the University of Wisconsin Green Bay as a Web Developer.   He was playing with their Google Mini Search Appliance (GSA), and I was getting jealous.   I had played with the earlier Google Search Appliances a few years earlier at Time Warner Cable, [...]]]></description>
			<content:encoded><![CDATA[<p>A good friend of mine, <a href="http://www.ericlightbody.com/" target="_blank">Eric Lightbody</a> works for the University of Wisconsin Green Bay as a Web Developer.   He was playing with their <a href="http://www.google.com/enterprise/search/mini.html" target="_blank">Google Mini Search Appliance</a> (GSA), and I was getting jealous.   I had played with the earlier Google Search Appliances a few years earlier at Time Warner Cable, but now I wanted to play with one again.</p>
<p>I was thinking&#8230; I wonder if they have a Virtual Appliance for people to play with it before buying one.   A Google search later, I found what I was looking for.</p>
<p>Enter the <a href="http://code.google.com/enterprise/gsave/download_main.html" target="_blank">Google Search Appliance Virtual Edition</a>.  This is distributed by Google as a VMware Virtual Machine.   Within about an hour, I had my Virtual GSA up and running and indexing all of my websites including some sites that had NTLM based protected content.   Pretty neat.  It would have been much quicker, but the decompress process (p7zip) took like 30 minutes on a Core 2 Quad Ubuntu workstation, leaving me with about a 40GB VMDK.</p>
<p>The Virtual Edition is meant for development use.  Legally, you are not allowed to use it for any production use.  Plus, it&#8217;s limited to 50,000 indexed files.   I would highly recommend a real Google Mini search appliance.  But if you already have one,  the Virtual Edition would be great for testing website search integration changes before implementing them on your real GSA.  And, if you are thinking about getting one, trying out the Virtual Edition will allow you to get your feet wet, and experiment with it&#8217;s features.</p>
<p>I would strongly recommend giving it plenty of Virtual Resources when you fire this up.  I starved mine, at first, from the resources it wanted, and it performed a little sluggishly (to be expected).</p>
<p>Also, after booting it up, make sure you wait a bit before trying to connect to it.  It seemed to take a good 5 to 10 minutes before I could point a browser at it to connect &#8212; again, this could be related to me not giving it much memory.  I gave it 1GB, and the requirements said 3GB was the minimum needed.</p>
<p>Enjoy.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/&amp;title=Virtual Google Search Appliances? Sweet.' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/&amp;title=Virtual Google Search Appliances? Sweet.' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=Virtual Google Search Appliances? Sweet.+http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/EIgTFW8mcbw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/07/16/virtual-gsa-sweet/</feedburner:origLink></item>
		<item>
		<title>StorageTek 5320 Command Line Cheat Sheet</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/E6v1a9XmzxA/</link>
		<comments>http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 23:01:57 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[Reference]]></category>

		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[CheatSheets]]></category>

		<category><![CDATA[CLI]]></category>

		<category><![CDATA[NAS]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=190</guid>
		<description><![CDATA[The StorageTek 5320 NAS Appliances are pretty neat devices.  I find it necessary to utilize the command line interface (CLI) quite often.  Unfortunately, the documentation for the 5320&#8217;s CLI is pretty limited &#8212; at least I couldn&#8217;t find anything in the manual talking about each command.
So, for your enjoyment, I&#8217;ve summarized each command below.  [...]]]></description>
			<content:encoded><![CDATA[<p>The StorageTek 5320 NAS Appliances are pretty neat devices.  I find it necessary to utilize the command line interface (CLI) quite often.  Unfortunately, the documentation for the 5320&#8217;s CLI is pretty limited &#8212; at least I couldn&#8217;t find anything in the manual talking about each command.</p>
<p>So, for your enjoyment, I&#8217;ve summarized each command below.  Having everything on one page will save you the trouble of going through each one doing &#8220;help command&#8221; to find out what each does! (Which is what I seem to have to do every time I hop on one of these and try to remember which command does what).</p>
<table border="1">
<tbody>
<tr>
<td>Command</td>
<td>Description</td>
<td>Usage</td>
</tr>
<tr>
<td>?</td>
<td>Alias for the help command</td>
<td></td>
</tr>
<tr>
<td>approve</td>
<td> manipulate approve file
</td>
<td> approve [reload | list | test | help]
</td>
</tr>
<tr>
<td>aratewrite</td>
<td> write contents of a file (async), report performance
</td>
<td> aratewrite FILENAME [+OFFSET] TOTALKB [BLOCKSIZE] [MB_PER_COMMIT]
</td>
</tr>
<tr>
<td>arp</td>
<td> show arp table
</td>
<td> arp [-d] [ -a | DEST | -i Interf ]
</td>
</tr>
<tr>
<td>audit</td>
<td> Audit Enable Command
</td>
<td> audit &#8211;help for details
</td>
</tr>
<tr>
<td>auditconfig</td>
<td> Audit Configuration Command
</td>
<td> auditconfig &#8211;help for details
</td>
</tr>
<tr>
<td>cacls</td>
<td> Display an access control list (ACL)
</td>
<td> cacls pathname
</td>
</tr>
<tr>
<td>calog</td>
<td> Compliance Audit Log Utility
</td>
<td> calog &#8211;help
</td>
</tr>
<tr>
<td>cat</td>
<td> show contents of a file
</td>
<td> cat filename
</td>
</tr>
<tr>
<td>chattr</td>
<td> change extended attributes
</td>
<td> chattr [-RV] <[-+iumq] | [[+r] [[[[[cc]yy]mm]dd]HH]MM][.ss]> <files...>
</td>
</tr>
<tr>
<td>chgrp</td>
<td> change file group
</td>
<td> chgrp [-R] group file&#8230;
</td>
</tr>
<tr>
<td>chkpnt</td>
<td> checkpoint management command
</td>
<td> chkpnt sub-commands [parameters] &#8230;
</td>
</tr>
<tr>
<td>chkpntabort</td>
<td> summarily abort checkpoints on a volume
</td>
<td> chkpntabort VOLUME
</td>
</tr>
<tr>
<td>chkpntls</td>
<td> list checkpoints
</td>
<td> chkpntls VOLUME &#8230;
</td>
</tr>
<tr>
<td>chkpntmk</td>
<td> make (create) a checkpoint
</td>
<td> chkpntmk VOLUME CHECKPOINT-NAME
</td>
</tr>
<tr>
<td>chkpntmv</td>
<td> move (rename) a checkpoint
</td>
<td> chkpntmv VOLUME OLD-CHECKPOINT-NAME NEW-CHECKPOINT-NAME
</td>
</tr>
<tr>
<td>chkpntoff</td>
<td> stop checkpoints on volume(s)
</td>
<td> chkpntoff VOLUME &#8230;
</td>
</tr>
<tr>
<td>chkpnton</td>
<td> show checkpoint status / start checkpoints on volume(s)
</td>
<td> chkpnton [VOLUME ...]
</td>
</tr>
<tr>
<td>chkpntrm</td>
<td> remove (delete) a checkpoint
</td>
<td> chkpntrm VOLUME CHECKPOINT-NAME/PATTERN
</td>
</tr>
<tr>
<td>chmod</td>
<td> change file mode
</td>
<td> chmod [-R] mode file&#8230;
</td>
</tr>
<tr>
<td>chown</td>
<td> change file owner
</td>
<td> chown [-R] owner[:group] file&#8230;
</td>
</tr>
<tr>
<td>chsmb</td>
<td> Remove UNIX attribute update restrictions
</td>
<td> chsmb pathname
</td>
</tr>
<tr>
<td>cls</td>
<td> clear the screen
</td>
<td> cls
</td>
</tr>
<tr>
<td>cp</td>
<td> copy files
</td>
<td> cp [-v] [-c] [-r] src dst
</td>
</tr>
<tr>
<td>crashlocks</td>
<td> simulate file lock manager crash
</td>
<td> crashlocks
</td>
</tr>
<tr>
<td>datalock</td>
<td> show or reset multi-user rpc locks
</td>
<td> datalock {show | reset <id>}
</td>
</tr>
<tr>
<td>date</td>
<td> display or set date and time
</td>
<td> date [[[[[cc]yy]mm]dd]HH]MM]
</td>
</tr>
<tr>
<td>dbg</td>
<td> Enable or disable the debugger
</td>
<td> dbg [ -i [ enable | disable ] | -s ]
</td>
</tr>
<tr>
<td>del</td>
<td> delete files
</td>
<td> del FILE &#8230;
</td>
</tr>
<tr>
<td>df</td>
<td> show (disk) volumes and free space
</td>
<td> df
</td>
</tr>
<tr>
<td>diag</td>
<td> Save diagnostic file in /dvol/diagnostic
</td>
<td> diag
</td>
</tr>
<tr>
<td>disk</td>
<td> show disks / edit disk partition table
</td>
<td> disk -help   for details
</td>
</tr>
<tr>
<td>dtq</td>
<td> Manage directory tree quotas
</td>
<td> dtq help   (for usage)
</td>
</tr>
<tr>
<td>du</td>
<td> estimate file space usage
</td>
<td> du [-s] [-h] [PATH] &#8230;
</td>
</tr>
<tr>
<td>echo</td>
<td> echo a message
</td>
<td> echo WORD &#8230;
</td>
</tr>
<tr>
<td>em</td>
<td> Set and show speed &#038; duplex mode for Intel NIC
</td>
<td> em [set,show] NICname
</td>
</tr>
<tr>
<td>exit</td>
<td> exit command interpreter (close connection)
</td>
<td> exit
</td>
</tr>
<tr>
<td>find</td>
<td> find files bigger than size (in MB), owned by uid or gid
</td>
<td> find PATH [-name NAME] [-size SIZE] [-uid UID] [-gid GID]
</td>
</tr>
<tr>
<td>fsck</td>
<td> check file volumes
</td>
<td> fsck VOLUME &#8230;
</td>
</tr>
<tr>
<td>fsctl</td>
<td> Filesystem control command
</td>
<td> fsctl command [sub-command] volume
</td>
</tr>
<tr>
<td>fszap</td>
<td> Zap Partition
</td>
<td> fszap disk partition
</td>
</tr>
<tr>
<td>grouplook</td>
<td> lookup group by name or GID
</td>
<td> grouplook GROUPNAME/UID &#8230;
</td>
</tr>
<tr>
<td>gunzip</td>
<td> uncompress file
</td>
<td> gunzip FILE
</td>
</tr>
<tr>
<td>gzip</td>
<td> compress file
</td>
<td> gzip FILE
</td>
</tr>
<tr>
<td>halt</td>
<td> halt system
</td>
<td> halt [-fm]
</td>
</tr>
<tr>
<td>hbainfo</td>
<td> Display HBA Information
</td>
<td> hbainfo [-a]
</td>
</tr>
<tr>
<td>help</td>
<td> show available commands
</td>
<td> help [COMMAND ...]
</td>
</tr>
<tr>
<td>hostlook</td>
<td> lookup hosts by name/address
</td>
<td> hostlook HOSTNAME/ADDR &#8230;
</td>
</tr>
<tr>
<td>hostmatch</td>
<td> match hosts by name/address
</td>
<td> hostmatch HOSTPATTERN HOSTNAME/ADDR &#8230;
</td>
</tr>
<tr>
<td>ioapic</td>
<td> Program the IO-APIC
</td>
<td> ioapic prog/show/list/mask/umask apicid intpin [level polarity vector]
</td>
</tr>
<tr>
<td>iscsi</td>
<td> iSCSI service control
</td>
<td> iscsi <commands>
</td>
</tr>
<tr>
<td>isp2suspend</td>
<td> Suspend file system I/O for maintainance
</td>
<td> isp2suspend
</td>
</tr>
<tr>
<td>keymon</td>
<td> monitor keys
</td>
<td> keymon STOPCHAR
</td>
</tr>
<tr>
<td>ldapcfg</td>
<td> Configure NISLDAP client
</td>
<td> ldapcfg [-i <server> <domain>
<password> | -d | -e]
</td>
</tr>
<tr>
<td>ll</td>
<td> long list directory contents (ls -lz)
</td>
<td> ll [-Ra] [dir]
</td>
</tr>
<tr>
<td>lm</td>
<td> License Manager Command
</td>
<td> lm &#8211;help for details
</td>
</tr>
<tr>
<td>ln</td>
<td> create hard/symbolic links
</td>
<td> ln [-s] target link
</td>
</tr>
<tr>
<td>load</td>
<td> report loaded modules/load a module
</td>
<td> load [MODULE]
</td>
</tr>
<tr>
<td>loadvars</td>
<td> load variables from values file
</td>
<td> loadvars
</td>
</tr>
<tr>
<td>locks</td>
<td> file lock manager report
</td>
<td> locks
</td>
</tr>
<tr>
<td>logtail</td>
<td> show last few log messages
</td>
<td> logtail [NLINE|all]
</td>
</tr>
<tr>
<td>ls</td>
<td> list directory contents
</td>
<td> ls [-Ralz] [file]
</td>
</tr>
<tr>
<td>lsattr</td>
<td> display extended attributes
</td>
<td> lsattr [-Radv] <files...>
</td>
</tr>
<tr>
<td>luninfo</td>
<td> Display LUN Information
</td>
<td> luninfo
</td>
</tr>
<tr>
<td>maccnvrt</td>
<td> Convert resource.frk directories
</td>
<td> maccnvrt share-name
</td>
</tr>
<tr>
<td>man</td>
<td> show contents of manpage with pagination
</td>
<td> man [-ah] [section] name &#8230;
</td>
</tr>
<tr>
<td>mbstat</td>
<td> print mbuf stats
</td>
<td> mbstat [-sv]
</td>
</tr>
<tr>
<td>menu</td>
<td> use the menus
</td>
<td> menu
</td>
</tr>
<tr>
<td>mkdir</td>
<td> make directories
</td>
<td> mkdir [-m mode] directory &#8230;
</td>
</tr>
<tr>
<td>more</td>
<td> show contents of a file with pagination
</td>
<td> more filename
</td>
</tr>
<tr>
<td>mount</td>
<td> Mount volume(s)
</td>
<td> mount [-rwfuh] [-o options] [VOLUME [...]]
</td>
</tr>
<tr>
<td>ndmp</td>
<td> NDMP service control
</td>
<td> ndmp <commands>
</td>
</tr>
<tr>
<td>netserv</td>
<td> set network service options
</td>
<td> netserv {enable|disable|status} {service name} [options]
</td>
</tr>
<tr>
<td>netstat</td>
<td> show routing/interface tables/network addresses and ports
</td>
<td> netstat [-rin]
</td>
</tr>
<tr>
<td>nfsmount</td>
<td> Inspect, establish, or change an NFS volume
</td>
<td> nfsmount [LOCALNAME [SERVER:PATH] [OPTION=VAL ...]]
</td>
</tr>
<tr>
<td>nfsstat</td>
<td> nfsstat
</td>
<td> nfsstat NFS statistics
</td>
</tr>
<tr>
<td>nfsunmount</td>
<td> NFS unmount a remote directory
</td>
<td> nfsunmount LOCALNAME
</td>
</tr>
<tr>
<td>nic</td>
<td> Set and show speed &#038; duplex mode for Network NIC
</td>
<td> nic [set,show] NICname
</td>
</tr>
<tr>
<td>niscfg</td>
<td> Configure NIS+ client
</td>
<td> niscfg [ -i <server> <domain>
<password> | -k ]
</td>
</tr>
<tr>
<td>oplocks</td>
<td> Configure oplocks
</td>
<td> oplocks [enable | disable] volume-name
</td>
</tr>
<tr>
<td>password</td>
<td> set password for admin
</td>
<td> password
</td>
</tr>
<tr>
<td>ping</td>
<td> ping hosts by name/address
</td>
<td> ping [-c count] HOSTNAME/ADDR &#8230;
</td>
</tr>
<tr>
<td>poolstat</td>
<td> show object pool status
</td>
<td> poolstat poolname &#8230;
</td>
</tr>
<tr>
<td>praudit</td>
<td> Audit Print Command
</td>
<td> praudit &#8211;help for details
</td>
</tr>
<tr>
<td>pwtest</td>
<td> test admin password
</td>
<td> pwtest
</td>
</tr>
<tr>
<td>quit</td>
<td> alias for exit
</td>
<td> quit (see exit)
</td>
</tr>
<tr>
<td>quota</td>
<td> show a quota / set quota limits
</td>
<td> quota [-g|-u] /VOLUME|/* NAME|ID|NAME/ID [bh=KB] [bs=KB] [fh=N] [fs=N]
</td>
</tr>
<tr>
<td>ratecopy</td>
<td> copy a file, report performance
</td>
<td> ratecopy SOURCE_FILENAME DEST_FILENAME [BLOCKSIZE]
</td>
</tr>
<tr>
<td>ratecpu</td>
<td> cpu performance tests
</td>
<td> ratecpu
</td>
</tr>
<tr>
<td>ratemem</td>
<td> memory performance tests
</td>
<td> ratemem
</td>
</tr>
<tr>
<td>ratenet</td>
<td> rate network performance
</td>
<td> ratenet HOSTNAME/ADDR [NSEND [SIZE [MAXFAIL]]]
</td>
</tr>
<tr>
<td>rateread</td>
<td> read contents of a file, report performance
</td>
<td> rateread FILENAME [+OFFSET] [[BLOCKSIZE] [TOTALKB]]
</td>
</tr>
<tr>
<td>ratewrite</td>
<td> write contents of a file, report performance
</td>
<td> ratewrite FILENAME [+OFFSET] TOTALKB [BLOCKSIZE]
</td>
</tr>
<tr>
<td>reboot</td>
<td> reboot system
</td>
<td> reboot [-fm]
</td>
</tr>
<tr>
<td>recover</td>
<td> perform head/controller recovery
</td>
<td> recover {head|ctlr}
</td>
</tr>
<tr>
<td>repquota</td>
<td> report quotas
</td>
<td> repquota [-g][-u][-n][-e|-E][-q|-v] VOLUME|QUOTAFILE &#8230;
</td>
</tr>
<tr>
<td>revoke</td>
<td> revoke client mounts
</td>
<td> revoke HOSTNAME/ADDR &#8230;
</td>
</tr>
<tr>
<td>rm</td>
<td> remove files
</td>
<td> rm [-v] [-r] path
</td>
</tr>
<tr>
<td>rmdir</td>
<td> remove directories
</td>
<td> rmdir directory &#8230;
</td>
</tr>
<tr>
<td>rotatelog</td>
<td> rotates partner log file
</td>
<td> rotatelog
</td>
</tr>
<tr>
<td>route</td>
<td> manipulate routing table
</td>
<td> route [-n] COMMAND [ [ MODIFIERS ] [ DEST GATEWAY ] ]
</td>
</tr>
<tr>
<td>rpcinfo</td>
<td> report RPC information
</td>
<td> rpcinfo
</td>
</tr>
<tr>
<td>savecore</td>
<td> save a core dump of the operating system
</td>
<td> savecore savecore [ -chi | -fpkmv  directory ]
</td>
</tr>
<tr>
<td>savevars</td>
<td> save variables to values file
</td>
<td> savevars
</td>
</tr>
<tr>
<td>scanvars</td>
<td> scan variables for printer, modem, and network changes
</td>
<td> scanvars
</td>
</tr>
<tr>
<td>sdate</td>
<td> display the secure date
</td>
<td> sdate [-d]
</td>
</tr>
<tr>
<td>set</td>
<td> set a system variable
</td>
<td> set NAME VALUE
</td>
</tr>
<tr>
<td>show</td>
<td> show system variables
</td>
<td> show [NAME/PATTERN ...]
</td>
</tr>
<tr>
<td>shutdown</td>
<td> shutdown the system
</td>
<td> shutdown [-fm]
</td>
</tr>
<tr>
<td>snmp</td>
<td> SNMP trap destination control
</td>
<td> snmp
</td>
</tr>
<tr>
<td>source</td>
<td> read commands from a file
</td>
<td> source FILENAME
</td>
</tr>
<tr>
<td>sp</td>
<td> show stack trace for thread ID
</td>
<td> sp Thread_ID
</td>
</tr>
<tr>
<td>stat</td>
<td> stat files
</td>
<td> stat FILE &#8230;
</td>
</tr>
<tr>
<td>status</td>
<td> system status report
</td>
<td> status [hi|si|ai|ti|dm|fd|fs|rm|up|mm|all ...]
</td>
</tr>
<tr>
<td>strmstat</td>
<td> report list of associated named streams
</td>
<td> strmstat file-path
</td>
</tr>
<tr>
<td>su</td>
<td> login in as privileged user
</td>
<td> su
</td>
</tr>
<tr>
<td>sync_sys</td>
<td> Synchoronize system files
</td>
<td> sync_sys Source-Head-ID
</td>
</tr>
<tr>
<td>syslog</td>
<td> set local syslog parameters
</td>
<td> syslog timestamp=[0|1|2] debug=[on|off]
</td>
</tr>
<tr>
<td>tar</td>
<td> TAR Command
</td>
<td> tar &#8211;help for details
</td>
</tr>
<tr>
<td>telnet</td>
<td> telnet to host by name/address
</td>
<td> telnet HOSTNAME/ADDR
</td>
</tr>
<tr>
<td>top</td>
<td> Display active threads
</td>
<td> top [-b] [-i secs] [-t cnt] [-l]
</td>
</tr>
<tr>
<td>tsp</td>
<td> Display threads and their stack
</td>
<td> tsp [-s] [-t cnt] [-l] thread_name
</td>
</tr>
<tr>
<td>umount</td>
<td> Unmount volume(s)
</td>
<td> umount VOLUME [...]
</td>
</tr>
<tr>
<td>uname</td>
<td> print system information
</td>
<td> uname
</td>
</tr>
<tr>
<td>unload</td>
<td> unload a module
</td>
<td> unload MODULE
</td>
</tr>
<tr>
<td>unset</td>
<td> unset a system variable
</td>
<td> unset NAME
</td>
</tr>
<tr>
<td>uptime</td>
<td> show how long system has been up and cpu usage
</td>
<td> uptime
</td>
</tr>
<tr>
<td>userlook</td>
<td> lookup user by name or UID
</td>
<td> userlook USERNAME/UID &#8230;
</td>
</tr>
<tr>
<td>version</td>
<td> show software version
</td>
<td> version
</td>
</tr>
<tr>
<td>vscan</td>
<td> Virus Scan command
</td>
<td> vscan {help|check|stats}
</td>
</tr>
<tr>
<td>xj</td>
<td> extended journal functions
</td>
<td> xj -help for details
</td>
</tr>
<tr>
<td>zic</td>
<td> timezone utility
</td>
<td> zic [help | zone | dumpzones | list | <tztextfile>]
</td>
</tr>
</tbody>
</table>
<p>The Command Line Interface (CLI) is always handy, and usually the first place I check out.  It&#8217;s especially handy in a clustered environment as you can login to one of your NAS heads, and then telnet from there to the heartbeat interface of the other NAS head.  This is useful when your volumes are still failed over to the surviving NAS head along with it&#8217;s main IP address.</p>
<p>The 5320&#8217;s &#8220;menu&#8221; command will bring up a nice menu that lets you do most (all?) of the things you can do in the GUI.   </p>
<p>One other note about the GUI.  It appears that only one person can be logged in at a time.   So if you are in it, and keep getting disconnected, it&#8217;s probably because someone else is trying to access it too.   What you are seeing is a ping-pong effect of two (or more) people getting kicked out, and logging back in.   Utilizing the CLI over telnet or SSH does not have this problem.</p>
<p>I may go into details about some of these commands in the future.</p>
<p>Enjoy!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/&amp;title=StorageTek 5320 Command Line Cheat Sheet' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/&amp;title=StorageTek 5320 Command Line Cheat Sheet' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=StorageTek 5320 Command Line Cheat Sheet+http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/E6v1a9XmzxA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/07/07/storagetek-5320-cli-cheatsheet/</feedburner:origLink></item>
		<item>
		<title>Determining if your kernel and hardware is 32bit or 64bit</title>
		<link>http://feedproxy.google.com/~r/TheUnixZone/~3/tNfHDYiaafg/</link>
		<comments>http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 17:07:11 +0000</pubDate>
		<dc:creator>theunixguy</dc:creator>
		
		<category><![CDATA[Tips and Tricks]]></category>

		<category><![CDATA[aix]]></category>

		<category><![CDATA[hpux]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[Solaris]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.theunixzone.com/?p=175</guid>
		<description><![CDATA[I&#8217;m often asked by end-users, developers, and fellow system administrators, how to determine if the installed OS is 32bit or 64bit.   I&#8217;m also asked if the hardware is capable of 64 bit, 32 bit, or both.   Here is how to tel by OS:
HPUX
# getconf KERNEL_BITS
64
This will tell you if your currently running kernel is 64 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m often asked by end-users, developers, and fellow system administrators, how to determine if the installed OS is 32bit or 64bit.   I&#8217;m also asked if the hardware is capable of 64 bit, 32 bit, or both.   Here is how to tel by OS:</p>
<h2>HPUX</h2>
<blockquote><p># getconf KERNEL_BITS<br />
64</p></blockquote>
<p>This will tell you if your currently running kernel is 64 bits or 32 bits.  It returns the number of bits used by the kernel for pointer and long data types.  Current values include 32 and 64.</p>
<blockquote><p># getconf HW_32_64_CAPABLE<br />
1</p></blockquote>
<p>Returns which kernel is supported on the hardware.</p>
<p>You can also test this with a short C program:</p>
<blockquote><p># cat check3264.c<br />
#include &lt;stdio.h&gt;<br />
#include &lt;unistd.h&gt;</p>
<p>main()<br />
{<br />
long ret = sysconf(_SC_HW_32_64_CAPABLE);</p>
<p>if (_SYSTEM_SUPPORTS_ILP32OS(ret) != 0) {<br />
printf(&#8221;system supports 32-bit OS\n&#8221;);<br />
}</p>
<p>if (_SYSTEM_SUPPORTS_LP64OS(ret) != 0) {<br />
printf(&#8221;system supports 64-bit OS\n&#8221;);<br />
}<br />
}<br />
# cc check3264.c<br />
# ./a.out<br />
system supports 64-bit OS<br />
#</p></blockquote>
<p>In this example, we see the test system, an HP L2000-36 running HPUX 11.11, only supports a 64 bit HPUX Kernel.</p>
<blockquote><p># getconf HW_CPU_SUPP_BITS<br />
64</p></blockquote>
<p>This will show you if the CPU&#8217;s are capable of running 32, 64, or 32/64 bit kernels.</p>
<h2>Solaris</h2>
<p>For solaris, the isainfo -v should, at least for versions past 2.6,  show you want you need:</p>
<blockquote><p># isainfo -v<br />
32-bit i386 applications</p></blockquote>
<p>This may also say &#8220;sparc&#8221; if you are running on the sparc architecture.  If you were on a 64 bit system, you would see something like this:</p>
<blockquote><p>64-bit sparcv9 applications<br />
32-bit sparc applications</p></blockquote>
<p>This would be telling you that you are running a 64 bit kernel and can run either 64-bit sparcv9 applications, or 32-bit sparc applications.</p>
<p>To determine the cpu&#8217;s bit size capabilities, isainfo -b does the trick here too:</p>
<blockquote><p># isainfo -b<br />
64</p></blockquote>
<h2>AIX</h2>
<p>For AIX, we will use the bootinfo command.</p>
<blockquote><p>bootinfo -y<br />
32</p></blockquote>
<p>This show is the hardware is 32 bit or 64 capable.</p>
<blockquote><p>bootinfo -K<br />
32</p></blockquote>
<p>Shows the running kernel&#8217;s bit size.</p>
<h2>Linux</h2>
<p>For linux, we will look at the cpuinfo from /proc.  Here, we are mainly interested in the &#8220;flags&#8221; for the CPU&#8217;s:</p>
<blockquote><p># cat /proc/cpuinfo | grep -i flags<br />
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm</p></blockquote>
<p>We are interested in three values in the output, as they indicate the bit size capabilities of the CPU:</p>
<p>16 Bit = rm (Real Mode)<br />
32 Bit = tm (Transparent Mode)<br />
64 Bit = lm (Long Mode)</p>
<p>This doesn&#8217;t necessarily mean the Motherboard is capable of 64 bit.</p>
<p>To determine the bit size of your running kernel, you can also use getconf, similar to HPUX, to find this info:</p>
<blockquote><p># getconf LONG_BIT<br />
64</p></blockquote>
<p>This shows that my kernel is running 64 bit.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/&amp;title=Determining if your kernel and hardware is 32bit or 64bit' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/&amp;title=Determining if your kernel and hardware is 32bit or 64bit' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.facebook.com/share.php?u=http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook] ' /></a> <a href='http://twitter.com/home/?status=Determining if your kernel and hardware is 32bit or 64bit+http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/' title='Save to Twitter' onclick='target="_blank";' rel='nofollow'><img src='http://www.theunixzone.com/wp-content/plugins/bookmarkify/twitter.png' style='width:16px; height:16px;' alt='[Twitter] ' /></a>  <a title='See more bookmark and sharing options...' href='http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div></div><img src="http://feeds.feedburner.com/~r/TheUnixZone/~4/tNfHDYiaafg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.theunixzone.com/2009/06/13/determining-if-your-kernel-and-hardware-is-32bit-or-64bit/</feedburner:origLink></item>
	</channel>
</rss>
