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

<channel>
	<title>System Adm &#187; hpux</title>
	<atom:link href="http://www.system.adm.br/tag/hpux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.system.adm.br</link>
	<description>Some IT Tips (Linux, Unix, HP-UX, AIX, Solaris, etc).</description>
	<lastBuildDate>Wed, 19 May 2010 20:11:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Increase lvol size in HP-UX</title>
		<link>http://www.system.adm.br/2010/05/increase-lvol-size-in-hp-ux/</link>
		<comments>http://www.system.adm.br/2010/05/increase-lvol-size-in-hp-ux/#comments</comments>
		<pubDate>Fri, 07 May 2010 21:11:21 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[fs]]></category>
		<category><![CDATA[hpux]]></category>
		<category><![CDATA[lvm]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=285</guid>
		<description><![CDATA[Let&#8217;s assume that you want to increase 1Gb of the /dev/MyVG /lvol1 device (mounted as /filesystem): # bdf /filesystem Filesystem&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; kbytes&#160;&#160;&#160; used&#160;&#160; avail %used Mounted on /dev/ MyVG /lvol1 &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 573440000 533892407 37080557&#160;&#160; 94% /filesystem The actual size is 573440000 Kb (573 Gb) and you will increase it to 574440000 Kb (574 Gb). - Check [...]]]></description>
			<content:encoded><![CDATA[<p>Let&rsquo;s assume that you want to increase 1Gb of the /dev/MyVG /lvol1 device (mounted as /filesystem):<br />
	<span style="font-size: 12px;"><code># bdf /filesystem<br />
	Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kbytes&nbsp;&nbsp;&nbsp; used&nbsp;&nbsp; avail %used Mounted on<br />
	/dev/ MyVG /lvol1<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 573440000 533892407 37080557&nbsp;&nbsp; 94% /filesystem<br />
	</code></span> <br />
	The actual size is 573440000 Kb (573 Gb) and you will increase it to 574440000 Kb (574 Gb).</p>
<p>	- Check if there is available space in the Volume Group:<br />
	<span style="font-size: 12px;"><code># vgdisplay MyVG<br />
	--- Volume groups ---<br />
	VG Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /dev/MyVG<br />
	VG Write Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; read/write<br />
	VG Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; available<br />
	Max LV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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;&nbsp;&nbsp;&nbsp; 16<br />
	Total PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 36907<br />
	Alloc PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 35000<br />
	Free PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1907<br />
	Total PVG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br />
	Total Spare PVs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
	Total Spare PVs in use&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</p>
<p>	</code></span> Note the &ldquo;Free PE&rdquo; and &ldquo;PE Size (Mbytes)&rdquo;. It say that you has 30512 Mb (30Gb) available in MyVG (Free PE * PE Size).</p>
<p>	- Increase the lvol:<br />
	<span style="font-size: 12px;"><code># lvextend -L 574440 /dev/MyVG/lvol1<br />
	</code></span> * the syntax is: lvexten -L &lt;new size in Mb&gt; &lt;lvol path&gt;</p>
<p>	- Now, increase the filesystem:<br />
	<span style="font-size: 12px;"><code># fsadm -b 574440m /filesystem<br />
	</code></span> * the syntax is: fsadm &ndash;b &lt;new size in Mb&gt; &lt;mount point&gt;<br />
	&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/05/increase-lvol-size-in-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the HP-UX hostname</title>
		<link>http://www.system.adm.br/2010/05/changing-the-hp-ux-hostname/</link>
		<comments>http://www.system.adm.br/2010/05/changing-the-hp-ux-hostname/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:08:34 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[hpux]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=282</guid>
		<description><![CDATA[To change the hostname in HP-UX: - Edit the file &#34;/etc/rc.config.d/netconf&#34; # /etc/rc.config.d/netconf - Look for the line that starts with HOSTNAME and change the hostname, example: HOSTNAME=&#34;mylittleserver&#34; - Now, apply the change: # /sbin/init.d/hostname start]]></description>
			<content:encoded><![CDATA[<p>To change the hostname in HP-UX:</p>
<p>	- Edit the file &quot;/etc/rc.config.d/netconf&quot;<br />
	<span style="font-size: 12px;"><code># /etc/rc.config.d/netconf<br />
	</code></span> <br />
	- Look for the line that starts with HOSTNAME and change the hostname, example:<br />
	<span style="font-size: 12px;"><code>HOSTNAME=&quot;mylittleserver&quot;<br />
	</code></span> <br />
	- Now, apply the change:<br />
	<span style="font-size: 12px;"><code># /sbin/init.d/hostname start</code></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/05/changing-the-hp-ux-hostname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Glance shortcuts</title>
		<link>http://www.system.adm.br/2010/02/glance-shortcuts/</link>
		<comments>http://www.system.adm.br/2010/02/glance-shortcuts/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 13:00:24 +0000</pubDate>
		<dc:creator>Lincoln Zuljewic Silva</dc:creator>
				<category><![CDATA[HP-UX]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[hpux]]></category>
		<category><![CDATA[monitoring]]></category>

		<guid isPermaLink="false">http://www.system.adm.br/?p=215</guid>
		<description><![CDATA[To use the buttons at the bottom of the glance, you should do an &#34;export TERM=dtterm&#34;. After that, you will be able to use: F1 for ProcList F2 for CPU Rpt F3 for Mem Rpt F4 for Disk Rpt F5 for NextKeys F6 for SlctProc F7 for Help F8 for Exit &#160;]]></description>
			<content:encoded><![CDATA[<p>To use the buttons at the bottom of the glance, you should do an &quot;<span style="font-size: 12px;"><code>export TERM=dtterm</code></span>&quot;.</p>
<p>	After that, you will be able to use:<br />
	<span style="font-size: 12px;"><code>F1 for ProcList<br />
	F2 for CPU Rpt<br />
	F3 for Mem Rpt<br />
	F4 for Disk Rpt<br />
	F5 for NextKeys<br />
	F6 for SlctProc<br />
	F7 for Help<br />
	F8 for Exit</code></span></p>
<p>
	&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.system.adm.br/2010/02/glance-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
