<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.thilelli.net/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>blog'o thnet</title>
  <link>http://blog.thilelli.net/</link>
  <atom:link href="http://blog.thilelli.net/feed/rss2" rel="self" type="application/rss+xml"/>
  <description>thnet, the blog of Julien Gabel
What is to say about my (mostly) IT-related world these days</description>
  <language>en</language>
  <pubDate>Wed, 10 Mar 2010 09:21:53 +0100</pubDate>
  <copyright>Copyright© 2002-2010, Julien Gabel</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Oracle On The Future Of OpenSolaris, Finally</title>
    <link>http://blog.thilelli.net/post/2010/02/28/Oracle-On-The-Future-Of-OpenSolaris%2C-Finally</link>
    <guid isPermaLink="false">urn:md5:2c9d5fbc16c8a7f2f9cac787d77c3bd9</guid>
    <pubDate>Sun, 28 Feb 2010 14:51:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>OpenSolaris</category>
        <category>Oracle</category>    
    <description>    &lt;p&gt;After the official and long-awaited &lt;a href=&quot;http://www.oracle.com/us/sun/index.html&quot; hreflang=&quot;en&quot;&gt;public information&lt;/a&gt;
from Oracle on the merge with Sun Microsystems, some great news came on both
hardware and software portfolios, in particular the x86 ans SPARC ecosystems,
and around the Solaris operating system.&lt;/p&gt;
&lt;p&gt;The main unknown was about the OpenSolaris community, and distribution
model. And until very recently, some important voices around the community
stayed without answer, in particular from &lt;a href=&quot;http://www.cuddletech.com/blog/pivot/entry.php?id=1108&quot; hreflang=&quot;en&quot;&gt;Ben
Rockwood&lt;/a&gt;, or &lt;a href=&quot;http://ptribble.blogspot.com/2010/02/opensolaris-oracle-where-art-thou.html&quot; hreflang=&quot;en&quot;&gt;Peter Tribble&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Well, until recently. In fact, the OpenSolaris Annual Meeting (held on IRC
through the #opensolaris-meeting canal last 26 February) brought some answers
very shortly, which currently begin to &lt;a href=&quot;http://ptribble.blogspot.com/2010/02/opening-up-some-details-of-opensolaris.html&quot; hreflang=&quot;en&quot;&gt;spread&lt;/a&gt; &lt;a href=&quot;http://www.h-online.com/open/news/item/OpenSolaris-future-assured-by-Oracle-942161.html&quot; hreflang=&quot;en&quot;&gt;through&lt;/a&gt; the &lt;a href=&quot;http://www.c0t0d0s0.org/archives/6393-About-the-future-of-Opensolaris.html&quot; hreflang=&quot;en&quot;&gt;community&lt;/a&gt;. I hope this will quiet some recent
misunderstanding on the support model of the OpenSolaris distribution.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2010/02/28/Oracle-On-The-Future-Of-OpenSolaris%2C-Finally#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2010/02/28/Oracle-On-The-Future-Of-OpenSolaris%2C-Finally#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/490619</wfw:commentRss>
      </item>
    
  <item>
    <title>Oracle Commitment To Sun Technologies</title>
    <link>http://blog.thilelli.net/post/2009/12/01/Oracle-Commitment-To-Sun-Technologies</link>
    <guid isPermaLink="false">urn:md5:e6f679335320579f40d7eb55a3486646</guid>
    <pubDate>Tue, 01 Dec 2009 12:07:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>Oracle</category>    
    <description>    &lt;p&gt;Here are more information about &lt;a href=&quot;http://www.oracle.com/us/sun/index.htm&quot; hreflang=&quot;en&quot;&gt;Oracle commitment to Sun
business&lt;/a&gt;, and the Solaris operating system in particular:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;There is the Oracle Metalink #742060.1 on the new position of the Solaris
10 x86 platform which is raised up at a higher level than before.&lt;/li&gt;
&lt;li&gt;The licensing mode for the UltraSPARC T2+ is &lt;a href=&quot;http://www.oracle.com/corporate/contracts/library/processor-core-factor-table.pdf&quot; hreflang=&quot;en&quot;&gt;more favorable than for other processor chips&lt;/a&gt;, such as IBM
POWER5+ and POWER6 notably.&lt;/li&gt;
&lt;li&gt;The Database Smart Flash Cache technology from the &lt;a href=&quot;http://www.oracle.com/database/exadata.html&quot; hreflang=&quot;en&quot;&gt;Exadata V2 Database
Machine&lt;/a&gt; can only be used with Oracle Database 11g Release 2 on &lt;a href=&quot;http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/memory005.htm#BABCBAFG&quot; hreflang=&quot;en&quot;&gt;Solaris or Oracle Enterprise Linux&lt;/a&gt; operating systems
only.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Lastly, &lt;a href=&quot;http://www.oracle.com/ocom/groups/public/documents/webcontent/038563.pdf&quot; hreflang=&quot;en&quot;&gt;Oracle and Sun Overview and FAQ&lt;/a&gt; for customers and partners is
a must read for all persons interested in the future and Oracle's investment in
all the current technologies from Sun Microsystems.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2009/12/01/Oracle-Commitment-To-Sun-Technologies#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2009/12/01/Oracle-Commitment-To-Sun-Technologies#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/463080</wfw:commentRss>
      </item>
    
  <item>
    <title>Oracle Database 11g Release 2 For Solaris</title>
    <link>http://blog.thilelli.net/post/2009/11/26/Oracle-Database-11g-Release-2-For-Solaris</link>
    <guid isPermaLink="false">urn:md5:9b131b94cdaa4980f557c275ca143de7</guid>
    <pubDate>Thu, 26 Nov 2009 14:41:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>Oracle</category>    
    <description>    &lt;p&gt;As a follow-up to &lt;a href=&quot;http://blog.thilelli.net/post/2009/10/07/Upcoming-Oracle-RDBMS-And-Solaris-News&quot; hreflang=&quot;en&quot;&gt;the
preceding entry&lt;/a&gt; on the upcoming availability on the Oracle Database 11g
Release 2 on both the Solaris SPARC and x86 releases, we can see that this is a
reality as of today. Both architectures are &lt;a href=&quot;http://www.oracle.com/technology/software/products/database/index.html&quot; hreflang=&quot;en&quot;&gt;readily available for download&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As a system administrator I think this very interesting and encouraging, not
only because of the availability of one of the more robust RDBMS system on
Solaris platforms, but because this is some &lt;em&gt;actions&lt;/em&gt; taken after
&lt;em&gt;words&lt;/em&gt; from Oracle which seems to fit together. And so, the interest in
Solaris as an OS of choice is more reinforced now.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2009/11/26/Oracle-Database-11g-Release-2-For-Solaris#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2009/11/26/Oracle-Database-11g-Release-2-For-Solaris#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/462587</wfw:commentRss>
      </item>
    
  <item>
    <title>Upcoming Oracle RDBMS And Solaris News</title>
    <link>http://blog.thilelli.net/post/2009/10/07/Upcoming-Oracle-RDBMS-And-Solaris-News</link>
    <guid isPermaLink="false">urn:md5:7b098c449946cb04a67b6f3d3b10e958</guid>
    <pubDate>Wed, 07 Oct 2009 20:12:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>Oracle</category>    
    <description>    &lt;p&gt;Following the recent news about the future of Sun from &lt;a href=&quot;http://www.cuddletech.com/blog/pivot/entry.php?id=1069&quot; hreflang=&quot;en&quot;&gt;Larry
Ellison itself&lt;/a&gt;, we now can hope about more things to come on Solaris, both
on SPARC and x86 platforms. In particular, this quote is particularly
encouraging:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;We're a big supporter of Linux, but the fact is that Solaris just a much
more mature OS, its just a fact. We became a big supporter of Linux years ago
because it ran on smaller and cheaper X86 processors and Solaris did not, we
had no choice. [...] So we are a supporter of Linux, but Solaris is a more
mature operating system designed for bigger systems. We support both.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In the very same vein, I just heard from two different sources these
upcoming changes from Oracle:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The just release &lt;a href=&quot;http://www.oracle.com/technology/products/database/oracle11g/index.html&quot; hreflang=&quot;en&quot;&gt;Oracle Database 11g Release 2&lt;/a&gt;, currently available only for
Linux (and released on 1 September 2009), will be available soon--one to two
months--for both Solaris SPARC and x86, at the &lt;strong&gt;same time&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Secondly, Solaris x86 will be raised to &lt;em&gt;Tier 2&lt;/em&gt; platform from
&lt;em&gt;Tier 3&lt;/em&gt; currently.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Well, pretty good news in fact! Seems that Solaris will be a serious and
growing competitor in the (near) future!&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2009/10/07/Upcoming-Oracle-RDBMS-And-Solaris-News#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2009/10/07/Upcoming-Oracle-RDBMS-And-Solaris-News#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/447838</wfw:commentRss>
      </item>
    
  <item>
    <title>Finding The Process Responsible For Crashing A System</title>
    <link>http://blog.thilelli.net/post/2009/03/22/Finding-The-Process-Responsible-For-Crashing-A-System</link>
    <guid isPermaLink="false">urn:md5:c218c43dab5e2ab319d74e3afd4b692b</guid>
    <pubDate>Sun, 22 Mar 2009 15:27:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>bug</category><category>crash</category><category>debug</category><category>mdb</category><category>Oracle</category><category>processus</category>    
    <description>    &lt;p&gt;Recently, we encounter a wave of suicide on most of the nodes which formed
