<?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"
	>

<channel>
	<title>UNIXSysAdmin.net</title>
	<atom:link href="http://unixsysadmin.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://unixsysadmin.net</link>
	<description>Solaris Stuff for SysAdmins</description>
	<pubDate>Fri, 14 Nov 2008 07:53:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Create a VNIC on Solaris Nevada (Solaris Express) Builds, and Use It for an Exclusive IP Stack in Zones</title>
		<link>http://unixsysadmin.net/2008/07/17/create-a-vnic-on-solaris-nevada-solaris-express-builds-and-use-it-for-an-exclusive-ip-stack-in-zones/</link>
		<comments>http://unixsysadmin.net/2008/07/17/create-a-vnic-on-solaris-nevada-solaris-express-builds-and-use-it-for-an-exclusive-ip-stack-in-zones/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 06:05:45 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/?p=20</guid>
		<description><![CDATA[Given that I discovered quite a while ago that you can create vnic&#8217;s WITHOUT crossbow, in the early 80&#8217;s builds (b83+ appears to work), I decided today to try using the vnic&#8217;s for exclusive ip stacks in zones. The good news is, it works! The bad news is, besides already being unsupported (as this is [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Create a VNIC on Solaris Nevada (Solaris Express) Builds, and Use It for an Exclusive IP Stack in Zones", url: "http://unixsysadmin.net/2008/07/17/create-a-vnic-on-solaris-nevada-solaris-express-builds-and-use-it-for-an-exclusive-ip-stack-in-zones/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Given that I discovered quite a while ago that you can create vnic&#8217;s WITHOUT crossbow, in the early 80&#8217;s builds (b83+ appears to work), I decided today to try using the vnic&#8217;s for exclusive ip stacks in zones. The good news is, it works! The bad news is, besides already being unsupported (as this is Solaris Express), doing things like this is probably super, super unsupported.</p>
<p>So, lets do it.</p>
<p>Create a VNIC:</p>
<pre>/usr/lib/vna &lt;physicalAdapter&gt; &lt;fakeMacAddress&gt;</pre>
<p>You will get the vnic name returned as &#8220;vnic0&#8243;, then vnic1, and so on the more times you do this. Always use a different mac address of course, else, fail.</p>
<p>Create a new zone, and when configuring it, set the physical NIC to vnic0, and DO NOT set an address on it.</p>
<p>So, either type the commands below into zonecfg when creating a new zone:</p>
<pre># zonecfg -z &lt;zoneName&gt;</pre>
<pre>zonecfg:&lt;zoneName&gt;&gt; set ip-type=exclusive</pre>
<pre>zonecfg:&lt;zoneName&gt;&gt; add net</pre>
<pre>zonecfg:&lt;zoneName&gt;:net&gt; set physical=vnic0</pre>
<pre>zonecfg:&lt;zoneName&gt;:net&gt; end</pre>
<pre>zonecfg:&lt;zoneName&gt;&gt; commit</pre>
<p>OR remove the NIC config from an existing zone, and configure the new nic</p>
<pre>zonecfg -z &lt;zoneName&gt; "remove net; set ip-type=exclusive; add net; set physical=vnic0; end"</pre>
<p>Good to go - now boot the zone, and get on the zone console:</p>
<p>zlogin -C -e \# &lt;zoneName&gt;</p>
<p>Login as root, and then plumb the interface to verify it works:</p>
<pre>ifconfig vnic0 plumb</pre>
<p>And now, configure the zone like a regular Solaris 10 host, creating the /etc/hostname.vnic0 file, with a hostname in it, editing /etc/hosts, setting up /etc/resolv.conf, /etc/netmasks, /etc/defaultrouter and so on, and you should be good to go!</p>
<p>You may also wish to write a startup script that runs before the zones come up at boot, to avoid the zone boot failing. It will simply need to contain the /usr/lib/vna lines you used above to configure the vnic&#8217;s in the first place.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Create+a+VNIC+on+Solaris+Nevada+%28Solaris+Express%29+Builds%2C+and+Use+It+for+an+Exclusive+IP+Stack+in+Zones&amp;url=http%3A%2F%2Funixsysadmin.net%2F2008%2F07%2F17%2Fcreate-a-vnic-on-solaris-nevada-solaris-express-builds-and-use-it-for-an-exclusive-ip-stack-in-zones%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2008/07/17/create-a-vnic-on-solaris-nevada-solaris-express-builds-and-use-it-for-an-exclusive-ip-stack-in-zones/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quick and Easy Way to Build Solaris 10 / Solaris Express Zones</title>
		<link>http://unixsysadmin.net/2008/06/24/quick-and-easy-way-to-build-solaris-10-solaris-express-zones/</link>
		<comments>http://unixsysadmin.net/2008/06/24/quick-and-easy-way-to-build-solaris-10-solaris-express-zones/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 14:07:45 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Solaris]]></category>

		<category><![CDATA[SysAdminTools]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/?p=18</guid>
		<description><![CDATA[So, maybe you don&#8217;t want to spend any time installing JET (JumpStart Enterprise Toolkit) but you do want to build zones in a jumpstart-ish way, that is - quickly and consistently on say, your laptop for example&#8230; oh yeah and you want to do it right now!
Well, there&#8217;s probably a boat load of other people [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Quick and Easy Way to Build Solaris 10 / Solaris Express Zones", url: "http://unixsysadmin.net/2008/06/24/quick-and-easy-way-to-build-solaris-10-solaris-express-zones/" });</script>]]></description>
			<content:encoded><![CDATA[<p>So, maybe you don&#8217;t want to spend any time installing JET (JumpStart Enterprise Toolkit) but you do want to build zones in a jumpstart-ish way, that is - quickly and consistently on say, your laptop for example&#8230; oh yeah and you want to do it right now!</p>
<p>Well, there&#8217;s probably a boat load of other people who have done something similar to this before, but, whatever. I&#8217;ve written a quick script to add and remove zones from a solaris 10 (or in this case, a Solaris Express) machine, with very little thought and virtually no questions asked.</p>
<p>The newZone.ksh script will:</p>
<ul>
<li>Perform basic verification that your input is sane, such as checking the NIC is plumbed, IP is valid-ish, Zone doesn&#8217;t exist</li>
<li>Default to autoboot the zone</li>
<li>Use your existing /etc/sysidcfg, changing only the hostname (easily modifiable for more complex setups)</li>
<li>Allow for post-install scripts to be run, but you must add them yourself (or ask and I&#8217;ll give you my basic one).</li>
</ul>
<p>The rmZone.ksh has basically no error checking, and the script will simply:</p>
<ul>
<li>Halt the running zone immediately</li>
<li>Uninstall the zone</li>
<li>Delete the zone&#8217;s config</li>
</ul>
<p>The scripts should be relatively easy to follow, and modifable as you see fit. Please don&#8217;t redistribute a modified version  without my permission.</p>
<p><strong>UPDATE 14 July 2008: </strong>Zone Creation Scripts updated to:</p>
<ul>
<li>Improve handling of invalid input</li>
<li>Resolve bug with sparse zone creation</li>
</ul>
<p>Additional notes added to this post you must read if you have not installed the zone host from jumpstart (you will need to create a sysidcfg similar to the example)</p>
<p>You can grab the scripts in the tar file at:<br />
<a title="zone-scripts.tar" href="http://unixsysadmin.net/files/zone-scripts.tar">http://unixsysadmin.net/files/zone-scripts.tar</a></p>
<p>Usage:</p>
<pre>newZone.ksh &lt;zoneName&gt; &lt;physicalNIC&gt; &lt;zoneIP&gt; [whole | sparse]
rmZone.ksh &lt;zoneName&gt;</pre>
<p>Sample run:</p>
<pre>bash-3.2# ./newZone.sh ldapm1 rtls0 192.168.0.2 whole
INFO: Zone does not exist, OK to create
INFO: Physical NIC exists, OK to use
INFO: IP Address is probably OK
INFO: ZoneType is OK
INFO: Configuring Zone...
INFO: Creating a whole zone in /export/zones/ldapm1
Preparing to install zone &lt;ldapm1&gt;.
Creating list of files to copy from the global zone.
Copying &lt;206279&gt; files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize &lt;1358&gt; packages on the zone.
Initialized &lt;1358&gt; packages on zone.
Zone &lt;ldapm1&gt; is initialized.
.
.
.
[NOTICE: Zone rebooting]

SunOS Release 5.11 Version snv_92 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: ldapm1
Reading ZFS config: done.
ldapm1 console login:</pre>
<p>And we&#8217;re good to go!</p>
<p><strong>NOTE for Non-Jumpstarted Machines: </strong>The scripts assume the host of your zones was jumpstarted, and as such, has an /etc/sysidcfg file. If it does not, you will want to have one somewhere, by default it looks at /etc/sysidcfg.</p>
<p>For simplicity, you could create one that looks something like this (with the correct paramaters, of course)</p>
<pre>  system_locale=en_AU.ISO8859-1</pre>
<pre>  timezone=Australia/Sydney</pre>
<pre>  timeserver=localhost</pre>
<pre>  terminal=vt100</pre>
<pre>  name_service=DNS {domain_name=&lt;your domain&gt;</pre>
<pre>                        name_server=&lt;your name server&gt;</pre>
<pre>                        search=&lt;your search domain&gt;}</pre>
<pre>  security_policy=NONE</pre>
<pre>  root_password=&lt;a crypt version of your password&gt;</pre>
<pre>  network_interface=primary {hostname=&lt;your host name&gt;</pre>
<pre>                        netmask=&lt;your netmask&gt;</pre>
<pre>                        protocol_ipv6=no</pre>
<pre>                        default_route=&lt;your default route&gt;}</pre>
<pre>  nfs4_domain=&lt;your domain name&gt;</pre>
<p>replacing all the bits in the &lt; &gt;, and the &lt;hostname&gt; bit with your systems hostname - this is important as the script uses sed to replace this value with your zone&#8217;s hostname, if you do not do this, you will get asked all the questions from the installer, and all of a sudden, the automated build isn&#8217;t so automated!</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Quick+and+Easy+Way+to+Build+Solaris+10+%2F+Solaris+Express+Zones&amp;url=http%3A%2F%2Funixsysadmin.net%2F2008%2F06%2F24%2Fquick-and-easy-way-to-build-solaris-10-solaris-express-zones%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2008/06/24/quick-and-easy-way-to-build-solaris-10-solaris-express-zones/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Random Script of the week - I&#8217;m not your friend, guy!</title>
		<link>http://unixsysadmin.net/2008/05/21/random-script-of-the-week-im-not-your-friend-guy/</link>
		<comments>http://unixsysadmin.net/2008/05/21/random-script-of-the-week-im-not-your-friend-guy/#comments</comments>
		<pubDate>Wed, 21 May 2008 12:57:52 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/?p=17</guid>
		<description><![CDATA[You may of recently viewed a South Park Episode where the Canadians decide to go on strike, because they need more money.
Now, you can reminisce with this small script and a bash shell. Just grab sp.sh and you&#8217;re good to go, hoorah.
<script type="text/javascript">SHARETHIS.addEntry({ title: "Random Script of the week - I&#8217;m not your friend, guy!", url: "http://unixsysadmin.net/2008/05/21/random-script-of-the-week-im-not-your-friend-guy/" });</script>]]></description>
			<content:encoded><![CDATA[<p>You may of recently viewed a South Park Episode where the Canadians decide to go on strike, because they need more money.</p>
<p>Now, you can reminisce with this small script and a bash shell. Just grab <a title="sp.sh" href="http://unixsysadmin.net/files/sp.sh">sp.sh</a> and you&#8217;re good to go, hoorah.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Random+Script+of+the+week+-+I%26%238217%3Bm+not+your+friend%2C+guy%21&amp;url=http%3A%2F%2Funixsysadmin.net%2F2008%2F05%2F21%2Frandom-script-of-the-week-im-not-your-friend-guy%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2008/05/21/random-script-of-the-week-im-not-your-friend-guy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Java Enterprise System 5 on Solaris Express or Open Solaris</title>
		<link>http://unixsysadmin.net/2008/04/05/installing-java-enterprise-suite-5-on-solaris-express-or-open-solaris/</link>
		<comments>http://unixsysadmin.net/2008/04/05/installing-java-enterprise-suite-5-on-solaris-express-or-open-solaris/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 09:58:12 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/2008/04/05/installing-java-enterprise-suite-5-on-solaris-express-or-open-solaris/</guid>
		<description><![CDATA[This has annoyed me before but I never bothered figuring out how to fix the error:
PSPERR:++++++++++++++++++++++++++  {Missing Resource Exception in the loading of the
PkgRelativePaths{Can't find bundle for base name
com.sun.entsys.installer.common.resources.PkgRelativePaths5_11, locale en_AU}}
And hence the failure of installation of JES software on Solaris Express Nevada Builds. I&#8217;ve spent some time this evening figuring it out (thanks [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Installing Java Enterprise System 5 on Solaris Express or Open Solaris", url: "http://unixsysadmin.net/2008/04/05/installing-java-enterprise-suite-5-on-solaris-express-or-open-solaris/" });</script>]]></description>
			<content:encoded><![CDATA[<p>This has annoyed me before but I never bothered figuring out how to fix the error:</p>
<pre>PSPERR:++++++++++++++++++++++++++  {Missing Resource Exception in the loading of the</pre>
<pre>PkgRelativePaths{Can't find bundle for base name</pre>
<pre>com.sun.entsys.installer.common.resources.PkgRelativePaths5_11, locale en_AU}}</pre>
<p>And hence the failure of installation of JES software on Solaris Express Nevada Builds. I&#8217;ve spent some time this evening figuring it out (thanks to truss + find) because tonight I *really* wanted to install JES on Solaris Express b81 (with Crossbow Integrated Bits) and I&#8217;ve found a way that sorts the issue. You need not rename directories or do anything else but the instructions that follow.</p>
<p>NOTE: Sun <em>probably</em> don&#8217;t want you to do this and it is unsupported, do so at your own peril.</p>
<p>Unzip a fresh copy of JES.<br />
Run the installer (I&#8217;ve used text mode):</p>
<pre>Unable to access a usable display on the remote system. Continue in command-line mode?(Y/N)
  Y</pre>
<p>Once you say &#8220;Y&#8221;, I&#8217;ve found it goes off creates a directory called /tmp/.entsys_CaChE</p>
<p>Inside this directory you will find the following seemingly relevant files:</p>
<p>./Solaris_x86/.install/config/PPXMLS/Clusters/EntsysCluster_SUNOS_SPARC_5_10.xml<br />
./Solaris_x86/.install/config/PPXMLS/Clusters/EntsysCluster_SUNOS_X86_5_10.xml<br />
./Solaris_x86/.install/config/PPXMLS/Clusters/OrionCluster_SUNOS_SPARC_5_10.xml<br />
./Solaris_x86/.install/config/PPXMLS/Clusters/OrionCluster_SUNOS_X86_5_10.xml<br />
./Solaris_x86/.install/config/com/sun/entsys/installer/common/resources/PkgRelativePaths5_10.properties</p>
<p>In another terminal window, copy the relevant files for your platform to the same file but with 5_11 instead of 5_10</p>
<pre>cd /tmp/.entsys_CaChE</pre>
<pre>cp ./Solaris_x86/.install/config/PPXMLS/Clusters/EntsysCluster_SUNOS_X86_5_10.xml \
./Solaris_x86/.install/config/PPXMLS/Clusters/EntsysCluster_SUNOS_X86_5_11.xml</pre>
<pre>cp ./Solaris_x86/.install/config/PPXMLS/Clusters/OrionCluster_SUNOS_X86_5_10.xml \
./Solaris_x86/.install/config/PPXMLS/Clusters/OrionCluster_SUNOS_X86_5_11.xml</pre>
<pre> cp ./Solaris_x86/.install/config/com/sun/entsys/installer/common/resources/PkgRelativePaths5_10.properties \
./Solaris_x86/.install/config/com/sun/entsys/installer/common/resources/PkgRelativePaths5_11.properties</pre>
<p>Then continue the installer as normal.</p>
<p>Then you should get to here:</p>
<pre>1. Install
2. Start Over
3. Exit Installation
What would you like to do [1] {&#8221;&lt;&#8221;!&#8221; exits}?</pre>
<p>And if you continue now things are happy:</p>
<pre>Java Enterprise System 5</pre>
<pre>
<table class="jive-wiki-table" border="0">
<tbody>
<tr>
<td>-1%&#8212;&#8212;&#8212;&#8212;&#8211;25%&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;50%&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;75%&#8212;&#8212;&#8212;&#8212;&#8211;100%</td>
</tr>
</tbody>
</table>
</pre>
<pre>Installation Complete
Software installation has completed successfully. You can view the installation
summary and log by using the choices below. Summary and log files are available
in /var/sadm/install/logs/.</pre>
<p>Sorted!</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Installing+Java+Enterprise+System+5+on+Solaris+Express+or+Open+Solaris&amp;url=http%3A%2F%2Funixsysadmin.net%2F2008%2F04%2F05%2Finstalling-java-enterprise-suite-5-on-solaris-express-or-open-solaris%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2008/04/05/installing-java-enterprise-suite-5-on-solaris-express-or-open-solaris/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Random bits about Solaris Express on the ASUS eeePC</title>
		<link>http://unixsysadmin.net/2008/04/02/solaris-express-on-the-asus-eeepc/</link>
		<comments>http://unixsysadmin.net/2008/04/02/solaris-express-on-the-asus-eeepc/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 11:35:23 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Hardware]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/2008/04/02/solaris-express-on-the-asus-eeepc/</guid>
		<description><![CDATA[Out of the box, the eeePC&#8217;s got a lot of stuff packed onto that 4GB disk, a custom Xandros (Linux) install, with a bunch of applications - and it works well for the most part. But I&#8217;m really not that into Linux (personal bias) and I wanted to try and get a working, useable Solaris [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Random bits about Solaris Express on the ASUS eeePC", url: "http://unixsysadmin.net/2008/04/02/solaris-express-on-the-asus-eeepc/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Out of the box, the eeePC&#8217;s got a lot of stuff packed onto that 4GB disk, a custom Xandros (Linux) install, with a bunch of applications - and it works well for the most part. But I&#8217;m really not that into Linux (personal bias) and I wanted to try and get a working, useable Solaris install on the device.</p>
<p>Given how far ahead Solaris Express is on the Desktop over Solaris 10u4, I was definitely going to be using an OpenSolaris derived build. I tried a couple of options, including SXCE b82, the indiana preview 2 and nexenta 1.0 (I also tried eeeXubuntu, but it wasn&#8217;t for me, I wanted Solaris on this puppy not linux).</p>
<p><strong>Note</strong>: You will need to upgrade the memory in your eeePC to reliably install and run a newer release of Solaris Express (b72 was fine, but when I tried 79 and above, the installer was unreliable. I have upgraded to 2GB of memory and a 8GB SD card, and this makes the eee significantly more useable, and give you some head room with the disk).</p>
<p>Also, please note you will require a USB keyboard to install the thing, but there is a dodgy fix below that gets around this problem once Solaris is installed.</p>
<p><strong>Installing Solaris Express</strong></p>
<p>My first goal was to get a working GUI, then to get the thing on the internet (ideally using 3G).</p>
<p>First attempted using Jumpstart - no good, Solaris doesn&#8217;t support the atheros 10/100Mb on board adapter in the jumpstart environment</p>
<p>Second attempt - boot from USB DVD - works (make sure you attach a USB keyboard for the install and first boot!)</p>
<p>Install questions:</p>
<p>1. Use Console Session Jumpstart Interactive</p>
<p>2. When it gets to disk layout, do it manually and create your own partition layout, making / the entire disk (the only way you&#8217;ll fit all this on the 4GB drive) on s0 - unless you use additional storage, in which case you don&#8217;t have to be so harsh with the &#8220;all root&#8221; or nothing approach.</p>
<p>3. Use the &#8220;End User&#8221; Cluster (Claims to require over 4GB, it doesn&#8217;t), and preferably remove some packages (there&#8217;s only so much room on this thing!) I will post a stripped down profile to assist with this once I have one created, so maybe we can get some swap space even on the base 4GB drive.</p>
<p>Once you get through this, it will take its time and to the install.</p>
<p>Once its up, the first thing you&#8217;ll want to do is fix the keyboard, as it does not work reliably out of the box.</p>
<p><strong>Fixing the in built keyboard not working on the eeePC</strong></p>
<p>Write a quick script to fix the keyboard issue at boot (Found a hint that guided me in the right direction after doing some mucking around myself and finding the issue and that a keyboard driver was happily attached [grrr], turns out a modunload and a modload fixes the problem - thanks for the hint from timf http://forum.eeeuser.com/viewtopic.php?pid=146353):</p>
<pre>#!/bin/sh</pre>
<pre>modunload -i `modinfo|awk '/kb8042/ {print$1}'</pre>
<pre>devfsadm -i kb8042</pre>
<pre>modload /kernel/drv/kb8042</pre>
<p>I saved this quick script as /etc/init.d/fixKB and linked it in /etc/rc2.d/S99fixKB, this fixes it on each boot.</p>
<p>Now onto making the nokia 6120 modem work via USB with Virgin Mobile&#8230;</p>
<p><strong>Using a USB cable to a Nokia 6120 Classic (and many other nokia phones) for Internet Access (3G)</strong></p>
<p>-Attach the DVD drive again, with Solaris install CD inside</p>
<p>-Install the SUNWpppd* packages:</p>
<pre>pkgadd -d /media/SOL11_X86_1/Solaris_11/packages SUNWpppd SUNWpppdr SUNWpppdu</pre>
<p>-Plug in the nokia and link the device in the dev tree:</p>
<pre>ln -s /dev/term/0 /dev/nokia</pre>
<p>-Edit /etc/ppp/peers/nokia:</p>
<pre>modem</pre>
<pre>nokia</pre>
<pre>460800</pre>
<pre>noauth</pre>
<pre>nodetach</pre>
<pre>noipdefault</pre>
<pre>usepeerdns</pre>
<pre>defaultroute</pre>
<pre>hide-password</pre>
<pre>connect '/usr/bin/chat -V -t15 -f /etc/ppp/nokia-chat'</pre>
<p>-Edit /etc/ppp/nokia-chat:</p>
<pre>'' 'ATZ'</pre>
<pre>'OK' 'ATE0V1'</pre>
<pre>'OK' 'AT+CGDCONT=,,"virgininternet"'</pre>
<pre>'OK' 'ATD*99#'</pre>
<pre>CONNECT ''</pre>
<p>-Reboot (SUNWpppd needs the ppp driver loaded in the kernel, you could probably load this manually)</p>
<p>-Edit /etc/resolv.conf:</p>
<pre>nameserver 61.88.88.88</pre>
<p>-Edit /etc/nsswitch.conf, adding &#8220;dns&#8221; to the lines &#8220;hosts&#8221;:</p>
<pre>hosts: files dns</pre>
<p>Now, to start using the internet:</p>
<pre>pppd call nokia</pre>
<pre></pre>
<p><strong>Compiz Fusion on the eeePC</strong></p>
<p>You can install Compiz quite easily thanks to <span class="titlehead">Erwann Chénedé at Sun </span><a href="http://blogs.sun.com/erwann/entry/new_easy_install_bundle_for">http://blogs.sun.com/erwann/entry/new_easy_install_bundle_for</a></p>
<p>However, though it basically works, it is a bit buggy in my experience on both my laptop and on the eeePC. Never the less, I have posted a quick you tube video so you can see compiz in action on the eeePC.</p>
<pre></pre>
<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/GYRu8-IGaEg"></param> <embed src="http://www.youtube.com/v/GYRu8-IGaEg" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Random+bits+about+Solaris+Express+on+the+ASUS+eeePC&amp;url=http%3A%2F%2Funixsysadmin.net%2F2008%2F04%2F02%2Fsolaris-express-on-the-asus-eeepc%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2008/04/02/solaris-express-on-the-asus-eeepc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Building a Sun Cluster using Solaris 10, on VMware Server</title>
		<link>http://unixsysadmin.net/2007/11/22/building-sun-cluster-31u4-on-solaris-10-on-vmware-server-104/</link>
		<comments>http://unixsysadmin.net/2007/11/22/building-sun-cluster-31u4-on-solaris-10-on-vmware-server-104/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 03:37:53 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/2007/11/22/building-sun-cluster-31u4-on-solaris-10-on-vmware-server-104/</guid>
		<description><![CDATA[One of the things I&#8217;ve done on my week off is get Sun Cluster working on VMware Server. There&#8217;s a few small tricks to it, but generally it hasn&#8217;t been as horrible as the first time I did it many months ago on VMware (a 4 node cluster, with panics galore - no fun).
NOTE: To [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Building a Sun Cluster using Solaris 10, on VMware Server", url: "http://unixsysadmin.net/2007/11/22/building-sun-cluster-31u4-on-solaris-10-on-vmware-server-104/" });</script>]]></description>
			<content:encoded><![CDATA[<p>One of the things I&#8217;ve done on my week off is get Sun Cluster working on VMware Server. There&#8217;s a few small tricks to it, but generally it hasn&#8217;t been as horrible as the first time I did it many months ago on VMware (a 4 node cluster, with panics galore - no fun).</p>
<p>NOTE: To run Sun Cluster on Solaris 10, you will need to be running your VMs as 64-bit guests (Sun Cluster, on Solaris 10, on x86/x64 DOES NOT run on Solaris 10 32-bit - found this out the hard way a long time ago!).</p>
<p>To do 64-bit VMs, only some CPUs are supported. In this case I am using a relatively new AMD 64 x2, and thats perfect for this purpose. In this build I&#8217;m using Solaris u3 is because u4 seems to have a few issues on VMware (lots of kernel panics on boot I&#8217;ve found), and Sun Cluster 3.1 8/05 (u4), even though Solaris Cluster 3.2 is out, Sun Cluster 3.1u4 is still what most things are certified against. I will build a 3.2 cluster at some point later on.</p>
<p>So, lets start with configuring VMware:</p>
<p>-Configure at least 2 additional host based networks, on Linux you will need to run</p>
<pre>vmware-config.pl</pre>
<p>I have configured several more (seeing as it is easy to do it all at once).</p>
<p>When it asks you about networking, you want to configure additional host based networks. The scheme I have used is:</p>
<p>172.16.0.0/255.255.255.0</p>
<p>172.16.1.0/255.255.255.0</p>
<p>.</p>
<p>.</p>
<p>172.16.11.0/255.255.255.0</p>
<p>NOTE: What subnets you specify here isn&#8217;t that relevant as your host will never talk on these networks, the host to host cluster interconnects will use the interfaces, and will likely use different subnets. Each subnet just needs to be different for each vmnet adapter. You need not use /24&#8217;s either, you could go down to a very small subnet size (/30 for example). If this makes no sense to you, do not worry too much, keep going anyway just following what I&#8217;ve done above.</p>
<p>Now, create 2 VMs - Typical, Solaris 10 64-bit (will not work if 64-bit is not selected), and in my case I preallocated 32GB of disk.</p>
<p>For each VM:</p>
<p>-Add at least 2 additional ethernet interfaces (e1000gXs) - these will be used for interconnects. Put each one on a different vmnet adapter. I used vmnet1 and vmnet2 in this case. Make sure when you do this, you do the interfaces identically on both VMs as they will need to talk to each other across these interfaces, but nothing else.</p>
<p>-Disable snapshots (for performance)</p>
<p>-Add a single disk in a different location for quorom, to one host only. I added quorom in /virtuals/cluster-disks/mail-store-quorom.vmdk. Quorom should be as small as possible, I believe the smallest disk you can build is ~100meg, so do that (0.1GB)</p>
<p>Boot each node for a tick, then shut it down straight away. This is to build the initial vmx config additional information that is not populated till you bring up a VM (ethernet address for e1000g0, is what we really want to be populated here).</p>
<p>-With each VM shut down, edit the .vmx file for each VM and add in the lines:</p>
<p>Configure shared quorom device:</p>
<pre>scsi0:1.present = "TRUE"
scsi0:1.fileName = "/virtuals/cluster-disks/mail-store-quorom.vmdk"
scsi0.sharedBus = "virtual"
disk.locking = "false"</pre>
<p>Obviously there&#8217;s no need to re-add the filename line for the host you configured the disk on initially.</p>
<p>Next for each VM configure CPU (core) binding  - if you don&#8217;t do this and you&#8217;re using a 64 bit AMD chip, you&#8217;ll get some interesting behaviour because the timestamping on each core of these CPUs is different, it messes with Solaris which expects to be on one CPU. Cluster will panic more often if you don&#8217;t do this <img src='http://unixsysadmin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>processor0.use = "TRUE"
processor1.use = "FALSE"</pre>
<p>And I do the reverse of the above for the other host&#8217;s vmx file:</p>
<pre>processor0.use = "FALSE"
processor1.use = "TRUE"</pre>
<p>-Now kick off a Solaris build using the minimal profile from my last post, or a SUNWCXall (all packages) will do if you don&#8217;t mid the extra build time wait and you have disk space up your sleeve. You could of course just do a straight install off the CD, just <strong>make sure </strong>you use a custom partitioning scheme ensuring there is a<strong> 512MB /globaldevices</strong> slice of your disk.</p>
<p>-Install Sun Cluster from anything Java Enterprise System 2005Q4 or above (JES 5 at time of writing). Obtain it for free from <a href="http://www.sun.com/software/javaenterprisesystem/getit.jsp" target="_blank">http://www.sun.com/software/javaenterprisesystem/getit.jsp</a>. All the JES&#8217; from (and including) 2005Q4 have Sun Cluster 3.1u4 (that is 8/05). It&#8217;s worth noting Sun Cluster 3.2 is out and has been for a while, but I&#8217;m not sure how much stuff is certified against it. I will try it out later, for the moment I&#8217;ll go with 3.1u4.</p>
<p>Note: there is nearly no initial config when you install Sun Cluster from the JES installer. I noticed in the most recent release of JES (and possibly some previous releases, I&#8217;ve missed a few) it asks if you want to allow Sun Cluster to be configured remotely. For simplicity, answer yes. It makes the cluster config very easy from there.</p>
<p>-Add /usr/cluster/bin to your path for convenience on both hosts</p>
<p>-run scinstall on ONE host (/usr/cluster/bin/scinstall if you did not follow the above step).</p>
<p>You&#8217;ll get a menu&#8230; with the first item where we want to be.</p>
<pre>* 1) Install a cluster or cluster node</pre>
<p>So select 1, then..</p>
<pre>1) Install all nodes of a new cluster</pre>
<p>1 again, then yes to continue</p>
<pre>Please select from one of the following options:</pre>
<pre>1) Typical</pre>
<pre>2) Custom</pre>
<p>Select 1</p>
<p>Then select a cluster name, in this case I&#8217;ve gone with mail-store-clus as this is to become a cluster of Sun Messaging Server 6.3 Mail Stores</p>
<p>Next you are asked for other nodes in the cluster, in this case the only other node for me is mail-store1, so I type that in</p>
<pre>Node name (Control-D to finish):  mail-store1
 Node name (Control-D to finish):</pre>
<pre>This is the complete list of nodes:</pre>
<pre>mail-store0
mail-store1</pre>
<pre>Is it correct (yes/no) [yes]?</pre>
<p>and then ctrl-D, then yes it is correct</p>
<pre>Attempting to contact "mail-store1" ... done</pre>
<pre>Searching for a remote install method ... done</pre>
<pre>The Sun Cluster framework software is already installed on each of
the new nodes of this cluster. And, it is able to complete the
configuration process without remote shell access.</pre>
<p>Looking good so far! Enter to continue.</p>
<pre>Select the first cluster transport adapter for "mail-store0":</pre>
<pre>1) e1000g1</pre>
<pre>2) e1000g2</pre>
<pre>3) Other</pre>
<p>Go with 1, then the next transport adapter, 2. NOTE: If you have plumb&#8217;d these devices, they will not work. These cards need to be unplumb&#8217;d in that case.</p>
<pre>    Searching for any unexpected network traffic on "e1000g1" ... done</pre>
<pre>    Verification completed. No traffic was detected over a 10 second</pre>
<pre>    sample period.</pre>
<p>Next up, quorom. This is why we setup the shared disk earlier:</p>
<pre>Do you want to disable automatic quorum device selection (yes/no) [no]?</pre>
<p>(go with the default, no)</p>
<pre>    Is it okay to begin the installation (yes/no) [yes]?</pre>
<p>yes, it sure is!</p>
<pre>    During the installation process, sccheck(1M) is run on each of the
    new cluster nodes. If sccheck(1M) detects problems, you can either
    interrupt the installation process or check the log files after
    installation has completed.

    Interrupt the installation for sccheck errors (yes/no) [no]?</pre>
<p>default is fine, no</p>
<p>and off we go:</p>
<pre>  Installation and Configuration

    Log file - /var/cluster/logs/install/scinstall.log.630

    Testing for "/globaldevices" on "mail-store0" ... done
    Testing for "/globaldevices" on "mail-store1" ... done

    Starting discovery of the cluster transport configuration.

    The following connections were discovered:

        mail-store0:e1000g1  switch1  mail-store1:e1000g1
        mail-store0:e1000g2  switch2  mail-store1:e1000g2

    Completed discovery of the cluster transport configuration.

    Started sccheck on "mail-store0".
    Started sccheck on "mail-store1".</pre>
<pre>
    sccheck completed with no errors or warnings for "mail-store0".
    sccheck completed with no errors or warnings for "mail-store1".

    Configuring "mail-store1" ... done
    Rebooting "mail-store1" ...</pre>
<pre></pre>
<p>And the second node reboots, then the first</p>
<pre>    Rebooting "mail-store1" ... done

    Configuring "mail-store0" ... done
    Rebooting "mail-store0" ... 

Log file - /var/cluster/logs/install/scinstall.log.630

Rebooting ... 

updating /platform/i86pc/boot_archive...this may take a minute
Connection to mail-store0 closed by remote host.
Connection to mail-store0 closed.</pre>
<p>Let the first node boot, and you&#8217;ll see a bunch of stuff on the console. Don&#8217;t stress, it&#8217;s (probably) normal. It is normal to see a few errors at  first boot.</p>
<p>Let the cluster sort it&#8217;s stuff out (give it a couple of minutes) then run scstat to check the status of the cluster. It should look something like:</p>
<pre>-bash-3.00$ scstat
------------------------------------------------------------------

-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     mail-store1         Online
  Cluster node:     mail-store0         Online

------------------------------------------------------------------

-- Cluster Transport Paths --

                    Endpoint               Endpoint               Status
                    --------               --------               ------
  Transport path:   mail-store1:e1000g2    mail-store0:e1000g2    Path online
  Transport path:   mail-store1:e1000g1    mail-store0:e1000g1    Path online

------------------------------------------------------------------

-- Quorum Summary --

  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3

-- Quorum Votes by Node --

                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       mail-store1         1        1       Online
  Node votes:       mail-store0         1        1       Online

-- Quorum Votes by Device --
                    Device Name         Present Possible Status
                    -----------         ------- -------- ------
  Device votes:     /dev/did/rdsk/d2s2  1        1       Online

------------------------------------------------------------------

-- Device Group Servers --

                         Device Group        Primary             Secondary
                         ------------        -------             ---------

-- Device Group Status --

                              Device Group        Status
                              ------------        ------              

-- Multi-owner Device Groups --

                              Device Group        Online Status
                              ------------        -------------

------------------------------------------------------------------
------------------------------------------------------------------

-- IPMP Groups --

              Node Name           Group   Status         Adapter   Status
              ---------           -----   ------         -------   ------
  IPMP Group: mail-store1         sc_ipmp0 Online         e1000g0   Online

  IPMP Group: mail-store0         sc_ipmp0 Online         e1000g0   Online

------------------------------------------------------------------</pre>
<pre></pre>
<p>And we have a basic, working cluster!</p>
<h2>Discovered Problems</h2>
<h3>Interconnect (&#8221;Cluster Transport&#8221;) is marked faulted</h3>
<p>For example, if you do an scstat, or an scstat -W you see:</p>
<pre>  Transport path:   mail-store1:e1000g2    mail-store0:e1000g2    faulted</pre>
<pre>  Transport path:   mail-store1:e1000g1    mail-store0:e1000g1    Path online</pre>
<p>(at boot it might be &#8220;waiting&#8221; for quite some time)</p>
<p>In some cases you can disconnect and reconnect the adapter in VMware. However, in others you may have to be more drastic.</p>
<p>Check you can ping the other node via this path - if you can, then you should be all good to run the following commands:</p>
<pre> scconf -c -m endpoint=mail-store0:e1000g2,state=disabled</pre>
<p>where mail-store0 is your current node, and e1000g2 is the failed adapter. After you&#8217;ve done this, you can re-enable it:</p>
<pre>scconf -c -m endpoint=mail-store0:e1000g2,state=enabled</pre>
<p>And you should now have an online path shortly afterwards:</p>
<pre>bash-3.00# scstat -W</pre>
<pre>
-- Cluster Transport Paths --</pre>
<pre>
                    Endpoint               Endpoint               Status</pre>
<pre>                    --------               --------               ------</pre>
<pre>  Transport path:   mail-store1:e1000g2    mail-store0:e1000g2    Path online</pre>
<pre>  Transport path:   mail-store1:e1000g1    mail-store0:e1000g1    Path online</pre>
<p>All good!</p>
<h3>Cluster Panics with pm_tick delay [number] exceeds [another number]</h3>
<p>Try the following:</p>
<ol>
<li>Stop VMs being paged to disk in VMWare (only use physical memory for your VMs). This is a VMWare server, host setting from memory</li>
<li>Ensure Memory Trimming is disabled for your VMware Server Sun Cluster Guests</li>
<li>On each Cluster node, in order, configure the heartbeats to be father apart, and have a longer timeout:</li>
</ol>
<pre>scconf -w heartbeat_timeout=60000 

scconf -w heartbeat_quantum=10000</pre>
<pre></pre>
<p>Hopefully this will leave you with a much more stable cluster on VMware.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Building+a+Sun+Cluster+using+Solaris+10%2C+on+VMware+Server&amp;url=http%3A%2F%2Funixsysadmin.net%2F2007%2F11%2F22%2Fbuilding-sun-cluster-31u4-on-solaris-10-on-vmware-server-104%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2007/11/22/building-sun-cluster-31u4-on-solaris-10-on-vmware-server-104/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Building a minimal Solaris jumpstart profile</title>
		<link>http://unixsysadmin.net/2007/11/22/building-a-minimal-jumpstart-profile/</link>
		<comments>http://unixsysadmin.net/2007/11/22/building-a-minimal-jumpstart-profile/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 01:28:51 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Solaris]]></category>

		<category><![CDATA[SysAdminTools]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/2007/11/22/building-a-minimal-jumpstart-profile/</guid>
		<description><![CDATA[So I&#8217;ve spent this week off from work, and I have been spending my time working on building a jumpstart environment to deploy a stack of hosts into VMWare, so as I can build various kinds of Solaris hosts, including LDAP replicas (Directory Server 6.2), Mail stores and gateways using Sun Cluster and Messaging Server [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Building a minimal Solaris jumpstart profile", url: "http://unixsysadmin.net/2007/11/22/building-a-minimal-jumpstart-profile/" });</script>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve spent this week off from work, and I have been spending my time working on building a jumpstart environment to deploy a stack of hosts into VMWare, so as I can build various kinds of Solaris hosts, including LDAP replicas (Directory Server 6.2), Mail stores and gateways using Sun Cluster and Messaging Server 6.3, and Oracle RAC on Sun Cluster.</p>
<p>I thought I&#8217;d give you some code I&#8217;ve written (its spectacularly awful code, but it works and works quickly) to build a minimal Solaris profile. The whole idea is to use SUNWCreq as your base for your profile, and only add packages you want from there. It makes my build around 730meg with all the stuff I need to run Sun Cluster and a bunch of utilities I find handy, without all the additional stuff that I won&#8217;t be using at this point in time.</p>
<p>To use this utility you will need to know the name of the package, and be running this on a Solaris host that actually has the package installed (in this case I&#8217;m running it on my jumpstart server, which is built using SUNWCXall - that is, everything). On a host like this you can locate the name of the package you are after by finding a known file from the package in /var/sadm/install/contents. eg.</p>
<pre>bash-3.00# grep /usr/bin/bash /var/sadm/install/contents
 /usr/bin/bash f none 0555 root bin 611132 31995 1178118881 SUNWbash</pre>
<p>Then you can use:</p>
<pre>java SPDB SUNWbash</pre>
<p>to get a profile-friendly output of all SUNWbash&#8217;s dependecies, excluding those already in SUNWCreq.</p>
<p>To build a reasonably minimised host ready for Sun Cluster 3.1u4, using Solaris 10 u3, with utilities I like to have installed (including the SUNWinst package so I can take a flar at the end and gcc if I&#8217;d like to do some compiling):</p>
<pre>java SPDB SUNWgcc SUNWgmake SUNWhea SUNWluzone SUNWman SUNWpl5u SUNWpool SUNWsshcu \</pre>
<pre>SUNWsshdr SUNWsshu SUNWsshdu SUNWvolu SUNWvolr SUNWwgetr SUNWwgetu SUNWzoneu \</pre>
<pre>SUNWzoner SUNWzfsu SUNWzfsr SUNWbind SUNWdhcsu SUNWdhcsr SUNWinst SUNWbash \</pre>
<pre>SUNWtcatu SUNWcacaort &gt; /var/tmp/pkgList</pre>
<p>Then use that output in a profile you might have something like:</p>
<pre>install_type   initial_install
 system_type standalone
 # start with the minimal required number of packages
 cluster        SUNWCreq</pre>
<pre>#additional packages</pre>
<p>&lt;INSERT package list here, in vi use:</p>
<pre>:r /var/tmp/pkgList</pre>
<p>to read it in&gt;</p>
<pre>#patches</pre>
<pre>patch 118855-36 nfs 10.0.0.1:/jumpstart/patches</pre>
<pre># format the entire disk for Solaris
 fdisk   all   solaris all</pre>
<pre># define how the disk is partitioned
 boot_device any update
 partitioning      explicit
 filesys rootdisk.s0 4096 /
 filesys rootdisk.s1 2048 swap
 filesys rootdisk.s3 512  /globaldevices
 filesys rootdisk.s4 free /var</pre>
<p>for example.</p>
<p>You can get my first cut of the code here: <a href="http://unixsysadmin.net/files/SPDB.class">http://unixsysadmin.net/files/SPDB.class</a></p>
<p>Its so dodgy that I haven&#8217;t even packaged it up. I will make it much more useable in future (differing repositories of information,  find dependencies based on the binary/file you&#8217;re after, so you need not know package names and so on).</p>
<p>Some might say there is a tool that does what I required and perhaps a much better job (<a href="http://blogs.sun.com/gbrunett/entry/solaris_package_companion">http://blogs.sun.com/gbrunett/entry/solaris_package_companion</a> for example). I haven&#8217;t used this tool, and to be honest I wanted to learn some more about how the package dependency structure worked in Solaris, so this was for both my own learning, and immediate need of having a minimal install of solaris, with just what I need - to basically reduce jumpstart host deployment time.</p>
<p>NOTES:</p>
<p>-SPDB stands for Solaris Profile Dependency Builder. I think I&#8217;ll change that when I come up with a good name.  Enjoy!</p>
<p>-Java 1.5 is required for this package to work correctly</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Building+a+minimal+Solaris+jumpstart+profile&amp;url=http%3A%2F%2Funixsysadmin.net%2F2007%2F11%2F22%2Fbuilding-a-minimal-jumpstart-profile%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2007/11/22/building-a-minimal-jumpstart-profile/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finally - The Gap has been Bridged</title>
		<link>http://unixsysadmin.net/2007/09/12/finally-the-gap-has-been-bridged/</link>
		<comments>http://unixsysadmin.net/2007/09/12/finally-the-gap-has-been-bridged/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 08:30:58 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[SysAdminTools]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/?p=9</guid>
		<description><![CDATA[You know Chargen? And Discard?
Of course you do, in fact, you&#8217;ve probably been wondering, &#8220;when will someone finally come up with the goods and bridge the gap between these two fast moving technologies in today&#8217;s marketplace?&#8221;
Well friends, its early days - but I&#8217;ve done it. It&#8217;s called &#8220;discharge&#8221; and it bridges the gap between the [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "Finally - The Gap has been Bridged", url: "http://unixsysadmin.net/2007/09/12/finally-the-gap-has-been-bridged/" });</script>]]></description>
			<content:encoded><![CDATA[<p>You know Chargen? And Discard?</p>
<p>Of course you do, in fact, you&#8217;ve probably been wondering, <em>&#8220;when will someone finally come up with the goods and bridge the gap between these two fast moving technologies in today&#8217;s marketplace?&#8221;</em></p>
<p>Well friends, its early days - but I&#8217;ve done it. It&#8217;s called &#8220;discharge&#8221; and it bridges the gap between the two technologies, by taking the packets from chargen and feeding them to discard.</p>
<p>The tool is flexible, as in you can choose to connect to any host running chargen, and any host running discard! It can even be the same host, or the host you run the tool on.</p>
<p>Of course, reliability is always a concern, so I have opted ONLY to use the TCP streams based chargen and discard, as UDP is too unreliable a protocol for these higly important, if not, mission critical tools.</p>
<p>Even better, I&#8217;m making this tool &#8220;discharge&#8221; available for free.  It&#8217;s written in java and has been tested on Windows and Solaris, compiled for java 1.2, for compatability with older OS&#8217;, such as Solaris 8.</p>
<p>Make sure you give it 2 hostnames at the command line:</p>
<p>java discharge &lt;chargenHost&gt; &lt;discardHost&gt;</p>
<p>And you&#8217;ll be fine for this release (early adopters only!).</p>
<p>You can get the first (and any later releases) here: <a href="http://unixsysadmin.net/files/">http://unixsysadmin.net/files</a></p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=Finally+-+The+Gap+has+been+Bridged&amp;url=http%3A%2F%2Funixsysadmin.net%2F2007%2F09%2F12%2Ffinally-the-gap-has-been-bridged%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2007/09/12/finally-the-gap-has-been-bridged/feed/</wfw:commentRss>
		</item>
		<item>
		<title>findUsedSpace RC6 Released</title>
		<link>http://unixsysadmin.net/2007/09/10/findusedspace-rc6-released/</link>
		<comments>http://unixsysadmin.net/2007/09/10/findusedspace-rc6-released/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 02:09:24 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[SysAdminTools]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/?p=8</guid>
		<description><![CDATA[Well, turns out I screwed up the build of the last release and it only ran on a 1.6 JVM, and threw a really awesome error on a 1.5 JVM (but only when it started using the Directory class - I have no idea how I managed to screw that up). Glad I tested it [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "findUsedSpace RC6 Released", url: "http://unixsysadmin.net/2007/09/10/findusedspace-rc6-released/" });</script>]]></description>
			<content:encoded><![CDATA[<p>Well, turns out I screwed up the build of the last release and it only ran on a 1.6 JVM, and threw a really awesome error on a 1.5 JVM (but only when it started using the Directory class - I have no idea how I managed to screw that up). Glad I tested it thoroughly, eh!</p>
<p>New Release pretty much only fixes this issue, the code is the same underneath. The updated packages for Solaris and Generic OS&#8217; can be found in the <a href="http://unixsysadmin.net/files">files</a> area.</p>
<p>Sorry for any confusion, my bad.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=findUsedSpace+RC6+Released&amp;url=http%3A%2F%2Funixsysadmin.net%2F2007%2F09%2F10%2Ffindusedspace-rc6-released%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2007/09/10/findusedspace-rc6-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>findUsedSpace - Release Candidate 5 Available for Download</title>
		<link>http://unixsysadmin.net/2007/09/03/findusedspace-release-candidate-5-released/</link>
		<comments>http://unixsysadmin.net/2007/09/03/findusedspace-release-candidate-5-released/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 17:41:59 +0000</pubDate>
		<dc:creator>geoff</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Solaris]]></category>

		<category><![CDATA[SysAdminTools]]></category>

		<guid isPermaLink="false">http://unixsysadmin.net/?p=4</guid>
		<description><![CDATA[I have released a bug fixed release of findUsedSpace. This fixes a bug on Solaris 10+ Systems, that contain zones. There was an endless loop when you reached the proc filesystem of a zone, when running from the global.
This RC is likely to have one more minor code clean up before it is released as [...]<script type="text/javascript">SHARETHIS.addEntry({ title: "findUsedSpace - Release Candidate 5 Available for Download", url: "http://unixsysadmin.net/2007/09/03/findusedspace-release-candidate-5-released/" });</script>]]></description>
			<content:encoded><![CDATA[<p>I have released a bug fixed release of findUsedSpace. This fixes a bug on Solaris 10+ Systems, that contain zones. There was an endless loop when you reached the proc filesystem of a zone, when running from the global.</p>
<p>This RC is likely to have one more minor code clean up before it is released as findUsedSpace 1.0.</p>
<p>There is a feature request for the next release to skip autofs,ctfs,objfs,devfs,dev and any other filesystems on a UNIX (Solaris specifically) platform which isn&#8217;t really relevant when you&#8217;re trying to figure out what has chewed all the space on a disk.</p>
<p>For those who are unaware what the tool does, it basically allows you to do something very similar to du, by finding how much space a parent directory and all its children are taking up (or a single file), however, it is based on thresholds, and allows you to be very clear on what you are looking for (say, files and directories over 1 gigabyte). It runs at virtually the same speed as native du (tiny little bit slower in my tests, but the difference is negligible).</p>
<p>The other benefit over du is it is pure java, and platform independent. It is tested on Windows and Solaris, but should run on anything. Though written on a 1.6 JVM, it is compiled for a 1.2 JVM, so as even really old systems can run the software.</p>
<p>You can download a Solaris packaged release, or a zip file release from here: <a href="http://unixsysadmin.net/files" title="UNIXSysAdmin.net files">http://unixsysadmin.net/files</a></p>
<p>You&#8217;ll notice its packaged as AdeptTools (even though it&#8217;s just one tool at this point). The idea was/is that I will gradually write more and more code as new problems present themselves to me, and package it as a toolkit. Not sure if it will work out that way in the end, we&#8217;ll see. Due to somethings ending up platform dependent, it may end up that each tool is released separately,<em> and</em> as part of a package if you want the lot.</p>
<p><a href="http://sharethis.com/item?&wp=2.5.1&amp;publisher=81c17828-d3da-4ba4-81d1-dc0ec27aafc0&amp;title=findUsedSpace+-+Release+Candidate+5+Available+for+Download&amp;url=http%3A%2F%2Funixsysadmin.net%2F2007%2F09%2F03%2Ffindusedspace-release-candidate-5-released%2F">ShareThis</a></p>]]></content:encoded>
			<wfw:commentRss>http://unixsysadmin.net/2007/09/03/findusedspace-release-candidate-5-released/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
