<?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>unixpowered.com &#187; sun hardware</title>
	<atom:link href="http://www.unixpowered.com/blog/category/sun-hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixpowered.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 21 Jul 2010 13:42:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting started with SOL on Sun Fire V20z and V40z</title>
		<link>http://www.unixpowered.com/blog/2008/10/04/getting-started-with-sol-on-sun-fire-v20z-and-v40z/</link>
		<comments>http://www.unixpowered.com/blog/2008/10/04/getting-started-with-sol-on-sun-fire-v20z-and-v40z/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 11:40:02 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux tips]]></category>
		<category><![CDATA[linux utilities]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[sun hardware]]></category>

		<guid isPermaLink="false">http://wayciak.wordpress.com/?p=58</guid>
		<description><![CDATA[SP on Sun Fire V40z can be configured so that you can access system console over the network as you would on a UltraSPARC machine with Net Management port. Here is a quick way to get started using V40z and RedHat. Before starting, connect up SP network interface to the network.
Now, edit /etc/inittab and add [...]]]></description>
			<content:encoded><![CDATA[<p><acronym title="Service Processor">SP</acronym> on Sun Fire <a title="Sun Fire V40z" href="http://sunsolve.sun.com/handbook_pub/validateUser.do?target=Systems/SunFireV40z_R/SunFireV40z_R" target="_self">V40z</a> can be configured so that you can access system console over the network as you would on a UltraSPARC machine with Net Management port. Here is a quick way to get started using V40z and RedHat. Before starting, connect up SP network interface to the network.</p>
<p>Now, edit /etc/inittab and add the following line:</p>
<p><code>co:12345:respawn:/sbin/agetty -t 60 ttyS0 9600 vt100</code></p>
<p>This will spawn <em>agetty</em> in runlevels <em>12345</em> on serial port 1 with <em>9600</em> baud rate and <em>vt100</em> emulation.</p>
<p>Next you need to edit <em>/etc/grub.conf</em> and comment out <em>splashimage</em> line so boot menu gets rendered properly. Then add following two lines:</p>
<p><code>serial --unit=0 --speed=9600<br />
terminal --timeout=10 console serial</code></p>
<p>This will initialize serial port 1 after GRUB startup. If you want to use serial port 2 you would set <em>&#8211;unit=1</em>. The terminal we will be using are <em>console</em> and <em>serial</em> in that order, with timeout of <em>10</em> seconds. Terminal gets selected depending on where keystroke is detected first, before timeout runs out. If timeout expires, first terminal specified is used.</p>
<p>Finally, append following to the kernel line: <em>console=tty0 console=ttyS0,9600n8</em>. So it will end up looking something like this:</p>
<p><code>kernel /vmlinuz-2.6.9-67.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet console=tty0 console=ttyS0,9600n8</code></p>
<p>Now, you need to add serial port device name to <em>/etc/securetty</em>. This file specifies devices where root can log in. Just append <em>ttyS0</em> (serial port 1) to the end of the file.</p>
<p>Time to reboot and go to BIOS&#8217;s Advanced Settings. Select Console Redirection to Serial Port A and verify you have correct baud rate selected. Reboot the server for all changes to take effect.</p>
<p>At this point SP might not have an IP address assigned, so assign it one using V40z&#8217;s front panel. Once you configured SP with IP address, subnet mask and default gateway, ssh to the IP address, <strong>from local subnet</strong>, using the following:</p>
<p><code>bash-3.00# <strong>ssh setup@IP</strong></code></p>
<p>You will be asked to setup SP usernames and passwords. When you are done, ssh back to the SP using one of the usernames you have set up, and disable and then re-enable Serial Over LAN:</p>
<p><code>localhost $ <strong>platform set console -s platform</strong><br />
localhost $ <strong>platform set console -s sp -e -S 9600</strong></code></p>
<p>After the SP has been re-enabled, it might be a good idea to set up command prompt so you know which server you are logged into:</p>
<p><code>localhost $ <strong>sp set hostname ultra-sp</strong></code></p>
<p>Now you can access the console using:</p>
<p><code>ultra-sp $ <strong>platform console</strong></code></p>
<p>After you connect to the console you can get help by pressing <em>CTRL+E</em> followed by <em>c</em> and <em>?</em>.Here is sample output:</p>
<p><code>----<br />
ultra-sp $ <strong>platform console</strong><br />
[Enter `^Ec?' for help]<br />
Red Hat Enterprise Linux release 4<br />
Kernel 2.4.21-3.EL on an i686</code></p>
<p><code>ultra login:<br />
[help]<br />
.    disconnect                        ;    move to another console<br />
a    attach read/write                 b    send broadcast message<br />
c    toggle flow control               d    down a console<br />
e    change escape sequence            f    force attach read/write<br />
g    group info                        i    information dump<br />
L    toggle logging on/off             l?   break sequence list<br />
l0   send break per config file        l1-9 send specific break sequence<br />
m    display the message of the day    o    (re)open the tty and log file<br />
p    replay the last 60 lines          r    replay the last 20 lines<br />
s    spy read only                     u    show host status<br />
v    show version info                 w    who is on this console<br />
x    show console baud info            z    suspend the connection<br />
|    attach local command              ?    print this message<br />
&lt;cr&gt; ignore/abort command              ^R   replay the last line<br />
ooo send character by octal code<br />
----</code></p>
<p>At this point you should have a usable network console. You might want to make <a title="Sun Fire V20z and Sun Fire V40z Servers--Server Management Guide" href="http://docs.sun.com/app/docs/doc/817-5249-17?l=en" target="_self">additional setup changes </a>to the SP to fit your environment.</p>
<p>The first time I issued <em>platform console</em> command in SP I got this error:</p>
<p><code>console: connect: 59372@console: Connection refused</code></p>
<p>Rebooting SP using sp reboot fixed the issue for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/blog/2008/10/04/getting-started-with-sol-on-sun-fire-v20z-and-v40z/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Disabling MPxIO for onboard disks</title>
		<link>http://www.unixpowered.com/blog/2008/09/01/disabling-mpxio-for-onboard-disks/</link>
		<comments>http://www.unixpowered.com/blog/2008/09/01/disabling-mpxio-for-onboard-disks/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 18:36:21 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[fibre channel]]></category>
		<category><![CDATA[mpxio]]></category>
		<category><![CDATA[san]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris tips]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[sun hardware]]></category>

		<guid isPermaLink="false">http://wayciak.wordpress.com/?p=40</guid>
		<description><![CDATA[I was configuring MPxIO on Sun Fire V490. After issuing stmsboot -e command and rebooting the server, internal disks were under MPxIO&#8217;s control.
This was not something I wanted and I needed to disable it. In order to do so I had to edit /kernel/drv/fp.conf file and tell Solaris not to enable MPxIO on internal disks. [...]]]></description>
			<content:encoded><![CDATA[<p>I was configuring <acronym title="Solaris Multiplexed I/O">MPxIO</acronym> on <a title="Sun Fire V490" href="http://www.sun.com/servers/midrange/v490/index.xml" target="_self">Sun Fire V490</a>. After issuing <em>stmsboot -e</em> command and rebooting the server, internal disks were under MPxIO&#8217;s control.</p>
<p>This was not something I wanted and I needed to disable it. In order to do so I had to edit <em>/kernel/drv/fp.conf</em> file and tell Solaris not to enable MPxIO on internal disks. So I added the following line at the end of <em>fp.conf</em> file:</p>
<p><code>name="fp" parent="/pci@8,600000/SUNW,qlc@4" port=0 mpxio-disable="yes";</code></p>
<p>This line tells Solaris to disable MPxIO on port 0 for all devices whose parent device is <em>/pci@8,600000/SUNW,qlc@4</em>. Of course, similar line should be added for all HBA&#8217;s and ports you do not want to have under MPxIO&#8217;s control. You can get the parent device from your <em>/var/adm/messages</em> file or from device links pointing to the internal disks. Here is a partial list of device links:</p>
<pre>&lt;-----------------SNIP----------------&gt;</pre>
<p><code>lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s0 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:a<br />
lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s1 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:b<br />
lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s2 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:c<br />
lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s3 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:d<br />
lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s4 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:e<br />
lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s5 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:f<br />
lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s6 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:g<br />
lrwxrwxrwx   1 root     other         70 Jun 12 11:50 c1t0d0s7 -&gt; ../../devices/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037c3e2ef,0:h</code></p>
<pre>&lt;-----------------SNIP----------------&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/blog/2008/09/01/disabling-mpxio-for-onboard-disks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SC/RSC console setup</title>
		<link>http://www.unixpowered.com/blog/2008/01/15/scrsc-console-setup/</link>
		<comments>http://www.unixpowered.com/blog/2008/01/15/scrsc-console-setup/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 19:45:33 +0000</pubDate>
		<dc:creator>somedude</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[solaris utilities]]></category>
		<category><![CDATA[sun hardware]]></category>

		<guid isPermaLink="false">http://wayciak.wordpress.com/2008/01/15/console/</guid>
		<description><![CDATA[Many Sun servers have this nifty little &#8220;feature&#8221; called Net Management port. When connected to the network and configured it allows SC access over the network. It&#8217;s just like being hooked up directly to the ALOM port. Depending on the server model you can telnet or ssh to the server to gain access. Given this [...]]]></description>
			<content:encoded><![CDATA[<p>Many Sun servers have this nifty little &#8220;feature&#8221; called <em>Net Management</em> port. When connected to the network and configured it allows <acronym title="System Controller">SC</acronym> access over the network. It&#8217;s just like being hooked up directly to the <acronym title="Advanced Lights Out Management">ALOM </acronym>port. Depending on the server model you can telnet or ssh to the server to gain access. Given this is console access to the server ssh is the preferred method if it&#8217;s supported. SC output below is from SunFire V245.</p>
<p>Configuration is straight forward, using <em>scadm</em> command. To use it:</p>
<p><code>bash-3.00# <strong>cd /usr/platform/`uname -i`/sbin</strong></code></p>
<p>First, let&#8217;s see the parameters that can be set:</p>
<p><code>bash-3.00# <strong>./scadm show</strong><br />
if_network="true"<br />
if_modem="false"<br />
if_connection="telnet"<br />
if_emailalerts="false"<br />
sys_autorestart="xir"<br />
sys_bootrestart="none"<br />
sys_bootfailrecovery="none"<br />
sys_maxbootfail="3"<br />
sys_xirtimeout="900"<br />
sys_boottimeout="900"<br />
sys_wdttimeout="60"<br />
netsc_tpelinktest="true"<br />
netsc_dhcp="false"<br />
netsc_ipaddr="10.1.1.1"<br />
netsc_ipnetmask="255.255.255.0"<br />
netsc_ipgateway="10.1.1.254"<br />
mgt_mailhost=""<br />
mgt_mailalert=""<br />
sc_customerinfo=""<br />
sc_escapechars="#."<br />
sc_powerondelay="false"<br />
sc_powerstatememory="false"<br />
sc_clipasswdecho="true"<br />
sc_cliprompt="sc"<br />
sc_clitimeout="0"<br />
sc_clieventlevel="2"<br />
sc_backupuserdata="true"<br />
sys_eventlevel="2"</code></p>
<p>You can change the parameters using:</p>
<p><code>scadm set [parameter] [value]</code></p>
<p>To get SC accessible over the network, <em>if_connection</em>, <em>netsc_ipaddr</em>, <em>netsc_ipnetmask</em> and <em>netsc_ipgateway</em> parameters need to be set. After those parameters are set you will probably have to restart SC using <em>scadm resetrsc</em> for changes to take effect. This does not affect the server itself. Once SC is back up, you can gain access using the method specified in <em>if_connection</em> parameter and then log in using ALOM credentials.</p>
<p>Some server models, such as SunFire V490 do not have SC. Instead they come, at least they used to, with <acronym title="Remote System Controller">RSC</acronym>. To use it you will have to download RSC software from Sun. Configuration is similar to SC. If this is your initial configuration of RSC, you can use <em>rsc-config</em> script. It will ask you a bunch of questions and configure RSC for you. Alternatively you can use <em>rscadm</em> utility. To use it</p>
<p><code>bash-3.00# <strong>cd /usr/platform/`uname -i`/rsc</strong></code></p>
<p>Let&#8217;s see some RSC parameters:</p>
<p><code>bash-3.00# <strong>./rscadm show</strong><br />
mail_enabled="false"<br />
ip_mode="config"<br />
ppp_enabled="false"<br />
tpe_link_test="true"<br />
serial_baud="9600"<br />
serial_parity="none"<br />
serial_stop="1"<br />
serial_data="8"<br />
customerinfo=""<br />
ip_addr="10.1.1.1"<br />
ip_netmask="255.255.255.0"<br />
ip_gateway="10.1.1.254"<br />
mailhost=""<br />
mailuser=""<br />
ppp_local_ip_addr="0.0.0.0"<br />
ppp_remote_ip_addr="0.0.0.0"<br />
hostname="pas2"<br />
escape_char="~"</code></p>
<p>Once you are happy with your configuration you also have to set <em>input-device</em> and <em>output-device</em> Openboot variables to <em>rsc-console</em>.</p>
<p>SC and RSC are very similar. One notable difference is availability of modem in RSC. For more info check out <em>scadm</em> and <em>rscadm</em> man pages. Pretty useful stuff&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.unixpowered.com/blog/2008/01/15/scrsc-console-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
