<?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>Vita di un sys-admin &#187; Unix</title>
	<atom:link href="http://blog.angelofailla.com/tag/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.angelofailla.com</link>
	<description>Storie, esperienze e pensieri da Dublino.</description>
	<lastBuildDate>Sun, 14 Aug 2011 22:11:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Solaris Mirror Root MiniHowto</title>
		<link>http://blog.angelofailla.com/2008/06/28/solaris-mirror-root-minihowto/</link>
		<comments>http://blog.angelofailla.com/2008/06/28/solaris-mirror-root-minihowto/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 14:04:48 +0000</pubDate>
		<dc:creator>pallotron</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Lavoro]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[dyne]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[metraid]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://blog.angelofailla.com/?p=842&#038;langswitch_lang=en</guid>
		<description><![CDATA[Benvenuti nella seconda puntata. Questo minihowto suppone che il vostro disco sia organizzato cosi&#8217;: c1d0s0 e&#8217; / c1d0s1 e&#8217; la partizione di swap c1d0s5 e&#8217; /var c1d0s6 e&#8217; /usr c1d0s7 verra&#8217; usato per ospitare metadb Entrare in modalita&#8217; single user: # init 1 Smontare tutti i possibili mount point. Usare il comando format sul secondo [...]]]></description>
			<content:encoded><![CDATA[<p>Benvenuti nella seconda puntata.</p>
<p>Questo minihowto suppone che il vostro disco sia organizzato cosi&#8217;:</p>
<ul>
<li>c1d0s0 e&#8217; /</li>
<li>c1d0s1 e&#8217; la partizione di swap</li>
<li>c1d0s5 e&#8217; /var</li>
<li>c1d0s6 e&#8217; /usr</li>
<li>c1d0s7 verra&#8217; usato per ospitare metadb</li>
</ul>
<p>Entrare in modalita&#8217; single user:</p>
<pre># init 1</pre>
<p>Smontare tutti i possibili mount point. Usare il comando <strong>format</strong> sul secondo disco c2d0, questo ci consentira&#8217; di usare <strong>fdisk</strong> per installare preventivamente le partizioni richieste da Solaris.</p>
<p>Copiare la tabella delle partizioni dal primo disco sul secondo:</p>
<pre># prtvtoc /dev/rdsk/c1d0s2 | fmthard -s - /dev/rdsk/c2d0s2</pre>
<p>Installare grub sul secondo disco:</p>
<p># installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c2d0s0</p>
<p>Creare 3 metadbs sullo slice 7 di ogni disco:</p>
<pre># metadb -af -c 3 /dev/dsk/c1d0s7 /dev/dsk/c2d0s7</pre>
<p>Creare i metadevice submirror associandoli ai dischi reali.</p>
<pre># metainit -f d11 1 1 c1d0s0
# metainit -f d12 1 1 c2d0s0</pre>
<p>Questo comando associa il submirror d11 al mirror d10:</p>
<pre># metainit d10 -m d11</pre>
<p>Si fa lo stesso con le altre slice:</p>
<pre># metainit -f d21 1 1 c1d0s1
# metainit -f d22 1 1 c2d0s1
# metainit d20 -m d21

# metainit -f d51 1 1 c1d0s5
# metainit -f d52 1 1 c2d0s5
# metainit d50 -m d51

# metainit -f d61 1 1 c1d0s6
# metainit -f d62 1 1 c2d0s6
# metainit d60 -m d61</pre>
<p>A questo punto lanciare metaroot per indicare quale metadisk e&#8217; quello che monta la partizione di root. Questo comando andra&#8217; a modificare alcuni file come /etc/system, /kernel/drv/md.conf ed anche /etc/vfstab (ma solo la partizione /):</p>
<pre># metaroot d10</pre>
<p>Controllare la situazione con il comando metastat:</p>
<pre># metastat</pre>
<p>Editare vfstab per farlo puntare ai raid devices sostituendo i vari device coi corrispondendi metadevice in /dev/md/:</p>
<pre># vi /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/md/dsk/d20 -       -       swap    -       no      -
/dev/md/dsk/d10 /dev/md/rdsk/d10        /       ufs     1       no      -
/dev/md/dsk/d60        /dev/md/rdsk/d60        /usr    ufs     1       no      -
/dev/md/dsk/d50 /dev/md/rdsk/d50        /var    ufs     1       no      -
/devices        -       /devices        devfs   -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap - /tmp tmpfs - yes size=512m
</pre>
<p>Usare il comando lockfs e rebootare:</p>
<pre># lockfs -fa
# init 6
</pre>
<p>Al reboot fare l&#8217;attach dei submirror del secondo disco:</p>
<pre># metattach d10 d12
# metattach d20 d22
# metattach d50 d52
# metattach d60 d62</pre>
<p>A questo punto il sync del disco secondario iniziera&#8217;. Per controlloare lo stato di avanzamento utilizzate questo comando:</p>
<pre># metastat | grep -i sync</pre>
<p>PS: il sync puo&#8217; durare diverse ore a seconda delle perfomance del vostro server e dello spazio.</p>
<img src="http://blog.angelofailla.com/?ak_action=api_record_view&id=842&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.angelofailla.com%2F2008%2F06%2F28%2Fsolaris-mirror-root-minihowto%2F&amp;title=Solaris%20Mirror%20Root%20MiniHowto" id="wpa2a_2"><img src="http://blog.angelofailla.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.angelofailla.com/2008/06/28/solaris-mirror-root-minihowto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And God saw that there were 0 errors.</title>
		<link>http://blog.angelofailla.com/2008/07/07/and-god-saw-that-there-were-0-errors/</link>
		<comments>http://blog.angelofailla.com/2008/07/07/and-god-saw-that-there-were-0-errors/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 09:34:18 +0000</pubDate>
		<dc:creator>pallotron</dc:creator>
				<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Libero]]></category>
		<category><![CDATA[Tempo libero]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[dio]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[god]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[religione]]></category>

		<guid isPermaLink="false">http://blog.angelofailla.com/?p=853</guid>
		<description><![CDATA[Oggi sono capitato su questa pagina fighissima. Guardatelo fino alla fine perche&#8217; e&#8217; spettacolare. Specie la parte finale!!!!!]]></description>
			<content:encoded><![CDATA[<p>Oggi sono capitato su <a href="http://celobox.googlepages.com/god.html">questa pagina fighissima.</a><br />
Guardatelo fino alla fine perche&#8217; e&#8217; spettacolare. Specie la parte finale!!!!! <img src='http://blog.angelofailla.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<style>
.console {
	background: #000;
	color: #14FC03;	
	border: 1px solid #111;
        font-family: monospace;
        font-size: 10pt;
}
.console:hover {
        background: #000;
	color: #14FC03;	
	border: 1px solid #111;
        font-family: monospace;
        font-size: 10pt;
}
</style>
<input type="button" onclick="type_text()" value="Play" name="click"/>
<p><script language="Javascript"><!--
var tl=new Array(
"In the beginning there was the Computer.",
"Loading Universe Kernel....",
"And God said",
"_ LET THERE BE LIGHT!",
"login: GOD",
"password: OMNISCIENT",
"Password incorrect. Try again.",
"password: OMNIPOTENT",
"Password incorrect. Try again.",
"password: TECHNOCRAT",
"And God logged on at 00:00:01, day 1.",
"# LET THERE BE LIGHT!",
"Unrecognisable command. Try again.",
"# CREATE LIGHT",
"Done",
"# RUN HEAVEN AND EARTH",
"And God created Day and Night. And God saw that there were 0 errors.",
"And God logged off at 00:01:00, day 1.",
" ",
"And God logged on at 00:00:01, day 2.",
"# LET THERE BE FIRMAMENT IN THE MIDST OF WATER AND LIGHT",
"Unrecognisable command. Try again..",
"# CREATE FIRMAMENT",
"Done.",
"# RUN HEAVEN AND EARTH",
"And God divided the waters. And God saw that there were 0 errors.",
"And God logged off at 00:02:00, day 2.",
" ",
"And God logged on at 00:00:01, day 3.",
"# LET THE WATERS UNDER HEAVEN BE GATHERED TOGETHER UNTO ONE PLACE AND LET THE DRY LAND APPEAR",
"Too many characters in specification string. Try again.",
"# CREATE DRY_LAND",
"Done.",
"# RUN HEAVEN AND EARTH",
"# LET THE EARTH PRODUCE FRESH GROWTH, LET THERE BE ON THE EARTH PLANTS",
"Too many characters in specification string. Try again.",
"# CREATE PLANTS",
"# RUN HEAVEN AND EARTH",
"So it was; the Earth yielded fresh growth, plants bearing seed. And God saw that there were 0 errors.",
"And God logged off at 00:02:00, day 3.",
" ",
"And God logged on at 00:00:01, day 4.",
"# CREATE LIGHTS IN THE FIRMAMENT TO DIVIDE THE DAY FROM THE NIGHT",
"Unspecified type. Try again.",
"# CREATE SUN_MOON_STARS",
"Done",
"# RUN HEAVEN AND EARTH",
"These lights governed day and night and separated light from darkness. And God saw there were 0 errors.",
"And God logged off at 00:02:00, day 4.",
" ",
"And God logged on at 00:00:01, day 5.",
"# CREATE FISH",
"Done",
"# CREATE FOWL",
"Done",
"# RUN HEAVEN AND EARTH",
"And God created the great sea monsters and every living creature that creepeth wherewith the waters swarmed after its kind and every winged fowl after its kind. And God saw that there were 0 errors.",
"And God logged off at 00:02:00, day 5.",
" ",
"And God logged on at 00:00:01, day 6.",
"# CREATE CATTLE",
"Done",
"# CREATE CREEPY_THINGS",
"Done",
"# RUN HEAVEN AND EARTH",
"# NOW LET US MAKE MAN IN OUR IMAGE",
"Unspecified type. Try again.",
"# CREATE MAN",
"Done",
"# BE FRUITFUL AND MULTIPLY AND REPLENISH THE EARTH AND SUBDUE IT AND HAVE DOMINION OVER THE FISH OF THE SEA AND OVER THE FOWL OF THE AIR AND OVER EVERY LIVING THING THAT CREEPETH UPON THE EARTH",
"Too many command operands. Try again.",
"# RUN MULTIPLICATION",
"Execution terminated. 6 errors.",
"# INSERT BREATH",
"Done",
"# RUN MULTIPLICATION",
"Execution terminated. 5 errors.",
"# MOVE MAN TO GARDEN OF EDEN",
"File Garden of Eden does not exist.",
"# CREATE GARDEN.EDN",
"Done",
"# MOVE MAN TO GARDEN.EDN",
"Done",
"# RUN MULTIPLICATION",
"Execution terminated. 4 errors.",
"# COPY WOMAN FROM MAN",
"Done",
"# RUN MULTIPLICATION",
"Execution terminated. 3 errors.",
"# CREATE DESIRE",
"Done",
"# RUN MULTIPLICATION",
"Execution terminated. 2 errors.",
"# CREATE FREEWILL",
"Done",
"# RUN FREEWILL",
"And God saw man and woman being fruitful and multiplying in Garden.edn",
"Warning: No time limit set. 1 errors.",
"# UNDO DESIRE",
"Desire cannot be undone. File may be in use by Freewill.",
"# DELETE FREEWILL",
"Freewill cannot be deleted. it may be a hidden or system file or may be in use.",
"Enter replacement, cancel, or ask for help.",
"# HELP",
"Desire cannot be undone. File may be in use by Freewill.",
"Freewill cannot be deleted. it may be a hidden or system file or may be in use.",
"Try again, cancel or quit program.",
"Try again",
"Try again, cancel or quit program.",
"cancel",
"Try again, cancel or quit program.",
"quit",
"Try again, cancel or quit program.",
"# CREATE TREE_OF_KNOWLEDGE",
"And God saw man and woman being fruitful and multiplying in Garden.edn",
"Warning: No time limit set. 1 errors.",
"# CREATE GOOD, EVIL",
"Done",
"# ACTIVATE EVIL",
"And God saw he had created shame.",
"Warning system error. Missing or corrupt file: Man and Woman not in Garden.edn. 1 errors.",
"# SCAN GARDEN.EDN FOR MAN, WOMAN",
"Search failed.",
"# DELETE SHAME",
"Shame cannot be deleted. File may be in use by Freewill.",
"# DELETE FREEWILL",
"Freewill cannot be deleted. it may be a hidden or system file or may be in use.",
"Enter replacement, cancel, or ask for help.",
"# STOP",
"Unrecognizable command. Try again",
"# BREAK",
"# BREAK",
"# BREAK",
"ATTENTION ALL USERS *** ATTENTION ALL USERS COMPUTER GOING DOWN FOR REGULAR MAINTENANCE IN FIVE MINUTES. PLEASE LOG OFF.",
"# CREATE NEW WORLD",
"You have exceeded your allocated file space.",
"You must destroy old files before new ones can be created.",
"# DESTROY EARTH",
"Destroy earth: Please confirm.",
"COMPUTER DOWN *** COMPUTER DOWN.",
"SERVICES WILL RESUME day 8 AT 00:00:00",
"YOU MUST SIGN OFF NOW.",
"And God logged off at 23:59:59, day 6.",
" ",
"And God rested."
);
var speed=60;
var index=0; text_pos=0;
var str_length=tl[0].length;
var contents, row;
function type_text()
{
  contents='';
  row=Math.max(0,index-7);
  while(row<index)
    contents += tl[row++] + '\r\n';
  document.forms[0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
  if(text_pos++==str_length)
  {
    text_pos=0;
    index++;
    if(index!=tl.length)
    {
      str_length=tl[index].length;
      setTimeout("type_text()",1500);
    }
  } else
    setTimeout("type_text()",speed);
}
// -->
</script></p>
<form>
<div align="center">
    <textarea class="console" rows="10" cols="80" wrap="soft"></textarea>
  </div>
</form>
<img src="http://blog.angelofailla.com/?ak_action=api_record_view&id=853&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.angelofailla.com%2F2008%2F07%2F07%2Fand-god-saw-that-there-were-0-errors%2F&amp;title=And%20God%20saw%20that%20there%20were%200%20errors." id="wpa2a_4"><img src="http://blog.angelofailla.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.angelofailla.com/2008/07/07/and-god-saw-that-there-were-0-errors/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Monitoring SSL certificate expiration with Nagios</title>
		<link>http://blog.angelofailla.com/2008/07/17/monitoring-ssl-certificate-expiration-with-nagios/</link>
		<comments>http://blog.angelofailla.com/2008/07/17/monitoring-ssl-certificate-expiration-with-nagios/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 10:49:42 +0000</pubDate>
		<dc:creator>pallotron</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Lavoro]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmazione]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[expiration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.angelofailla.com/?p=873</guid>
		<description><![CDATA[Hi Lads, This is a post for nerds so I&#8217;m writing it in English. If you don&#8217;t understand English or technical stuff please close this page I&#8217;m at work and I&#8217;ve just finished to write a Nagios script to monitor expiration date of a SSL certificate. I wanna share it with you. To have the [...]]]></description>
			<content:encoded><![CDATA[<p>Hi Lads,</p>
<p>This is a post for nerds so I&#8217;m writing it in English. If you don&#8217;t understand English or technical stuff please close this page <img src='http://blog.angelofailla.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
I&#8217;m at work and I&#8217;ve just finished to write a Nagios script to monitor expiration date of a SSL certificate.</p>
<p>I wanna share it with you.</p>
<p>To have the script working properly you just need to install OpenSSL and let the <span>openssl</span><br />
command be in your PATH environment.</p>
<p>This is the usage:</p>
<pre>
Usage:
check_ssl_cert.sh hostname port [warningdays]
</pre>
<p>Warning days default value is 30 days.</p>
<p>Some examples:</p>
<pre>[afailla@terminus ~]$  /usr/local/nagios/bin/check_ssl_cert.sh google.com 443
OK: Certificate is valid for 289 days expires on May  2 17:02:55 2009 GMT

[afailla@terminus ~]$  /usr/local/nagios/bin/check_ssl_cert.sh google.com 443 400
CRITICAL: Certificate will expire in 289 days on May  2 17:02:55 2009 GMT</pre>
<p>Download the script <a href="http://blog.angelofailla.com/wp-content/uploads/2008/07/check_ssl_cert.sh">here</a> and enjoy it.</p>
<img src="http://blog.angelofailla.com/?ak_action=api_record_view&id=873&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.angelofailla.com%2F2008%2F07%2F17%2Fmonitoring-ssl-certificate-expiration-with-nagios%2F&amp;title=Monitoring%20SSL%20certificate%20expiration%20with%20Nagios" id="wpa2a_6"><img src="http://blog.angelofailla.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.angelofailla.com/2008/07/17/monitoring-ssl-certificate-expiration-with-nagios/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Impossibile sniffare sulla interfaccia di loopback in Solaris?</title>
		<link>http://blog.angelofailla.com/2008/08/12/impossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris/</link>
		<comments>http://blog.angelofailla.com/2008/08/12/impossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 18:01:36 +0000</pubDate>
		<dc:creator>pallotron</dc:creator>
				<category><![CDATA[Esperienze]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Lamentazioni]]></category>
		<category><![CDATA[Lavoro]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[lamentazione]]></category>
		<category><![CDATA[merda]]></category>
		<category><![CDATA[sniff]]></category>
		<category><![CDATA[snoop]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://blog.angelofailla.com/?p=984&#038;langswitch_lang=en</guid>
		<description><![CDATA[Salve, Oggi ho sclerato una giornata per fare il troubleshooting di una cosa su Solaris. Problemi di comunicazione random tra apache che fa reverse proxy verso un tomcat nella stessa Zona di Solaris con traffico passante sulla interfaccia di loopback. Pero&#8217;: root@solaris # ./tcpdump -n -i lo0 tcpdump: /dev/lo0: No such file or directory root@solaris [...]]]></description>
			<content:encoded><![CDATA[<p>Salve,</p>
<p>Oggi ho sclerato una giornata per fare il troubleshooting di una cosa su Solaris. Problemi di comunicazione random tra apache che fa reverse proxy verso un tomcat nella stessa Zona di Solaris con traffico passante sulla interfaccia di loopback. Pero&#8217;:</p>
<pre>root@solaris # ./tcpdump -n -i lo0
tcpdump: /dev/lo0: No such file or directory

root@solaris # snoop -d lo0
snoop: /dev/lo: No such file or directory</pre>
<p>Solaris. Sei proprio un sistema operativo di merda!</p>
<p>Leggete <a href="http://phildev.net/ipf/IPFsolaris.html#solaris12">http://phildev.net/ipf/IPFsolaris.html#solaris12</a>:</p>
<blockquote><p><strong># Why can&#8217;t I filter on the loopback interface, or virtual interfaces?</strong><br />
The loopback interface on Solaris is a <strong>&#8220;fake&#8221; interface.</strong> You cannot filter it, nor can you snoop it. This is for <strong>performance reasons</strong>. Virtual interfaces in Solaris are very similar, to filter on them, use the physical interface instead. </p></blockquote>
<p>Perfomance reasons! Ma andatevene affanculo va&#8217;!<br />
Alla fine sono riuscito a  sniffare in un altro modo invertendo il reverse proxy verso un tomcat di un altro nodo e sniffando sulla interfaccia reale&#8230; sono riuscito ad isolare il problema e a decidere chi dei due sia il colpevole (almeno credo) e domani ci lavoro.</p>
<p>Saluti.</p>
<img src="http://blog.angelofailla.com/?ak_action=api_record_view&id=984&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.angelofailla.com%2F2008%2F08%2F12%2Fimpossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris%2F&amp;title=Impossibile%20sniffare%20sulla%20interfaccia%20di%20loopback%20in%20Solaris%3F" id="wpa2a_8"><img src="http://blog.angelofailla.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.angelofailla.com/2008/08/12/impossibile-sniffare-sulla-interfaccia-di-loopback-in-solaris/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Considerations about Sun Solaris 10.</title>
		<link>http://blog.angelofailla.com/2008/08/23/considerations-about-sun-solaris-10/</link>
		<comments>http://blog.angelofailla.com/2008/08/23/considerations-about-sun-solaris-10/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 09:54:05 +0000</pubDate>
		<dc:creator>pallotron</dc:creator>
				<category><![CDATA[English posts]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Lavoro]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[smf]]></category>
		<category><![CDATA[solaris 10]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[zfs]]></category>
		<category><![CDATA[zone]]></category>

		<guid isPermaLink="false">http://blog.angelofailla.com/?p=1012&#038;langswitch_lang=en</guid>
		<description><![CDATA[In NewBay I&#8217;m currently working on a project which uses Sun Solaris 10 in a multi-tier architecture. I&#8217;ve already used before this system in Italy, so it isn&#8217;t new for me; in Italy I was responsible for creating Sun packages for projects made by my ex company in behalf of Nokia and Vodafone Italy. By [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.angelofailla.com/wp-content/uploads/2008/08/sol10logo.png"><img class="aligncenter size-full wp-image-1013" title="sol10logo" src="http://blog.angelofailla.com/wp-content/uploads/2008/08/sol10logo.png" alt="" width="343" height="179" /></a></p>
<p>In <a href="http://www.newbay.com">NewBay</a> I&#8217;m currently working on a project which uses Sun Solaris 10 in a multi-tier architecture. I&#8217;ve already used before this system in Italy, so it isn&#8217;t new for me; in Italy I was responsible for creating Sun packages for projects made by my ex company in behalf of Nokia and Vodafone Italy.</p>
<p>By the way, as I started working in Newbay, I was allocated to this project called <a href="http://www.myfaves.co.uk/">MyFaves</a> for <a href="http://en.wikipedia.org/wiki/T-mobile">T-Mobile International</a>. This is based exclusively on Solaris 10 (both x86 and sparc architecture).<br />
After a few months I&#8217;ve used, and I&#8217;ve became pretty confident, with most of the big new and historical features of Solaris 10 like the <a href="http://en.wikipedia.org/wiki/Service_Management_Facility">SMF</a>, the <a href="http://en.wikipedia.org/wiki/Service_Management_Facility">ZFS</a> file system, the Solaris <a href="http://en.wikipedia.org/wiki/Solaris_Zones">zone/containers.</a></p>
<p>So what do I think about it?</p>
<p>Well, I think the only stuff really good in Solaris are the 3 I&#8217;ve mentioned above. All the other things I&#8217;ve seen around the system are pretty crappy. When I started using SMF I was thinking: «oh man! this is ridiculous! I&#8217;ve to type <em>svcadm enable/disable svc:/blabla/blablala/myapp:default</em> every fucking time i need to start or stop a service! <em>/etc/init.d/service start/stop</em> is much more better!». Then I studied a lot this SMF, and I have to admit is brilliant! I really would like to have it in enterprises Linuxes like Red Hat, or even, let&#8217;s say, in Debian! <img src='http://blog.angelofailla.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>ZFS is brilliant as well! I know it&#8217;s now stable and ready for production on BSD systems like FreeBSD. I&#8217;m not really sure if the Linux ZFS implementation, which use the fuse subsystem, is ready for production as well&#8230;</p>
<p>Zones and containers&#8230; well&#8230; I think they&#8217;re cool. Maybe I&#8217;m wrong but I think they&#8217;ve copied the <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html">FreeBSD jails</a> and they&#8217;ve integrated it very nicely with the system, especially with the solaris resoure manager. So you can, for exapmle, decide the amount of memory, or the number of CPUs that can be used by a single process, user, or group, in each zone. Integration between ZFS and Zones is cool as well!</p>
<p>Despite all these stuff I have to say that <strong>I still don&#8217;t really like Solaris:</strong></p>
<ul>
<li>I don&#8217;t like to have the f***ing old style vi written by <a href="http://en.wikipedia.org/wiki/Bill_Joy">Bill Joy</a>.</li>
<li>I dont&#8217;t like to have defined <em>export EDITOR=ed</em> and <em>export PAGER=more</em> by default.</li>
<li>I don&#8217;t like the fucking ps command (but you have to use the one into <em>/usr/ucb/</em>).</li>
<li>I don&#8217;t like the fact that your default shell is an old style c-shell instead of <em>/bin/bash</em></li>
<li>I don&#8217;t like the fucking OLD cron daemon which is not able to read the GNU syntax (for something like <em>*/5</em> to schedule a job every 5 minutes you have to write &#8220;<em>05,10,15,20,25,30,35,40,45,50,55</em>&#8220;. So ridicolous!!!!!)</li>
<li>I don&#8217;t like the fact that you don&#8217;t have ANY messages while booting!</li>
<li>I don&#8217;t like the packaging system, is shit compared with APT/DPKG, or with the the BSD ports system.</li>
<li>I don&#8217;t like CDE and JavaDesktop (or should I say GNOME! <img src='http://blog.angelofailla.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ).</li>
</ul>
<p>Why the fuck aren&#8217;t they using the GNU subsystem instead of their own CRAP? Are they using this only on OpenSolaris maybe?</p>
<p>Someone might say that this is because big companies (like banks for example) are still using OLD software which needs to use old crap to work. So they need old crap shell interpreter, and stuff like that. And they obviously like to have all the old crap by default installation&#8230;</p>
<p>Fuck them I say! This is ridicolous! <strong>They</strong> have to do the effort to adjust their our systems to work with the new OS&#8217;s. <strong>Not me! <img src='http://blog.angelofailla.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </strong></p>
<p>So this is what I think about Solaris 10. You can insult me now.</p>
<p>Cheers.<br />
Angelo</p>
<img src="http://blog.angelofailla.com/?ak_action=api_record_view&id=1012&type=feed" alt="" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.angelofailla.com%2F2008%2F08%2F23%2Fconsiderations-about-sun-solaris-10%2F&amp;title=Considerations%20about%20Sun%20Solaris%2010." id="wpa2a_10"><img src="http://blog.angelofailla.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.angelofailla.com/2008/08/23/considerations-about-sun-solaris-10/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