some Oracle RAC cluster on lots of Sun M5000 domains platforms. Although the
logs found on Oracle RAC were interesting, they didn't help us to determine
precisely the origin of the crashes. Since the domains panic'ed, we were able
to briefly analyze the cores generated at crash time to get the process which
initiated the panics. Here is how to do so.&lt;/p&gt;
&lt;p&gt;First, be sure to have proper and usable core on persistent storage:&lt;/p&gt;
&lt;pre&gt;
# cd /var/crash/nodename
# file *.0
unix.0:         ELF 64-bit MSB executable SPARCV9 Version 1, UltraSPARC1 Extensions Required, statically linked, not stripped, no debugging information available
vmcore.0:       SunOS 5.10 Generic_127111-11 64-bit SPARC crash dump from 'nodename'
&lt;/pre&gt;
&lt;p&gt;Then, extract useful information using MDB dcmds such as
&lt;code&gt;::status&lt;/code&gt;, &lt;code&gt;::showrev&lt;/code&gt; and &lt;code&gt;::panicinfo&lt;/code&gt;
which give us the exact panic message and provide us the message and thread
responsible for the system crash:&lt;/p&gt;
&lt;pre&gt;
# mdb -k unix.0 vmcore.0
Loading modules: [ unix krtld genunix specfs dtrace ufs sd mpt px ssd fcp fctl md ip qlc hook neti sctp arp usba nca zfs random logindmux ptm cpc sppp crypto wrsmd fcip nfs ipc ]
&amp;gt; ::status
debugging crash dump vmcore.0 (64-bit) from nodename
operating system: 5.10 Generic_127111-11 (sun4u)
panic message: forced crash dump initiated at user request
dump content: kernel pages only
&amp;gt; ::showrev
Hostname: nodename
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparcv9
Kernel version: SunOS 5.10 sun4u Generic_127111-11
Platform: SUNW,SPARC-Enterprise
&amp;gt; ::panicinfo
             cpu                0
          thread      300171c7300
         message forced crash dump initiated at user request
          tstate       4400001606
              g1                b
              g2                0
              g3          11c13e0
              g4              6e0
              g5         88000000
              g6                0
              g7      300171c7300
              o0          1208020
              o1      2a10176b9e8
              o2                1
              o3                0
              o4 fffffffffffffff5
              o5             1000
              o6      2a10176b0b1
              o7          10626a4
              pc          1044d8c
             npc          1044d90
               y                0
&lt;/pre&gt;
&lt;p&gt;Well. Now what we have the exact thread number (thread ID), we can find the
corresponding UNIX process helped by the following script:&lt;/p&gt;
&lt;pre&gt;
# cat /var/tmp/findstack.vmcore.sh
#!/usr/bin/env sh

echo &amp;quot;::ps&amp;quot; | mdb -k unix.0 vmcore.0 | \
 nawk '$8 !~ /ADDR/ {print $8&amp;quot; &amp;quot;$NF}' &amp;gt; /tmp/.core.$$

cat /dev/null &amp;gt; /tmp/core.$$

while read ps; do
  echo &amp;quot;process name: `echo ${ps} | nawk '{print $2}'`&amp;quot; &amp;gt;&amp;gt; /tmp/core.$$
  echo ${ps} | nawk '{print $1&amp;quot;::walk thread | ::findstack&amp;quot;}' | \
   mdb unix.0 vmcore.0 &amp;gt;&amp;gt; /tmp/core.$$
  echo &amp;gt;&amp;gt; /tmp/core.$$
done &amp;lt; /tmp/.core.$$

\rm /tmp/.core.$$

exit 0
&lt;/pre&gt;
&lt;p&gt;Now, just find the lines for the guilty process in the output file. In our
case, it is the &lt;code&gt;oprocd.bin&lt;/code&gt; process:&lt;/p&gt;
&lt;pre&gt;
# vi /tmp/core.*
[...]
process name: oprocd.bin
stack pointer for thread 300171c7300: 2a10176b0b1
  000002a10176b161 kadmin+0x4a4()
  000002a10176b221 uadmin+0x11c()
  000002a10176b2e1 syscall_trap+0xac()
[...]
&lt;/pre&gt;
&lt;p&gt;This process is locked in memory to monitor the cluster and provide I/O
fencing. &lt;code&gt;oprocd.bin&lt;/code&gt; performs its check, stops running, and if the
wake up is beyond the expected time, then it resets the processor and reboots
the node. An &lt;code&gt;oprocd.bin&lt;/code&gt; failure results in Oracle Clusterware
restarting the node. Please read the &lt;a href=&quot;http://www.oracle.com/technology/products/database/clustering/index.html&quot; hreflang=&quot;en&quot;&gt;Oracle Clusterware and Oracle Real Application Clusters&lt;/a&gt;
documentation for more information.&lt;/p&gt;
&lt;p&gt;Although the incident is always under investigation, it seems the nodes were
impacted by the &lt;a href=&quot;http://www.techworld.com.au/article/272190/leap_second_snafu_affects_oracle_clusterware&quot; hreflang=&quot;en&quot;&gt;additional second that was added at the end of 2008&lt;/a&gt;...&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2009/03/22/Finding-The-Process-Responsible-For-Crashing-A-System#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2009/03/22/Finding-The-Process-Responsible-For-Crashing-A-System#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/334409</wfw:commentRss>
      </item>
    
  <item>
    <title>Problem Querying ru. Name Servers</title>
    <link>http://blog.thilelli.net/post/2009/02/25/Problem-Querying-ru-Name-Servers</link>
    <guid isPermaLink="false">urn:md5:5c56c29e05b617f9224ea61d6b723717</guid>
    <pubDate>Wed, 25 Feb 2009 19:21:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>General</category>
        <category>network</category>    
    <description>    &lt;p&gt;In a previous position, I encounter a rather strange problem I would like to
share here. It has to do with DNS resolution. From the internal network of a
company it was not possible to get the IP address of the
&lt;code&gt;www.banks2ifrs.ru.&lt;/code&gt; host name.&lt;/p&gt;
&lt;p&gt;We determined that the name servers which manage the
&lt;code&gt;banks2ifrs.ru.&lt;/code&gt; domain are &lt;code&gt;ns3.nic.ru.&lt;/code&gt; and
&lt;code&gt;ns4.nic.ru.&lt;/code&gt;. In the same time, we saw that for the
&lt;code&gt;fbk.ru.&lt;/code&gt; domain name, the managing name servers are
&lt;code&gt;ns3.nic.ru.&lt;/code&gt; and &lt;code&gt;gw.fbk.ru.&lt;/code&gt;. Interestingly, it was
possible to resolve &lt;code&gt;www.fbk.ru.&lt;/code&gt; using &lt;code&gt;gw.fbk.ru.&lt;/code&gt;, but
not from &lt;code&gt;ns3.nic.ru.&lt;/code&gt;. More, we noted that the reverse resolution
for the name servers &lt;code&gt;ns3.nic.ru.&lt;/code&gt; and &lt;code&gt;ns4.nic.ru.&lt;/code&gt; are
not correct, translated to &lt;code&gt;ns3.ripn.net.&lt;/code&gt; and
&lt;code&gt;ns4.ripn.net.&lt;/code&gt;, respectively. So, it is worth to mention that
nothing was wrong when querying the name server &lt;code&gt;gw.fbk.ru.&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;
# host -t a ns3.nic.ru.
ns3.nic.ru has address 194.85.61.20
# host -t a ns4.nic.ru.
ns4.nic.ru has address 194.226.96.8
# host -t ptr 194.85.61.20
20.61.85.194.in-addr.arpa domain name pointer ns3.ripn.net.
# host -t ptr 194.226.96.8
8.96.226.194.in-addr.arpa domain name pointer ns4.ripn.net.
&lt;/pre&gt;
&lt;p&gt;The error from the DNS query seems to be related to an incomplete answer
from the server (the &lt;code&gt;truncated&lt;/code&gt; flag was set to 1 in the network
trace) when the query is made over UDP. In this case, an automatic fallback
over TCP must be used, certainly prohibited from the company's network security
policy. This may say that the answer is larger than 512 bytes long, too. So, we
tried to advertise different sizes of the UDP message buffer, but without being
confident that this message went through network devices properly. Nonetheless
it would seem curious to get an answer larger that 120 bytes long.&lt;/p&gt;
&lt;p&gt;Last, we can note that the complexity of the network layout (DMZ, firewalls,
NAT, etc.) may badly interact and hamper DNS queries, at least in certain
circumstances.&lt;/p&gt;
&lt;p&gt;After more investigation from the network team, they decided to permit TCP
DNS queries. And it worked. It worked letting the internal DNS servers doing
their job themselves...&lt;/p&gt;
&lt;pre&gt;
# dig +trace -t a www.banks2ifrs.ru.
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.3.4-P1 &amp;lt;&amp;lt;&amp;gt;&amp;gt; +trace www.banks2ifrs.ru.
;; global options:  printcmd
.                       449798  IN   NS   L.ROOT-SERVERS.NET.
.                       449798  IN   NS   M.ROOT-SERVERS.NET.
.                       449798  IN   NS   A.ROOT-SERVERS.NET.
.                       449798  IN   NS   B.ROOT-SERVERS.NET.
.                       449798  IN   NS   C.ROOT-SERVERS.NET.
.                       449798  IN   NS   D.ROOT-SERVERS.NET.
.                       449798  IN   NS   E.ROOT-SERVERS.NET.
.                       449798  IN   NS   F.ROOT-SERVERS.NET.
.                       449798  IN   NS   G.ROOT-SERVERS.NET.
.                       449798  IN   NS   H.ROOT-SERVERS.NET.
.                       449798  IN   NS   I.ROOT-SERVERS.NET.
.                       449798  IN   NS   J.ROOT-SERVERS.NET.
.                       449798  IN   NS   K.ROOT-SERVERS.NET.
;; Received 512 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms

