<?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; Hendrawan</title>
	<atom:link href="http://sysinfo.bascomp.org/author/sysinfo/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>Reinstall grub on HP Smart Array</title>
		<link>http://sysinfo.bascomp.org/2010/04/reinstall-grub-on-hp-smart-array/</link>
		<comments>http://sysinfo.bascomp.org/2010/04/reinstall-grub-on-hp-smart-array/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 09:34:43 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Boot]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=293</guid>
		<description><![CDATA[Hi guys, long time no see. :d,
I want to share a triki or stupid trick on MBR problem.
Yesterday, I was fix a boot problem of HP Blade 460C with CentOS 5.4 i386 installed in my customer, some people in the Net fix that problem with reinstalling grub with grub-install command, I assume they have /dev/sda [...]]]></description>
			<content:encoded><![CDATA[<p>Hi guys, long time no see. :d,<br />
I want to share a triki or stupid trick on MBR problem.</p>
<p>Yesterday, I was fix a boot problem of HP Blade 460C with CentOS 5.4 i386 installed in my customer, some people in the Net fix that problem with reinstalling grub with grub-install command, I assume they have /dev/sda or /dev/hda on boot device, but since HP comes with RAID Controller (SMART ARRAY) hardware, the sda or hda seem not be use in here, because boot or any disk device come with /dev/cciss/c0d0.</p>
<p>So a workaround for solving this problem is just change boot device and device map on grub configuration.</p>
<p>See my old configuration bellow.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">-/etc/grub.conf-------
# grub.conf generated by anaconda
#
#
#boot=/dev/sda
# default=0 # commented out by Proliant HBA install script
default=2
fallback=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
[...]</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">-/boot/grub/device.map----
# this device map was generated by anaconda
(hd4)     /dev/cciss/c0d0
(hd0)     /dev/sda</pre></div></div>

<p>Now change "#boot=/dev/sda" with "boot=/dev/cciss/c0d0" in /etc/grub.conf<br />
and "(hd0) /dev/sda" with "(hd0) /dev/cciss/c0d0" in /boot/grub/device.map</p>
<p>after that just running simple grub command bellow</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> grub <span style="color: #660033;">--batch</span> <span style="color: #660033;">--device-map</span>=<span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</span>device.map <span style="color: #660033;">--config-file</span>=<span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</span>grub.conf
grub<span style="color: #000000; font-weight: bold;">&gt;</span> root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
grub<span style="color: #000000; font-weight: bold;">&gt;</span> setup <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0<span style="color: #7a0874; font-weight: bold;">&#41;</span>
grub<span style="color: #000000; font-weight: bold;">&gt;</span> quit</pre></div></div>

<p>Restart and hope this help</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2010/04/reinstall-grub-on-hp-smart-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Save the earth by 60 minutes</title>
		<link>http://sysinfo.bascomp.org/2010/03/save-the-earth-by-60-minutes/</link>
		<comments>http://sysinfo.bascomp.org/2010/03/save-the-earth-by-60-minutes/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 06:08:19 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Oot]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=281</guid>
		<description><![CDATA[ Sysinfo.bascomp.org will turn off its service, on this day at 20.30-21.30 western Indonesia time, To celebrate the earth hour.
Let us turn off the notebook, computer, gadget, or even your data center, for the sake of the survival of our earth
may the force be with you
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.earthhour.org" target="_blank"><img src="http://www.earthhour.org/assets/img/tools/logos/EH_logo.jpg" width="114" height="112" alt="Earth Hour - Logo" align="left" vspace="5" hspace="5" /></a> Sysinfo.bascomp.org will turn off its service, on this day at 20.30-21.30 western Indonesia time, To celebrate the earth hour.<br />
Let us turn off the notebook, computer, gadget, or even your data center, for the sake of the survival of our earth</p>
<p><img src="http://sysinfo.bascomp.org/wp-content/themes/r755/images/blockquote.gif" />may the force be with you</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2010/03/save-the-earth-by-60-minutes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>Boot archive error or corrupt</title>
		<link>http://sysinfo.bascomp.org/2009/05/boot-archive-error-or-corrupt/</link>
		<comments>http://sysinfo.bascomp.org/2009/05/boot-archive-error-or-corrupt/#comments</comments>
		<pubDate>Fri, 01 May 2009 06:50:45 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Common Problem]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[bootadm]]></category>
		<category><![CDATA[boot_archive]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=216</guid>
		<description><![CDATA[A few weeks ago, I got a little problem with my solaris box, namely solaris won't boot because the boot archive was corrupt, *sigh*. Anyway the boot archive in solaris 10 was contain kernel module and configuration file was needed for solaris to startup the system.
Error:

module /platform/i86pc/boot_archive error 3 bad or corrupt data while decompressing [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, I got a little problem with my solaris box, namely solaris won't boot because the boot archive was corrupt, *sigh*. Anyway the boot archive in solaris 10 was contain kernel module and configuration file was needed for solaris to startup the system.</p>
<p><strong>Error:</strong></p>
<blockquote><p>
module /platform/i86pc/boot_archive error 3 bad or corrupt data while decompressing file
</p></blockquote>
<p><strong>Workaround:</strong></p>
<p>Boot up your solaris in "solaris failsafe mode", next solaris image will mount with writeable mode on "/a" mount point</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;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>a<span style="color: #000000; font-weight: bold;">/</span>platform<span style="color: #000000; font-weight: bold;">/</span>i86pc<span style="color: #000000; font-weight: bold;">/</span>boot_archive
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> bootadm update-archive <span style="color: #660033;">-R</span> <span style="color: #000000; font-weight: bold;">/</span>a
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> reboot</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/05/boot-archive-error-or-corrupt/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>IP multipathing on Solaris 10 with Hanic (NIC Redundancy with one IP)</title>
		<link>http://sysinfo.bascomp.org/2009/04/ip-multipathing-on-solaris-10-with-hanic-nic-redundancy-with-one-ip/</link>
		<comments>http://sysinfo.bascomp.org/2009/04/ip-multipathing-on-solaris-10-with-hanic-nic-redundancy-with-one-ip/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 09:20:55 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Multipath I/O]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[hanic]]></category>
		<category><![CDATA[ipmp]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=209</guid>
		<description><![CDATA[Hanic ?
Do you know what's that.
Yes, Hanic is NIC Redundancy with one IP, hanic was made by "Partha Subramanian", and based on perl, hanic more simply and powerfull than IPMP, the default solaris IP multipathing. Why hanic was simply, in hanic we unnecessary to defined all requirement for respective NIC , just install, run and [...]]]></description>
			<content:encoded><![CDATA[<p>Hanic ?<br />
Do you know what's that.<br />
Yes, <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">Hanic</a> is <a href="http://en.wikipedia.org/wiki/Network_card">NIC</a> Redundancy with one IP, <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> was made by "Partha Subramanian", and based on perl, <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> more simply and powerfull than IPMP, the default solaris IP multipathing. Why <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> was simply, in <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> we unnecessary to defined all requirement for respective <a href="http://en.wikipedia.org/wiki/Network_card">NIC</a> , just install, run and ready to failover.</p>
<p>Bellow, this is the step by step for <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> used.</p>
<p>1. First of all, we must got the <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> source as usually</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;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.sun.com<span style="color: #000000; font-weight: bold;">/</span>bigadmin<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>submittedScripts<span style="color: #000000; font-weight: bold;">/</span>hanic.tar.gz</pre></div></div>

<p>2. Show your <a href="http://en.wikipedia.org/wiki/Network_card">NIC</a> for me</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;">ifconfig</span> e1000g0 plumb
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> ifconifg e1000g1 plumb</pre></div></div>


<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;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hosts
192.168.85.3    training.bascomp.org    training</pre></div></div>

<p>3. Install <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> on your system</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;">gunzip</span> hanic.tar.gz<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">tar</span> xvf -
<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;">cd</span> hanic
<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;">chmod</span> +x <span style="color: #000000; font-weight: bold;">*</span>
<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>hanic.install</pre></div></div>

<p>As usually software installation you must follow the guide, something like this.<br />
Define your primary and secondary <a href="http://en.wikipedia.org/wiki/Network_card">NIC</a>, type your IP Address, your netmask and then reboot your system, for completed the installation.</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> init <span style="color: #000000;">6</span></pre></div></div>

<p><span id="more-209"></span></p>
<p>4. Failover IP Address</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> hanic -monitor;hanic <span style="color: #660033;">-cleanup</span>
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> hanic <span style="color: #660033;">-status</span>
&nbsp;
STATUS - HA NIC Monitoring
<span style="color: #660033;">-------------------------------------------------</span>
State       Active<span style="color: #7a0874; font-weight: bold;">&#40;</span>Passive<span style="color: #7a0874; font-weight: bold;">&#41;</span>    PID
<span style="color: #660033;">-------------------------------------------------</span>
Running     e1000g1<span style="color: #7a0874; font-weight: bold;">&#40;</span>e1000g0<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000;">1081</span>
<span style="color: #660033;">-------------------------------------------------</span></pre></div></div>

<p>Oke. seem to be <a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/hanic_nic_redundanc">hanic</a> work as predictable, furthermore we test the fail over with <strong>"switch"</strong> command, whereabout <strong>"switch"</strong> do the switch ip address from primary NIC to secondary NIC.</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;">ifconfig</span> <span style="color: #660033;">-a</span>
e1000g1: <span style="color: #007800;">flags</span>=<span style="color: #000000;">1000843</span><span style="color: #000000; font-weight: bold;">&amp;</span>lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4<span style="color: #000000; font-weight: bold;">&amp;</span>gt; mtu <span style="color: #000000;">1500</span> index <span style="color: #000000;">6</span>
inet 192.168.85.3 netmask ffffff00 broadcast 192.168.85.255
ether <span style="color: #000000;">8</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">27</span>:<span style="color: #000000;">86</span>:2e:c4</pre></div></div>


<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> hanic <span style="color: #660033;">-status</span>
&nbsp;
STATUS - HA NIC Monitoring
<span style="color: #660033;">-------------------------------------------------</span>
State       Active<span style="color: #7a0874; font-weight: bold;">&#40;</span>Passive<span style="color: #7a0874; font-weight: bold;">&#41;</span>    PID
<span style="color: #660033;">-------------------------------------------------</span>
Running     e1000g1<span style="color: #7a0874; font-weight: bold;">&#40;</span>e1000g0<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000;">1081</span>
<span style="color: #660033;">-------------------------------------------------</span></pre></div></div>


<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> hanic <span style="color: #660033;">-switch</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> hanic <span style="color: #660033;">-status</span>
&nbsp;
STATUS - HA NIC Monitoring
<span style="color: #660033;">-------------------------------------------------</span>
State       Active<span style="color: #7a0874; font-weight: bold;">&#40;</span>Passive<span style="color: #7a0874; font-weight: bold;">&#41;</span>    PID
<span style="color: #660033;">-------------------------------------------------</span>
Running     e1000g0<span style="color: #7a0874; font-weight: bold;">&#40;</span>e1000g1<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000;">1081</span>
<span style="color: #660033;">-------------------------------------------------</span>
&nbsp;
<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;">ifconfig</span> <span style="color: #660033;">-a</span>
e1000g0: <span style="color: #007800;">flags</span>=<span style="color: #000000;">1000843</span><span style="color: #000000; font-weight: bold;">&amp;</span>lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4<span style="color: #000000; font-weight: bold;">&amp;</span>gt; mtu <span style="color: #000000;">1500</span> index <span style="color: #000000;">7</span>
inet 192.168.85.3 netmask ffffff00 broadcast 192.168.85.255
ether <span style="color: #000000;">8</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">27</span>:<span style="color: #000000;">82</span>:<span style="color: #000000;">21</span>:<span style="color: #000000;">80</span></pre></div></div>

<p>5. Failover offline interface<br />
Oke works perfect ha, now lets start second trial, for this situation try to offline the active network interface, and see what's going, for monitoring this trial, you can see wheter the connection drop or not with ping command.</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;">ifconfig</span> <span style="color: #660033;">-a</span>
e1000g0: <span style="color: #007800;">flags</span>=<span style="color: #000000;">1000843</span><span style="color: #000000; font-weight: bold;">&amp;</span>lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4<span style="color: #000000; font-weight: bold;">&amp;</span>gt; mtu <span style="color: #000000;">1500</span> index <span style="color: #000000;">3</span>
inet 192.168.85.3 netmask ffffff00 broadcast 192.168.85.255
ether <span style="color: #000000;">8</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">27</span>:<span style="color: #000000;">82</span>:<span style="color: #000000;">21</span>:<span style="color: #000000;">80</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> hanic <span style="color: #660033;">-offline</span>
&nbsp;
<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;">ifconfig</span> <span style="color: #660033;">-a</span>
e1000g1: <span style="color: #007800;">flags</span>=<span style="color: #000000;">1000843</span><span style="color: #000000; font-weight: bold;">&amp;</span>lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4<span style="color: #000000; font-weight: bold;">&amp;</span>gt; mtu <span style="color: #000000;">1500</span> index <span style="color: #000000;">4</span>
inet 192.168.85.3 netmask ffffff00 broadcast 192.168.85.255
ether <span style="color: #000000;">8</span>:<span style="color: #000000;">0</span>:<span style="color: #000000;">27</span>:<span style="color: #000000;">86</span>:2e:c4
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> hanic <span style="color: #660033;">-status</span>
&nbsp;
STATUS - HA NIC Monitoring
<span style="color: #660033;">-------------------------------------------------</span>
State       Active<span style="color: #7a0874; font-weight: bold;">&#40;</span>Passive<span style="color: #7a0874; font-weight: bold;">&#41;</span>    PID
<span style="color: #660033;">-------------------------------------------------</span>
Running     e1000g1<span style="color: #7a0874; font-weight: bold;">&#40;</span>e1000g0<span style="color: #7a0874; font-weight: bold;">&#41;</span>   <span style="color: #000000;">1081</span>
<span style="color: #660033;">-------------------------------------------------</span></pre></div></div>

<p>Source from: <a href="http://dot.choosen.net/2009/04/06/ip-multipathing-on-solaris-10-with-hanic-nic-redundancy-with-one-ip/">http://dot.choosen.net/2009/04/06/ip-multipathing-on-solaris-10-with-hanic-nic-redundancy-with-one-ip/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/04/ip-multipathing-on-solaris-10-with-hanic-nic-redundancy-with-one-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirroring/Unmirroring on Solaris 10</title>
		<link>http://sysinfo.bascomp.org/2009/04/mirroring-on-solaris-10/</link>
		<comments>http://sysinfo.bascomp.org/2009/04/mirroring-on-solaris-10/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 07:49:43 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[SVM]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[raid1]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=202</guid>
		<description><![CDATA[Post kali ini dengan bahasa indonesia tentunya, akan membahas mengenai membuat mirror dan melepaskan mirror di solaris 10 x86.
sekedar informasi, RAID-1 yang dikenal dengan mirror ini sangat populer untuk tingkat data redudansi juga faster writeable performance,
RAID-1 biasanya digunakan untuk system operasi ditempatkan, dan juga untuk aplikasi dengan tingkat penulisan yang tinggi, contoh Redolog.
Memang sangat di [...]]]></description>
			<content:encoded><![CDATA[<p>Post kali ini dengan bahasa indonesia tentunya, akan membahas mengenai membuat mirror dan melepaskan mirror di solaris 10 x86.<br />
sekedar informasi, RAID-1 yang dikenal dengan mirror ini sangat populer untuk tingkat data redudansi juga faster writeable performance,<br />
RAID-1 biasanya digunakan untuk system operasi ditempatkan, dan juga untuk aplikasi dengan tingkat penulisan yang tinggi, contoh Redolog.<br />
Memang sangat di yakinin bahwa untuk pembahasan mengenai RAID-1 ini sangat-sangat banyak bertebaran di internet, tapi apalah daya untuk kepentingan dokumentasi kita bahas disini.<br />
Postingan RAID-1 ini menggunakan solaris volume manager (SVM), dan 2 disk dengan size yang sama.</p>
<p>Magic code here.<br />
Dibawah ini adalah kondisi awal sebelum 2 disk baru diinstallasi di system.</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> cfgadm <span style="color: #660033;">-al</span>
Ap_Id                          Type         Receptacle   Occupant     Condition
sata0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span>::dsk<span style="color: #000000; font-weight: bold;">/</span>c1t0d0            disk         connected    configured   ok</pre></div></div>

<p>Kita lanjut untuk rekonfigur boot proses dan updating /dev dan /devices.</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> devfsadm <span style="color: #660033;">-C</span>
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> cfgadm <span style="color: #660033;">-al</span>
Ap_Id                          Type         Receptacle   Occupant     Condition
sata0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span>::dsk<span style="color: #000000; font-weight: bold;">/</span>c1t0d0            disk         connected    configured   ok
sata0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span>::dsk<span style="color: #000000; font-weight: bold;">/</span>c1t1d0            disk         connected    configured   ok
sata0<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2</span>::dsk<span style="color: #000000; font-weight: bold;">/</span>c1t2d0            disk         connected    configured   ok</pre></div></div>

<p>Oke setelah semua persiapan selesai, kita lanjut dengan membuat RAID-1nya.</p>
<p><span id="more-202"></span></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> format c1t1d0</pre></div></div>

<p>lalu buat 2 partisi, satu untuk data dan satulagi untuk metadatanya disimpan, biasanya di slice 7.<br />
Setelahnya kita salin format partisi dari disk primary ke disk secondary, dan dilanjut dengan membuat state databasenya.</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> prtvtoc <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rdsk<span style="color: #000000; font-weight: bold;">/</span>c1t1d0s2 <span style="color: #000000; font-weight: bold;">|</span>fmthard <span style="color: #660033;">-s</span> - <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>rdsk<span style="color: #000000; font-weight: bold;">/</span>c1t2d0s2
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> metadb <span style="color: #660033;">-a</span> <span style="color: #660033;">-f</span> <span style="color: #660033;">-c</span> <span style="color: #000000;">3</span> c1t1d0s7 c1t2d0s7</pre></div></div>


<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> metadb
        flags           first blk       block count
     a m  pc luo        <span style="color: #000000;">16</span>              <span style="color: #000000;">8192</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>c1t1d0s7
     a    pc luo        <span style="color: #000000;">8208</span>            <span style="color: #000000;">8192</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>c1t1d0s7
     a    pc luo        <span style="color: #000000;">16400</span>           <span style="color: #000000;">8192</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>c1t1d0s7
     a    pc luo        <span style="color: #000000;">16</span>              <span style="color: #000000;">8192</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>c1t2d0s7
     a    pc luo        <span style="color: #000000;">8208</span>            <span style="color: #000000;">8192</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>c1t2d0s7
     a    pc luo        <span style="color: #000000;">16400</span>           <span style="color: #000000;">8192</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>c1t2d0s7</pre></div></div>

<p>Setelah konfirm, lanjut dengan membuat raid 1 nya.</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> metainit <span style="color: #660033;">-f</span> d70 <span style="color: #000000;">1</span> <span style="color: #000000;">1</span> c1t1d0s3
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> metainit <span style="color: #660033;">-f</span> d71 <span style="color: #000000;">1</span> <span style="color: #000000;">1</span> c1t2d0s3
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> metainit d69 <span style="color: #660033;">-m</span> d70
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> metattach d69 d71</pre></div></div>


<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> metastat d69
d69: Mirror
    Submirror <span style="color: #000000;">0</span>: d70
      State: Okay         
    Submirror <span style="color: #000000;">1</span>: d71
      State: Resyncing    
    Resync <span style="color: #000000; font-weight: bold;">in</span> progress: <span style="color: #000000;">35</span> <span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">done</span>
    Pass: <span style="color: #000000;">1</span>
    Read option: roundrobin <span style="color: #7a0874; font-weight: bold;">&#40;</span>default<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    Write option: parallel <span style="color: #7a0874; font-weight: bold;">&#40;</span>default<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    Size: <span style="color: #000000;">4194304</span> blocks <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span> GB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
d70: Submirror of d69
    State: Okay         
    Size: <span style="color: #000000;">4194304</span> blocks <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span> GB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    Stripe <span style="color: #000000;">0</span>:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s3          <span style="color: #000000;">0</span>     No            Okay   Yes 
&nbsp;
&nbsp;
d71: Submirror of d69
    State: Resyncing    
    Size: <span style="color: #000000;">4194304</span> blocks <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span> GB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    Stripe <span style="color: #000000;">0</span>:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t2d0s3          <span style="color: #000000;">0</span>     No            Okay   Yes</pre></div></div>

<p>Terlihat sedang dalam proses resync (Resync in progress: 35 % done),<br />
kita lanjut dengan membuat mount pointnya.</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> newfs <span style="color: #660033;">-f</span> <span style="color: #000000;">4096</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md<span style="color: #000000; font-weight: bold;">/</span>rdsk<span style="color: #000000; font-weight: bold;">/</span>d69
<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;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>apps
<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;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vfstab
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md<span style="color: #000000; font-weight: bold;">/</span>dsk<span style="color: #000000; font-weight: bold;">/</span>d69 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md<span style="color: #000000; font-weight: bold;">/</span>rdsk<span style="color: #000000; font-weight: bold;">/</span>d69 <span style="color: #000000; font-weight: bold;">/</span>apps ufs <span style="color: #000000;">2</span> <span style="color: #c20cb9; font-weight: bold;">yes</span> -</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">shell<span style="color: #000000; font-weight: bold;">&gt;</span> mountall
shell<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">df</span> <span style="color: #660033;">-F</span> ufs -h<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> apps
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>md<span style="color: #000000; font-weight: bold;">/</span>dsk<span style="color: #000000; font-weight: bold;">/</span>d69        1.9G   2.0M   1.9G     <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">%</span>    <span style="color: #000000; font-weight: bold;">/</span>apps</pre></div></div>

<p>Oke lanjut dengan Unmirroringnya, biar komplit.<br />
Lakukan "metadetach" untuk membuat one-way mirror.</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;">umount</span> <span style="color: #000000; font-weight: bold;">/</span>apps
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> metadetach d69 d71
d69: submirror d71 is detached</pre></div></div>

<p>Verfiy...</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> metastat d69
d69: Mirror
    Submirror <span style="color: #000000;">0</span>: d70
      State: Okay         
    Pass: <span style="color: #000000;">1</span>
    Read option: roundrobin <span style="color: #7a0874; font-weight: bold;">&#40;</span>default<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    Write option: parallel <span style="color: #7a0874; font-weight: bold;">&#40;</span>default<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    Size: <span style="color: #000000;">4194304</span> blocks <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span> GB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
d70: Submirror of d69
    State: Okay         
    Size: <span style="color: #000000;">4194304</span> blocks <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span> GB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
    Stripe <span style="color: #000000;">0</span>:
        Device     Start Block  Dbase        State Reloc Hot Spare</pre></div></div>

<p>Tahap akhir adalah, "metaclear" untuk meng-clear mirror dan submirrornya.</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> metaclear <span style="color: #660033;">-r</span> d69
d69: Mirror is cleared
d70: Concat<span style="color: #000000; font-weight: bold;">/</span>Stripe is cleared
<span style="color: #c20cb9; font-weight: bold;">sh</span><span style="color: #000000; font-weight: bold;">&gt;</span> metaclear d71
d71: Concat<span style="color: #000000; font-weight: bold;">/</span>Stripe is cleared</pre></div></div>

<p>Jangan lupa untuk menghilangkan "/apps" dari /etc/vfstabnya.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/04/mirroring-on-solaris-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PowerPath show &quot;unlic&quot; status</title>
		<link>http://sysinfo.bascomp.org/2009/03/powerpath-show-unlic-status/</link>
		<comments>http://sysinfo.bascomp.org/2009/03/powerpath-show-unlic-status/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 13:02:32 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Multipath I/O]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/?p=121</guid>
		<description><![CDATA[Unlic indicates that unlicensed PowerPath is running for a CLARiiON array (no license key has been installed), Unlicensed defaults to "basic Fail/Over policy, we made change yet.

bash&#62; powermt display dev=emcpower0a&#124;grep policy
state=alive; policy=BasicFailover; priority=0; queued-IOs=0


bash&#62; powermt display dev=emcpower0a
Pseudo name=emcpower0a
CLARiiON ID=CK200071500374 &#91;SERVER&#93;
Logical device ID=60060160F0CE1A00185D33F95722DD11 &#91;LUN 25 SERVER&#93;
state=alive; policy=BasicFailover; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B    [...]]]></description>
			<content:encoded><![CDATA[<p>Unlic indicates that unlicensed PowerPath is running for a CLARiiON array (no license key has been installed), Unlicensed defaults to "basic Fail/Over policy, we made change yet.</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> powermt display <span style="color: #007800;">dev</span>=emcpower0a<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> policy
<span style="color: #007800;">state</span>=alive; <span style="color: #007800;">policy</span>=BasicFailover; <span style="color: #007800;">priority</span>=<span style="color: #000000;">0</span>; queued-IOs=<span style="color: #000000;">0</span></pre></div></div>


<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> powermt display <span style="color: #007800;">dev</span>=emcpower0a
Pseudo <span style="color: #007800;">name</span>=emcpower0a
CLARiiON <span style="color: #007800;">ID</span>=CK200071500374 <span style="color: #7a0874; font-weight: bold;">&#91;</span>SERVER<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Logical device <span style="color: #007800;">ID</span>=60060160F0CE1A00185D33F95722DD11 <span style="color: #7a0874; font-weight: bold;">&#91;</span>LUN <span style="color: #000000;">25</span> SERVER<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">state</span>=alive; <span style="color: #007800;">policy</span>=BasicFailover; <span style="color: #007800;">priority</span>=<span style="color: #000000;">0</span>; queued-IOs=<span style="color: #000000;">0</span>
Owner: <span style="color: #007800;">default</span>=SP B, <span style="color: #007800;">current</span>=SP B       Array failover mode: <span style="color: #000000;">1</span>
==============================================================================
<span style="color: #660033;">----------------</span> Host <span style="color: #660033;">---------------</span>   - Stor -   <span style="color: #660033;">--</span> I<span style="color: #000000; font-weight: bold;">/</span>O Path -  <span style="color: #660033;">--</span> Stats <span style="color: #660033;">---</span>
<span style="color: #666666; font-style: italic;">###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors</span>
==============================================================================
<span style="color: #000000;">3072</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c5t5006016239A02677d0s0 SP A2     active  alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span>
<span style="color: #000000;">3072</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c5t5006016A39A02677d0s0 SP B2     active  alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span>
<span style="color: #000000;">3074</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span>,<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c6t5006016339A02677d0s0 SP A3     unlic   alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span>
<span style="color: #000000;">3074</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span>,<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c6t5006016B39A02677d0s0 SP B3     unlic   alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span></pre></div></div>

<p><strong>Workaround</strong><br />
1. powermt check_registration<br />
2. powermt set policy=co dev=all (Set the Policy to co = Clariion Optimization)<br />
3. powermt display dev=all<br />
4. powermt save</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> powermt display <span style="color: #007800;">dev</span>=emcpower0a<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> policy
<span style="color: #007800;">state</span>=alive; <span style="color: #007800;">policy</span>=CLAROpt; <span style="color: #007800;">priority</span>=<span style="color: #000000;">0</span>; queued-IOs=<span style="color: #000000;">0</span></pre></div></div>


<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> powermt display <span style="color: #007800;">dev</span>=emcpower0a
Pseudo <span style="color: #007800;">name</span>=emcpower0a
CLARiiON <span style="color: #007800;">ID</span>=CK200071500374 <span style="color: #7a0874; font-weight: bold;">&#91;</span>SERVER<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Logical device <span style="color: #007800;">ID</span>=60060160F0CE1A00185D33F95722DD11 <span style="color: #7a0874; font-weight: bold;">&#91;</span>LUN <span style="color: #000000;">25</span> SERVER<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">state</span>=alive; <span style="color: #007800;">policy</span>=CLAROpt; <span style="color: #007800;">priority</span>=<span style="color: #000000;">0</span>; queued-IOs=<span style="color: #000000;">0</span>
Owner: <span style="color: #007800;">default</span>=SP B, <span style="color: #007800;">current</span>=SP B       Array failover mode: <span style="color: #000000;">1</span>
==============================================================================
<span style="color: #660033;">----------------</span> Host <span style="color: #660033;">---------------</span>   - Stor -   <span style="color: #660033;">--</span> I<span style="color: #000000; font-weight: bold;">/</span>O Path -  <span style="color: #660033;">--</span> Stats <span style="color: #660033;">---</span>
<span style="color: #666666; font-style: italic;">###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors</span>
==============================================================================
<span style="color: #000000;">3072</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c5t5006016239A02677d0s0 SP A2     active  alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span>
<span style="color: #000000;">3072</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c5t5006016A39A02677d0s0 SP B2     active  alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span>
<span style="color: #000000;">3074</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span>,<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c6t5006016339A02677d0s0 SP A3     active  alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span>
<span style="color: #000000;">3074</span> pci<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">8</span>,<span style="color: #000000;">700000</span><span style="color: #000000; font-weight: bold;">/</span>SUNW,qlc<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">3</span>,<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">/</span>fp<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">0</span>,<span style="color: #000000;">0</span> c6t5006016B39A02677d0s0 SP B3     active  alive      <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2009/03/powerpath-show-unlic-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
