<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>setaOffice</title>
	<atom:link href="http://setaoffice.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://setaoffice.com</link>
	<description>Unstructured Intelligence Gathering Desk</description>
	<lastBuildDate>Sun, 29 Aug 2010 11:11:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='setaoffice.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/2085c8b44ecc675adbe92dd4379c6cdf?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>setaOffice</title>
		<link>http://setaoffice.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://setaoffice.com/osd.xml" title="setaOffice" />
	<atom:link rel='hub' href='http://setaoffice.com/?pushpress=hub'/>
		<item>
		<title>Acessing a console of a domain in a Sun Enterprise 10K</title>
		<link>http://setaoffice.com/2010/08/22/acessing-a-console-of-a-domain-in-a-sun-enterprise-10k/</link>
		<comments>http://setaoffice.com/2010/08/22/acessing-a-console-of-a-domain-in-a-sun-enterprise-10k/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 01:22:41 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[e10k]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=777</guid>
		<description><![CDATA[Here is the procedure to reset a domain in a Sun E10K. I don&#8217;t know if there is some detail missing but here is what was done with help of my friend at work. To access the console of a domain hosted in a Sun E10K, first you need to know which number is this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=777&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is the procedure to reset a domain in a Sun E10K. I don&#8217;t know if there is some detail missing but here is what was done with help of my friend at work.</p>
<p>To access the console of a domain hosted in a Sun E10K, first you need to know which number is this domain. I grepped the /etc/hosts to find out</p>
<blockquote><p>root@ssp:/ # <span style="color:#0000ff;">grep -i e10kdomain1 /etc/hosts</span><br />
192.168.8.35    e10kdomain1    dom07   # 10.10.12.17   SB 06</p></blockquote>
<p>Become the user ssp and enter the domain hostname</p>
<blockquote><p>root@ssp:/ # <span style="color:#0000ff;">su &#8211; ssp</span><br />
Use of this network is restricted to authorized users only. User activity may be monitored and/or recorded. Anyone using this network expressly consents to such monitoring and/or recording. BE ADVISED: if possible criminal activity is detected, these records, along with certain personal information, may be provided to law enforcement officials.</p>
<p>Please enter SUNW_HOSTNAME: <span style="color:#0000ff;">dom07</span></p></blockquote>
<p>Use netcon to connect to the console</p>
<blockquote><p>ssp:dom07% <span style="color:#0000ff;">netcon</span><br />
trying to connect&#8230;<br />
connected.<br />
Unlocked write permission is granted.</p></blockquote>
<p>I connected to the domain&#8217;s console and the domain is locked. To reset it, you&#8217;ll need to know the system board to turn it off. Run domain_status and check the last column</p>
<blockquote><p>ssp:dom07% <span style="color:#0000ff;">domain_status</span><br />
DOMAIN           TYPE                      PLATFORM        OS      SYSBDS<br />
dom07            Ultra-Enterprise-10000    OnDemand02      5.8     6<br />
dom10            Ultra-Enterprise-10000    OnDemand02      5.8     9<br />
dom15            Ultra-Enterprise-10000    OnDemand02      5.8     14<br />
dom09            Ultra-Enterprise-10000    OnDemand02      5.8     8<br />
dom01            Ultra-Enterprise-10000    OnDemand02      5.8     0<br />
dom02            Ultra-Enterprise-10000    OnDemand02      5.8     1<br />
dom05            Ultra-Enterprise-10000    OnDemand02      5.8     4</p></blockquote>
<p>To power down you issue bringup -A off and the system board that the domain is running on</p>
<blockquote><p>ssp:dom07% <span style="color:#0000ff;">bringup -A off SB 6</span><br />
Trying to get bringup.lock lock&#8230; OK<br />
Checking that all other domains are down&#8230;&#8230;&#8230;  NO<br />
Bringing up domain dom07<br />
WARNING: Host is active; filesystems may be corrupted.<br />
Do you really wish to continue (y/n)? <span style="color:#0000ff;">y</span><br />
Is this command executed because of a &#8220;Hung&#8221; Host (y/n)? <span style="color:#0000ff;">y</span><br />
Starting: hpost<br />
Opening SNMP server library&#8230;</p>
<p>Significant contents of /export/home/ssp/.postrc:<br />
#<br />
logfile</p>
<p>Using blacklist file /var/opt/SUNWssp/etc/OnDemand02/blacklist<br />
#=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+<br />
proc 12.2 12.3<br />
Reading centerplane asics to obtain bus configuration&#8230;<br />
Bus configuration determined to be 3F.<br />
phase cplane_isolate: CP domain cluster mask clear&#8230;<br />
phase init_reset: Initial system resets&#8230;<br />
phase jtag_integ: JTAG probe and integrity test&#8230;<br />
phase mem_probe: Memory dimm probe&#8230;<br />
phase iom_probe: I/O module type probe&#8230;<br />
phase jtag_bbsram: JTAG basic test of bootbus sram&#8230;<br />
phase proc1: Initial processor module tests&#8230;<br />
phase pc/cic_reg: PC and CIC register tests&#8230;<br />
phase dtag: CIC DTAG tests&#8230;<br />
phase mem: MC register and memory tests&#8230;<br />
phase io: I/O controller tests&#8230;<br />
phase procmem2: Processor vs. memory II tests&#8230;<br />
phase lbexit: Centerplane connection tests&#8230;<br />
phase npb_mem: Non-Proc Board MC and memory tests&#8230;<br />
phase npb_iopc: Non-Proc Board IOPC register tests&#8230;<br />
phase npb_io: Non-Proc Board I/O controller tests&#8230;<br />
phase npb_cplane: Non-Proc Board centerplane connection tests&#8230;<br />
phase nmb_procmem2: Non-Mem Board Proc vs. memory II tests&#8230;<br />
phase final_config: Final configuration&#8230;<br />
Configuring in 3F, FOM = 8192.00: 4 procs, 4 Scards, 4096 MBytes.<br />
Creating OBP handoff structures&#8230;<br />
Configured in 3F with 4 processors, 4 Scards, 4096 MBytes memory.<br />
Interconnect       frequency is  99.902 MHz, from SNMP MIB.<br />
Processor external frequency is 199.805 MHz, from SNMP MIB.<br />
Processor internal frequency is 399.610 MHz, from proc clk_mode probe.<br />
Boot processor is 6.0 = 24<br />
POST (level=16, verbose=20) execution time 4:03<br />
Boot processor 24 written to /var/opt/SUNWssp/etc/OnDemand02/dom07/bootproc<br />
Updating domain dom07 with bootproc 24 domainInstance 0 and interrupt vector MIB&#8230;  OK<br />
Starting obp_helper -m 24 -A off&#8230;   OK<br />
Starting netcon_server -p 24 &#8230;   OK</p></blockquote>
<p>Power on the domain with bringup -A on. No need to specify the system board this time</p>
<blockquote><p>brsbssp02:dom07% <span style="color:#0000ff;">bringup -A on</span><br />
Trying to get bringup.lock lock&#8230; OK<br />
Checking that all other domains are down&#8230;&#8230;&#8230;  NO<br />
Bringing up domain dom07<br />
Starting: hpost<br />
Opening SNMP server library&#8230;</p>
<p>Significant contents of /export/home/ssp/.postrc:<br />
#<br />
logfile</p>
<p>Using blacklist file /var/opt/SUNWssp/etc/OnDemand02/blacklist<br />
#=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+<br />
proc 12.2 12.3<br />
Reading centerplane asics to obtain bus configuration&#8230;<br />
Bus configuration determined to be 3F.<br />
phase cplane_isolate: CP domain cluster mask clear&#8230;<br />
phase init_reset: Initial system resets&#8230;<br />
phase jtag_integ: JTAG probe and integrity test&#8230;<br />
phase mem_probe: Memory dimm probe&#8230;<br />
phase iom_probe: I/O module type probe&#8230;<br />
phase jtag_bbsram: JTAG basic test of bootbus sram&#8230;<br />
phase proc1: Initial processor module tests&#8230;<br />
phase pc/cic_reg: PC and CIC register tests&#8230;<br />
phase dtag: CIC DTAG tests&#8230;<br />
phase mem: MC register and memory tests&#8230;<br />
phase io: I/O controller tests&#8230;<br />
phase procmem2: Processor vs. memory II tests&#8230;<br />
phase lbexit: Centerplane connection tests&#8230;<br />
phase npb_mem: Non-Proc Board MC and memory tests&#8230;<br />
phase npb_iopc: Non-Proc Board IOPC register tests&#8230;<br />
phase npb_io: Non-Proc Board I/O controller tests&#8230;<br />
phase npb_cplane: Non-Proc Board centerplane connection tests&#8230;<br />
phase nmb_procmem2: Non-Mem Board Proc vs. memory II tests&#8230;<br />
phase final_config: Final configuration&#8230;<br />
Configuring in 3F, FOM = 8192.00: 4 procs, 4 Scards, 4096 MBytes.<br />
Creating OBP handoff structures&#8230;<br />
Configured in 3F with 4 processors, 4 Scards, 4096 MBytes memory.<br />
Interconnect       frequency is  99.902 MHz, from SNMP MIB.<br />
Processor external frequency is 199.805 MHz, from SNMP MIB.<br />
Processor internal frequency is 399.610 MHz, from proc clk_mode probe.<br />
Boot processor is 6.0 = 24<br />
POST (level=16, verbose=20) execution time 4:02<br />
Boot processor 24 written to /var/opt/SUNWssp/etc/OnDemand02/dom07/bootproc<br />
Updating domain dom07 with bootproc 24 domainInstance 0 and interrupt vector MIB&#8230;  OK<br />
Starting obp_helper -m 24 -A on boot SB 6&#8230;   OK<br />
Starting netcon_server -p 24 &#8230;   OK</p></blockquote>
<p>Follow the console with netcon</p>
<blockquote><p>ssp:dom07% <span style="color:#0000ff;">netcon -g</span><br />
trying to connect&#8230;<br />
connected.<br />
Unlocked write permission is granted.</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/e10k/'>e10k</a>, <a href='http://setaoffice.com/tag/sun/'>sun</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/777/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=777&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/22/acessing-a-console-of-a-domain-in-a-sun-enterprise-10k/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Running snoop to check the network traffic</title>
		<link>http://setaoffice.com/2010/08/13/running-snoop-to-check-the-network-traffic/</link>
		<comments>http://setaoffice.com/2010/08/13/running-snoop-to-check-the-network-traffic/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 12:05:19 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[snoop]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=762</guid>
		<description><![CDATA[Running snoop to check the network traffic. In this example, I&#8217;m generating an output file named /tmp/networkfile, recording everything that&#8217;s coming from 192.168.98.98 on port 80/TCP root@solaris:~ # snoop -o /tmp/networkfile 192.168.98.98 port 80 and tcp Using device /dev/e1000g0 (promiscuous mode) 147 Listening a specific network interface root@solaris:~ # snoop -d e1000g0 -o /tmp/networkfile Using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=762&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Running snoop to check the network traffic. In this example, I&#8217;m generating an output file named /tmp/networkfile, recording everything that&#8217;s coming from 192.168.98.98 on port 80/TCP</p>
<blockquote><p>root@solaris:~ # <span style="color:#0000ff;">snoop -o /tmp/networkfile 192.168.98.98 port 80 and tcp</span><br />
Using device /dev/e1000g0 (promiscuous mode)<br />
147</p></blockquote>
<p>Listening a specific network interface</p>
<blockquote><p>root@solaris:~ # <span style="color:#0000ff;">snoop -d e1000g0 -o /tmp/networkfile</span><br />
Using device /dev/e1000g0 (promiscuous mode)<br />
1446</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/snoop/'>snoop</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/762/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/762/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/762/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/762/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/762/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/762/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/762/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/762/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/762/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/762/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/762/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/762/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/762/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/762/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=762&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/13/running-snoop-to-check-the-network-traffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Checking I/O access in a specific disk in AIX</title>
		<link>http://setaoffice.com/2010/08/10/checking-io-access-in-a-specific-disk-in-aix/</link>
		<comments>http://setaoffice.com/2010/08/10/checking-io-access-in-a-specific-disk-in-aix/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 00:51:24 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[iostat]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=400</guid>
		<description><![CDATA[Run iostat and check the column % tm_act. For seven times, it will display the statistics every two seconds root@aix5:/ # iostat -d hdisk2 2 7 System configuration: lcpu=6 disk=4 Disks:        % tm_act     Kbps      tps    Kb_read   Kb_wrtn hdisk2          85.2     3453.1 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=400&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Run iostat and check the column % tm_act. For seven times, it will display the statistics every two seconds</p>
<blockquote><p>root@aix5:/ # <span style="color:#0000ff;">iostat -d hdisk2 2 7</span><br />
System configuration: lcpu=6 disk=4<br />
Disks:        % tm_act     Kbps      tps    Kb_read   Kb_wrtn<br />
hdisk2          85.2     3453.1     303.8   37734456   8731944<br />
hdisk2          51.0     610.0      84.5        796       424<br />
hdisk2          34.5     288.0      45.5        436       140<br />
hdisk2          39.5     452.0      63.5        692       212<br />
hdisk2          61.5     380.0      66.0        480       280<br />
hdisk2          48.5     542.0      66.5        596       488<br />
hdisk2          47.0     590.0      80.0       1020       160</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/aix/'>aix</a>, <a href='http://setaoffice.com/tag/iostat/'>iostat</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/400/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/400/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=400&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/10/checking-io-access-in-a-specific-disk-in-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Stopping and starting an AIX Subsystem</title>
		<link>http://setaoffice.com/2010/08/09/stopping-and-starting-an-aix-subsystem/</link>
		<comments>http://setaoffice.com/2010/08/09/stopping-and-starting-an-aix-subsystem/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 20:10:34 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[aix]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=543</guid>
		<description><![CDATA[Lists all the subsystems on AIX&#8217;s System Resource Controller and then look for the subsystem that you want. In this example, I&#8217;ll restart sshd root@aix:/ # lssrc -a &#124; grep ssh sshd ssh 340158 active Issue the command to stop sshd root@aix:/ # stopsrc -s sshd 0513-044 The sshd Subsystem was requested to stop. Then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=543&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lists all the subsystems on AIX&#8217;s System Resource Controller and then look for the subsystem that you want. In this example, I&#8217;ll restart sshd</p>
<blockquote><p>root@aix:/ # <span style="color:#0000ff;">lssrc -a | grep ssh</span><br />
sshd             ssh              340158       active</p></blockquote>
<p>Issue the command to stop sshd</p>
<blockquote><p>root@aix:/ # <span style="color:#0000ff;">stopsrc -s sshd</span><br />
0513-044 The sshd Subsystem was requested to stop.</p></blockquote>
<p>Then start it</p>
<blockquote><p>root@aix:/ # <span style="color:#0000ff;">startsrc -s sshd</span><br />
0513-059 The sshd Subsystem has been started. Subsystem PID is 340162.</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/aix/'>aix</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/543/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/543/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/543/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=543&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/09/stopping-and-starting-an-aix-subsystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Increasing a JFS2 filesystem on AIX</title>
		<link>http://setaoffice.com/2010/08/09/increasing-a-jfs2-filesystem-on-aix/</link>
		<comments>http://setaoffice.com/2010/08/09/increasing-a-jfs2-filesystem-on-aix/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 20:07:32 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[lsvg]]></category>
		<category><![CDATA[chfs]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=750</guid>
		<description><![CDATA[First you need to know which filesystem that you&#8217;ll resize. Get the logical volume root@aix:/ # df -m /u04 Filesystem MB blocks Free %Used Iused %Iused Mounted on /dev/lvcrnstore 34816.00 1892.34 95% 103 1% /u04 With this information you type lslv lvcrnstore to find out about the volume group that this logical group is part [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=750&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First you need to know which filesystem that you&#8217;ll resize. Get the logical volume</p>
<blockquote><p>root@aix:/ # <span style="color:#0000ff;">df -m /u04</span><br />
Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on<br />
/dev/<span style="color:#ff0000;">lvcrnstore</span> 34816.00   1892.34   95%      103     1% /u04</p></blockquote>
<p>With this information you type lslv lvcrnstore to find out about the volume group that this logical group is part of. Check if there are FREE PPs to extend the filesystem</p>
<blockquote><p>root@aix:/ # <span style="color:#0000ff;">lsvg oraclevg</span><br />
VOLUME GROUP:   oraclevg                 VG IDENTIFIER:  000d400c00004c00000000fd81379ca3<br />
VG STATE:       active                   PP SIZE:        256 megabyte(s)<br />
VG PERMISSION:  read/write               TOTAL PPs:      531 (135936 megabytes)<br />
MAX LVs:        256                      <span style="color:#ff0000;">FREE PPs:       17 (4352 megabytes)</span><br />
LVs:            15                       USED PPs:       514 (131584 megabytes)<br />
OPEN LVs:       14                       QUORUM:         2<br />
TOTAL PVs:      1                        VG DESCRIPTORS: 2<br />
STALE PVs:      0                        STALE PPs:      0<br />
ACTIVE PVs:     1                        AUTO ON:        yes<br />
MAX PPs per PV: 1016                     MAX PVs:        32<br />
LTG size:       128 kilobyte(s)          AUTO SYNC:      no<br />
HOT SPARE:      no                       BB POLICY:      relocatable</p></blockquote>
<p>Resize the filesystem and check the new size</p>
<blockquote><p>root@aix:/ # <span style="color:#0000ff;">chfs -a size=+4G /u04</span><br />
Filesystem size changed to 79691776</p>
<p>root@aix:/ # <span style="color:#0000ff;">df -m /u04</span><br />
Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on<br />
/dev/lvcrnstore  <span style="color:#ff0000;">38912.00</span> 5987.71   85%      103     1% /u04</p></blockquote>
<p>Notice that the number of free PPs decreased since you used to increase the filesystem</p>
<blockquote><p>root@aix:/ # <span style="color:#0000ff;">lsvg oraclevg</span><br />
VOLUME GROUP:   oraclevg                 VG IDENTIFIER:  000d400c00004c00000000fd81379ca3<br />
VG STATE:       active                   PP SIZE:        256 megabyte(s)<br />
VG PERMISSION:  read/write               TOTAL PPs:      531 (135936 megabytes)<br />
MAX LVs:        256                      <span style="color:#ff0000;">FREE PPs:       1 (256 megabytes)</span><br />
LVs:            15                       USED PPs:       530 (135680 megabytes)<br />
OPEN LVs:       14                       QUORUM:         2<br />
TOTAL PVs:      1                        VG DESCRIPTORS: 2<br />
STALE PVs:      0                        STALE PPs:      0<br />
ACTIVE PVs:     1                        AUTO ON:        yes<br />
MAX PPs per PV: 1016                     MAX PVs:        32<br />
LTG size:       128 kilobyte(s)          AUTO SYNC:      no<br />
HOT SPARE:      no                       BB POLICY:      relocatable</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/aix/'>aix</a>, <a href='http://setaoffice.com/tag/chfs/'>chfs</a>, <a href='http://setaoffice.com/tag/lsvg/'>lsvg</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/750/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/750/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/750/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=750&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/09/increasing-a-jfs2-filesystem-on-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating a SVM metadevice and an UFS filesystem</title>
		<link>http://setaoffice.com/2010/08/08/creating-a-svm-metadevice-and-an-ufs-filesystem/</link>
		<comments>http://setaoffice.com/2010/08/08/creating-a-svm-metadevice-and-an-ufs-filesystem/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 01:57:56 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[svm]]></category>
		<category><![CDATA[metattach]]></category>
		<category><![CDATA[newfs]]></category>
		<category><![CDATA[metainit]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=673</guid>
		<description><![CDATA[The storage team created new LUNs and presented them to the server. I need to check which disks doesn&#8217;t have a label yet root@solaris:~ # echo &#124; format &#124; more Searching for disks&#8230;done c3t5006048449AFD297d167: configured with capacity of 11.24GB c3t5006048449AFD297d168: configured with capacity of 11.24GB c3t5006048449AFD297d169: configured with capacity of 11.24GB c3t5006048449AFD297d170: configured with capacity [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=673&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The storage team created new LUNs and presented them to the server. I need to check which disks doesn&#8217;t have a label yet</p>
<blockquote><p>root@solaris:~ # <span style="color:#0000ff;">echo | format | more</span><br />
Searching for disks&#8230;done</p>
<p>c3t5006048449AFD297d167: configured with capacity of 11.24GB<br />
c3t5006048449AFD297d168: configured with capacity of 11.24GB<br />
c3t5006048449AFD297d169: configured with capacity of 11.24GB<br />
c3t5006048449AFD297d170: configured with capacity of 11.24GB<br />
c3t5006048449AFD297d171: configured with capacity of 11.24GB<br />
c4t5006048449AFD298d167: configured with capacity of 11.24GB<br />
c4t5006048449AFD298d168: configured with capacity of 11.24GB<br />
c4t5006048449AFD298d169: configured with capacity of 11.24GB<br />
c4t5006048449AFD298d170: configured with capacity of 11.24GB<br />
c4t5006048449AFD298d171: configured with capacity of 11.24GB<br />
emcpower68a: configured with capacity of 11.24GB<br />
emcpower69a: configured with capacity of 11.24GB<br />
emcpower70a: configured with capacity of 11.24GB<br />
emcpower71a: configured with capacity of 11.24GB<br />
emcpower72a: configured with capacity of 11.24GB</p></blockquote>
<p>These disks are PowerPath devices and the only thing diferenciating them are the controllers. One path comes from c3 and the other one comes from c4. After I apply a label on the PowerPath devices, I create a new Solaris Volume Manager metadevice with metainit</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">metainit d74 1 1 /dev/dsk/emcpower68c</span><br />
d74: Concat/Stripe is setup</p></blockquote>
<p>I could specify the metadevice with the options 4 1 disk 1 disk 1 disk 1 disk but I find that if I attach one by one there is less chance of error</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">metattach d74 /dev/dsk/emcpower69c</span><br />
d74: component is attached<br />
root@solaris:/ # <span style="color:#0000ff;">metattach d74 /dev/dsk/emcpower70c</span><br />
d74: component is attached<br />
root@solaris:/ # <span style="color:#0000ff;">metattach d74 /dev/dsk/emcpower71c</span><br />
d74: component is attached</p></blockquote>
<p>Checking the metadevice and which physical disks are being used</p>
<blockquote><p>root@solaris:~ # <span style="color:#0000ff;">metastat -p d74</span><br />
d74 4 1 /dev/dsk/emcpower68c \<br />
1 /dev/dsk/emcpower69c \<br />
1 /dev/dsk/emcpower70c \<br />
1 /dev/dsk/emcpower71c</p></blockquote>
<p>Creating an UFS filesystem on this metadevice</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">newfs /dev/md/rdsk/d74</span><br />
/dev/md/rdsk/d74: Unable to find Media type. Proceeding with system determined parameters.<br />
newfs: construct a new file system /dev/md/rdsk/d74: (y/n)? <span style="color:#0000ff;">y</span><br />
/dev/md/rdsk/d74: Unable to find Media type. Proceeding with system determined parameters.<br />
Warning: 5952 sector(s) in last cylinder unallocated<br />
/dev/md/rdsk/d74:       94261440 sectors in 15343 cylinders of 48 tracks, 128 sectors<br />
46026,1MB in 959 cyl groups (16 c/g, 48,00MB/g, 5824 i/g)<br />
super-block backups (for fsck -F ufs -o b=#) at:<br />
32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,<br />
Initializing cylinder groups:<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
super-block backups for last 10 cylinder groups at:<br />
93297312, 93395744, 93494176, 93592608, 93691040, 93789472, 93887904,<br />
93986336, 94084768, 94183200</p></blockquote>
<p>Creating the mount point for the filesystem</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">mkdir /mountpoint</span></p></blockquote>
<p>Here I&#8217;m setting the read and browse properties for the directory to avoid problems if the umask is different than 022</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">chmod 755 /mountpoint</span></p></blockquote>
<p>I mount the filesystem and specify the metadevice</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">mount /dev/md/dsk/d74 /mountpoint</span></p>
<p>root@solaris:/ # <span style="color:#0000ff;">df -h /mountpoint</span><br />
Filesystem             size   used  avail capacity  Mounted on<br />
/dev/md/dsk/d74         44G    45M    44G     1%    /mountpoint</p></blockquote>
<p>If needed, now with the filesystem mounted you can change the owner and group of this filesystem</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">ls -ld /mountpoint</span><br />
drwxr-xr-x   3 root     root         512 jul 22 16:19 /nfein</p></blockquote>
<p>I made this new filesystem for the DBA to hold some files. So I&#8217;m changing the owner to oracle and group to dba</p>
<blockquote><p>root@solaris:/ # <span style="color:#0000ff;">chown oracle:dba /mountpoint</span></p>
<p>root@solaris:/ # <span style="color:#0000ff;">ls -ld /mountpoint</span><br />
drwxr-xr-x   3 oracle   dba          512 jul 22 16:19 /nfein</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/metainit/'>metainit</a>, <a href='http://setaoffice.com/tag/metattach/'>metattach</a>, <a href='http://setaoffice.com/tag/newfs/'>newfs</a>, <a href='http://setaoffice.com/tag/solaris/'>solaris</a>, <a href='http://setaoffice.com/tag/svm/'>svm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/673/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/673/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/673/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/673/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/673/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/673/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/673/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/673/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/673/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/673/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/673/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/673/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/673/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/673/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=673&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/08/creating-a-svm-metadevice-and-an-ufs-filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>How to connect to a Cyclades console server</title>
		<link>http://setaoffice.com/2010/08/07/how-to-connect-to-a-cyclades-console-server/</link>
		<comments>http://setaoffice.com/2010/08/07/how-to-connect-to-a-cyclades-console-server/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 15:14:59 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[cyclades]]></category>
		<category><![CDATA[console]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=730</guid>
		<description><![CDATA[Here I have a Cyclades AlterPath ACS16 Console Server. To connect to a serial port, first I need to login to the Cyclades emerson@shellcore:~ $ ssh root@192.85.176.210 Password: [root@cyclades011 root]# To connect to a serial port, type the corresponding port on the ts_menu utility [root@cyclades011 root]# ts_menu Serial Console Server Connection Menu for your Master [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=730&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here I have a Cyclades AlterPath ACS16 Console Server. To connect to a serial port, first I need to login to the Cyclades</p>
<blockquote><p>emerson@shellcore:~ $ <span style="color:#0000ff;">ssh root@192.85.176.210</span><br />
Password:</p>
<p>[root@cyclades011 root]#</p></blockquote>
<p>To connect to a serial port, type the corresponding port on the ts_menu utility</p>
<blockquote><p>[root@cyclades011 root]# <span style="color:#0000ff;">ts_menu</span><br />
Serial Console Server Connection Menu for your Master Terminal Server</p>
<p>1 0C-21-EFP01      2 0C-21-EFP02      3 0C-21-EFP03      4 0C-21-EFP04<br />
5 0C-21-EFP05      6 0C-21-EFP06      7 0C-21-EFP07      8 0C-21-EFP08<br />
9 0C-21-EFP09     10 0C-21-EFP10     11 0C-21-EFP11     12 0C-21-EFP12<br />
13 0C-21-EFP13     14 0C-21-EFP14     15 0C-21-EFP15     16 0C-21-EFP16</p>
<p>Type &#8216;q&#8217; to quit, a valid option[1-16], or anything else to refresh : <span style="color:#0000ff;">12</span></p></blockquote>
<blockquote><p>s_evt@cyclades011 2010-6-3T22:35:43Z 192.85.176.210 EVT[5]: Serial session started. User: root. Port name: 0C-21-EFP12. Port Number: 12.  Session Type: 1.<br />
solaris06 console login:</p>
<p>Please login:</p></blockquote>
<p>I logged out of the ALOM and I didn&#8217;t have the password for it. Happily it timed out and I was back on the ALOM.</p>
<blockquote><p>Serial line login timeout, returns to console stream.</p>
<p>Enter #. to return to ALOM.</p></blockquote>
<p>To quit, press CTRL + \</p>
<blockquote><p>solaris06 console login: (<span style="color:#0000ff;">CTRL + \</span>) Quit<br />
[root@usplgmcylts011 root]#  s_evt@usplgmcylts011 2010-6-3T22:51:50Z 192.85.176.210 EVT[6]: Serial session stopped. User: root. Port name: 0C-21-EFP12. Port Number: 12. Session type: 1.<br />
s_evt@usplgmcylts011 2010-6-3T22:51:50Z 192.85.176.210 EVT[6]: Serial session stopped. User: root. Port name: 0C-21-EFP12. Port Number: 12. Session type: 1.</p>
<p>[root@cyclades011 root]#</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/console/'>console</a>, <a href='http://setaoffice.com/tag/cyclades/'>cyclades</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/730/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/730/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/730/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=730&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/07/how-to-connect-to-a-cyclades-console-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>A Cluster with Solaris and Oracle RAC &#8211; Avoid panic when rebooting</title>
		<link>http://setaoffice.com/2010/08/06/a-cluster-with-solaris-and-oracle-rac-avoid-panic-when-rebooting/</link>
		<comments>http://setaoffice.com/2010/08/06/a-cluster-with-solaris-and-oracle-rac-avoid-panic-when-rebooting/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 15:05:43 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[rac]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=724</guid>
		<description><![CDATA[You just rebooted a server that you know that runs Oracle RAC and the other node rebooted. This happened because CRS was active and you first need to disable to reboot the other node. You&#8217;ll see this message on /var/adm/messages Jun 5 14:15:19 solaris_rac2 root: Oracle clsomon failed with fatal status 12. Jun 5 14:15:20 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=724&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You just rebooted a server that you know that runs Oracle RAC and the other node rebooted. This happened because CRS was active and you first need to disable to reboot the other node. You&#8217;ll see this message on /var/adm/messages</p>
<blockquote><p>Jun  5 14:15:19 solaris_rac2 root: Oracle clsomon failed with fatal status 12.<br />
Jun  5 14:15:20 solaris_rac2 root: Oracle CRS failure.  Rebooting for cluster integrity.<br />
rebooting&#8230;</p></blockquote>
<p>Run this command to stop CRS. Your path may vary according to where you installed the binary.</p>
<blockquote><p>root@solaris_rac1:~ # <span style="color:#0000ff;">/u01/app/oracle/product/11.1.0/bin/crsctl stop crs</span><br />
Stopping resources.<br />
This could take several minutes.<br />
Successfully stopped Oracle Clusterware resources<br />
Stopping Cluster Synchronization Services.<br />
Shutting down the Cluster Synchronization Services daemon.<br />
Shutdown request successfully issued.</p></blockquote>
<p>Check the status with crsctl check crs. It should display the message below</p>
<blockquote><p>root@solaris_rac1:~ # <span style="color:#0000ff;">/u01/app/oracle/product/11.1.0/bin/crsctl check crs</span><br />
Failure 1 contacting Cluster Synchronization Services daemon<br />
Cannot communicate with Cluster Ready Services<br />
Cannot communicate with Event Manager</p></blockquote>
<p>After you reestablish the machine, CRS should start automatically</p>
<blockquote><p>root@solaris_rac1:~ # <span style="color:#0000ff;">/u01/app/oracle/product/11.1.0/bin/crsctl check crs</span><br />
Cluster Synchronization Services appears healthy<br />
Cluster Ready Services appears healthy<br />
Event Manager appears healthy</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/oracle/'>oracle</a>, <a href='http://setaoffice.com/tag/rac/'>rac</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/724/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=724&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/06/a-cluster-with-solaris-and-oracle-rac-avoid-panic-when-rebooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing HP Server Automation client for Solaris</title>
		<link>http://setaoffice.com/2010/08/06/installing-hp-server-automation-client-for-solaris/</link>
		<comments>http://setaoffice.com/2010/08/06/installing-hp-server-automation-client-for-solaris/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 14:25:31 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[hp server automation]]></category>
		<category><![CDATA[opsware]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=717</guid>
		<description><![CDATA[Installing HP Server Automation client for Solaris. For Solaris I included the flag &#8211;withrpm to have installation of software from Opsware enabled root@solaris:/tmp # ./opsware-agent-34c.0.0.135-solaris-5.10 -s -o -c &#8211;loglevel info &#8211;logfile /var/tmp/log.txt &#8211;withrpm &#8211;opsw_gw_addr_list 148.95.133.132:3001 &#8211;force_new_device [INFO] Log started. [WARN] The command-line parameter &#8211;clean has been deprecated. Will check the gateway list for connectivity [INFO] [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=717&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Installing HP Server Automation client for Solaris. For Solaris I included the flag &#8211;withrpm to have installation of software from Opsware enabled</p>
<blockquote><p>root@solaris:/tmp # <span style="color:#3366ff;">./opsware-agent-34c.0.0.135-solaris-5.10 -s -o -c &#8211;loglevel info &#8211;logfile /var/tmp/log.txt &#8211;withrpm &#8211;opsw_gw_addr_list 148.95.133.132:3001 &#8211;force_new_device</span></p>
<p>[INFO] Log started.</p>
<p>[WARN] The command-line parameter &#8211;clean has been deprecated.<br />
Will check the gateway list for connectivity<br />
[INFO] Opsware Gateway (148.95.133.132:3001) available at &#8217;148.95.133.132:3001&#8242;.</p>
<p>[INFO] legacy config file &#8216;/var/lc/cogbot/etc/cogbot.args&#8217; not found &#8211; skipping force &#8211;withrpm check.</p>
<p>UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).<br />
inflating: /tmp/~7119-1.WRK/opsware-agent<br />
inflating: /tmp/~7119-1.WRK/opsware-agent-installer.py<br />
creating: /tmp/~7119-1.WRK/crypto/agent/<br />
inflating: /tmp/~7119-1.WRK/crypto/agent/agent.srv<br />
inflating: /tmp/~7119-1.WRK/README<br />
inflating: /tmp/~7119-1.WRK/install_opswagentrpm.sh<br />
inflating: /tmp/~7119-1.WRK/install_rpm.sh<br />
inflating: /tmp/~7119-1.WRK/install_syncbot.sh<br />
inflating: /tmp/~7119-1.WRK/ISMsyncb0.pkg<br />
inflating: /tmp/~7119-1.WRK/OPSWrpm-32h.0.0.2-1.pkg<br />
inflating: /tmp/~7119-1.WRK/opswagentrpm.rpm<br />
inflating: /tmp/~7119-1.WRK/opswagentrpm.sun4us.rpm</p>
<p>[INFO] Installing Opsware agent into &#8216;/opt/opsware/agent&#8217;.</p>
<p>[INFO] Agent uninstaller script copied successfully.</p>
<p>[INFO] Installation completed successfully.</p>
<p>[INFO] Checking for restorations at &#8216;/tmp/~7119-1.WRK/cog_extension&#8217;</p>
<p>[INFO] Registering server with the Opsware core.</p>
<p>[INFO] Writing no_full_hw_reg_requested file: /var/opt/opsware/agent/no_full_hw_reg_requested</p>
<p>[INFO] Successfully created no_full_hw_reg_requested file: /var/opt/opsware/agent/no_full_hw_reg_requested<br />
INFO: Startup of initial hardware registration at &#8217;05/26/10 11:09:59&#8242;<br />
INFO: No crypto found, using bootstrap crypto.<br />
TRACE: bootstrap crypto path: /var/opt/opsware/crypto/agent/bootstrap<br />
TRACE: copy /var/opt/opsware/crypto/agent/bootstrap/agent.srv to /var/opt/opsware/crypto/agent/agent.srv<br />
TRACE: flushing the certmaster cache<br />
INFO: Checking with spin to see about clearing mid and/or crypto&#8230;<br />
TRACE: check that &#8216;/etc/opt/opsware/agent/mid&#8217; exists: 0<br />
INFO: no mid file was found at: &#8216;/etc/opt/opsware/agent/mid&#8217; assuming new install.<br />
TRACE: bootstrap crypto path: /var/opt/opsware/crypto/agent/bootstrap<br />
TRACE: remove: /var/opt/opsware/crypto/agent/agent.srv<br />
TRACE: copy /var/opt/opsware/crypto/agent/bootstrap/agent.srv to /var/opt/opsware/crypto/agent/agent.srv<br />
TRACE: flushing the certmaster cache<br />
INFO: Initially registering hardware and operating system information&#8230;<br />
Retrieved Machine ID is null.<br />
Chassis ID: 847e3198<br />
TRACE: Connecting to &#8216;https://spin:1004/spinrpc.py&#8217;&#8230;<br />
Opsware machine ID : &#8217;415820499&#8242;<br />
Received &#8216;agent-ca.crt&#8217;.<br />
Received &#8216;opsware-ca.crt&#8217;.<br />
Received &#8216;cogbot.srv&#8217;.<br />
Storing &#8216;cogbot.srv&#8217; contents as &#8216;agent.srv&#8217;<br />
Received &#8216;admin-ca.crt&#8217;.</p>
<p>[INFO] Minimal server registration completed successfully.</p>
<p>[INFO] Registering Opsware agent with the Opsware core.</p>
<p>[INFO] Writing no_sw_reg_requested file: /var/opt/opsware/agent/no_sw_reg_requested</p>
<p>[INFO] Successfully created no_sw_reg_requested file: /var/opt/opsware/agent/no_sw_reg_requested</p>
<p>[INFO] Writing do_check_reachability file: /var/opt/opsware/agent/do_check_reachability</p>
<p>[INFO] Successfully created do_check_reachability file: /var/opt/opsware/agent/do_check_reachability</p>
<p>[INFO] Starting Opsware agent.<br />
Starting agent<br />
Daemonbot: Wed May 26 11:10:01 2010: Looks like nothing is listening on :1002<br />
Daemonbot: Wed May 26 11:10:01 2010: Daemonbot confirms that nothing is listening on :1002<br />
Daemonbot: Wed May 26 11:10:01 2010: Daemonbot will try and start a new shadowbot&#8230;<br />
Daemonbot: Wed May 26 11:10:01 2010: Starting /opt/opsware/agent/pylibs/shadowbot/daemonbot.pyc&#8230;<br />
Daemonbot: Wed May 26 11:10:01 2010: pidpath /var/opt/opsware/agent<br />
Daemonbot: Wed May 26 11:10:01 2010: logpath /var/log/opsware/agent<br />
Daemonbot: Wed May 26 11:10:01 2010: ports ['1002']<br />
Daemonbot: Wed May 26 11:10:01 2010: Started process group 7160</p>
<p>[INFO] Opsware agent started.</p>
<p>[INFO] Log ended.</p></blockquote>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/hp-server-automation/'>hp server automation</a>, <a href='http://setaoffice.com/tag/opsware/'>opsware</a>, <a href='http://setaoffice.com/tag/solaris/'>solaris</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/717/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/717/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/717/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=717&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/06/installing-hp-server-automation-client-for-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux &#8211; Password has been used already. Choose another</title>
		<link>http://setaoffice.com/2010/08/04/linux-password-has-been-used-already-choose-another/</link>
		<comments>http://setaoffice.com/2010/08/04/linux-password-has-been-used-already-choose-another/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 12:04:11 +0000</pubDate>
		<dc:creator>Emerson Takahashi</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[passwd]]></category>

		<guid isPermaLink="false">http://setaoffice.com/?p=715</guid>
		<description><![CDATA[root@linux:~ # passwd emerson Changing password for emerson. New Password: Reenter New Password: Password has been used already. Choose another. Password changed Linux is keeping the old password stored on /etc/security/opasswd. Delete the line containing the user that you&#8217;re trying to change the password Filed under: Sysadmin Tagged: linux, passwd<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=715&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>root@linux:~ # <span style="color:#0000ff;">passwd emerson</span><br />
Changing password for emerson.<br />
New Password:<br />
Reenter New Password:<br />
Password has been used already. Choose another.<br />
Password changed</p></blockquote>
<p>Linux is keeping the old password stored on /etc/security/opasswd. Delete the line containing the user that you&#8217;re trying to change the password</p>
<br />Filed under: <a href='http://setaoffice.com/category/sysadmin/'>Sysadmin</a> Tagged: <a href='http://setaoffice.com/tag/linux/'>linux</a>, <a href='http://setaoffice.com/tag/passwd/'>passwd</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/setatakahashi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/setatakahashi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/setatakahashi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/setatakahashi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/setatakahashi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/setatakahashi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/setatakahashi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/setatakahashi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/setatakahashi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/setatakahashi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/setatakahashi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/setatakahashi.wordpress.com/715/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/setatakahashi.wordpress.com/715/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/setatakahashi.wordpress.com/715/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=setaoffice.com&blog=2461585&post=715&subd=setatakahashi&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://setaoffice.com/2010/08/04/linux-password-has-been-used-already-choose-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c04b7ae05e29b1d97955cb95c6584dc3?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">setatakahashi</media:title>
		</media:content>
	</item>
	</channel>
</rss>