<?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>sysadmin &#187; OpenSolaris</title>
	<atom:link href="http://wimmer.net/sysadmin/category/opensolaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://wimmer.net/sysadmin</link>
	<description>Random musings of a Sysadmin</description>
	<lastBuildDate>Mon, 12 Jul 2010 13:53:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New LISA Blog Entry: ZFS: a Filesystem for Modern Hardware</title>
		<link>http://wimmer.net/sysadmin/2009/11/03/new-lisa-blog-entry-zfs-a-filesystem-for-modern-hardware/</link>
		<comments>http://wimmer.net/sysadmin/2009/11/03/new-lisa-blog-entry-zfs-a-filesystem-for-modern-hardware/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 21:26:52 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[LISA 2009]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=350</guid>
		<description><![CDATA[I just published a blog entry on the Usenix blog for LISA 2009.  &#8220;ZFS: A Filesystem for Modern Hardware at LISA 2009&#8243;
]]></description>
			<content:encoded><![CDATA[<p>I just published a blog entry on the Usenix blog for LISA 2009.  <a href="http://blogs.usenix.org/2009/11/03/zfs-a-filesystem-for-modern-hardware-at-lisa-2009/">&#8220;ZFS: A Filesystem for Modern Hardware at LISA 2009&#8243;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/11/03/new-lisa-blog-entry-zfs-a-filesystem-for-modern-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syslog Project: Limiting Logfile Size</title>
		<link>http://wimmer.net/sysadmin/2009/06/23/syslog-project-limiting-logfile-size/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/23/syslog-project-limiting-logfile-size/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 23:26:20 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=148</guid>
		<description><![CDATA[I had a busy weekend and Monday, so I didn&#8217;t get to work on this project as much as I would have liked.
Today, I worked on splitting out the emerg, crit, and alert messages so they may be acted upon more rapidly.  I also got the max file size with rotation set up for all [...]]]></description>
			<content:encoded><![CDATA[<p>I had a busy weekend and Monday, so I didn&#8217;t get to work on this project as much as I would have liked.</p>
<p>Today, I worked on splitting out the emerg, crit, and alert messages so they may be acted upon more rapidly.  I also got the max file size with rotation set up for all the files that will be read by SEC.  The rotation was incredibly simple with rsyslog.</p>
<p>After today&#8217;s work (and some new filesystem creation) the config file for rsyslog looks like this:</p>
<pre>$ModLoad immark
$ModLoad ommail
$MarkMessagePeriod 1200
$ModLoad imuxsock
$ModLoad imudp
$UDPServerAddress *
$UDPServerRun 514
$ModLoad imtcp

$template HostDirs,"/logs/archive/%HOSTNAME%/%$year%/%$month%/%$day%/%syslogfacility-text%-%syslogseverity-text%.log"

$outchannel all_log, /logs/current/all.log, 52428800, /logs/current/rotate.all.log.sh
$outchannel emerg_log, /logs/current/emerg.log, 52428800, /logs/current/rotate.emerg.log.sh
$outchannel crit_log, /logs/current/crit.log, 52428800, /logs/current/rotate.crit.log.sh
$outchannel alert_log, /logs/current/alert.log, 52428800, /logs/current/rotate.alert.log.sh

*.* ?HostDirs
&amp; $all_log

*.=emerg $emerg_log

*.=alert $alert_log

*.=crit $crit_log</pre>
<p>Unless something unforeseen comes up, I think I&#8217;m probably done with the rsyslog config file.  All the heavy lifting will be done by SEC.</p>
<p>First, I&#8217;ll write SEC config files that parse through the emerg, alert, and crit logs in the same way a Perl script does today.  It shouldn&#8217;t be too hard to port a Perl script in to SEC config language.  The hard part will be the handling of everything that goes in to all.log.</p>
<p>This morning, rsyslog 4.2.0 was released with a tag of STABLE.  Given the stable tag, I&#8217;ll probably update my package to 4.2.0 and start using it in a few days.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/23/syslog-project-limiting-logfile-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syslog Project: Initial configuration</title>
		<link>http://wimmer.net/sysadmin/2009/06/18/syslog-project-initial-configuration/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/18/syslog-project-initial-configuration/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 02:42:49 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=127</guid>
		<description><![CDATA[So, I got the package built and installed yesterday.  Today I worked on an initial configuration file.
For long term storage, I want to store the data in a directory structure like: /var/log/&#60;hostname&#62;/&#60;year&#62;/&#60;month&#62;/&#60;day&#62;/&#60;facility&#62;-&#60;severity&#62;.log
I plan to use SEC to handle the filtering of the log messages and acting on them.  To make it easy to get log [...]]]></description>
			<content:encoded><![CDATA[<p>So, I got the package built and installed yesterday.  Today I worked on an initial configuration file.</p>
<p>For long term storage, I want to store the data in a directory structure like: /var/log/&lt;hostname&gt;/&lt;year&gt;/&lt;month&gt;/&lt;day&gt;/&lt;facility&gt;-&lt;severity&gt;.log</p>
<p>I plan to use <a href="http://kodu.neti.ee/~risto/sec/">SEC</a> to handle the filtering of the log messages and acting on them.  To make it easy to get log entries into  SEC, I&#8217;m going to send all log entries to a single log file.</p>
<pre>$ModLoad immark
$ModLoad ommail
$MarkMessagePeriod 1200
$ModLoad imuxsock
$ModLoad imudp
$UDPServerAddress *
$UDPServerRun 514
$ModLoad imtcp
$template HostDirs,"/var/log/%HOSTNAME%/%$year%/%$month%/%$day%/%syslogfacility-text%-%syslogseverity-text%.log"
*.* ?HostDirs
&amp; /var/log/test.log</pre>
<p>Tomorrow, I&#8217;m going to use an output template to limit the size of test.log file.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/18/syslog-project-initial-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syslog Project: Choice of Syslog Daemon</title>
		<link>http://wimmer.net/sysadmin/2009/06/16/syslog-project-choice-of-syslog-daemon/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/16/syslog-project-choice-of-syslog-daemon/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 21:54:24 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=123</guid>
		<description><![CDATA[First choice to make in my syslog project is which daemon to use.  Syslog-ng seems to be the best supported by the community.  Rsyslog is also another contender.
I started down the path of using Syslog-ng.  Solaris is our platform of choice for infrastructure systems.  I&#8217;ve spent several weeks (part time) trying to get Syslog-ng to [...]]]></description>
			<content:encoded><![CDATA[<p>First choice to make in my syslog project is which daemon to use.  Syslog-ng seems to be the best supported by the community.  Rsyslog is also another contender.</p>
<p>I started down the path of using Syslog-ng.  Solaris is our platform of choice for infrastructure systems.  I&#8217;ve spent several weeks (part time) trying to get Syslog-ng to compile on Solaris 10.  I&#8217;ve had different problems on x86, sun4u and sun4v.  I&#8217;ve tried 3.x, 2.x, and 1.6.x.</p>
<p>After a particularly frustrating afternoon of build errors with Syslog-ng, I decided to give Rsyslog a shot.  I first downloaded the version dubbed &#8217;stable&#8217;, 3.22.0.  It had a couple of build problems right out of the box that were Solaris specific.  They showed up clearly on the mailing lists.  The build problems were addressed in the 4.x branch, so I downloaded 4.1.7.  It compiled and installed without incident.</p>
<p>At this point, I think I&#8217;m going with Rsyslog.  It has all the features I need and doesn&#8217;t look like it will consume much of my time.</p>
<p>Tomorrow I&#8217;ll try to create a package for Solaris with SMF and default config file.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/16/syslog-project-choice-of-syslog-daemon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Project:  Scalable Syslog Infrastructure</title>
		<link>http://wimmer.net/sysadmin/2009/06/15/new-project-scalable-syslog-infrastructure/</link>
		<comments>http://wimmer.net/sysadmin/2009/06/15/new-project-scalable-syslog-infrastructure/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 21:26:58 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=119</guid>
		<description><![CDATA[I&#8217;m starting a new project.  I need to refresh our aging syslog infrastructure.
Currently, we have a FreeBSD based central syslog server.  It receives about 10 million syslog messages per day.  They messages come from a mix of Solaris, Cisco, Windows, VMware, and NetApp servers.
The only automation is a simple perl scripts that generates an email [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m starting a new project.  I need to refresh our aging syslog infrastructure.</p>
<p>Currently, we have a FreeBSD based central syslog server.  It receives about 10 million syslog messages per day.  They messages come from a mix of Solaris, Cisco, Windows, VMware, and NetApp servers.</p>
<p>The only automation is a simple perl scripts that generates an email when an event is alert or higher severity.  I would like to change the way we react to syslog messages.  Instead of reacting solely on the basis of severity, I would like to process all the well known, frequently hit cases.  Over time we could reduce the number of unknown log messages that appear in the system.</p>
<p>In the end, we will have fewer alerts and a deeper understanding of what is going on in our systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/06/15/new-project-scalable-syslog-infrastructure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating OpenSolaris to /dev</title>
		<link>http://wimmer.net/sysadmin/2009/03/20/updating-opensolaris-to-dev/</link>
		<comments>http://wimmer.net/sysadmin/2009/03/20/updating-opensolaris-to-dev/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 21:59:43 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=56</guid>
		<description><![CDATA[I looked for a single web page that summarized how to upgrade OpenSolaris from one of the released version to the latest /dev (currently B109).  I couldn&#8217;t find a consolidated answer so here is my version.

$ pkg set-authority -O http://pkg.opensolaris.org/dev dev
$ BUILD=`uname -v &#124; sed -e "s/snv_//" -e "s/[a-z]//"`
$ pfexec pkg refresh
$ pfexec pkg [...]]]></description>
			<content:encoded><![CDATA[<p>I looked for a single web page that summarized how to upgrade OpenSolaris from one of the released version to the latest /dev (currently B109).  I couldn&#8217;t find a consolidated answer so here is my version.</p>
<p><code><br />
$ pkg set-authority -O http://pkg.opensolaris.org/dev dev<br />
$ BUILD=`uname -v | sed -e "s/snv_//" -e "s/[a-z]//"`<br />
$ pfexec pkg refresh<br />
$ pfexec pkg install entire@0.5.11-0.${BUILD}<br />
$ pfexec pkg install SUNWipkg@0.5.11-0.${BUILD}<br />
$ pfexec pkg install SUNWinstall-libs<br />
$ pfexec pkg image-update<br />
</code></p>
<p>This was pulled from:</p>
<ul>
<li><a href="http://opensolaris.org/os/project/indiana/resources/relnotes/200805/image-update/">http://opensolaris.org/os/project/indiana/resources/relnotes/200805/image-update/</a></li>
<li><a href="http://sites.google.com/site/solarium/how-to-update-opensolaris">http://sites.google.com/site/solarium/how-to-update-opensolaris</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/03/20/updating-opensolaris-to-dev/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install VMware tools on OpenSolaris</title>
		<link>http://wimmer.net/sysadmin/2009/03/14/how-to-install-vmware-tools-on-opensolaris/</link>
		<comments>http://wimmer.net/sysadmin/2009/03/14/how-to-install-vmware-tools-on-opensolaris/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 18:36:03 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=41</guid>
		<description><![CDATA[I recently installed OpenSolaris 2009.06 B108 on VMware ESXi 3.5 Update 3.  I tried to install the Solaris 10 VMware tools.  Much to my surprise, there was only one error.
Unable to copy the source file
/usr/lib/vmware-tools/configurator/autostart-vmware-user.sh
to the destination file
/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh.
All I had to do to fix this problem was: pfexec mkdir -p /usr/dt/config/Xsession.d
]]></description>
			<content:encoded><![CDATA[<p>I recently installed OpenSolaris 2009.06 B108 on VMware ESXi 3.5 Update 3.  I tried to install the Solaris 10 VMware tools.  Much to my surprise, there was only one error.</p>
<blockquote><p>Unable to copy the source file<br />
/usr/lib/vmware-tools/configurator/autostart-vmware-user.sh<br />
to the destination file<br />
/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh.</p></blockquote>
<p>All I had to do to fix this problem was: pfexec mkdir -p /usr/dt/config/Xsession.d</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/03/14/how-to-install-vmware-tools-on-opensolaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data migration from SUSE to NetApp</title>
		<link>http://wimmer.net/sysadmin/2009/03/08/data-migration-from-suse-to-netapp/</link>
		<comments>http://wimmer.net/sysadmin/2009/03/08/data-migration-from-suse-to-netapp/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 03:41:32 +0000</pubDate>
		<dc:creator>Charles Wimmer</dc:creator>
				<category><![CDATA[NetApp]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Solaris 10]]></category>

		<guid isPermaLink="false">http://wimmer.net/sysadmin/?p=21</guid>
		<description><![CDATA[I&#8217;ve been tasked with moving about 6T of data from an aging SUSE box (9.x) to a CIFS share on a NetApp.  The data is currently being shared out via SAMBA, but we want to retire the box because it is a few Dell PowerEdge 220s trays going out of support.
My initial thought was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been tasked with moving about 6T of data from an aging SUSE box (9.x) to a CIFS share on a NetApp.  The data is currently being shared out via SAMBA, but we want to retire the box because it is a few Dell PowerEdge 220s trays going out of support.</p>
<p>My initial thought was to mount the CIFS share on the NetApp from the SUSE box and use rsync to do the data migration.  I figured that if I only moved the data across the network once I would get the best performance.  I had a ton of trouble with this.  I&#8217;m guessing the mount_smb in this old SUSE box just wasn&#8217;t up to snuff.  I got all kinds of permissions problems and timeouts on the writes.  For the data that actually did get copied, I only got about 100G-200G per day throughput.  I know the NetApp is capable of significantly higher throughput, so I looked for another way to move the data.</p>
<p>Since my normal tool of choice is Solaris, I looked for a Solaris solution.  Solaris 10 update 6 is the current version we use in my shop.  I couldn&#8217;t find an elegant solution on Solaris 10.  What I did come up with was mount_smbfs on OpenSolaris.  </p>
<p>I downloaded a copy of OpenSolaris 2009.06 B108 and installed it in a VM.  I mounted the old and new locations via mount_smbfs and I&#8217;m using rsync to do the copies.  I don&#8217;t have the performance information yet, but after about four hours there have been no errors and the speed looks *very* good.  Even though I added another network hop, I was able to remove the weakest link from the data flow, mount_smb on SUSE 9.x.</p>
<p>If I can remember, I&#8217;ll update with some performance numbers when I have them.</p>
]]></content:encoded>
			<wfw:commentRss>http://wimmer.net/sysadmin/2009/03/08/data-migration-from-suse-to-netapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