ru.                   172800  IN   NS   ns.ripn.net.
ru.                   172800  IN   NS   ns2.nic.fr.
ru.                   172800  IN   NS   ns2.ripn.net.
ru.                   172800  IN   NS   ns5.msk-ix.net.
ru.                   172800  IN   NS   ns9.ripn.net.
ru.                   172800  IN   NS   sunic.sunet.se.
;; Received 297 bytes from 199.7.83.42#53(L.ROOT-SERVERS.NET) in 125 ms

banks2ifrs.ru.   345600  IN   NS   ns4.nic.ru.
banks2ifrs.ru.   345600  IN   NS   ns3.nic.ru.
;; Received 107 bytes from 194.85.105.17#53(ns.ripn.net) in 66 ms

www.banks2ifrs.ru.   86400   IN   A     83.222.6.194
banks2ifrs.ru.            86400   IN   NS   ns4.nic.ru.
banks2ifrs.ru.            86400   IN   NS   ns3.nic.ru.
;; Received 91 bytes from 194.226.96.8#53(ns4.nic.ru) in 65 ms
&lt;/pre&gt;
&lt;p&gt;... and it worked when querying directly the name servers responsible for
the wanted domain:&lt;/p&gt;
&lt;pre&gt;
# dig @ns4.nic.ru. -t a www.banks2ifrs.ru.
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.3.4-P1 &amp;lt;&amp;lt;&amp;gt;&amp;gt; @ns4.nic.ru. -t a www.banks2ifrs.ru.
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 1530
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;www.banks2ifrs.ru.             IN   A

;; ANSWER SECTION:
www.banks2ifrs.ru.      86400   IN   A   83.222.6.194

;; AUTHORITY SECTION:
banks2ifrs.ru.          86400   IN   NS   ns4.nic.ru.
banks2ifrs.ru.          86400   IN   NS   ns3.nic.ru.

;; Query time: 65 msec
;; SERVER: 194.226.96.8#53(194.226.96.8)
;; WHEN: Tue Apr 15 21:05:12 2008
;; MSG SIZE  rcvd: 91
&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; The size of the answer is 91 bytes long, so nothing wrong
from this side.&lt;/p&gt;
&lt;p&gt;I think we will never know what was going wrong here, even if the heart of
the problem seems related specifically only to the two same name servers.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2009/02/25/Problem-Querying-ru-Name-Servers#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2009/02/25/Problem-Querying-ru-Name-Servers#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/315223</wfw:commentRss>
      </item>
    
  <item>
    <title>Quick Reference Guides For Network Technologies</title>
    <link>http://blog.thilelli.net/post/2009/01/05/Quick-Reference-Guides-For-Network-Technologies</link>
    <guid isPermaLink="false">urn:md5:abb92d222ca4d2c9e210b6dd8c2249be</guid>
    <pubDate>Mon, 05 Jan 2009 08:06:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>General</category>
        <category>network</category>    
    <description>    &lt;p&gt;I am always looking for some good IT &lt;em&gt;cheat sheets&lt;/em&gt;, and for a lots
of thing. Here is one of &lt;a href=&quot;http://packetlife.net/&quot; hreflang=&quot;en&quot;&gt;my
favorite web site&lt;/a&gt; around network technologies. Interestingly, this site
propose some regularly updated quick reference guides for the network, and are
classified under the following categories (at the time of this writing):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Protocols&lt;/li&gt;
&lt;li&gt;Applications&lt;/li&gt;
&lt;li&gt;Reference&lt;/li&gt;
&lt;li&gt;Syntax&lt;/li&gt;
&lt;li&gt;Technologies&lt;/li&gt;
&lt;li&gt;Miscellaneous&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can find them all at the &lt;a href=&quot;http://packetlife.net/library/cheat-sheets/&quot; hreflang=&quot;en&quot;&gt;Cheat Sheets
Library&lt;/a&gt; section.&lt;/p&gt;
&lt;p&gt;As the author wrote on his blog, &lt;q&gt;if you notice an error or would like to
see a new cheat sheet on a specific topic&lt;/q&gt;, don't hesitate and &lt;a href=&quot;http://packetlife.net/contact/&quot; hreflang=&quot;en&quot;&gt;drop him a line&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2009/01/05/Quick-Reference-Guides-For-Network-Technologies#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2009/01/05/Quick-Reference-Guides-For-Network-Technologies#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/312316</wfw:commentRss>
      </item>
    
  <item>
    <title>More News To Come About Shrinking A zpool</title>
    <link>http://blog.thilelli.net/post/2008/12/25/More-News-To-Come-About-Shrinking-A-zpool</link>
    <guid isPermaLink="false">urn:md5:346346790551774325ecfc9e519cc36d</guid>
    <pubDate>Thu, 25 Dec 2008 19:14:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>OpenSolaris</category>
        <category>ZFS</category>    
    <description>    &lt;p&gt;As a little update to &lt;a href=&quot;http://blog.thilelli.net/post/2007/03/01/Want-to-Shrink-a-zpool&quot; hreflang=&quot;en&quot;&gt;an older post&lt;/a&gt; on this subject, and although &lt;a href=&quot;http://blogs.sun.com/ahrens/entry/new_scrub_code&quot; hreflang=&quot;en&quot;&gt;this post from
Matthew Ahrens&lt;/a&gt; is about the new scrub code recently introduced in
OpenSolaris build 94--and was in fact a priority before the launch of the
&lt;a href=&quot;http://www.sun.com/storage/disk_systems/unified_storage/&quot; hreflang=&quot;en&quot;&gt;Sun Storage 7000 Unified Storage Systems&lt;/a&gt; (a.k.a. Amber Road)--it is
interesting to note that some of the new code will be usable to remove a disk
from a ZFS pool.&lt;/p&gt;
&lt;p&gt;As Matthew wrote:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This work lays a bunch of infrastructure that will be used by the upcoming
device removal feature.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/12/25/More-News-To-Come-About-Shrinking-A-zpool#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/12/25/More-News-To-Come-About-Shrinking-A-zpool#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/312188</wfw:commentRss>
      </item>
    
  <item>
    <title>GRUB Boot Archive With SVM, A Better Approach</title>
    <link>http://blog.thilelli.net/post/2008/12/03/GRUB-Boot-Archive-With-SVM-A-Better-Approach</link>
    <guid isPermaLink="false">urn:md5:f186331fb4c32366306a006b25b8ac90</guid>
    <pubDate>Wed, 03 Dec 2008 10:25:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>boot</category><category>failsafe</category><category>GRUB</category><category>SVM</category>    
    <description>    &lt;p&gt;In a &lt;a href=&quot;http://blog.thilelli.net/post/2008/03/13/Update-A-Corrupted-GRUB-Boot-Archive-With-SVM&quot; hreflang=&quot;en&quot;&gt;previous discussion&lt;/a&gt; about the GRUB boot archive and how it can be
regenerated in Failsafe mode, I mentioned that it will not be as easy as it can
be when the root file system use the &lt;code&gt;md&lt;/code&gt; driver. I previously show
a method to do this which necessitate to unmirror one or more file systems when
the root file system is build upon a SVM mirror. This was not very optimal
since a lot of of manipulations are involved, which may lead to human error(s),
and may seems to be a little complicated.&lt;/p&gt;
&lt;p&gt;This method was build on &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-4520/6manpieqm?l=en&amp;amp;a=view&quot; hreflang=&quot;en&quot;&gt;Performing System Recovery&lt;/a&gt; from the Solaris Volume Manager official
documentation, which show up last month on the &lt;a href=&quot;http://www.sunmanagers.org/mailman/listinfo/sunmanagers&quot; hreflang=&quot;en&quot;&gt;Sun-Managers&lt;/a&gt; mailing list.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: Although this test case was done using &lt;a href=&quot;http://www.sun.com/software/solaris/get.jsp&quot; hreflang=&quot;en&quot;&gt;Solaris 10
10/08&lt;/a&gt; under a virtual machine build upon &lt;a href=&quot;http://www.sun.com/software/products/virtualbox/get.jsp&quot; hreflang=&quot;en&quot;&gt;VirtualBox&lt;/a&gt; on latest &lt;a href=&quot;http://www.opensolaris.com/get/index.jsp&quot; hreflang=&quot;en&quot;&gt;OpenSolaris
release&lt;/a&gt;, the instructions must be valid for Solaris 10 1/06 and
later.&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;Initial setup&lt;/h3&gt;
&lt;p&gt;As we saw before, the system use only a root file system, and a swap device.
Both are encapsulated with SVM:&lt;/p&gt;
&lt;pre&gt;
# df -k -F ufs
Filesystem     kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0 6147798 3455578 2630743      57%  /
# swap -l
swapfile             dev  swaplo blocks   free
/dev/md/dsk/d1      85,1       8 4194288 4194288
# metastat -c d0 d1
d0               m  6.0GB d10 d20
    d10          s  6.0GB c0d0s0
    d20          s  6.0GB c1d1s0
