<?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>BigAdmins &#187; BigAdmins | Unix, Solaris, HPUX, AIX, Linux System Administrators resources, Unix guide, Unix tips, Unix news, Linux news, Linux Tips, All-in-one Unix Guide</title>
	<atom:link href="http://www.bigadmins.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bigadmins.com</link>
	<description>All about Information Security</description>
	<lastBuildDate>Tue, 03 Jan 2012 13:51:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to reset Cisco Router Password</title>
		<link>http://www.bigadmins.com/cisco/how-to-reset-cisco-router-password/</link>
		<comments>http://www.bigadmins.com/cisco/how-to-reset-cisco-router-password/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 13:51:02 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=148</guid>
		<description><![CDATA[There are occasions that we forget the router password or sometimes wanted to take out our old cisco router for some lab purposes. But what if it asks for password which we dont know? or we forget ? Here are the steps to recover a cisco router password. Step-1 : First witch off the router and then switch it [...]]]></description>
			<content:encoded><![CDATA[<div>There are occasions that we forget the router password or sometimes wanted to take out our old cisco router for some lab purposes. But what if it asks for password which we dont know? or we forget ? Here are the steps to recover a cisco router password.</div>
<div></div>
<div><strong>Step-1 :</strong> First witch off the router and then switch it on after 10 seconds , within the first few seonds of booting press the CTRL+Break Keys, The router will enter the ROM Monitor mode with the following prompt.</div>
<div></div>
<div><strong>Rommon1&gt;</strong></p>
</div>
<div><strong>Step-2: </strong>In the ROM Monitor mode change the configuration Register to 0&#215;2142 to ignore the Startup Config file upon booting</div>
<div></div>
<div><strong>Rommon1&gt;confreg 0&#215;2142</strong></div>
<div>
<strong>Rommon2&gt;b </strong></div>
<div></div>
<div>On Booting the router will enter the Setup mode .</div>
<div></div>
<div><strong>Would you like to enter the initial configuration guidelines (yes/no):</strong></div>
<div></div>
<div><strong><br />
Step-3:</strong> Skip this option by pressing CTRL+C.The router will now enter the User Exec mode</div>
<div>
<strong>Router&gt;</strong></div>
<div></div>
<div><strong>Step-4: </strong>Enter the privilige mode and copy the startup configuration file to the RAM(Running-Config)</div>
<div></div>
<div><strong>Router&gt;enable</strong></p>
</div>
<div><strong>Router#copy startup-config running-config</strong></div>
<div></div>
<div> <strong>Step-5: </strong>Change the enable/enable secret or whatever password you want to change and then the configuration to the NVRAM</div>
<div></div>
<div>
<strong>Router(config)#enable secret Cisco</strong></div>
<div>
<strong>Router#wr</strong></div>
<div></div>
<div><strong><br />
Step-6: </strong>Now change the config-register value to the default</div>
<div></div>
<div><strong><br />
Router(config)#config-register 0&#215;2102</strong></div>
<div></div>
<div></div>
<div>The procedure is quite useful in case someone has lost the password and wants to break it without affecting the rest of the configuration .</div>
<div></div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/cisco/how-to-reset-cisco-router-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analyze email traffic for spam in real time using TCP</title>
		<link>http://www.bigadmins.com/security/analyze-email-traffic-for-spam-in-real-time-using-tcp/</link>
		<comments>http://www.bigadmins.com/security/analyze-email-traffic-for-spam-in-real-time-using-tcp/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 22:11:17 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[tcp]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=145</guid>
		<description><![CDATA[A group of researchers from the U.S. Naval Academy has developed a technique for analyzing email traffic in real-time to identify spam messages as they come across the wire, simply using information from the TCP (Transmission Control Protocol) packets that carry the messages. This approach could be a useful addition to the arsenal of today&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>A group of researchers from the U.S. Naval Academy has developed a technique for analyzing email traffic in real-time to identify spam messages as they come across the wire, simply using information from the TCP (Transmission Control Protocol) packets that carry the messages.</p>
<p>This approach could be a useful addition to the arsenal of today&#8217;s spam-fighting techniques, observers argue, in that, unlike other typical spam fighting approaches, the content of the email does not have to be scanned.</p>
<p>The work &#8220;advanced both the science of spam fighting and &#8230; worked through all the engineering challenges of getting these techniques built into the most popular open-source spam filter,&#8221; said Massachusetts Institute of Technology computer science research affiliate Steve Bauer, who was not involved with the work. &#8220;So this is both a clever bit of research and genuinely practical contribution to the persistent problem of fighting spam.&#8221;</p>
<div> Researchers Robert Beverly, Georgios Kakavelakis and Joel Young built a plug-in for the SpamAssassin mail filter, called SpamFlow, that incorporates their analysis techniques. They presented their work at the Usenix Large Installation System Administration (LISA) conference earlier this month in Boston.</div>
<p>In <a href="http://www.usenix.org/events/lisa11/tech/full_papers/Kakavelakis.pdf">the paper</a> that accompanied the presentation, the researchers showed that spam email blasts have certain characteristics at the networking transport layer. Signal analysis of factors such as timing, packet reordering, congestion and flow control can reveal the work of a spam-spewing botnet. &#8220;A lot of spam comes from spambots, which are sending as fast as they can and congesting their local uplink,&#8221; Beverly said. &#8220;So you can detect them by looking really hard at the TCP stream.&#8221;</p>
<p>Thus far, earlier techniques developed for analyzing spam at the network transport layer have been offline, which is to say, the email traffic is analyzed as a batch, and the results can be used later. The naval researchers have developed an architecture for analyzing network traffic as it comes over the wire.</p>
<p>For the implementation, they used the the SpamAssassin email filter. SpamAssassin has a plug-in architecture for incorporate new filtering techniques. &#8220;We have a daemon that captures all the packets and looks timing and other congestion characteristics of the traffic stream,&#8221; Beverly said. The plug-in can learn to identify and detect spam without human intervention. In tests, SpamFlow was able to correctly identify spam over 95 percent of the time, after a reception of 1,000 emails.</p>
<p>The ability to detect a spam message without actually examining the contents of the message would be handy in a number of situations, noted Bruce Davie, a Cisco fellow and visiting lecturer at MIT. Davie is familiar with though not involved in the work. An Internet service provider could apply the detection algorithm without violating users&#8217; privacy. It can be used to detect messages that are encrypted, such as those traveling over an encrypted link. It can also be used to detect other forms of malicious traffic, such as port scans from botnet hosts.</p>
<p>&#8220;Overall, I see it as a generally useful tool in the fight against malicious traffic,&#8221; Davie said. &#8220;You can combine it with traditional anti-spam techniques to improve accuracy.&#8221;</p>
<p>Currently, the team is beta testing the software at a number of locations. They plan to release it as open-source software afterward.</p>
<p>The U.S. National Science Foundation funded part of this work, under the Software Development for Cyberinfrastructure (SDCI) program.</p>
<p>&nbsp;</p>
<p>Source: <a href="http://www.itworld.com/networking/235527/naval-researchers-pioneer-tcp-based-spam-detection">ITWorld</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/security/analyze-email-traffic-for-spam-in-real-time-using-tcp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create OpenSolaris LiveUSB stick</title>
		<link>http://www.bigadmins.com/opensolaris/how-to-create-opensolaris-liveusb-stick/</link>
		<comments>http://www.bigadmins.com/opensolaris/how-to-create-opensolaris-liveusb-stick/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 05:26:04 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[open solaris]]></category>
		<category><![CDATA[open solaris live usb]]></category>
		<category><![CDATA[usb creator]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=135</guid>
		<description><![CDATA[Its not a big deal to get the open solaris CD live image and install it in a PC. But what will happen if your cd drive is not working?. Thats happend with my not so old Sony Vaio VGN laptop. The interesting fact is that I could manage to boot an XP CD or [...]]]></description>
			<content:encoded><![CDATA[<p>Its not a big deal to get the open solaris CD live image and install it in a PC. But what will happen if your cd drive is not working?. Thats happend with my not so old Sony Vaio VGN laptop. The interesting fact is that I could manage to boot an XP CD or anything related to Windows. But its so strange that my laptop is not in a mood to boot if i keep a Ubuntu or opensolaris live CD ! . So strange, i tried googling but no clue.  Just to keep it aside there is always another way to get out of the jungle !</p>
<p>The only option is to create an opensolaris live usb. There are couple of ways you can install make ubs live stick but the procedure here i am going to explain is simple and its work with windows. There are other methods like ./usbcopy from opensolaris it self.</p>
<p>There  is a windows tool that will allow Windows users to put a copy of OpenSolaris media on a usb stick. Download it from</p>
<p><a href="http://devzone.sites.pid0.org/OpenSolaris/opensolaris-liveusb-creator">http://devzone.sites.pid0.org/OpenSolaris/opensolaris-liveusb-creator</a></p>
<p>Download the open solaris image from here</p>
<p><a href="http://genunix.org/distributions/indiana/osol-0906-111-x86.usb">http://genunix.org/distributions/indiana/osol-0906-111-x86.usb</a></p>
<p>Run the usb creator and select the image and thats it, you have a working live bootable usb stick. You can install opensolaris without a CD.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/opensolaris/how-to-create-opensolaris-liveusb-stick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is a sticky bit</title>
		<link>http://www.bigadmins.com/unix/what-is-a-sticky-bit/</link>
		<comments>http://www.bigadmins.com/unix/what-is-a-sticky-bit/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 12:17:52 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[sticky bit]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=118</guid>
		<description><![CDATA[In Unix sticky bit is permission bit that protects the files within a directory. If the directory has the sticky bit set, a file can be deleted only by the owner of the file, the owner of the directory, or super user. This prevents a user from deleting other users&#8217; files from public directories. A [...]]]></description>
			<content:encoded><![CDATA[<p>In Unix<em> sticky bit</em> is permission  bit that protects the files within a directory. If the directory has the sticky  bit set, a file can be deleted only by the owner of the file, the owner of the  directory, or super user. This prevents a user from deleting other users&#8217; files from  public directories. A <tt>t</tt> or <tt>T</tt> in the access permissions column  of a directory listing indicates that the sticky bit has been set, as shown  here:</p>
<p>drwxrwxrwt 5 root sys 458 Oct 21 17:04 /public</p>
<p>Sticky bit cab be set by chmod command. You need to assign the octal value 1 as the first number in a series of four octal values.</p>
<p># chmod 1777 public</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/unix/what-is-a-sticky-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VTOC , EFI disk label comparison</title>
		<link>http://www.bigadmins.com/unix/vtoc-efi-disk-label-comparison/</link>
		<comments>http://www.bigadmins.com/unix/vtoc-efi-disk-label-comparison/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 08:45:35 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[disk volumes]]></category>
		<category><![CDATA[EFI disk label]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[partition sizes]]></category>
		<category><![CDATA[table of contents]]></category>
		<category><![CDATA[volume table of contents]]></category>
		<category><![CDATA[VTOC]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=115</guid>
		<description><![CDATA[A disk lable is a special area for storing information about the disk&#8217;s controller, geometry, and slices (or partitions). This information is called the disk&#8217;s label and in Unix its called volume table of contents (VTOC). Writing slice information onto disk is called labeling a disk. Before label a disk you have to define its [...]]]></description>
			<content:encoded><![CDATA[<p>A disk lable is a special area for storing information about the disk&#8217;s controller,  geometry, and slices (or partitions). This information is called the disk&#8217;s label and in Unix its called volume table of contents (VTOC). Writing slice information onto disk is called labeling a disk.  Before label a disk you have to define its slices.VTOC is widely used in Solaris and it support less than 1TB of data. EFI ( Extensible Firmware Interface) is a new type of disk label which support disk that are larger than 1TB and cannot   be converted back to VTOC.</p>
<p>Solaris supports both types VTOC disk label  and the EFI disk label. Solaris 10 (and later versions of Solaris 9) provides  support for disks that are larger than 1 TB on systems that run a 64-bit  Solaris kernel. The EFI label provides support for physical disks and virtual  disk volumes. The UFS file system is compatible with the EFI disk  label, and you can create a UFS file system greater than 1 terabyte.</p>
<p>The traditional VTOC label is still available for disks less  than 1 terabyte in size. You can use the <strong><tt>format-e</tt></strong> command to label a disk less than  1TB with an EFI label.</p>
<p>The advantages of the EFI disk label over the VTOC disk label  are as follows:</p>
<ul>
<li>Provides support for disks greater than 1 TB in size.</li>
<li>Provides usable slices 06, where slice 2 is just another  slice.</li>
<li>Slices cannot overlap with the primary or  backup label, nor with any other partitions. The size of the EFI label is  usually 34 sectors, so partitions start at sector 34. This feature means that no  partition can start at sector zero.</li>
<li>Sizes are reported in blocks. No cylinder, head, or sector information is stored in the EFI  label.</li>
<li>Information that was stored in the alternate cylinders area,  the last two cylinders of the disk, is now stored in slice 8.</li>
<li>If you use the <strong><tt>format</tt></strong> utility to change partition  sizes, the unassigned partition tag is assigned to partitions with sizes equal  to zero. By default, the format utility assigns the usr partition tag to any  partition with a size greater than zero. You can use the partition change menu  to reassign partition tags after the partitions are changed.</li>
<li>Solaris ZFS  uses EFI labels by default.</li>
</ul>
<p>But there some restrictions with EFI disk labels and those are:</p>
<ul>
<li>You cannot boot from a disk with an EFI disk label.</li>
<li>The EFI disk label is not supported on IDE disks.</li>
<li>The EFI specification prohibits overlapping slices. The entire  disk is represented by c#t#d#.</li>
<li>The SCSI driver, ssd or sd, currently supports only up to 2  terabytes. If you need greater disk capacity than 2 terabytes, use a disk and  storage management product such as Solaris Volume Manager to create a larger  device.</li>
<li>Layered software products intended for systems with EFI-labeled  disks might be incapable of accessing a disk without an EFI disk label.</li>
<li>You cannot use the <tt>fdisk</tt> command on a disk with an EFI  label that is greater than 1 terabyte in size.</li>
<li>A disk with an EFI label is not recognized on systems running  previous Solaris releases.</li>
<li>You cannot use the Solaris Management Console&#8217;s Disk Manager  tool to manage disks with EFI labels. Use the format utility to partition disks  with EFI labels. Then, you can use the Solaris Management Console&#8217;s Enhanced  Storage Tool to manage volumes and disk sets with EFI-labeled disks.</li>
<li>The EFI disk label provides information about disk or partition  sizes in sectors and blocks, but not in cylinders and heads.</li>
<li>The following <tt>format</tt> options are either not supported  or are not applicable on disks with EFI labels:
<ul>
<li>The <tt>save</tt> option is not supported because disks with  EFI labels do not need an entry in the <tt>format.dat</tt> file.</li>
<li>The <tt>backup</tt> option is not applicable because the disk  driver finds the primary label and writes it back to the disk.</li>
</ul>
<p>If you have volume manger VxVM EFI disks wont work under Solaris 9. But Solaris 10 supports. Its in fact VxVM is not supporting as you could label, create  ufs filesystems on these disks and so on. But when you do vxdisksetup  you will get errors.</li>
</ul>
<p>Ref : Sun Docs, Veritas Docs</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/unix/vtoc-efi-disk-label-comparison/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to change the IP Address in solaris</title>
		<link>http://www.bigadmins.com/solaris/how-to-change-the-ip-in-solaris/</link>
		<comments>http://www.bigadmins.com/solaris/how-to-change-the-ip-in-solaris/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 07:40:16 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=108</guid>
		<description><![CDATA[Changing the ip address in Solaris is straight forward. But its not a one or two click methods like in Windows. There is one important advantage in solaris 10 is that there is no need of reboot of the server against its predecessor solaris 9 where you need to reboot to make the changes permemnant. [...]]]></description>
			<content:encoded><![CDATA[<p>Changing the ip address in Solaris is straight forward. But its not a one or two click methods like in Windows. There is one important advantage in solaris 10 is that there is no need of reboot of the server against its predecessor solaris 9 where you need to reboot to make the changes permemnant. In order to change the IP temperorily in both Solaris 9 and 10 is</p>
<blockquote><p># ifconfig &lt;interface&gt; &lt;ip_address&gt; &lt;netmasks&gt; &lt;broadcast address&gt;</p></blockquote>
<p>You can figure out the interface name by using ifconfig command. Now to change the IP under solaris 9 and older version, just open <strong>/etc/hosts</strong> file and add or edit the entry for the IP address and the hostname. You need to reboot the server so that the changes will take place.</p>
<p>In Solaris 10 there is one more file you need to edit which is <strong>/etc/inet/ipnodes</strong> (ipnodes file is for IPv6, without adding an entry to the file, the IP address (IPv4) will not active but SUN has fixed this issue).  Next restart the network services and the changes will take place</p>
<blockquote><p><strong>#svcadm restart newtork/physical<br />
</strong></p></blockquote>
<p>No reboot, no downtime. Cool !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/solaris/how-to-change-the-ip-in-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle plans for Solaris 11</title>
		<link>http://www.bigadmins.com/solaris/oracle-plans-for-solaris-11/</link>
		<comments>http://www.bigadmins.com/solaris/oracle-plans-for-solaris-11/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 05:20:00 +0000</pubDate>
		<dc:creator>Viky</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[solaris 11]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=106</guid>
		<description><![CDATA[After the acquisition of SUN, Oracle indicated its first ever release of Solaris Operating systems. But the release will be in 2011. John Fowler (an Oracle Executive VP) announced company&#8217;s plan for the first ever release of Solaris under Oracle. View his webcast for more details. http://www.oracle.com/dm/11h1corp/53947_systems_strategy_webcast.html. We need to wait for some time to [...]]]></description>
			<content:encoded><![CDATA[<p>After the acquisition of SUN, Oracle indicated its first ever release of Solaris Operating systems. But the release will be in 2011. John Fowler (an Oracle Executive VP) announced company&#8217;s plan for the first ever release of Solaris under Oracle. View his webcast for more details. http://www.oracle.com/dm/11h1corp/53947_systems_strategy_webcast.html. We need to wait for some time to get more details on the upcoming Solaris 11</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/solaris/oracle-plans-for-solaris-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPMP on solaris 10set up guide</title>
		<link>http://www.bigadmins.com/solaris/ipmp-on-solaris-10set-up-guide/</link>
		<comments>http://www.bigadmins.com/solaris/ipmp-on-solaris-10set-up-guide/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 10:31:37 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Broadcast domain]]></category>
		<category><![CDATA[Data link]]></category>
		<category><![CDATA[Internet Control Message Protocol]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Solaris (operating system)]]></category>
		<category><![CDATA[Subnetwork]]></category>
		<category><![CDATA[Sun Microsystems]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=89</guid>
		<description><![CDATA[Here is the detailed configuration guide to set up ipmp, with the inputs from Sun docs, Summary of typical IPMP Configurations 1.  Production and test interfaces in the same IP subnet 1.1  With defaultrouter 1.2  Without defaultrouter 1.3  With dedicated hosts acting as test targets with &#8220;host-routes&#8221; 1.4  Configuration example for 1.1, 1.2 and 1.3 [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the detailed configuration guide to set up ipmp, with the inputs from Sun docs, Summary of typical IPMP Configurations</p>
<p>1.  Production and test interfaces in the same IP subnet<br />
1.1  With defaultrouter<br />
1.2  Without defaultrouter<br />
1.3  With dedicated hosts acting as test targets with &#8220;host-routes&#8221;<br />
1.4  Configuration example for 1.1, 1.2 and 1.3</p>
<p><span id="more-89"></span>2.  Production and test interfaces in different IP subnets but the same<br />
physical network<br />
2.1  With defaultrouter in production subnet and test subnet<br />
2.2  With defaultrouter in production subnet but without defaultrouter in test subnet<br />
2.3  With dedicated hosts acting as test targets with &#8220;host-routes&#8221;<br />
2.4  Configuration example for 2.1, 2.2 and 2.3<br />
2.5  Configuration example for 2.2 if you use IPMP on the test subnet<br />
<!--more--><br />
A.  Start script for adding static &#8220;host routes&#8221; permanently<br />
/etc/init.d/ipmp.targets</p>
<p>B.  Summary</p>
<p>Note: This document does not cover the basic knowledge of IP Multipathing. If you would need it, please check it in <a href="http://docs.sun.com/?q=IPMP" target="_blank">Sun Microsystems Documentation</a></p>
<p>All IPMP patches mentioned below should be installed.</p>
<p>Sparc     Intel     Comments<br />
OS<br />
Release</p>
<p>7 or earlier     N/S     N/S       IPMP was introduced with Solaris[TM] 8 Update 2<br />
for Solaris 8 FCS the Patch ID: 108528,<br />
116965 (109898), 109900 are required</p>
<p>8         108528   108529   Kernel Patch (in.mpathd, ip, icmp, ifconfig)<br />
116965   116966   ip/arp Patch<br />
109900     109901      Startup Patch (/etc/init.d/network and /sbin/ifparse)<br />
109902   109903   Offlining capability (Update 3<br />
110378   110396   Mipagent patch needed for offlining capability<br />
116991   116992   RCM Daemon</p>
<p>9         112233   112234   Kernel Patch (ip)<br />
114344   119435   in.mpathd, arp, ifconfig (see SunAlert 57435)(1)<br />
112912    N/P     libinetcfg.so<br />
112854    N/P     icmp<br />
113073   114733   ipmp header files</p>
<p>10         118833   118855   Kernel Patch (in.mpathd, ip, icmp, ifconfig)</p>
<p>Key<br />
&#8212;&#8211;<br />
N/S &#8211; Product not supported on this OS<br />
N/P &#8211; No patch applicable for this OS</p>
<p>Legend:<br />
&#8212;&#8212;-<br />
IPMP    system with IPMP group<br />
T&lt;n&gt;    target host &lt;n&gt;<br />
p       network/host part of IP address of interface in production subnet<br />
t       network/host part of IP address of interface in test subnet<br />
&#8212;     data link subnet (i.e broadcast domain) with one IP subnet<br />
===     data link subnet (i.e broadcast domain) with two (or more) IP<br />
subnets</p>
<p>Good to know:<br />
&#8212;&#8212;&#8212;&#8212;-<br />
The operation of IP Multipathing (in.mpathd) depends on the routing<br />
configuration. Therefore in.mpathd always refers to the routing-table<br />
(IRE-cache) to distinguish which test partner(s) are going to be used.<br />
Test partners are required for deciding if the interface is working properly.</p>
<p>in.mpathd by default chooses the defaultrouter as single test-target<br />
for probing. If no defaultrouter exists for the test-interface ip address,<br />
arbitrary hosts on the link are detected by sending out &#8220;all hosts&#8221;<br />
multicast packets (224.0.0.1) on the wire to detect its test-partners.<br />
An &#8220;all routers&#8221; multicasts (224.0.0.2) will never be sent! The first five<br />
hosts that are responding to the echo packets are chosen as targets<br />
for probing. In such a non-defaultrouter environment, the in.mpathd<br />
always tries to find five probe targets via an &#8220;all hosts&#8221; multicast.</p>
<p>The in.mpathd detects failures and repairs by sending out &#8216;icmp-echo&#8217;<br />
probes (like pinging) from all interfaces that are part of the IPMP group.<br />
If there are no replies to five consecutive probes, the interface is<br />
considered to have failed and performs a failover of the network access<br />
to another interface in the IPMP group. The probing rate depends on the<br />
failure detection time which is defined in /etc/default/mpathd. By default,<br />
failure detection time is 10 seconds. Thus the five probes will be sent<br />
within the failure detection time.</p>
<p>1.  Production and test interfaces in the same IP subnet<br />
======================================================</p>
<p>1.1 With defaultrouter<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>+&#8212;&#8212;&#8212;&#8212;-+<br />
|defaultrouter|<br />
+&#8212;&#8212;o&#8212;&#8212;+<br />
| p=t:172.20.20.1<br />
|<br />
|<br />
&#8212;&#8212;&#8212;-+-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
| |                                  p=t:172.20.20/24<br />
p:172.20.20.10  | |<br />
t:172.20.20.210 | | t:172.20.20.220<br />
+&#8212;o-o&#8212;+<br />
|   IPMP  |<br />
+&#8212;&#8212;&#8212;+</p>
<p>IPMP only use the defaultrouter as probe target. Each test interface of the<br />
IPMP group send ICMP requests only to the defaultrouter. To get the<br />
configuration, IPMP looks to the routing table and is independent from<br />
/etc/defaultrouter file. NO &#8220;all hosts&#8221; multicast (224.0.0.1) will be sent.</p>
<p>Advantages:<br />
- Easiest configuration for IPMP.</p>
<p>Disadvantages:<br />
- When the defaultrouter is down IPMP failover does not work anymore.<br />
The in.mpathd does NOT send out multicasts to get other probe<br />
targets, therefore all interfaces in the IPMP group get the state<br />
&#8220;failed&#8221;. You can ignore this bug/feature when you have a<br />
defaultrouter which is 100% online! Please look to RFE 4431511 and<br />
4489960 for further information.<br />
- If you have a lot of IPMP groups, the defaultrouter has to reply to<br />
a lot of ICMP requests. Take care of defaultrouter. Do not overload<br />
the defaultrouter.<br />
- The defaultrouter has to reliably answer ICMP echo requests. (e.g.<br />
firewalls sometimes do not)</p>
<p>1.2 Without defaultrouter<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>+&#8212;&#8212;&#8212;+           +&#8212;&#8212;&#8212;+<br />
|    T1   |   &#8230;&#8230;  |    T5   |<br />
+&#8212;-o&#8212;-+           +&#8212;-o&#8212;-+<br />
| p=t:172.20.20.110   | p=t:172.20.20.150<br />
|                     |<br />
|                     |<br />
&#8212;&#8212;&#8212;&#8211;+-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;-<br />
| |                            p=t:172.20.20/24<br />
p:172.20.20.10  | |<br />
t:172.20.20.210 | | t:172.20.20.220</p>
<p>+&#8212;o-o&#8212;+<br />
|   IPMP  |<br />
+&#8212;&#8212;&#8212;+</p>
<p>IPMP dynamically determines five arbitrary hosts on the link via &#8220;all<br />
hosts&#8221; multicast address (224.0.0.1). At the least, you need one probe<br />
target that IPMP will work. Beware that one probe target is not reliable<br />
enough. If there are less than five targets available the in.mpathd sent<br />
out the &#8220;all hosts&#8221; multicasts to get a complete list of five probe targets.</p>
<p>Advantages:<br />
- easiest configuration for IPMP in a subnet without a defaultrouter.<br />
- is very reliable due to the five targets.</p>
<p>Disadvantages:<br />
- a subnet without an defaultrouter is very rare.</p>
<p>1.3 With dedicated hosts acting as test targets with &#8220;host-routes&#8221;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>+&#8212;&#8212;&#8212;&#8212;-+  +&#8212;&#8212;&#8212;+           +&#8212;&#8212;&#8212;+<br />
|defaultrouter|  |    T1   |   &#8230;&#8230;  |    T5   |<br />
+&#8212;&#8212;o&#8212;&#8212;+  +&#8212;-o&#8212;-+           +&#8212;-o&#8212;-+<br />
!              | p=t:172.20.20.110   | p=t:172.20.20.150<br />
!              |                     |<br />
!              |                     |<br />
&#8212;&#8212;&#8212;&#8212;+-+&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;-<br />
| |                              p=t:172.20.20/24<br />
p:172.20.20.10  | |<br />
t:172.20.20.210 | | t:172.20.20.220<br />
+&#8212;o-o&#8212;+<br />
|   IPMP  |<br />
+&#8212;&#8212;&#8212;+</p>
<p>Some &#8220;host routes&#8221; will be defined with a startscript in<br />
/etc/rc2.d/S70staticroutes.  (The script is attached to this document.)<br />
When IPMP refer to the routing table it will choose the first five defined<br />
&#8220;host routes&#8221; as probe targets. This is due to the fact that normally the<br />
&#8220;host routes&#8221; are before the defaultrouter in the routing table. If you<br />
have less than five &#8220;host routes&#8221; also the defaultrouter (when available)<br />
will be used as probe target as well.</p>
<p>Example:<br />
a) Configuration with host1, host2 &#8230; hostN (with N=5 or N&gt;5),<br />
defaultrouter :<br />
==&gt; The first five hosts (host1 &#8230; host5) will be defined as target.</p>
<p>b) Configuration with less than 5 hosts : for instance, host1, host2,<br />
defaultrouter :<br />
==&gt; The three systems (host1, host2, defaultrouter) will be defined as<br />
target.</p>
<p>Also in this case the in.mpathd tries to get five probe targets all<br />
the time from the routing table. Remember in this configuration the<br />
in.mpathd does NOT send &#8220;all hosts&#8221; multicasts!</p>
<p>Advantages:<br />
- The defaultrouter is not important for the IPMP configuration because<br />
if the defaultrouter is not available you have still some &#8220;host routes&#8221;<br />
for probing.<br />
- IPMP is always high available due to independency to the defaultrouter</p>
<p>Disadvantages:<br />
- More administrative work to do.<br />
- Due to static configuration you should check that some of the probe<br />
targets   are always available.</p>
<p>1.4 Configuration examples for 1.1, 1.2 and 1.3<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>/etc/hosts<br />
&#8212;&#8212;&#8212;-<br />
127.0.0.1        localhost<br />
172.20.20.10     host10       loghost<br />
172.20.20.210    host10-test-qfe0<br />
172.20.20.220    host10-test-qfe4</p>
<p>/etc/hostname.q fe0<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
host10 netmask + broadcast + group ipmp0 up \<br />
addif host10-test-qfe0 deprecated -failover netmask + broadcast + up</p>
<p>/etc/hostname.qfe4<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
host10-test-qfe4 deprecated -failover netmask + broadcast + group ipmp0 up</p>
<p>ifconfig output:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
qfe0: flags=9040843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 3<br />
inet 172.20.20.10 netmask ffffff00 broadcast 172.20.20.255<br />
groupname ipmp0<br />
ether 8:0:20:e8:88:dc<br />
qfe0:1:<br />
flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&gt;<br />
mtu 1500 index 3<br />
inet 172.20.20.210 netmask ffffff00 broadcast 172.20.20.255<br />
qfe4:<br />
flags=9040843&lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&gt;<br />
mtu 1500 index 4<br />
inet 172.20.20.220 netmask ffffff00 broadcast 172.20.20.255<br />
groupname ipmp0<br />
ether 8:0:20:e8:89:34</p>
<p>Note: The example describe the setup of an active-active IPMP configuration<br />
which is best practices. But you can also configure an active-standby<br />
configuration. You simple have to add the &#8220;standby&#8221; flag to the<br />
/etc/hostname.qfe4 file. More Details available in Technical Instruction &lt; Solution: 217158 &gt;.</p>
<p>2.  Production and test interfaces in different IP subnets<br />
==========================================================</p>
<p>If you have not enough additional ip-addresses on hand for setting up<br />
IPMP, you can configure the ipmp-test-interfaces in a different<br />
ip-network than your production network (e.g. 192.168., 10. ..). But you<br />
must make sure that there are enough test-partners (also in the new<br />
test-network) who are responding to the ipmp-test-interfaces. You may<br />
also configure a defaultrouter in the new test-network in case you have<br />
an existing 100.1% reliable test-partner which should act as a single<br />
test-partner. In such a configuration in.mpathd will only use its<br />
test-subnet IP addresses as source address for outgoing probe packets.</p>
<p>Note: The in.mpathd only looks to the test subnet. Therefore if you<br />
have no IP addresses available in the test subnet the IPMP<br />
group will fail although if the production subnet is available.</p>
<p>2.1 With defaultrouter in production subnet and test subnet<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>+&#8212;&#8212;&#8212;&#8212;-+<br />
|defaultrouter|<br />
+&#8212;&#8212;o&#8212;&#8212;+<br />
| p: 172.20.20.1<br />
| t: 192.168.1.1<br />
|<br />
|           t: 192.168.1/24<br />
===========+=+========================+==========================<br />
| |                                    p: 172.20.20/24<br />
p: 172.20.20.10  | |<br />
t: 192.168.1.210 | | t: 192.168.1.220<br />
+&#8212;o-o&#8212;+<br />
|   IPMP  |<br />
+&#8212;&#8212;&#8212;+</p>
<p>IPMP only use the defaultrouter as probe target. Each test interface of the<br />
IPMP group send ICMP requests only to the defaultrouter. To get the<br />
configuration IPMP looks to the routing table and is independent from<br />
/etc/defaultrouter file. NO &#8220;all hosts&#8221; multicast (224.0.0.1) will be sent.</p>
<p>Advantages:<br />
- Test interfaces don&#8217;t need IP addresses of the production subnet</p>
<p>Disadvantages:<br />
- The interface of the defaultrouter has to reside in both the<br />
production AND test subnet.<br />
- Exceptional configuration of defaultrouter.<br />
- All which are mentioned in section 1.1</p>
<p>2.2 With defaultrouter in production subnet net but without defaultrouter<br />
in test subnet<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>+&#8212;&#8212;&#8212;&#8212;-+      +&#8212;&#8212;&#8212;+       +&#8212;&#8212;&#8212;+<br />
|defaultrouter|      |    T1   |  &#8230;  |    T5   |<br />
+&#8212;&#8212;o&#8212;&#8212;+      +&#8212;-o&#8212;-+       +&#8212;-o&#8212;-+<br />
| p:172.20.20.1    | p:172.20.20.110 | p:172.20.20.150<br />
|                  | t:192.168.1.110 | t:192.168.1.150<br />
|                  |                 |<br />
|                  |                 |       t:192.168.1/24<br />
============+=+=+==============+=================+=====================<br />
| |                                        p:172.20.20/24<br />
p:172.20.20.10   | |<br />
t:192.168.1.210  | | t:192.168.1.220<br />
+&#8212;o-o&#8212;+<br />
|   IPMP  |<br />
+&#8212;&#8212;&#8212;+</p>
<p>IPMP dynamically determines five arbitrary hosts in the test subnet via<br />
&#8220;all hosts&#8221; multicast  address (224.0.0.1). At least you need one probe<br />
target that IPMP will work. Beware that one probe target is not reliable<br />
enough. If there are less than five targets available the in.mpathd sent<br />
out the &#8220;all hosts&#8221; multicasts to get a complete list of five probe<br />
targets.</p>
<p>Advantages:<br />
- easiest configuration for IPMP if you have too less IP addresses<br />
available in the production subnet.<br />
- is very reliable due to the five targets.</p>
<p>Disadvantages:<br />
- the probe targets must be available before you can setup the<br />
IPMP host.<br />
- more administrative work because you have to setup the probe<br />
targets as an additional interface in the test subnet.<br />
Recommendation: Setup an additional logical network interface on target host.<br />
(e.g. add a new interface to /etc/hostname.qfe0 with the &#8216;addif&#8217; option)<br />
If your test partners are on systems which run also IPMP you must add an<br />
logical network interface NOT flagged deprecated and NOT flagged nofailover.<br />
An address associated with this interface will then be used as source address<br />
by responding properly to &#8220;all hosts&#8221; multicast packets which are used for<br />
the automatic IPMP test partner detection.<br />
Beware that Solaris 8 does NOT require the additional logical network<br />
interface in the test subnet on the target host. So, in case of an upgrade<br />
from Solaris 8 to Solaris[TM] 9 or higher you have to change your configuration.<br />
Please refer to 2.5 for a detailed example.</p>
<p>2.3 with dedicated hosts acting as test targets with &#8220;host-routes&#8221;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>+&#8212;&#8212;&#8212;&#8212;-+       +&#8212;&#8212;&#8212;+        +&#8212;&#8212;&#8212;+<br />
|defaultrouter|       |    T1   |  &#8230;.  |    T5   |<br />
+&#8212;&#8212;o&#8212;&#8212;+       +&#8212;-o&#8212;-+        +&#8212;-o&#8212;-+<br />
!                   | p:172.20.20.110 | p:172.20.20.150<br />
!                   | t:192.168.1.110 | t:192.168.1.150<br />
!                   |                 |<br />
!                   |                 |       t:192.168.1/24<br />
=============+=+===============+=================+=====================<br />
| |                                         p:172.20.20/24<br />
p:172.20.20.10  | |<br />
t:192.168.1.210 | | t:192.168.1.220<br />
+&#8212;o-o&#8212;+<br />
|   IPMP  |<br />
+&#8212;&#8212;&#8212;+</p>
<p>Some &#8220;host routes&#8221; will be defined in the test subnet with a startscript in<br />
/etc/rc2.d/S70ipmp.targets (The script is attached to this document.). When<br />
IPMP refer to the routing table it will choose the first five defined &#8220;host<br />
routes&#8221; as probe targets in the test subnet. This is due to the fact that<br />
normally the &#8220;host routes&#8221; are before the defaultrouter in the routing<br />
table. If you have less than five &#8220;host routes&#8221; also the defaultrouter<br />
(when available in the test subnet) will be used as probe target as well.</p>
<p>Example:<br />
- please look to the example of section 1.3</p>
<p>Advantages:<br />
- test interfaces don&#8217;t need IP addresses of the production subnet<br />
- all which are mentioned in section 1.3</p>
<p>Disadvantages:<br />
- all which are mentioned in section 1.3<br />
- all which are mentioned in section 2.2</p>
<p>2.4 Configuration examples for 2.1, 2.2 and 2.3<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>/etc/hosts<br />
&#8212;&#8212;&#8212;-<br />
127.0.0.1        localhost<br />
172.20.20.10     host10       loghost<br />
192.168.1.210    host10-test-qfe0<br />
192.168.1.220    host10-test-qfe4</p>
<p>/etc/hostname.qfe0<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
host10 netmask + broadcast + group ipmp0 up \<br />
addif host10-test-qfe0 deprecated -failover netmask + broadcast + up</p>
<p>/etc/hostname.qfe4<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
host10-test-qfe4 deprecated -failover netmask + broadcast + group ipmp0 up</p>
<p>ifconfig output:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
qfe0: flags=9040843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 3<br />
inet 172.20.20.10 netmask ffffff00 broadcast 172.20.20.255<br />
groupname ipmp0<br />
ether 8:0:20:e8:88:dc<br />
qfe0:1:<br />
flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&gt;<br />
mtu 1500 index 3<br />
inet 192.168.1.210 netmask ffffff00 broadcast 192.168.1.255<br />
qfe4:<br />
flags=9040843&lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&gt;<br />
mtu 1500 index 4<br />
inet 192.168.1.220 netmask ffffff00 broadcast 192.168.1.255<br />
groupname ipmp0<br />
ether 8:0:20:e8:89:34</p>
<p>Note: The example describe the setup of an active-active IPMP configuration<br />
which is best practices. But you can also configure an active-standby<br />
configuration. You simple have to add the &#8220;standby&#8221; flag to the<br />
/etc/hostname.qfe4 file. More Details available in Technical Instruction &lt; Solution: 217158 &gt;.</p>
<p>2.5  Configuration example for 2.2 if you use IPMP on the test subnet<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
/etc/hosts<br />
&#8212;&#8212;&#8212;-<br />
127.0.0.1        localhost<br />
# IPMP active IP address:<br />
172.20.20.10     host10       loghost<br />
# IPMP test interface<br />
192.168.1.210    host10-test-ce0<br />
# additional active interface in the &#8216;test subnet&#8217;<br />
# to be able to respond to probe packets from other<br />
# IPMP setups (See 2.2). Will also failover.<br />
192.168.1.211    host10-prod-ce0<br />
# IPMP test interface<br />
192.168.1.220    host10-test-ce1</p>
<p>/etc/hostname.ce0<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
172.20.20.10 netmask + broadcast + group ipmp0 up \<br />
addif 192.168.1.211 netmask + broadcast + up \<br />
addif 192.168.1.210 netmask + broadcast + deprecated -failover up</p>
<p>/etc/hostname.ce1<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
192.168.1.220 netmask + broadcast + group ipmp0 deprecated -failover up</p>
<p>ifconfig output:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
ce0: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 172.20.20.10 netmask ffffff00 broadcast 172.20.20.255<br />
groupname ipmp0<br />
ether 8:0:20:e2:da:d5<br />
ce0:1: flags=1000843&lt;UP,BROADCAST,RUNNING,MULTICAST,IPv4&gt; mtu 1500 index 2<br />
inet 192.168.1.211 netmask ffffff00 broadcast 192.168.1.255<br />
ce0:2: flags=9040843&lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&gt; mtu 1500 index 2<br />
inet 192.168.1.210 netmask ffffff00 broadcast 192.168.1.255<br />
ce1: flags=9040843&lt;UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER&gt; mtu 1500 index 3<br />
inet 192.168.1.220 netmask ffffff00 broadcast 192.168.1.255<br />
groupname ipmp0<br />
ether 8:0:20:e2:da:d6</p>
<p>A.<br />
&#8212;&#8212;&#8212;&#8211; Begin of start script /etc/init.d/ipmp.targets &#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>#!/sbin/sh<br />
# /etc/rc2.d/S70ipmp.targets /etc/init.d/ipmp.targets<br />
# Copyright (c) 2005 by Sun Microsystems, Inc.<br />
# All rights reserved.<br />
#<br />
#ident  &#8220;@(#)ipmp.targets      1.0.0<br />
#<br />
# Edit the following IPMP test  TARGETS to suit your needs.<br />
# To install:<br />
# 1) cp ipmp.targets /etc/init.d<br />
# 2) perform edits on the scri pt as required (e.g: add TARGETS)<br />
# 3) chmod 744 /etc/init.d/ipmp.targets<br />
# 4) chown root:sys /etc/init.d/ipmp.targets<br />
# 5) ln /etc/init.d/ipmp.targets /etc/rc2.d/S70ipmp.targets<br />
#<br />
TARGETS=&#8221;192.168.85.117 192.168.85.127 192.168.85.137&#8243;</p>
<p>case &#8220;$1&#8243; in<br />
&#8216;start&#8217;)<br />
/usr/bin/echo &#8220;Adding static routes for use as IPMP targets&#8221;<br />
for target in $TARGETS; do<br />
/usr/sbin/route add -host $target $target<br />
done<br />
;;<br />
&#8216;stop&#8217;)<br />
/usr/bin/echo &#8220;Removing static routes for use as IPMP targets&#8221;<br />
for target in $TARGETS; do<br />
/usr/sbin/route delete -host $target $target<br />
done<br />
;;<br />
esac<br />
&#8212;&#8212;&#8212;&#8211; End of start script /etc/init.d/ipmp.targets &#8212;&#8212;&#8212;&#8212;&#8211;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/solaris/ipmp-on-solaris-10set-up-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check Solaris version</title>
		<link>http://www.bigadmins.com/solaris/how-to-check-solaris-version/</link>
		<comments>http://www.bigadmins.com/solaris/how-to-check-solaris-version/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 18:29:48 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris Version]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=81</guid>
		<description><![CDATA[Here is how to check the Oracle Solaris Version you are running $ uname -a SunOS mysunserver 5.10 Generic_125100-06 sun4v sparc SUNW,Sun-Fire-T1000 Solaris $ Solaris 10 uses the SunOS 5.10 kernel, Solaris 9 uses the SunOS 5.9 kernel... $ cat /etc/release Solaris 10 11/06 s10s_u3wos_10 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use [...]]]></description>
			<content:encoded><![CDATA[<pre><strong>Here is how to check the Oracle Solaris Version you are running</strong></pre>
<pre style="text-align: left;">	$ <strong>uname -a</strong>
	SunOS mysunserver <strong>5.10</strong> Generic_125100-06 sun4v sparc SUNW,Sun-Fire-T1000 Solaris
	$

	<em>Solaris 10 uses the SunOS 5.<strong>10</strong> kernel, Solaris 9 uses the SunOS 5.<strong>9</strong> kernel...</em>
<span id="more-81"></span>
	$ <strong>cat /etc/release </strong>
	                       Solaris 10 11/06 s10s_u3wos_10 SPARC
	           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
	                        Use is subject to license terms.
	                           Assembled 14 November 2006
	$ 
<h3><strong>And to check the Solaris build
</strong></h3>
<pre>        $ <strong>showrev</strong>
	Hostname: mysunserver
	Hostid: 848233a4
	Release: 5.10
	Kernel architecture: sun4v
	Application architecture: sparc
	Hardware provider: Sun_Microsystems
	Domain:
	Kernel version: SunOS 5.10 Generic_<strong>125100-06</strong>
	$ 

	Kernel architectures:
		sun4c (MicroSPARC)
		sun4d
		sun4m (SuperSparc)
		sun4u (UltraSPARC) (~1995)
		sun4v (USIIIi) (~2002)
	(Solaris 10 only support sun4u and later)
</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/solaris/how-to-check-solaris-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check Solaris Server performance with SAR</title>
		<link>http://www.bigadmins.com/solaris/how-to-check-solaris-server-performance-with-sar/</link>
		<comments>http://www.bigadmins.com/solaris/how-to-check-solaris-server-performance-with-sar/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 18:07:24 +0000</pubDate>
		<dc:creator>vijith</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[UNIX TIPS]]></category>

		<guid isPermaLink="false">http://www.bigadmins.com/?p=79</guid>
		<description><![CDATA[Whether you&#8217;re unsatisfied with your Solaris system performance or just want to get the most out of what the machine is capable of, there is a cyclical process to improve it, which consists of determining where the processing slow-down is occuring (the bottleneck), fixing it, then repeating the process, until the most significant bottlenecks are [...]]]></description>
			<content:encoded><![CDATA[<p>Whether you&#8217;re unsatisfied with your Solaris system performance or just  want to get the most out of what the machine is capable of, there is a  cyclical process to improve it, which consists of determining where the  processing slow-down is occuring (the bottleneck), fixing it, then repeating the process, until the most significant bottlenecks are reduced.</p>
<p>First, we should learn about some tools to help us monitor system performance. SAR (the system activity reporter) is the time-honored (and very cryptic) standard UNIX performance monitoring tool.  	How do we use SAR to see what the Sun server has been doing?</p>
<p><span id="more-79"></span></p>
<p>SAR collects data on the state of the system using a program called 	&#8220;sadc&#8221; (the system activity data collector), which is usually 	launched from two standardized shell scripts (called sa1 and sa2) 	that can be launched from &#8220;cron&#8221; as frequently as you want to 	collect performance data by adding a few lines to your crontab with:</p>
<pre>	mysunserver# <strong>crontab -e</strong>
</pre>
<p>Now add these lines..</p>
<pre>	# Starting at 8am collect system activity records
	# every 20 minutes for 12 hours
	# 20 minutes = 1200 seconds
	# 12 hours with 3 samples each hour = 36 loops
	<strong>0 8 * * 1-5 /usr/lib/sa/sa1 1200 36</strong>

	# After the 12 hour period,
	# collect a system activity report
	<strong>30 20 * * 1-5 /usr/lib/sa/sa2 -A</strong>
</pre>
<p>After a full day of systems monitoring, we can use &#8220;sar&#8221; to extract the collected data:</p>
<pre>	root@mysunserver:~$ <strong>sar</strong>

	SunOS mysunserver 5.10 Generic_125100-06 sun4v    07/25/2007

	23:00:01    %usr    %sys    %wio   %idle
	23:20:00       0       0       0     100
	23:40:00       0       0       0     100
	00:00:00       0       0       0     100
	00:20:00       0       0       0     100
	00:40:02       0       1       0      99
	01:00:01       0       2       0      98
	01:20:05       0       2       0      98
	   .
	   .
	   .
</pre>
<p>In the default SAR display, we see, at every sample interval, how 	the computer was spending it&#8217;s time.</p>
<p>Each of the four columns shows how the CPU&#8217;s time was being divided:</p>
<ul>
<li><strong>%usr</strong>: running UNIX processes (&#8220;user time&#8221;)</li>
<li><strong>%sys</strong>: processing kernel system calls on behalf of 	processes (&#8220;system time&#8221;)</li>
<li><strong>%wio</strong>: sitting around waiting to read/write data (to disks or 	network devices), as demanded by processes (&#8220;waiting for I/O&#8221;)</li>
<li><strong>%idle</strong>: just plain doing nothing as there were no processes  that demanded 	the CPU&#8217;s time (&#8220;idle&#8221;).</li>
</ul>
<p><strong>NOTE</strong>: These statistics are not quite the same as the system 	&#8220;load average&#8221;, which, precisely defined, is the <strong>AVERAGE number 	of PROCESSES</strong> that are in the process table <strong>which are WAITING 	for the CPU</strong> to be able to service them. In theoretical terms, 	the &#8220;load average&#8221; resembles a percentage of processor utilization 	that can exceed 100% when the system is overutilized (load avg. &gt; 	1.00) or fall below 100% when the CPU is not fully utilized (load 	avg. &lt; 1.00). Theoretically, a system that sustained a load average 	utilization of 0.50 would operate with the same apparent performance 	if the CPU ran at half the clock-speed.</p>
<p>If may be best to think of load average as CPU <em>demand</em>, and to 	think of the SAR statistics as actual CPU <em>utilization</em>.</p>
<p>If SAR reports the CPU is more than 10% idle, then your system is 	probably not being held back by a slow processor or slow storage 	devices. The culprit may just be inefficiently-written software, 	which fails to optimize for the particular platform which it runs 	on.</p>
<p>Time spent by the system waiting for I/O (%wio) is one of the most 	important to attack. This &#8220;wasted&#8221; time is sometimes called a &#8220;wait 	state&#8221;. As those I/O processes are necessary, it is only &#8220;wasteful&#8221; 	because the CPU just sits around doing nothing until the disk has 	had a chance to fetch the requested data, or upload the data, or do 	whatever other I/O activity which was requested by the UNIX process.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bigadmins.com/solaris/how-to-check-solaris-server-performance-with-sar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

