<?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>Techinvasion.net &#187; Sun Solaris</title>
	<atom:link href="http://www.techinvasion.net/category/sun-solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techinvasion.net</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 02:02:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Open Solaris 10 sandbox</title>
		<link>http://www.techinvasion.net/2007/07/02/open-solaris-10-sandbox/</link>
		<comments>http://www.techinvasion.net/2007/07/02/open-solaris-10-sandbox/#comments</comments>
		<pubDate>Tue, 03 Jul 2007 02:54:50 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Sun Solaris]]></category>

		<guid isPermaLink="false">http://www.techinvasion.net/2007/07/02/open-solaris-10-sandbox/</guid>
		<description><![CDATA[Thanks to those friendly people from Digg.com who decided it would be fun to bring my Solaris box to its knees by forking and other things to DDOS my Solaris zone. I have learned many ways of enhancing the security of Solaris zones. I have limited the Sandbox zone to 1% of total CPU usage. [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to those friendly people from Digg.com who decided it would be fun to bring my Solaris box to its knees by forking and other things to DDOS my Solaris zone. I have learned many ways of enhancing the security of Solaris zones. I have limited the Sandbox zone to 1% of total CPU usage. I have limited the total number of processes to 1000 and I have installed the Solaris Jass security hardening script. I plan to post many of my discoveries in the future. Work has been busy lately and it is on the burner of things to be done along with part 2 of solaris zones.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techinvasion.net/2007/07/02/open-solaris-10-sandbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Production ZFS server today</title>
		<link>http://www.techinvasion.net/2007/07/02/first-production-zfs-server-today/</link>
		<comments>http://www.techinvasion.net/2007/07/02/first-production-zfs-server-today/#comments</comments>
		<pubDate>Tue, 03 Jul 2007 02:43:15 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Sun Solaris]]></category>

		<guid isPermaLink="false">http://www.techinvasion.net/2007/07/02/first-production-zfs-server-today/</guid>
		<description><![CDATA[I have plenty of small business clients and sooner or later they all face one big challenge. They all outgrow the initial 80GB tape drives that we put on their servers. The problem is that most of these are small businesses and most of them could just afford the initial network, and asking them to [...]]]></description>
			<content:encoded><![CDATA[<p>I have plenty of small business clients and sooner or later they all face one big challenge. They all outgrow the initial 80GB tape drives that we put on their servers. The problem is that most of these are small businesses and most of them could just afford the initial network, and asking them to pony up $2000+ for a new tape drive or worse yet autoloader is out of the question.</p>
<p><span id="more-13"></span></p>
<p>Until recently we would try to switch them from full daily backups to full on Mondays and incremental the rest of the week. The problem with this is that this really only works up until about 120GB. After that you are looking at more than 2 tapes. If someone has to switch tapes on a Monday while users are changing files, it is very hard to get a consistent backup. This problem got me thinking, what is a relatively cheap way to get consistent backups of the server, retain more copies of the backups with less pace consumed, and be able to backup to more then two tapes without having backups run on data users are interacting with, which could stress the system, hurt performance, and cause inconsistent backups.</p>
<p>My solution was to purchase a low-end server like an HP ML-110. Put 2 500GB sata drives in the system, and 2 40GB drives with hardware raid 1 for the system OS files. I then installed Solaris 10 and made a ZFS pool with the two 500GB drives mirrored. I shared the ZFS pool with NFS and Samba (NFS for Unix and samba for windows 2003 servers). I have the servers do a full backup to the ZFS pool on Monday, which is about 200GB. The incremental backups the rest of the week is about 50GB total. I set the backups to overwrite the data each week, so as not to use up too much disk space. This brings full weeks backups to about 220GB with compression on the ZFS pool. I then take a snapshot of the entire pool on Saturday and keep that snapshot for 4 weeks. This means that even though I am overwriting the backup files each week. The snapshots only take up as much space as the differences, so for about 380GB of disk space I have 1TB worth of backups on this Solaris box. And it gets even better. I set the tape drive to backup from the Solaris box every day after the other servers dump their backups to it the previous night. Since the data is not live data the backups are consistent and also the backups can be done during the day so someone can insert tape after tape while people are in the building.</p>
<p>This is how ZFS has made life easier for me at one client site. This solution is scalable and priced at one-third the cost of a 400GB auto-loading tape drive. If this solution works out over the next couple of months I fully intend to make this my primary solution for those clients that can&#8217;t afford bigger tape drives.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techinvasion.net/2007/07/02/first-production-zfs-server-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Things I Wish I Knew About Solaris When I First Started.</title>
		<link>http://www.techinvasion.net/2007/07/02/things-i-wish-i-knew-about-solaris-when-i-first-started/</link>
		<comments>http://www.techinvasion.net/2007/07/02/things-i-wish-i-knew-about-solaris-when-i-first-started/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 05:33:49 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Sun Solaris]]></category>

		<guid isPermaLink="false">http://www.techinvasion.net/2007/07/02/things-i-wish-i-knew-about-solaris-when-i-first-started/</guid>
		<description><![CDATA[Solaris 10 is a very powerful scalable operating system that feels tightly integrated and highly responsive. However for those of us with a strong Linux or FreeBSD background Solaris can feel a little unfamiliar and even downright confusing. This post is made up of a few things I wish I knew before I started my [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Calibri"><span></span></font></p>
<p><font face="Calibri">Solaris 10 is a very powerful scalable operating system that feels tightly integrated and highly responsive. However for those of us with a strong Linux or FreeBSD background Solaris can feel a little unfamiliar and even downright confusing. This post is made up of a few things I wish I knew before I started my Solaris 10 adventure. I hope it will make things a little easier for those of you wanting to take the plunge into a true enterprise operating system.</p>
<p>More&#8230;</p>
<p>1.That annoying backspace!!!!</p>
<p>If you are wondering how to get the backspace key to work in Solaris you can type one simple command. It should make life much easier for you.</p>
<p>#stty erase ^h</p>
<p>The (^h) is what is displayed when you use the backspace key.</p>
<p>2.How do I enable Samba?</p>
<p>To enable Samba simply issue the following commands:</p>
<p>#vi /etc/sfw/smb.conf</p>
<p>Enter your samba config entries here</p>
<p>#reboot?</p>
<p>When Solaris 10 boots it will check /etc/sfw for the smb.conf file, If that file is present it will enable samba automatically.</p>
<p>3. How do I turn the graphical login on and off on bootup?</p>
<p>If you want the gui to not start when the system boots you can issue the following commands.</p>
<p>#/usr/dt/bin/dtconfig –d</p>
<p>The above command will disable auto gui on boot.</p>
<p>#/usr/dt/bin/dtconfig –e</p>
<p>As you can probably guess if –d disables the gui –e enables it.</p>
<p>4. How do I scan for a network card and load the driver?</p>
<p>If you are coming from Linux or FreeBSD the process of loading a network card driver may seem very alien. In order to check for any network cards on the system for which you have drivers you can issue the following commands</p>
<p>#ifconfig –a plumb</p>
<p>The plumb part of the command will look for any network cards for which you have drivers and attempt to attach the driver to the hardware. You can check to see if any cards were found by using the following command.</p>
<p>#ifconfig –a</p>
<p>If any new network cards were found they will now show in the above command. The trick here is to get the network card to load automatically every time the computer starts in order to do this you must create the following file.</p>
<p>#vi /etc/hostname.interface-name</p>
<p>some examples of this are:</p>
<p>Hostname.rtls0Hostname.vfe0</p>
<p>Inside this file you need to put the hostname of the computer.</p>
<p>If the hostname is workstation1.techinvasion.net the file should look like the following:</p>
<p>#cat /etc/hostname.vfe0Workstation1#</p>
<p>These Are just some of the things that I have learned that I wish I knew when I started my adventure into Solaris. I will add more little tips to this page as I find more little things to add.</p>
<p></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techinvasion.net/2007/07/02/things-i-wish-i-knew-about-solaris-when-i-first-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris Zones  Part 1</title>
		<link>http://www.techinvasion.net/2007/06/24/solaris-zones-part-1/</link>
		<comments>http://www.techinvasion.net/2007/06/24/solaris-zones-part-1/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 21:25:52 +0000</pubDate>
		<dc:creator>john</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Sun Solaris]]></category>

		<guid isPermaLink="false">http://www.techinvasion.net/?p=5</guid>
		<description><![CDATA[So what is a zone? A zone is analogous to a VMware machine but with some distinct advantages as well as some disadvantages. To start explaining zones let’s start by comparing it to VMware since most people are familiar with VMware. VMware is a software program that runs on a host operating system,. This could [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Calibri">So what is a zone?</font></p>
<p style="margin: 0in 0in 10pt; text-indent: 0.5in" class="MsoNormal"><font face="Calibri">A zone is analogous to a VMware machine but with some distinct advantages as well as some disadvantages. To start explaining zones let’s start by comparing it to VMware since most people are familiar with VMware. VMware is a software program that runs on a host operating system,. This could be Windows, Linux, or a custom kernel in the VMware ESX series. VMware provides a hardware abstraction layer which it uses to create mini virtual computers. The advantages of this setup are as follows: You can create a custom virtual computer designed for the operating system and application you want to run. This means that you have a very high level of customizability which allows you to tailor the virtual machine to provide the best performance for the program you want to run. VMware also supports <span>? </span>many different operating systems. You could run VMware on a Linux box and then run Windows 2003 in one virtual machine, and a FreeBSD NFS server in another. From the point of view of the guest operating systems, they believe they are on standalone hardware and are unaware of the host OS and other guest OS’s which may be running. </font></p>
<p style="margin: 0in 0in 10pt; text-indent: 0.5in" class="MsoNormal"><span id="more-5"></span></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri"><span>      </span>So this is a good thing and it provides a fair amount of flexibility, but you pay for this flexibility in several key areas. The first area is licensing costs. VMware is not free. While they do have free versions for testing and evaluation, all production software comes with a license. The second area in which you pay is overhead. VMware while a very good virtualization tool has a good amount of overhead. This is because it must present a complete environment to each guest operating system installed. This means that it must schedule CPU time IO and other resources for each of the guest operating systems in real time. This can really be a drag. The other area in which you pay a price is transparency. The cost of the ability to run multiple operating systems on one machine is that each operating system must be segregated to its own virtual hardware emulation layer. What this means is that while VMware has some distinct advantages in lowering the cost of infrastructure it does not lower the cost of human resources and administration. </font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri"><span>     </span>Now what does that mean Administration Cost. Simply put, even though you save the cost of purchasing multiple machines by virtualizing them, from the administrative standpoint each operating system must be monitored and maintained as if it was a separate machine. This means from the host operating system you can see that VMware is using %90 of your CPU time, but you don’t know which of the virtual computers is using what. You also do not know what processes are running on each virtual machine or what the load is of each machine. This means that each machine must be logged into individually and administered as if it was the only operating system on the machine.</font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri"><span></span>     So now let’s look at a situation in which VMware might not be the best solution. I think we all agree the VMware is a good choice when you need to have multiple operating systems on one machine. However what if you have a web services company and you have 1 machine running DNS, one machine running DHCP, one machine as a NFS server for file sharing, and 1 server to host your website. Now let’s further assume that you want to virtualize and that as a web services company you are running some type of UNIX/POSIX system. If this is the case you could standardize on Solaris 10 with zones and not only save money on TCO (total cost of ownership) of the hardware itself but also on the IT resources needed. A Solaris zone is a container stored in a folder on a Solaris UNIX machine that can have either a complete copy of the Solaris Operating system, including its own file system. It can also share some common directories <span>? </span>(read only) with the Solaris machine and be installed with as little as 82mb of disk space. The Solaris zones will boot up as if they were the only Solaris OS on the machine and they are also completely isolated from the host machine which means a web server security breach will not affect the other zones in any way.</font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri"><span></span><span></span>     Now what are the advantages of this? In this scenario each zone would be completely secure and segregated from the host Solaris OS. Each zone would have its own kernel with its own drivers and its own processes. Solaris will even leverage its Mainframe heritage too allow you to split up the physical hardware into resource pools. So say you wanted to have 2 cpu’s for the system, 2 cpu’s for oracle 10g, and 2 cpu’s for the web server this could be done without a problem. There are also some other advantages to Solaris zones. You can browse to each zone through the file tree. For example</font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">If the zone is install at /export/zone1 then while the zone is running I can copy files to the “/” or root of that zone by browsing to<span>?  </span>“/export/zone1/root/“ </font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">It is also important to note that “/etc” “/usr” “/mnt/” and all other folders and file systems can be found under “/export/zone1/root/” as well.</font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">So this is a big advantage files can be copies between zones and the host computer with little trouble. This is also important because while you can browse to that zone from the host computer, the zone cannot browse out of its path. This means great security while providing ease of administration. You can see from this example how easy it would be to browse to “/export/zone1/root/var/admin” <span>? </span>and view the logs for that system without ever logging in to it. </font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">It is also important to note that each system has its own root account as well as other system and user accounts. Another big advantage of Solaris zones is that any of the system monitoring commands such as iostat vmstat and prstat, will show all processes in each zone and there memory utilization cpu time in the case of vmstat and prstat (prstat is like top for Linux Admins). It will also show disk IO in the case of iostat, and as always<span>?  </span>you can filter the input for each zone or display all info with zones separated. So you can see how this saves money and reduces TCO by allowing one login to manage all systems that are virtualized. You can also create zones to experiment or roll out new services in as a testing measure.</font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri"><span></span>     Indeed this website is running in a Solaris zone. It uses Apache2 php5 and Mysql5.<span>?  </span>PHP requires the installation of a lot of GNU software which I did not want mucking up my core Solaris system. So I installed it in a zone. Everything on this web server is isolated in that zone which makes keeping my system orderly and tidy an easy job. It also means that any misconfigurations or other errors that may have left my entire system vulnerable in the past is less of a problem. The worst thing that can happen is an attacker neutralizes my web zone, in which case I can restore from a mirror zone, I keep for failover.</font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">Stay tuned for part two in which I will have some good examples of configuring Zones.</font></p>
<p style="margin: 0in 0in 10pt" class="MsoNormal"><font face="Calibri">END PART 1</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techinvasion.net/2007/06/24/solaris-zones-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZFS filesystem on Solaris</title>
		<link>http://www.techinvasion.net/2007/06/24/solaris-zones/</link>
		<comments>http://www.techinvasion.net/2007/06/24/solaris-zones/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 08:30:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sun Solaris]]></category>

		<guid isPermaLink="false">http://www.techinvasion.net/?p=4</guid>
		<description><![CDATA[Here is a flash video thanks to http://www.opensolaris.org, which I think explains some of the features of zfs very well. This video should have you wanting more! I am working on a comprehensive tutorial about zfs which should cover this great file system in more detail.]]></description>
			<content:encoded><![CDATA[<p>Here is a flash video thanks to <a href="http://www.opensolaris.org/">http://www.opensolaris.org</a>, which I think explains some of the features of zfs very well. This video should have you wanting more! I am working on a comprehensive tutorial about zfs which should cover this great file system in more detail.<br />
<span id="more-4"></span><br />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" id="Captivate1" height="450" width="610"></object><param name="movie" value="zfs_demo_final.swf"></param><param name="quality" value="high"></param><param name="menu" value="false"></param><param name="loop" value="0"></param>   <embed src="zfs_demo_final.swf" loop="0" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ype="application/x-shockwave-flash" menu="false" height="450" width="610"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techinvasion.net/2007/06/24/solaris-zones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