d1               m  2.0GB d11 d21
    d11          s  2.0GB c0d0s1
    d21          s  2.0GB c1d1s1
&lt;/pre&gt;
&lt;h3&gt;Regenerate the GRUB boot archive&lt;/h3&gt;
&lt;p&gt;The idea is to boot on the GRUB Failsafe mode, get the &lt;code&gt;md&lt;/code&gt;
configuration from local root file system, and load manually the
&lt;code&gt;md&lt;/code&gt; module, hence properly configured. The main advantage is to be
fully self hosted from the Failsafe mode, and not have to manipulate SVM more
than necessary, especially when breaking the mirror, loosing redundancy for a
time.&lt;/p&gt;
&lt;pre&gt;
[...]
Booting to milestone &amp;quot;milestone/single-user:default&amp;quot;.
Configuring devices.
Searching for installed OS instances...
/dev/dsk/c0d0s0 is under md control, skipping.
/dev/dsk/c1d1s0 is under md control, skipping.
No installed OS instance found.

Starting shell.
# mount -F ufs -o ro /dev/dsk/c0d0s0 /a
# cp -p /a/kernel/drv/md.conf /kernel/drv
# umount /a
# update_drv -f md
devfsadm: mkdir failed for /dev 0x1ed: Read-only file system
# metainit -r
# metasync d0
# fsck /dev/md/rdsk/d0
# mount -F ufs /dev/md/dsk/d0 /a
# bootadm update-archive -R /a
# umount /a
# reboot
&lt;/pre&gt;
&lt;p&gt;Really interesting!&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/12/03/GRUB-Boot-Archive-With-SVM-A-Better-Approach#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/12/03/GRUB-Boot-Archive-With-SVM-A-Better-Approach#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/304660</wfw:commentRss>
      </item>
    
  <item>
    <title>System V IPC Now Managed By Resource Controls</title>
    <link>http://blog.thilelli.net/post/2008/11/01/System-V-IPC-Now-Managed-By-Resource-Controls</link>
    <guid isPermaLink="false">urn:md5:98fd2d60eef8c4ac767cfbccff1a6f91</guid>
    <pubDate>Sat, 01 Nov 2008 15:08:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>resource management</category>    
    <description>    &lt;p&gt;When it comes to Solaris 10, &lt;a href=&quot;http://docs.sun.com/app/docs/doc/817-0404/chapter1-33?a=view&quot; hreflang=&quot;en&quot;&gt;all IPC facilities&lt;/a&gt; are either automatically configured or can be
controlled by resource controls. In the same time, they get new default values,
when applicable.&lt;/p&gt;
&lt;p&gt;As an example, we will assume that we need to change the limit on number of
shared memory segments that can be created, and that the new default (128) is
not enough either. Before Solaris 10, you've had to set the
&lt;code&gt;shmsys:shminfo_shmmni&lt;/code&gt; tunable parameter in the
&lt;code&gt;/etc/system&lt;/code&gt; kernel configuration file, which is a &lt;em&gt;system
wide&lt;/em&gt; limit, and required a &lt;em&gt;reboot&lt;/em&gt;. This parameter is now marked
as &lt;a href=&quot;http://docs.sun.com/app/docs/doc/817-0404/appendixa-6?a=view&quot; hreflang=&quot;en&quot;&gt;Obsolete or Have Been Removed&lt;/a&gt;, and its use is clearly
deprecated.&lt;/p&gt;
&lt;p&gt;To increase the corresponding limit up to 256 shared memory segments, we now
have to deal with the &lt;code&gt;project.max-shm-ids&lt;/code&gt; resource control which
is controlled at the &lt;a href=&quot;http://docs.sun.com/app/docs/doc/817-1592/resource?a=view&quot; hreflang=&quot;en&quot;&gt;project level&lt;/a&gt;. The idea is to set the appropriate resource control to
a project, then execute a program in the context of this project. One method to
achieve this is to create a project at one side (using the &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5174/project-4?a=view&quot; hreflang=&quot;en&quot;&gt;project(4)&lt;/a&gt; database), and to populate the extended user attributes to
do the association between this project and a user account (using the &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5174/user-attr-4?a=view&quot; hreflang=&quot;en&quot;&gt;user_attr(4)&lt;/a&gt; database) in order to put the new project as the default
project for the user. Or it is possible not to create an extended user
attribute with this project at all, but use its characteristics explicitly
through the &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5165/newtask-1?a=view&quot; hreflang=&quot;en&quot;&gt;newtask(1)&lt;/a&gt; command (and the &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5165/login-1?a=view&quot; hreflang=&quot;en&quot;&gt;login(1)&lt;/a&gt;, &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5166/cron-1m?a=view&quot; hreflang=&quot;en&quot;&gt;cron(1M)&lt;/a&gt;, and &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5166/su-1m?a=view&quot; hreflang=&quot;en&quot;&gt;su(1M)&lt;/a&gt; programs, or the &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5172/setproject-3project?a=view&quot; hreflang=&quot;en&quot;&gt;setproject(3PROJECT)&lt;/a&gt; function). But the simplest method, and
the less intrusive one, is certainly to directly put the project as the default
one for a user account. Here is how to do so.&lt;/p&gt;
&lt;p&gt;By default, no error message is logged against the &lt;code&gt;syslog&lt;/code&gt;
daemon for resource controls. To be able to see an appropriate message in the
&lt;code&gt;messages&lt;/code&gt; log file, you must first enable globally the
&lt;code&gt;syslog&lt;/code&gt; action for the wanted resource control (the default level
is &lt;em&gt;notice&lt;/em&gt;).&lt;/p&gt;
&lt;pre&gt;
# rctladm -e syslog project.max-shm-ids
# rctladm -l project.max-shm-ids
project.max-shm-ids   syslog=notice   [ no-basic deny count ]
&lt;/pre&gt;
&lt;p&gt;When the limit on the number of shared memory segments is reached, one
message similar to the following is write to the log file:&lt;/p&gt;
&lt;pre&gt;
# grep rctl /var/adm/messages
/var/adm/messages:Oct 21 16:47:29 hostname genunix: [ID 883052 kern.notice] privileged rctl project.max-shm-ids (value 128) exceeded by project 3
&lt;/pre&gt;
&lt;p&gt;Here is the definition of the new project, and its configuration.&lt;/p&gt;
&lt;pre&gt;
# getent project user.username
user.username:1000:Project To Increase The Limit Of SHM Segments:::project.max-shm-ids=(priv,256,deny)
#
# projects -l user.username
user.username
      projid : 1000
      comment: &amp;quot;Project To Increase The Limit Of SHM Segments&amp;quot;
      users  : (none)
      groups : (none)
      attribs: project.max-shm-ids=(priv,256,deny)
&lt;/pre&gt;
&lt;p&gt;When a project name begin with the pattern &lt;code&gt;user.&lt;/code&gt;, the project
will automatically be set as the default one for the corresponding user,
without the need to populate the extended user attributes database. Check that
the project is set as the default project for the account
&lt;code&gt;username&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;
# id -p username
uid=100(username) gid=100(groupname) projid=1000(user.username)
#
# projects -d username
user.username
&lt;/pre&gt;
&lt;p&gt;After a login phase using the &lt;code&gt;username&lt;/code&gt; identity, the programs
&lt;code&gt;progname&lt;/code&gt; is launched. We can confirm the use of shared memory
segments under the context of the project &lt;code&gt;user.username&lt;/code&gt;, and we
can consult the programs statistics report.&lt;/p&gt;
&lt;pre&gt;
# ipcs -mJ
IPC status from  as of Wed Oct 29 11:39:59 CET 2008
T         ID KEY        MODE    OWNER     GROUP       PROJECT
Shared Memory:
m 1409286255   0 --rw-rw-rw- username groupname user.username
m  469762152   0 --rw-rw-rw- username groupname user.username
m         56   0 --rw-rw-rw- username groupname user.username
#
# prstat -n5 -cJ
   PID USERNAME  SIZE   RSS STATE PRI NICE    TIME  CPU PROCESS/NLWP
  3704 username  373M  284M cpu24   2   10 0:07:37 2.1% progname/26
  6785 username  285M  196M sleep  29   10 0:04:13 1.1% progname/26
  4480 username  785M  697M sleep  29   10 0:11:40 1.1% progname/26
  5836 username  293M  204M sleep  29   10 0:06:31 1.0% progname/26
  7635 username  277M  188M sleep  29   10 0:01:00 0.9% progname/26
