<?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>Sys-Admin Information&#039;s &#187; HPUX</title>
	<atom:link href="http://sysinfo.bascomp.org/category/hpux/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysinfo.bascomp.org</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 09:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Problems running glance on HP-UX</title>
		<link>http://sysinfo.bascomp.org/2009/05/problems-running-glance-on-hp-ux/</link>
		<comments>http://sysinfo.bascomp.org/2009/05/problems-running-glance-on-hp-ux/#comments</comments>
		<pubDate>Tue, 26 May 2009 06:27:13 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[Problem]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=236</guid>
		<description><![CDATA[Do you know what's glance?
Glance is a system performance monitoring and diagnostic capabilities software from HP. Glance is more powerful when your running on HP-UX environment, cause they collect all information that require for monitoring the system in a real time. But, there's no 100% perfect software, yesterday I have a little problem when running [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know what's glance?<br />
<a href="https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&#038;cp=1-11-15-28^9637_4000_100__">Glance</a> is a system performance monitoring and diagnostic capabilities software from <a href="http://www.hp.com">HP</a>. <a href="https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&#038;cp=1-11-15-28^9637_4000_100__">Glance</a> is more powerful when your running on <a href="http://en.wikipedia.org/wiki/HP-UX">HP-UX</a> environment, cause they collect all information that require for monitoring the system in a real time. But, there's no 100% perfect software, yesterday I have a little problem when running with glance, but as usually, we solve the problem like a pieces of cake.</p>
<p>here's the summary about the problem</p>
<blockquote><p>
== Fatal Nums Error == C.03.72.00 09/29/03  ==<br />
User:   aragon(/dev/pts/tf)   Date: Fri May 22 15:58:14<br />
File:   nums.C            Line: 479   Product id: Glance<br />
System: superdome B.11.11 9000/800<br />
Errno:  0 (Error 0)<br />
Connection to midaemon lost -- check midaemon process and status.mi<br />
== End of Error Msg =============================
</p></blockquote>
<p>Litte magic comes bellow</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">su</span> -
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> mwa stop
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-ef</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> midaemon
       root  <span style="color: #000000;">5005</span>     <span style="color: #000000;">1</span> <span style="color: #000000;">11</span> 09:<span style="color: #000000;">19</span>:<span style="color: #000000;">20</span> ?         <span style="color: #000000;">0</span>:<span style="color: #000000;">18</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>perf<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>midaemon
       root  <span style="color: #000000;">5680</span>  <span style="color: #000000;">2490</span>  <span style="color: #000000;">2</span> 09:<span style="color: #000000;">25</span>:<span style="color: #000000;">41</span> pts<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span>     <span style="color: #000000;">0</span>:00 <span style="color: #c20cb9; font-weight: bold;">grep</span> midaemon
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #660033;">-9</span> <span style="color: #000000;">5005</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> mwa start</pre></div></div>

<p>and then try glance again.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/05/problems-running-glance-on-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FTP Refused connection on HP-UX</title>
		<link>http://sysinfo.bascomp.org/2009/05/ftp-refused-connection-on-hpux/</link>
		<comments>http://sysinfo.bascomp.org/2009/05/ftp-refused-connection-on-hpux/#comments</comments>
		<pubDate>Sat, 09 May 2009 05:27:23 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[Problem]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=225</guid>
		<description><![CDATA[When we try connected to HPUX server with FTP client with another user except root, sometimes we got a small problem with that.
But don't be afraid, we got some workaround here.
Ok now let's start the trial
1. First we try to connect to HPUX server with FTP from any client, with user "oracle".

bash&#62; ftp rohan
Connected to [...]]]></description>
			<content:encoded><![CDATA[<p>When we try connected to HPUX server with FTP client with another user except root, sometimes we got a small problem with that.<br />
But don't be afraid, we got some workaround here.</p>
<p>Ok now let's start the trial<br />
1. First we try to connect to HPUX server with FTP from any client, with user "oracle".</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span> rohan
Connected to rohan.
<span style="color: #000000;">220</span> rohan FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT2007<span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
User <span style="color: #7a0874; font-weight: bold;">&#40;</span>rohan:<span style="color: #7a0874; font-weight: bold;">&#40;</span>none<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: oracle
<span style="color: #000000;">331</span> Password required <span style="color: #000000; font-weight: bold;">for</span> oracle.
Password: <span style="color: #000000; font-weight: bold;">*****</span>
<span style="color: #000000;">530</span> Login incorrect.
Login failed.
<span style="color: #c20cb9; font-weight: bold;">ftp</span><span style="color: #000000; font-weight: bold;">&gt;</span> bye
<span style="color: #000000;">221</span> Goodbye.</pre></div></div>

<p>2. Logging all connection<br />
Back to HPUX, now we try to log all connection, including ftp.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> inetd <span style="color: #660033;">-l</span></pre></div></div>

<p>Check if the log was run properly</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>adm<span style="color: #000000; font-weight: bold;">/</span>syslog<span style="color: #000000; font-weight: bold;">/</span>syslog.log
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">35</span>:<span style="color: #000000;">51</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">22988</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT <span style="color: #000000;">2007</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">35</span>:<span style="color: #000000;">54</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">22988</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP LOGIN REFUSED <span style="color: #7a0874; font-weight: bold;">&#40;</span>shell not <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>shells<span style="color: #7a0874; font-weight: bold;">&#41;</span> FROM 10.14.14.12 <span style="color: #7a0874; font-weight: bold;">&#91;</span>10.14.14.12<span style="color: #7a0874; font-weight: bold;">&#93;</span>, oracle</pre></div></div>

<p><span id="more-225"></span></p>
<p>As you can see, inetd logging was run properly. But wait, see end of line of log, yes!! that the answer for that mysterious small problem on ftp connection.</p>
<p>3. Add user shell on listing system shell<br />
Like i said before, in the line of log on syslog file, that's the answer for this problem. Ok. Now we do like syslog said.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> oracle <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">passwd</span>
oracle:RHMbMFlgIVmB.:<span style="color: #000000;">109</span>:<span style="color: #000000;">106</span>::<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>oracle:<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span></pre></div></div>

<p>mmm, oracle used "bash" on default shell, on HPUX "bash" was not default install, ok next, we add that "bash" shell at default listing shell on HPUX.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'/bin/bash'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>shells</pre></div></div>

<p>4. Gotcha!!<br />
All set. now we try to ftp again from client to HPUX server, with oracle user.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dos<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ftp</span> rohan
Connected to rohan.
<span style="color: #000000;">220</span> rohan FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT2007<span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
User <span style="color: #7a0874; font-weight: bold;">&#40;</span>rohan:<span style="color: #7a0874; font-weight: bold;">&#40;</span>none<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: oracle
<span style="color: #000000;">331</span> Password required <span style="color: #000000; font-weight: bold;">for</span> oracle.
Password:<span style="color: #000000; font-weight: bold;">*****</span>
<span style="color: #000000;">230</span> User oracle logged in.
<span style="color: #c20cb9; font-weight: bold;">ftp</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">ls</span>
<span style="color: #000000;">200</span> PORT <span style="color: #7a0874; font-weight: bold;">command</span> successful.
<span style="color: #000000;">150</span> Opening ASCII mode data connection <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #c20cb9; font-weight: bold;">file</span> list.
.cshrc
.exrc
.login
.profile
.sh_history
stage
.bash_history
<span style="color: #000000;">226</span> Transfer complete.
<span style="color: #c20cb9; font-weight: bold;">ftp</span>: <span style="color: #000000;">68</span> bytes received <span style="color: #000000; font-weight: bold;">in</span> 0.00Seconds 68000.00Kbytes<span style="color: #000000; font-weight: bold;">/</span>sec.
<span style="color: #c20cb9; font-weight: bold;">ftp</span><span style="color: #000000; font-weight: bold;">&gt;</span> by
<span style="color: #000000;">221</span>-You have transferred <span style="color: #000000;">0</span> bytes <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">0</span> files.
<span style="color: #000000;">221</span>-Total traffic <span style="color: #000000; font-weight: bold;">for</span> this session was <span style="color: #000000;">367</span> bytes <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">1</span> transfers.
<span style="color: #000000;">221</span>-Thank you <span style="color: #000000; font-weight: bold;">for</span> using the FTP service on rohan.
<span style="color: #000000;">221</span> Goodbye.</pre></div></div>

<p>it's work, easy like a pie, don't forget to check syslog.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>adm<span style="color: #000000; font-weight: bold;">/</span>syslog<span style="color: #000000; font-weight: bold;">/</span>syslog.log
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">23</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: Data port : <span style="color: #000000;">20</span>
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">23</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP server <span style="color: #7a0874; font-weight: bold;">&#40;</span>Revision <span style="color: #000000;">3.0</span> Version wuftpd-2.6.1 Wed Dec <span style="color: #000000;">19</span> 08:<span style="color: #000000;">27</span>:<span style="color: #000000;">34</span> GMT <span style="color: #000000;">2007</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> ready.
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">27</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP LOGIN FROM 10.10.14.172 <span style="color: #7a0874; font-weight: bold;">&#91;</span>10.10.14.172<span style="color: #7a0874; font-weight: bold;">&#93;</span>, oracle
Sep  <span style="color: #000000;">2</span> 08:<span style="color: #000000;">43</span>:<span style="color: #000000;">31</span> rohan ftpd<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">23227</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: FTP session closed</pre></div></div>

<p><em>Tulisan lama ini dibuat kembali, untuk teman yang baru training HP-UX 11.31 di singapur.<br />
Gimana man masih blum bisa juga, nih gue kasih solvingnya,<br />
hahahaha..</em></p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/05/ftp-refused-connection-on-hpux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rename Volume Group on HP-UX (quick &amp; dirty)</title>
		<link>http://sysinfo.bascomp.org/2009/03/rename-volume-group-on-hpux-quick-dirty/</link>
		<comments>http://sysinfo.bascomp.org/2009/03/rename-volume-group-on-hpux-quick-dirty/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 10:37:32 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[LVM]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=113</guid>
		<description><![CDATA[Can you explain how to rename a volume group (VG)?, How to rename your Volume Group on HP-UX ? and many more question about how to rename the volume group. here I show you the magic of how to rename your Volume Group.

bash&#62; bdf&#124;grep /rdbms/oradata/a
/dev/vg07/lvol1    5144576 3515198 1527542   70% /rdbms/oradata/a

We [...]]]></description>
			<content:encoded><![CDATA[<p>Can you explain how to rename a volume group (VG)?, How to rename your Volume Group on HP-UX ? and many more question about how to rename the volume group. here I show you the magic of how to rename your Volume Group.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> bdf<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #000000; font-weight: bold;">/</span>rdbms<span style="color: #000000; font-weight: bold;">/</span>oradata<span style="color: #000000; font-weight: bold;">/</span>a
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg07<span style="color: #000000; font-weight: bold;">/</span>lvol1    <span style="color: #000000;">5144576</span> <span style="color: #000000;">3515198</span> <span style="color: #000000;">1527542</span>   <span style="color: #000000;">70</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>rdbms<span style="color: #000000; font-weight: bold;">/</span>oradata<span style="color: #000000; font-weight: bold;">/</span>a</pre></div></div>

<p>We will rename VG07 to VG20, backup your data first.</p>
<p>Backup VG config First</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> vgcfgbackup <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg07
Volume Group configuration <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg07 has been saved <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lvmconf<span style="color: #000000; font-weight: bold;">/</span>vg07.conf</pre></div></div>

<p>Ok, now deactivate the first volume group</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> vgchange <span style="color: #660033;">-a</span> n <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg07
Volume group <span style="color: #ff0000;">&quot;/dev/vg07&quot;</span> has been successfully changed.</pre></div></div>

<p>Export Vg07 dengan nama 'vg20.map'</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> vgexport <span style="color: #660033;">-v</span> <span style="color: #660033;">-s</span> <span style="color: #660033;">-m</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vg20.map <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg07
Beginning the <span style="color: #7a0874; font-weight: bold;">export</span> process on Volume Group <span style="color: #ff0000;">&quot;/dev/vg07&quot;</span>.
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>dsk<span style="color: #000000; font-weight: bold;">/</span>c5t0d0
Volume group <span style="color: #ff0000;">&quot;/dev/vg07&quot;</span> has been successfully removed.</pre></div></div>

<p>Create New Volume group (VG20)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg20
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">mknod</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg20<span style="color: #000000; font-weight: bold;">/</span>group c <span style="color: #000000;">64</span> 0x1a0000</pre></div></div>

<p>Import VG nya</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> vgimport <span style="color: #660033;">-v</span> <span style="color: #660033;">-s</span> <span style="color: #660033;">-m</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vg20.map <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg20
Beginning the import process on Volume Group <span style="color: #ff0000;">&quot;/dev/20&quot;</span>.
Logical volume <span style="color: #ff0000;">&quot;/dev/vg20/lvol1&quot;</span> has been successfully created
with lv number 1.
Volume group <span style="color: #ff0000;">&quot;/dev/vg20&quot;</span> has been successfully created.</pre></div></div>

<p>Last but not least, Enable the VG</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> vgchange <span style="color: #660033;">-a</span> y <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vg20
Activated volume group
Volume group <span style="color: #ff0000;">&quot;/dev/vg20&quot;</span> has been successfully changed.</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/03/rename-volume-group-on-hpux-quick-dirty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show Memory Info In HP-UX</title>
		<link>http://sysinfo.bascomp.org/2007/08/show-memory-info-in-hp-ux/</link>
		<comments>http://sysinfo.bascomp.org/2007/08/show-memory-info-in-hp-ux/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 05:00:15 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[System Properties]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2007/08/06/show-memory-info-in-hp-ux/</guid>
		<description><![CDATA[If your machine install the IGNITE software you can use print_manifest , If not you can use cstm (Command line interface to the Support Tool Manager)

bash&#62; echo &#34;selclass qualifier memory;info;wait;infolog&#34; &#124; /usr/sbin/cstm &#124; grep 'Total Configured'
Total Configured Memory   : 143360 MB

]]></description>
			<content:encoded><![CDATA[<p>If your machine install the IGNITE software you can use <a href="http://sysinfo.bascomp.org/2007/07/03/infomation/">print_manifest</a> , If not you can use <a href="http://docs.hp.com/en/diag/stm/sth_cstm.htm" target="_blank">cstm</a> (Command line interface to the Support Tool Manager)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;selclass qualifier memory;info;wait;infolog&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>cstm <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">'Total Configured'</span>
Total Configured Memory   : <span style="color: #000000;">143360</span> MB</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2007/08/show-memory-info-in-hp-ux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Show Serial Number System In HP-UX</title>
		<link>http://sysinfo.bascomp.org/2007/08/show-serial-number-system-in-hp-ux/</link>
		<comments>http://sysinfo.bascomp.org/2007/08/show-serial-number-system-in-hp-ux/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 04:40:02 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[System Properties]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2007/08/06/show-serial-number-system-in-hp-ux/</guid>
		<description><![CDATA[If your machine install the IGNITE software you can use print_manifest , If not you can use cstm (Command line interface to the Support Tool Manager)

bash&#62; echo &#34;selclass qualifier system;info;wait;infolog&#34; &#124; /usr/sbin/cstm &#124; grep &#34;System Serial Number&#34;
System Serial Number.......: S**xxxxxx

]]></description>
			<content:encoded><![CDATA[<p>If your machine install the IGNITE software you can use <a href="http://sysinfo.bascomp.org/2007/07/03/infomation/">print_manifest</a> , If not you can use <a href="http://docs.hp.com/en/diag/stm/sth_cstm.htm" target="_blank">cstm</a> (Command line interface to the Support Tool Manager)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;selclass qualifier system;info;wait;infolog&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>cstm <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;System Serial Number&quot;</span>
System Serial Number.......: S<span style="color: #000000; font-weight: bold;">**</span>xxxxxx</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2007/08/show-serial-number-system-in-hp-ux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wget Behind Proxy</title>
		<link>http://sysinfo.bascomp.org/2007/08/wget-behind-proxy/</link>
		<comments>http://sysinfo.bascomp.org/2007/08/wget-behind-proxy/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 15:35:24 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2007/08/01/wget-behind-proxy/</guid>
		<description><![CDATA[Before Use, Please Install (swinstall) the packaged, reach at http://hpux.connect.org.uk/hppd/hpux/Gnu/wget-1.10.2/, don't forget about the build and run-time dependencies.
after that please add
"export http_proxy=http://server-proxy:port"
and
"export ftp_proxy=http://server-proxy:port"
in your profile
Enjoy!!
]]></description>
			<content:encoded><![CDATA[<p>Before Use, Please Install (swinstall) the packaged, reach at <a href="http://hpux.connect.org.uk/hppd/hpux/Gnu/wget-1.10.2/" target="_blank">http://hpux.connect.org.uk/hppd/hpux/Gnu/wget-1.10.2/</a>, don't forget about the build and run-time dependencies.<br />
after that please add<br />
<code>"export http_proxy=http://server-proxy:port"</code><br />
and<br />
<code>"export ftp_proxy=http://server-proxy:port"</code><br />
in your profile</p>
<p>Enjoy!!</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2007/08/wget-behind-proxy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backup Systems To Tape</title>
		<link>http://sysinfo.bascomp.org/2007/07/backup-systems-to-tape/</link>
		<comments>http://sysinfo.bascomp.org/2007/07/backup-systems-to-tape/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 11:06:42 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[HPUX]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2007/07/05/backup-systems-to-tape/</guid>
		<description><![CDATA[Scan Tape Device, to find full path..

bash&#62; /usr/sbin/ioscan -funC tape
Class     I  H/W Path        Driver   S/W State   H/W Type     Description
===============================================
tape      0  0/0/11/1/0.3.0  stape    CLAIMED   [...]]]></description>
			<content:encoded><![CDATA[<p>Scan Tape Device, to find full path..</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>ioscan <span style="color: #660033;">-funC</span> tape
Class     I  H<span style="color: #000000; font-weight: bold;">/</span>W Path        Driver   S<span style="color: #000000; font-weight: bold;">/</span>W State   H<span style="color: #000000; font-weight: bold;">/</span>W Type     Description
===============================================
tape      <span style="color: #000000;">0</span>  <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">11</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>0.3.0  stape    CLAIMED     DEVICE       HP      C5683A
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>0m            <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>0mnb          <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0BESTn   <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0DDSb
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>0mb           <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0BEST    <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0BESTnb  <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0DDSn
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>0mn           <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0BESTb   <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0DDS     <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>c1t3d0DDSnb
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#40;</span>some output removed <span style="color: #000000; font-weight: bold;">for</span> brevity<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Install "Ignite-UX" software before used</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> make_tape_recovery <span style="color: #660033;">-IAv</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>0m</pre></div></div>

<p>Rewind Tape</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> mt <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rmt<span style="color: #000000; font-weight: bold;">/</span>0m rew</pre></div></div>

<p>Monitor backup tape process :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>ignite<span style="color: #000000; font-weight: bold;">/</span>recovery<span style="color: #000000; font-weight: bold;">/</span>latest<span style="color: #000000; font-weight: bold;">/</span>recovery.log</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2007/07/backup-systems-to-tape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reads Traditional and Modular Kernel Configuration Files</title>
		<link>http://sysinfo.bascomp.org/2007/07/reads-traditional-and-modular-kernel-configuration-files/</link>
		<comments>http://sysinfo.bascomp.org/2007/07/reads-traditional-and-modular-kernel-configuration-files/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 02:34:28 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[HPUX]]></category>
		<category><![CDATA[System Parameters]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2007/07/05/reads-traditional-and-modular-kernel-configuration-files/</guid>
		<description><![CDATA[$ /usr/sbin/kmtune
Parameter             Current Dyn Planned                    Module     Version
=========================================== NSTRBLKSCHED             [...]]]></description>
			<content:encoded><![CDATA[<p><code>$ /usr/sbin/kmtune</code></p>
<blockquote><p>Parameter             Current Dyn Planned                    Module     Version<br />
=========================================== NSTRBLKSCHED                -  -  2<br />
NSTREVENT                  50  -  50<br />
NSTRPUSH                   16  -  16<br />
NSTRSCHED                   0  -  0<br />
STRCTLSZ                 1024  -  1024<br />
STRMSGSZ                65535  -  65535<br />
acctresume                  4  -  4<br />
acctsuspend                 2  -  2<br />
aio_listio_max            256  -  256<br />
aio_max_ops              2048  -  2048<br />
aio_physmem_pct            10  -  10<br />
aio_prio_delta_max         20  -  20<br />
allocate_fs_swapmap         0  -  0<br />
alwaysdump                  1  -  1<br />
bcvmap_size_factor          2  -  2<br />
bootspinlocks               -  -  256</p>
<p>(some output removed for brevity)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2007/07/reads-traditional-and-modular-kernel-configuration-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