PROJID    NPROC  SWAP   RSS MEMORY      TIME  CPU PROJECT
  1000       26 6472M 6333M    26%   3:57:24  23% user.username
     1       17   41M   87M   0.4%   2:39:58 0.0% user.root
     0       43  184M  267M   1.1%   4:07:25 0.0% system
     3        4 5856K   11M   0.0%   0:00:00 0.0% default
Total: 90 processes, 916 lwps, load averages: 4.41, 2.36, 1.04
&lt;/pre&gt;
&lt;p&gt;Last, we can verify the new setting for one &lt;code&gt;progname&lt;/code&gt; instance.
For example for PID 3704:&lt;/p&gt;
&lt;pre&gt;
# prctl -n project.max-shm-ids 3704
process: 3704: bin/progname 54 80 -Xmx192m
NAME    PRIVILEGE       VALUE    FLAG   ACTION      RECIPIENT
project.max-shm-ids
        privileged        256       -   deny                -
        system          16.8M     max   deny                -
&lt;/pre&gt;
&lt;p&gt;The resource management facility can do much more than just tuning IPC
settings, such as managing &lt;a href=&quot;http://www.c0t0d0s0.org/archives/4211-Less-known-Solaris-Features-Resource-Management.html&quot; hreflang=&quot;en&quot;&gt;CPU usage, and physical memory control&lt;/a&gt;. It is a more
fine-grained facility than what is in place before Solaris 10, and did not
required a reboot anymore.&lt;/p&gt;
&lt;p&gt;As a last word, we can note that there are command line tools to help
creating and managing projects and extended user attributes for locally stored
databases: respectively &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5166/projadd-1m?a=view&quot; hreflang=&quot;en&quot;&gt;projadd(1M)&lt;/a&gt;, &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5166/projmod-1m?a=view&quot; hreflang=&quot;en&quot;&gt;projmod(1M)&lt;/a&gt;, and &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5166/useradd-1m?a=view&quot; hreflang=&quot;en&quot;&gt;useradd(1M)&lt;/a&gt;, &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5166/usermod-1m?a=view&quot; hreflang=&quot;en&quot;&gt;usermod(1M)&lt;/a&gt;. But since the information sources was hosted in NIS and
LDAP network directories, we did not use them for this test case though.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/11/01/System-V-IPC-Now-Managed-By-Resource-Controls#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/11/01/System-V-IPC-Now-Managed-By-Resource-Controls#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/291374</wfw:commentRss>
      </item>
    
  <item>
    <title>Solaris vs. RHEL Costs And Features Comparisons</title>
    <link>http://blog.thilelli.net/post/2008/10/26/Solaris-vs-RHEL-Costs-And-Features-Comparisons</link>
    <guid isPermaLink="false">urn:md5:fd06580c4d9cd34a0221a623558377cb</guid>
    <pubDate>Sun, 26 Oct 2008 13:25:00 +0100</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>comparison</category>    
    <description>    &lt;p&gt;Clearly, the costs involved in running Solaris and RHEL platforms are not
well understood, and generally favors GNU/Linux environments. This is (most of
the time) untrue, since this tend to be based on personal user experience,
which is in fact far different from running lots of systems in high demand
production data centers.&lt;/p&gt;
&lt;p&gt;Here some interesting readings on these subjects--costs and features
analysis--from:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Jim Laurent, OS Ambassador within Sun and evangelist for the Solaris
OS&lt;br /&gt;
&lt;a href=&quot;http://blogs.sun.com/jimlaurent/entry/solaris_10_costs_less_than&quot; hreflang=&quot;en&quot;&gt;Solaris 10 costs less than Red Hat Enterprise Linux (and does
more)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Paul Murphy, an IT consultant specializing in Unix and related
technologies&lt;br /&gt;
&lt;a href=&quot;http://blogs.zdnet.com/Murphy/?p=1020&quot; hreflang=&quot;en&quot;&gt;Cost comparison:
Solaris/SPARC vs Linux/x86&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Marc Andreessen, creator of the Mosaic web browser, and co-founder of
Netscape Communications&lt;br /&gt;
&lt;a href=&quot;http://www.sun.com/software/solaris/ning.jsp&quot; hreflang=&quot;en&quot;&gt;Solaris is
a better Linux than Linux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Bill Vass, President and Chief Operating Officer of Sun Federal&lt;br /&gt;
&lt;a href=&quot;http://blogs.sun.com/BVass/entry/updated_solaris_vs_rhel_comparison1&quot; hreflang=&quot;en&quot;&gt;UPDATED Solaris vs. RHEL Comparison - to include Microsoft
Windows&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;YMMV for sure, but I personally think that Solaris costs are overestimated,
and its features are mostly unknown, or at least underused... but this is a
very large and hot topic nowadays, I know.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update #1 (2008-11-14):&lt;/em&gt; Go to read interesting comment update from
Jim Laurent.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update #2 (2008-12-02):&lt;/em&gt; Go to read Joerg Moellenkamp's entry about
&lt;a href=&quot;http://www.c0t0d0s0.org/archives/5070-About-migrations.html&quot; hreflang=&quot;en&quot;&gt;similar points&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update #3 (2008-12-03):&lt;/em&gt; Go to read this article appearing in
&lt;a href=&quot;http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;amp;articleId=9121382&quot; hreflang=&quot;en&quot;&gt;Computerworld.com&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/10/26/Solaris-vs-RHEL-Costs-And-Features-Comparisons#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/10/26/Solaris-vs-RHEL-Costs-And-Features-Comparisons#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/286157</wfw:commentRss>
      </item>
    
  <item>
    <title>Discrepancies Between df And du Outputs</title>
    <link>http://blog.thilelli.net/post/2008/10/18/Discrepancies-Between-df-And-du-Outputs</link>
    <guid isPermaLink="false">urn:md5:883b8e3c85229f841829d3baabf0fc66</guid>
    <pubDate>Sat, 18 Oct 2008 13:03:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>df</category><category>du</category><category>UFS</category><category>ZFS</category>    
    <description>    &lt;p&gt;As a SA, it not uncommon to have regularly requests about big differences
between the &lt;code&gt;du&lt;/code&gt; and &lt;code&gt;df&lt;/code&gt; outputs on a UFS file system.
(For ZFS specific considerations, please see the &lt;a href=&quot;http://hub.opensolaris.org/bin/view/Community+Group+zfs/faq#HWhydoesdu1reportdifferentfilesizesforZFSandUFSWhydoesntthespaceconsumptionthatisreportedbythedfcommandandthezfslistcommandmatch&quot; hreflang=&quot;en&quot;&gt;ZFS FAQ&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;du&lt;/code&gt; utility reports the sum of space allocated to all files
in the file hierarchy rooted in the directory plus the space allocated to the
directory itself. The &lt;code&gt;df&lt;/code&gt; utility reports the amount of disk space
occupied by a mounted file system.&lt;/p&gt;
&lt;p&gt;When a file is remove from the file system, i.e. is unlinked (the hard link
count goes to zero), the space belonging to this file is accounted against the
&lt;code&gt;du&lt;/code&gt; tool, but is not visible to the &lt;code&gt;df&lt;/code&gt; utility until
all references to it (open file descriptors) are closed. In order to find the
guilty process, one can follow the information found in the &lt;a href=&quot;ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq.html#5.10&quot; hreflang=&quot;en&quot;&gt;SunManagers Frequently Asked Questions&lt;/a&gt;. Here is an example of such
finding, but using a slightly different method to get the process currently
holding the open descriptor to the deleted file.&lt;/p&gt;
&lt;p&gt;Find the file which has been unlinked through the &lt;code&gt;procfs&lt;/code&gt;
interface:&lt;/p&gt;
&lt;pre&gt;
# find /proc/*/fd \( -type f -a ! -size 0 -a -links 0 \) -print | xargs \ls -li
 415975 --w-------   0 user  group  2125803025 Oct 15 23:59 /proc/1252/fd/3
&lt;/pre&gt;
&lt;p&gt;Eventually, get more detail about it:&lt;/p&gt;
&lt;pre&gt;
# pargs -c 1252
1252:   rvd.basic -reliability 5 -listen tcp:9876 -logfile /path/to/log/rvd_9876.l
argv[0]: rvd.basic
argv[1]: -reliability
argv[2]: 5
argv[3]: -listen
argv[4]: tcp:9876
argv[5]: -logfile
argv[6]: /path/to/log/rvd_9876.log
&lt;/pre&gt;
&lt;p&gt;Check to see if you can understand what is the content of the unlinked
file:&lt;/p&gt;
&lt;pre&gt;
# tail /proc/1252/fd/3
-------------------------------------------------------------------------------
2008-10-15 23:59:32.002116 - [MSG] BBG_Transmitter_class.cc, line 792 (thread 25087:4)
[4060] Sent a heartbeat
-------------------------------------------------------------------------------
BBG_Transmitter_class.cc: [4111] No activity detected. Send a Heartbeat message
-------------------------------------------------------------------------------
2008-10-15 23:59:32.134829 - [MSG] BBG_Transmitter_class.cc, line 1138 (thread 25087:4)
[4065] Heartbeat acknowledged by Bloomberg
&lt;/pre&gt;
&lt;p&gt;You can correlate the size of the removed, but always referenced, file to
the space accounted from the &lt;code&gt;du&lt;/code&gt; and &lt;code&gt;df&lt;/code&gt; tools:&lt;/p&gt;
&lt;pre&gt;
# df -k /path/to
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d5       6017990 5874592   83219    99%    /path/to
# du -sk /path/to
3791632 /data
# echo &amp;quot;(5874616-3791632)*1024&amp;quot; | bc
2132975616
&lt;/pre&gt;
&lt;p&gt;So, we now found the ~2GB log file which was always opened (used) by a
process. Now, there are two solutions to be able to get back the freed
space:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Truncate the unlinked file (quick workaround).&lt;/li&gt;
&lt;li&gt;Simply restart properly the corresponding program (better option).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Use the solution which fits the best your need in your environment.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/10/18/Discrepancies-Between-df-And-du-Outputs#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/10/18/Discrepancies-Between-df-And-du-Outputs#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/287659</wfw:commentRss>
      </item>
    
  <item>
    <title>Anatomy Of An Attack</title>
    <link>http://blog.thilelli.net/post/2008/10/11/Anatomy-Of-An-Attack</link>
    <guid isPermaLink="false">urn:md5:d760cb69f8f189ae28796d208a5c95e3</guid>
    <pubDate>Sat, 11 Oct 2008 21:53:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>OpenSolaris</category>
            
    <description>    &lt;p&gt;Well, although I didn't generally give credibility by speaking about public
FUD, I will just let you know about &lt;a href=&quot;http://www.cuddletech.com/blog/pivot/entry.php?id=972&quot; hreflang=&quot;en&quot;&gt;really
great&lt;/a&gt;, and &lt;a href=&quot;http://blogs.zdnet.com/Murphy/?p=1268&quot; hreflang=&quot;en&quot;&gt;point by point explanations&lt;/a&gt; on the recent InfoWorld (and New York
Times) publication from Paul Krill &lt;a href=&quot;http://www.infoworld.com/d/networking/sun-solaris-its-deathbed-837&quot; hreflang=&quot;en&quot;&gt;Is Sun Solaris on its deathbed?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As &lt;a href=&quot;http://www.opensolaris.org//viewProfile.jspa?id=863&quot; hreflang=&quot;en&quot;&gt;Jim Grisanzio&lt;/a&gt; stated recently on the &lt;code&gt;advocacy-discuss&lt;/code&gt;
mailing list:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;[...] More importantly, though, is that the original article not only fell
flat but it was actually aggressively rejected by many in the open source
community. That's an interesting shift out there. And a good one, too.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Well, I can't agree more with Jim on &lt;a href=&quot;http://blogs.sun.com/jimgris/entry/deathbed&quot; hreflang=&quot;en&quot;&gt;his points&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update #1 (2008-10-28):&lt;/em&gt; Don't forget to read the &lt;a href=&quot;http://www.c0d0s0.org/archives/4943-Is-the-Linux-community-afraid-of-Opensolaris.html&quot; hreflang=&quot;en&quot;&gt;interesting inputs&lt;/a&gt; from Joerg Moellenkamp.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/10/11/Anatomy-Of-An-Attack#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/10/11/Anatomy-Of-An-Attack#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/286105</wfw:commentRss>
      </item>
    
  <item>
    <title>Fake The hostid Of A Solaris Zone, Updated</title>
    <link>http://blog.thilelli.net/post/2008/10/06/Fake-The-hostid-Of-A-Solaris-Zone-Updated</link>
    <guid isPermaLink="false">urn:md5:04e2d6df931b36f284913c5b384a2af8</guid>
    <pubDate>Mon, 06 Oct 2008 15:00:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>DTrace</category><category>hostid</category><category>resource management</category><category>zone</category>    
    <description>    &lt;p&gt;As a little follow-up to &lt;a href=&quot;http://blog.thilelli.net/post/2006/06/17/Fake-the-hostid-of-a-Solaris-Zone&quot; hreflang=&quot;en&quot;&gt;Fake The
hostid Of A Solaris Zone&lt;/a&gt;, and regarding the &lt;a href=&quot;http://www.opensolaris.org/jive/thread.jspa?threadID=77246&quot; hreflang=&quot;fr&quot;&gt;discussion&lt;/a&gt; on the capacity to change the &lt;code&gt;hostid&lt;/code&gt; of a
Solaris non-global zone, it is interesting to mention these (updated)
informations:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The &lt;code&gt;LD_PRELOAD&lt;/code&gt; trick proposed before is not a proper option,
and is really ugly (and intrusive if you didn't unset it before continuing the
execution of a program).&lt;/li&gt;
&lt;li&gt;When using Solaris 8 or Solaris 9 Containers, there is a feature called
&lt;a href=&quot;http://docs.sun.com/app/docs/doc/820-4490/gfrzp?l=en&amp;amp;a=view&quot; hreflang=&quot;en&quot;&gt;Host ID Emulation&lt;/a&gt; from the &lt;code&gt;zonecfg&lt;/code&gt; utility which
can do exactly that.&lt;/li&gt;
&lt;li&gt;Before the introduction of the privileges in a non-global zone with Solaris
11/06 (a.k.a. Solaris Update 3), you must run the DTrace &lt;code&gt;zhostid&lt;/code&gt;
script (daemon) within the global zone. It is not mandatory to run it from the
global zone anymore. Using the appropriate &lt;code&gt;dtrace_user&lt;/code&gt; privilege
only, you can run it directly from the non-global zone:
&lt;pre&gt;
# zonecfg -z ngzone set limitpriv=default,dtrace_user
# zoneadm -z ngzone boot
# zlogin ngzone
[Connected to zone 'ngzone' pts/5]
Last login: Sat Oct  4 18:57:17 on pts/5
Sun Microsystems Inc.   SunOS 5.11      snv_99  November 2008
# /sbin/zonename 
ngzone
# /usr/bin/hostid
837d47dd
# ./zhostid &amp;amp;
[1] 21506
# /usr/bin/hostid
20a82f32
# ^D
[Connection to zone 'ngzone' pts/5 closed]
&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/10/06/Fake-The-hostid-Of-A-Solaris-Zone-Updated#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/10/06/Fake-The-hostid-Of-A-Solaris-Zone-Updated#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/283531</wfw:commentRss>
      </item>
    
  <item>
    <title>Sun's Free Proficiency Assessment System</title>
    <link>http://blog.thilelli.net/post/2008/09/29/Sun-s-Free-Proficiency-Assessment-System</link>
    <guid isPermaLink="false">urn:md5:5709e49c3aa6c153e75c8dc49daea354</guid>
    <pubDate>Mon, 29 Sep 2008 08:21:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
            
    <description>    &lt;p&gt;&lt;q&gt;Free. Online. Right now.&lt;/q&gt; As Peter Tribble &lt;a href=&quot;http://ptribble.blogspot.com/2008/09/would-you-pass.html&quot; hreflang=&quot;en&quot;&gt;mentioned in his blog&lt;/a&gt;, it is clearly not perfect and some questions
(and answers) seems a little obscure sometimes. Nonetheless, as I have never
had any (yes, any) formal training, I though interesting to try these tests,
and here are the results for pre-assessment for:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;UNIX Essentials Featuring the Solaris 10 OS, I scored 37 out of 42.&lt;/li&gt;
&lt;li&gt;Sun Certified System Administrator for the Solaris 10 OS (Part 1), I scored
45 out of 48.&lt;/li&gt;
&lt;li&gt;Certified System Administrator for the Solaris 10 OS (Part 2), I scored 45
out of 48.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Maybe, is it time to pass to official &lt;a href=&quot;http://www.sun.com/training/certification/resources/paths.html&quot; hreflang=&quot;en&quot;&gt;Solaris Operating System certifications&lt;/a&gt;? ;)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sun Certified Solaris Associate (SCSAS)&lt;/li&gt;
&lt;li&gt;Sun Certified System Administrator (SCSA)&lt;/li&gt;
&lt;li&gt;Sun Certified Network Administrator (SCNA)&lt;/li&gt;
&lt;li&gt;Sun Certified Security Administrator (SCSECA)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Well... if time permit!&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/09/29/Sun-s-Free-Proficiency-Assessment-System#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/09/29/Sun-s-Free-Proficiency-Assessment-System#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/281077</wfw:commentRss>
      </item>
    
  <item>
    <title>About GNU/Linux Software Mirroring And LVM</title>
    <link>http://blog.thilelli.net/post/2008/09/22/About-GNU/Linux-Software-Mirroring-And-LVM</link>
    <guid isPermaLink="false">urn:md5:058854e613ba6060bed32c008817a104</guid>
    <pubDate>Mon, 22 Sep 2008 09:43:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>GNU/Linux</category>
        <category>LVM</category><category>MPxIO</category><category>RAID</category>    
    <description>    &lt;p&gt;Here, the final aim was to provide data access redundancy through SAN
storage hosted on remote sites across Wide Area Network (WAN) links. After some
relatively long and painful tries to mimic software mirroring as found on HP-UX
platform using Logical Volume Management (LVM), i.e. at the &lt;a href=&quot;http://blog.thilelli.net/post/2008/02/15/LVM2-Simple-Mirroring-On-RHEL4&quot; hreflang=&quot;en&quot;&gt;logical volume
level&lt;/a&gt;, I finally give up deciding this &lt;em&gt;functionality&lt;/em&gt; will
definitely not fit my need. Why? Here are my comments.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It is not possible to provide clear and manageable storage multipath when
the need to distinguish between the multiple sites is important, ala mirror
across controllers found on Veritas VxVM on Sun Solaris system, for example.
So, managing many physical volumes along with lots of logical volumes is very
complicated.&lt;/li&gt;
&lt;li&gt;There is no exact mapping capability between logical volume storage on a
given physical volume.&lt;/li&gt;
&lt;li&gt;The need to have a disk-based log, i.e. a persistent log. Yes, one can
always provide the option &lt;code&gt;--corelog&lt;/code&gt; at the creation time to the
logical volume initial build and have an in-memory log , i.e. a non-persistent
log, but this requires the entire copies (mirrors) be resynchronized upon
reboot. Not really viable on multi-TB environments.&lt;/li&gt;
&lt;li&gt;A write-intensive workload on a file system living on a logical volume
mirror will suffer high latency: the overhead is important, and the time to do
mostly-write jobs grow dramatically. It is really hard to get high level
statistics, only low level metrics seems consistent: &lt;code&gt;sd&lt;/code&gt; SCSI
devices and &lt;code&gt;dm-&lt;/code&gt; device mapper components for each paths entries.
Not from the multipath devices standpoint, which is the more interesting from
the end user and SA point of view.&lt;/li&gt;
&lt;li&gt;You can't extend a logical volume, which is really a &lt;strong&gt;no-go&lt;/strong&gt;
per-se. On that point, the Red Hat support answered that this functionality may
be added in a future release, the current state &lt;q&gt;&lt;em&gt;may eventually be a
Request For Enhancement (RFE), if a proper business justification is
provided&lt;/em&gt;&lt;/q&gt;. One must break the logical volume mirror copy, then rebuild
it completely. Not realistic when the logical volume is made of a lot of
physical extents across multiple physical volumes.&lt;/li&gt;
&lt;li&gt;A LVM configuration can be totally blocked by itself, and not usable at
all. The fact is, LVM use persistent storage blocks to keep track of its own
metadata. The metadata size is set at physical volume creation time only, and
can't be change afterward. This size is statically defined as 255 physical
volume blocks, and can be adjust from the LVM configuration file. The problem
is, when this circular buffer space (stored in ASCII) fills up--such as when
there are a lot of logical volumes in a mirrored environment--it is not
possible to do &lt;strong&gt;anything more&lt;/strong&gt; with LVM. So you can't add more
logical volume, can't add more logical volume copies,... and can't delete them
trying to reestablish a proper LVM configuration. Well, here are the answers
given by the Red Hat support to two keys questions in this situation:
&lt;ul&gt;
&lt;li&gt;How to size the metadata, i.e. if we need to change it from the default
value, how can we determine the new proper and appropriate size, and from which
information?&lt;br /&gt;
&lt;q&gt;&lt;em&gt;I am afraid but Metadata size can only be defined at the time of PV
creation and there is no real formula for calculating the size in advance. By
changing the default value of 255 you can get a higher space value. For general
LVM setup (with less LV's and VG's) default size works fine however in cases
where high number of LV's are required a custom value will be
required.&lt;/em&gt;&lt;/q&gt;&lt;/li&gt;
&lt;li&gt;We just want to delete all LV copies, which means to return to the initial
situation and have 0 copy for all LV, i.e. only one LV per-se, in order to be
able to change LVM configuration again (we can't do anything on our production
server right now)?&lt;br /&gt;
&lt;q&gt;&lt;em&gt;I discussed this situation with peer engineers and also referenced a
similar previous case. From the notes of the same the workaround is to use the
backup file (/etc/lvm/backup) and restore the PV's. I agree that this really
not a production environment method however seems the only
workaround.&lt;/em&gt;&lt;/q&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So, the production RDBMS Oracle server is finally now being evacuate to an
other machine. Hum... Hope to see better enterprise experience using the
&lt;code&gt;mdadm&lt;/code&gt; package to handle RAID software, instead of mirror (RAID-1)
LVM. Maybe more about that in an other blog entry?&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/09/22/About-GNU/Linux-Software-Mirroring-And-LVM#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/09/22/About-GNU/Linux-Software-Mirroring-And-LVM#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/278244</wfw:commentRss>
      </item>
    
  <item>
    <title>Announcing Solaris 10 10/08</title>
    <link>http://blog.thilelli.net/post/2008/09/16/Announcing-Solaris-10-10/08</link>
    <guid isPermaLink="false">urn:md5:99eabba30409ea6946400a28f6570a3b</guid>
    <pubDate>Tue, 16 Sep 2008 19:16:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>ZFS</category>    
    <description>    &lt;p&gt;Although this seems a little bit confident, the long-awaited Update 6 to the
Solaris 10 operating system release is just behind the door. This release
(scheduled to be available in mid-October) will &lt;q&gt;&lt;em&gt;includes virtualization
enhancements including the ability for a Solaris Container to automatically
update its environment when moved from one system to another, Logical Domains
support for dynamically reconfigurable disk and network I/O, and
paravirtualization support when Solaris 10 is used as a guest OS in Xen-based
environments such as Sun xVM Server. Solaris 10 10/08 also includes support for
the latest systems from Sun and other vendors, such as those based on the Intel
Xeon Processor 7400 Series&lt;/em&gt;&lt;/q&gt;.&lt;/p&gt;
&lt;p&gt;This release will be the very first Solaris release to be able to boot from
&lt;a href=&quot;http://www.opensolaris.org/os/community/zfs/&quot; hreflang=&quot;en&quot;&gt;ZFS&lt;/a&gt;
and use it as their root file system, such as what can be found on &lt;a href=&quot;http://www.opensolaris.com/&quot; hreflang=&quot;en&quot;&gt;OpenSolaris&lt;/a&gt; or &lt;a href=&quot;http://www.opensolaris.org/os/downloads/&quot; hreflang=&quot;en&quot;&gt;Solaris Express
Community Release&lt;/a&gt; today.&lt;/p&gt;
&lt;p&gt;Check the &lt;a href=&quot;http://www.sun.com/software/solaris/whats_new.jsp&quot; hreflang=&quot;en&quot;&gt;What’s New&lt;/a&gt; web page for Solaris, and consult the &lt;a href=&quot;http://www.sun.com/software/solaris/media/k5_media.jsp#solaris1&quot; hreflang=&quot;en&quot;&gt;Solaris Media Gallery&lt;/a&gt; videos for more information.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update #1 (2008-10-14):&lt;/em&gt; Don't forget to consult the &lt;strong&gt;must
read&lt;/strong&gt; &lt;a href=&quot;http://www.opensolaris.org/os/project/alamo-osug/events/Whats_New_in_Solaris_10u6.pdf&quot; hreflang=&quot;en&quot;&gt;What's New in Solaris 10 10/08?&lt;/a&gt; from the San Antonio
OpenSolaris User Group.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Update #2 (2008-10-31):&lt;/em&gt; &lt;a href=&quot;http://www.sun.com/software/solaris/get.jsp&quot; hreflang=&quot;en&quot;&gt;Get yours&lt;/a&gt;, and
go reading the official &lt;a href=&quot;http://docs.sun.com/app/docs/doc/817-0547/ghgdx?a=view&quot; hreflang=&quot;en&quot;&gt;What's
New in the Solaris 10 10/08 Release&lt;/a&gt; page.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/09/16/Announcing-Solaris-10-10/08#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/09/16/Announcing-Solaris-10-10/08#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/278780</wfw:commentRss>
      </item>
    
  <item>
    <title>Comparison: EMC PowerPath vs. GNU/Linux dm-multipath</title>
    <link>http://blog.thilelli.net/post/2009/02/09/Comparison%3A-EMC-PowerPath-vs-GNU/Linux-dm-multipath</link>
    <guid isPermaLink="false">urn:md5:abe569db79d64f7d6064481a1f0a0a85</guid>
    <pubDate>Fri, 16 May 2008 21:10:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>GNU/Linux</category>
        <category>EMC</category><category>MPxIO</category>    
    <description>    &lt;p&gt;I will present some notes about the use of multipath solutions on Red Hat
systems: EMC PowerPath and GNU/Linux dm-multipath. Along those notes, keep in
mind that they were based on tests done when pressure was very high to put new
systems in production, so lack of time resulted in less complete tests than
expected. These tests were done more than a year ago, and so before the release
of RHEL4 Update 5 and some of RHBA related to both LVM and dm-multipath
technologies.&lt;/p&gt;
&lt;p&gt;Keep in mind that without purchasing an appropriate EMC license, PowerPath
can only be used in failover mode (active-passive mode). Multiple paths
accesses are not supported in this case: no round-robin, and no I/O load
balancer for example.&lt;/p&gt;
&lt;h3&gt;EMC PowerPath&lt;/h3&gt;
&lt;h4&gt;Advantages&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Not specific to the SAN Host Bus Adapter (HBA).&lt;/li&gt;
&lt;li&gt;Support for multiple and heterogeneous SAN storage provider.&lt;/li&gt;
&lt;li&gt;Support for most UNIX and Unix-like platforms.&lt;/li&gt;
&lt;li&gt;Without a valid license, can only work in degraded mode (failover).&lt;/li&gt;
&lt;li&gt;Is not sensible to a change in the SCSI LUN renumbering. Adapt accordingly
the corresponding multiple &lt;code&gt;sd&lt;/code&gt; devices (different paths to a given
device) with its multipath definition of the &lt;code&gt;emcpower&lt;/code&gt; device.&lt;/li&gt;
&lt;li&gt;Provide easily the ID of the SAN storage.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Drawbacks&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Not integrated with the operating system (which generally has its own
solution).&lt;/li&gt;
&lt;li&gt;The need to force a RPM re-installation in case of a kernel upgrade on RHEL
systems (due to the fact that kernel modules are stored in a path containing
the exact major and minor versions of the installed (booted) kernel.&lt;/li&gt;
&lt;li&gt;Non-automatic update procedure.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;GNU/Linux device-mapper-multipath&lt;/h3&gt;
&lt;h4&gt;Advantages&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Not specific to the SAN Host Bus Adapter (HBA).&lt;/li&gt;
&lt;li&gt;Support for multiple and heterogeneous SAN storage provider.&lt;/li&gt;
&lt;li&gt;Well integrated with the operating system.&lt;/li&gt;
&lt;li&gt;Automatic update using RHN (you must be a licensed and registered user in
this case).&lt;/li&gt;
&lt;li&gt;No &lt;em&gt;additional&lt;/em&gt; license cost.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Drawbacks&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Only available on GNU/Linux systems.&lt;/li&gt;
&lt;li&gt;Configuration (files and keywords) very tedious and difficult.&lt;/li&gt;
&lt;li&gt;Without the use of LVM (Logical Volume Management), it has not the ability
to follow SCSI LUN renumbering! Even in this case, be sure not to have
blacklisted the newly discovered SCSI devices (&lt;code&gt;sd&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Last, please find some interesting documentation on the subject below:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://kbase.redhat.com/faq/FAQ_51_7170.shtm&quot; hreflang=&quot;en&quot;&gt;How do
I setup device-mapper multipathing in RHEL4?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://secure.linux.ncsu.edu/moin/RealmLinuxServers/Multipathing&quot; hreflang=&quot;en&quot;&gt;Setting Up Multipathing for Storage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://web.archive.org/web/20080730024024/http://people.redhat.com/nayfield/storage/RHEL4Storage.html&quot; hreflang=&quot;en&quot;&gt;Enterprise Storage Quickstart on RHEL4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2009/02/09/Comparison%3A-EMC-PowerPath-vs-GNU/Linux-dm-multipath#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2009/02/09/Comparison%3A-EMC-PowerPath-vs-GNU/Linux-dm-multipath#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/240688</wfw:commentRss>
      </item>
    
  <item>
    <title>PHP APC Extension Bug With Optimized Open Source Software Stack</title>
    <link>http://blog.thilelli.net/post/2008/05/02/PHP-APC-Extension-Bug-With-Optimized-Open-Source-Software-Stack</link>
    <guid isPermaLink="false">urn:md5:3c7a84c26dcd327ce6bd34d4c0da9056</guid>
    <pubDate>Fri, 02 May 2008 15:57:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>Solaris</category>
        <category>bug</category><category>PHP</category>    
    <description>    &lt;p&gt;To easily manage LDAP accounts (and general LDAP entries in fact), we have
created a &lt;a href=&quot;http://dlc.sun.com/osol/docs/content/SYSADRM/zones.intro-1.html&quot; hreflang=&quot;en&quot;&gt;Solaris Zone&lt;/a&gt; and installed the excellent &lt;a href=&quot;http://cooltools.sunsource.net/coolstack/&quot; hreflang=&quot;en&quot;&gt;Cool Stack bundle&lt;/a&gt;
to host the LAM (&lt;a href=&quot;http://lam.sourceforge.net/&quot; hreflang=&quot;en&quot;&gt;LDAP
Account Manager&lt;/a&gt;) management web tool. But after upgrading the Cool Stack to
version 1.2 we encountered a very annoying problem mostly with freezing web
pages, and generally ending up in restarting the Apache web server provided by
the Cool Stack. After some troubleshooting, we discover that this behavior was
&lt;a href=&quot;http://forums.sun.com/thread.jspa?threadID=5254435&quot; hreflang=&quot;en&quot;&gt;introduced by a bug&lt;/a&gt; in the &lt;code&gt;APC-3.0.14&lt;/code&gt; module bundled with
the updated &lt;code&gt;php-5.2.4&lt;/code&gt; scripting software in this version of the
Cool Stack.&lt;/p&gt;
&lt;p&gt;Luckily, the bug was already fixed and a new version of the APC extension of
PHP is available for download (in fact, just replace to original
&lt;code&gt;apc.so&lt;/code&gt; module by the new one). All the Cool Stack related
problems, associated fixes and instructions are listed on the &lt;a href=&quot;http://cooltools.sunsource.net/coolstack/csk12patches.html&quot; hreflang=&quot;en&quot;&gt;Cool
Stack 1.2 Patches&lt;/a&gt; page: be sure to keep in sync' if you are a Cool Stack
consumer.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/05/02/PHP-APC-Extension-Bug-With-Optimized-Open-Source-Software-Stack#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/05/02/PHP-APC-Extension-Bug-With-Optimized-Open-Source-Software-Stack#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/240691</wfw:commentRss>
      </item>
    
  <item>
    <title>memconf And AMD Athlon 64 X2 Dual Core Processor</title>
    <link>http://blog.thilelli.net/post/2008/04/28/memconf-And-AMD-Athlon-64-X2-Dual-Core-Processor</link>
    <guid isPermaLink="false">urn:md5:794ece4a7c6b76dc0b4c1f2b692bff43</guid>
    <pubDate>Mon, 28 Apr 2008 18:25:00 +0200</pubDate>
    <dc:creator>Julien Gabel</dc:creator>
        <category>OpenSolaris</category>
        <category>memory</category><category>x86</category>    
    <description>    &lt;p&gt;The last update to the excellent &lt;code&gt;memconf&lt;/code&gt; utility (V2.5
22-Feb-2008) support properly recent Solaris Express releases, and my recent
change from the stock AMD Opteron Processor 148 to an AMD Athlon 64 X2 Dual
Core Processor 3800+. (I mostly did that change just to be able to access two
run queues separately, not to gain more power &lt;em&gt;per se&lt;/em&gt;.)&lt;/p&gt;
&lt;p&gt;So, here is the new and appropriate &lt;code&gt;memconf&lt;/code&gt; report:&lt;/p&gt;
&lt;pre&gt;
# memconf -d
memconf:  V2.5 22-Feb-2008 http://www.4schmidts.com/unix.html
hostname: unic
manufacturer: Sun Microsystems, Inc.
model:    Sun Ultra 20 Workstation (AMD Athlon(tm) 64 X2 Dual Core \
 Processor 3800+ Socket 939 2010MHz)
Sun Family Part Number: A63
Solaris Express Community Edition snv_87 X86, 64-bit kernel, SunOS 5.11
1 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Socket 939 2010MHz cpu
diagbanner = Sun Ultra 20 Workstation
cpubanner = AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Socket 939 2010MHz
model = Sun Ultra 20 Workstation
machine = i86pc
platform = i86pc
perl version: 5.008004
CPU Units:
==== Processor Sockets ====================================
Version                          Location Tag
-------------------------------- --------------------------
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Socket 939
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Socket 939
Memory Units:
Type    Status Set Device Locator      Bank Locator
------- ------ --- ------------------- --------------------
unknown in use 0   A0                  Bank0/1
unknown in use 0   A1                  Bank2/3
unknown in use 0   A2                  Bank4/5
unknown in use 0   A3                  Bank6/7
total memory = 2048MB (2GB)
&lt;/pre&gt;
&lt;p&gt;You can check and compare with the previous report &lt;a href=&quot;http://blog.thilelli.net/post/2006/12/04/memconf-Update&quot; hreflang=&quot;en&quot;&gt;on my blog&lt;/a&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.thilelli.net/post/2008/04/28/memconf-And-AMD-Athlon-64-X2-Dual-Core-Processor#comment-form</comments>
      <wfw:comment>http://blog.thilelli.net/post/2008/04/28/memconf-And-AMD-Athlon-64-X2-Dual-Core-Processor#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.thilelli.net/feed/atom/comments/240791</wfw:commentRss>
      </item>
    
</channel>
</rss>