<?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>blog.bitingbytes.de</title>
	<atom:link href="http://www.bitingbytes.de/cms/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.bitingbytes.de/cms</link>
	<description>Linux, Solaris, HA Clustering, SAN...</description>
	<lastBuildDate>Wed, 01 Feb 2012 18:45:11 +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>Netzwerk-Bridge ohne IP-Adresse mit Debian einrichten</title>
		<link>http://www.bitingbytes.de/cms/?p=131</link>
		<comments>http://www.bitingbytes.de/cms/?p=131#comments</comments>
		<pubDate>Wed, 01 Feb 2012 18:45:11 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Debian Bridge Network Xen]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/cms/?p=131</guid>
		<description><![CDATA[Es gibt Xen-Setups wo es notwendig ist eine Network-Bridge ohne IP-Adresse einzurichten. Statt mit den Xen-eigenen Scripten (network-script more-network-bridges) zu arbeiten, kann man die Bridge mit Debian Boardmitteln konfigurieren. Dafür müssen lediglich die bridge-utils installiert sein. Funktioniert mit Lenny und Squeeze. Setup &#8230; <a href="http://www.bitingbytes.de/cms/?p=131">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Es gibt Xen-Setups wo es notwendig ist eine Network-Bridge ohne IP-Adresse einzurichten. Statt mit den Xen-eigenen Scripten (network-script more-network-bridges) zu arbeiten, kann man die Bridge mit Debian Boardmitteln konfigurieren. Dafür müssen lediglich die<em> bridge-utils</em> installiert sein. Funktioniert mit Lenny und Squeeze.</p>
<p>Setup eth2 als Bridge: /etc/network/interfaces</p>
<pre>auto br2
iface br2 inet manual
      bridge_maxwait 5
      bridge_ports eth2</pre>
<p>Xen-Domain &#8220;myxen&#8221;, Konfiguration in /etc/xen/&lt;myxenconfig&gt;:</p>
<pre>[...]
vif = [ 'bridge=br2' ]
[..]</pre>
<p>Die IP-Adresse wird dann direkt in der Xen-Domain konfiguriert.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=131</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris, Sun Cluster und div. Sun Cheat Sheets</title>
		<link>http://www.bitingbytes.de/cms/?p=91</link>
		<comments>http://www.bitingbytes.de/cms/?p=91#comments</comments>
		<pubDate>Sat, 13 Feb 2010 22:45:37 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Sun Cluster]]></category>
		<category><![CDATA[HA Cluster]]></category>
		<category><![CDATA[OBP]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[SVM]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/cms/?p=91</guid>
		<description><![CDATA[Sun Solaris und Cluster Cheat Sheets, Quick References <a href="http://www.bitingbytes.de/cms/?p=91">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nützliche Cheat Sheets für Solaris und Sun Cluster, die man auf die Schnelle immer malwieder gebrauchen kann:</p>
<h3><strong>Cluster</strong></h3>
<ul>
<li><strong>Sun Cluster 3.1 und 3.2 Commands</strong><br />
Sun Cluster Information, Device Group Operations, Resource &amp; Resource Group Operations, Quorum Operations, Boot Operations, Examples etc.<br />
<a title="http://blogs.sun.com/js/resource/SC_quickreference.pdf" href="http://blogs.sun.com/js/resource/SC_quickreference.pdf" target="_blank">http://blogs.sun.com/js/resource/SC_quickreference.pdf</a></li>
<li><strong>Sun Cluster Quick Reference</strong><br />
<a href="http://dlc.sun.com/pdf/819-6811/819-6811.pdf" target="_blank">http://dlc.sun.com/pdf/819-6811/819-6811.pdf</a></li>
</ul>
<h3><strong>Volume Management</strong></h3>
<ul>
<li><strong>Solaris Volume Manager (SVM)</strong><br />
Metadevice State Database, Metaset Operations, Metadevice Operations<br />
<a title="http://blogs.sun.com/js/resource/SVM_quickreference.pdf" href="http://blogs.sun.com/js/resource/SVM_quickreference.pdf" target="_blank">http://blogs.sun.com/js/resource/SVM_quickreference.pdf</a></li>
</ul>
<h3><strong>Solaris Administration</strong></h3>
<ul>
<li><strong>Solaris 10 System Administration</strong><br />
Basic Administration<br />
<a title="http://johnellaverilla.com/files/solaris10_quickref_basic.pdf" href="http://johnellaverilla.com/files/solaris10_quickref_basic.pdf" target="_blank">http://johnellaverilla.com/files/solaris10_quickref_basic.pdf</a></li>
<li><strong>Solaris 10 System Administration</strong><br />
Advanced Administration<br />
<a title="http://johnellaverilla.com/files/solaris10_quickref_advanced.pdf" href="http://johnellaverilla.com/files/solaris10_quickref_advanced.pdf" target="_blank">http://johnellaverilla.com/files/solaris10_quickref_advanced.pdf</a></li>
<li><strong>Solaris Jumpstart</strong><br />
<a href="http://www.datadisk.co.uk/html_docs/sun/jumpstart.htm" target="_self">http://www.datadisk.co.uk/html_docs/sun/jumpstart.htm</a></li>
</ul>
<h3><strong>Hardware</strong></h3>
<ul>
<li><strong>Sun OpenBoot PROM Quick Reference Card</strong><br />
<a href="http://sysunconfig.net/unixtips/SunOBP_Quick_Ref.pdf" target="_blank">http://sysunconfig.net/unixtips/SunOBP_Quick_Ref.pdf<br />
</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=91</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Etch 4.0 mit NFSv3 ohne ACLs</title>
		<link>http://www.bitingbytes.de/cms/?p=53</link>
		<comments>http://www.bitingbytes.de/cms/?p=53#comments</comments>
		<pubDate>Thu, 28 Aug 2008 18:10:45 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[noacl]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/cms/?p=53</guid>
		<description><![CDATA[Leider unterstützt Debian Etch 4.0 im Gegensatz zu Ubuntu, RedHat und SuSE die Mount-Option &#8220;noacl&#8221; in Verbindung mit NFS-Mounts nicht. Der Verzicht auf ACLs ist aber gerade in Verbindung mit Solaris und ZFS im Backend hilfreich, denn dann muss auf &#8230; <a href="http://www.bitingbytes.de/cms/?p=53">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-64" style="border: 0pt none;" title="debianorig_s" src="http://www.bitingbytes.de/cms/wp-content/uploads/2008/08/debianorig_s-300x256.jpg" border="0" alt="" width="100" />Leider unterstützt Debian Etch 4.0 im Gegensatz zu Ubuntu, RedHat und SuSE die Mount-Option &#8220;<strong>noacl</strong>&#8221; in Verbindung mit NFS-Mounts nicht. Der Verzicht auf ACLs ist aber gerade in Verbindung mit Solaris und ZFS im Backend hilfreich, denn dann muss auf den Linux-Clients zwangsläufig NFSv3 ohne ACLs oder gleich NFSv4 genutzt werden, um nicht in Probleme zu laufen (mehr Infos zum Thema: <a href="http://www.bitingbytes.de/cms/?p=30" target="_self">Solaris ZFS+NFSv3 Server und Debian Etch 4.0 als NFS-Client</a>)</p>
<h2>Pakete zum Compilieren</h2>
<p>Um sich aus den Sourcen der nfs-utils einen geeigneten &#8220;Mount-Client&#8221; zu bauen, sind einige Development-Libraries notwendig:</p>
<pre><code>$ apt-get install libwrap0-dev libevent0-dev libevent-dev libnfsidmap libnfsidmap-dev pkg-config librpcsecgss-dev librpcsecgss-dev librpcsecgss3 libgssapi-dev libgssapi2</code></pre>
<h2>Compilieren</h2>
<p>Es reicht aus nach dem Konfigurieren make im Unterverzeichnis ./utils auszuführen:</p>
<pre>
<code>$ wget http://www.sfr-fresh.com/fresh/linux/misc/nfs-utils-1.1.3.tar.gz
$ tar -xzf nfs-utils-1.1.3.tar.gz
$ cd ./nfs-utils-1.1.3/
$ ./configure --enable-gss=no
$ cd utils
$ make
[...]</code>
</pre>
<p>Das fertige &#8220;mount.nfs&#8221; muss dann nur noch aus dem Ordner ./utils/mount/ nach /sbin kopiert werden.</p>
<h2>Test</h2>
<h3>NFS-Mount in /etc/fstab eintragen:</h3>
<pre><code>
myserver:/proj            /proj         nfs    rw,noacl,noatime 0 0
</code></pre>
<h3>NFS-Share einbinden</h3>
<pre><code>
$ mount /proj
$ mount
myserver:/proj on /proj type nfs (rw,noatime,<strong>noacl</strong>,addr=192.168.1.72)
[...]</code></pre>
<p>Mit strace sieht man, dass &#8220;mount&#8221; automatisch prüft, ob es das Binary &#8220;/sbin/mount.nfs&#8221; gibt. Sofern es vorhanden ist, wird es auch benutzt.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=53</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris ZFS+NFSv3 Server und Debian Etch 4.0 als NFS-Client</title>
		<link>http://www.bitingbytes.de/cms/?p=30</link>
		<comments>http://www.bitingbytes.de/cms/?p=30#comments</comments>
		<pubDate>Wed, 30 Jul 2008 18:06:51 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[NFSv3]]></category>
		<category><![CDATA[NFSv4]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/cms/?p=30</guid>
		<description><![CDATA[Wenn ein Solaris ZFS-Filesystem per NFSv3 auf einen Debian Etch Client exportiert wird, gibt es Probleme beim Kopieren von Dateien und Verzeichnissen mit &#8220;cp -p&#8221;. Eine Kopie wird zwar erzeugt, aber mit der Fehlermeldung &#8220;cp: preserving permissions &#8230; Operation not &#8230; <a href="http://www.bitingbytes.de/cms/?p=30">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wenn ein Solaris ZFS-Filesystem per NFSv3 auf einen Debian Etch Client exportiert wird, gibt es Probleme beim Kopieren von Dateien und Verzeichnissen mit &#8220;cp -p&#8221;. Eine Kopie wird zwar erzeugt, aber mit der Fehlermeldung &#8220;cp: preserving permissions &#8230; Operation not supported&#8221; quittiert. Beispiel:</p>
<pre><code>
keller@nfs-client:/projekte/ake$ cp -p alex2 alex7
cp: preserving permissions for alex7</code>: Die Operation wird nicht unterstutzt
cp: preserving ACL for alex7: Die Operation wird nicht unterstutzt</pre>
<p>Ein ziemlicher Show-Stopper, wenn man zahlreiche Debian-Clients hat und darauf angewiesen ist, dass &#8220;cp -p&#8221; in automatischen Workflows einwandfrei funktioniert und nicht mit Fehler 1 aussteigt ;-)</p>
<h2>Ursache</h2>
<p>Die Diagnose ist nach etwas Suchen gefunden: NFSv3 unterstützt die ACLs von ZFS nicht. Das ist eigentlich alles&#8230;</p>
<h2>Lösung</h2>
<p>Es gibt mehrere Möglichkeiten mit dem Problem umzugehen:</p>
<ul>
<li>von NFSv3 auf NFSv4 umsteigen, denn NFSv4 unterstuetzt die ZFS ACLs.</li>
<li>Debian 4.0 durch Ubuntu 8.04 ersetzen und die Mountoption &#8220;<em>noacl</em>&#8221; mit NFSv3 benutzen. Keine Ahnung woher die Option bei Ubuntu genau kommt, aber bei Debian Etch gibts diese nicht (evtl. ältere mount utilities&#8230;)</li>
<li>theoretisch lassen sich ZFS-ACLs ausschalten (<em>zfs set aclinherit=discard</em> und<br />
<em>zfs set aclmode=discard</em>). Praktisch war das Ergebnis aber unverändert.</li>
<li>ZFS durch UFS ersetzen. Ja klar &#8211; sonst noch was ;-)</li>
<li>cp, mv usw. patchen ;-)</li>
</ul>
<h3>Links</h3>
<ul>
<li><a href="http://opensolaris.org/jive/thread.jspa?messageID=240478" target="_blank">OpenSolaris Forum: Disabling ZFS ACL</a></li>
<li><a href="http://opensolaris.org/jive/thread.jspa?threadID=54621&amp;tstart=0" target="_blank">OpenSolaris Forum: cp -p gives errors on Linux w/ NFS-mounted ZFS</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=30</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux multipath-tools mit Sun StorageTek 6540</title>
		<link>http://www.bitingbytes.de/cms/?p=15</link>
		<comments>http://www.bitingbytes.de/cms/?p=15#comments</comments>
		<pubDate>Fri, 11 Jul 2008 19:15:32 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[multipath-tools]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[STK6540]]></category>
		<category><![CDATA[Sun Storage]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/wp/?p=15</guid>
		<description><![CDATA[Ubuntu Linux an einer Sun StorageTek 6540 mit multipath-tools betreiben. <a href="http://www.bitingbytes.de/cms/?p=15">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-17" style="border: 0pt none;" title="k3_storagetek6540_41" src="http://www.bitingbytes.de/cms/wp-content/uploads/2008/07/k3_storagetek6540_41-300x219.jpg" alt="" width="200" /></p>
<p>Linux-Systeme an einer Sun StorageTek 6540 zu betreiben ist gar nicht so einfach. Für Redhat und Suse gibt es von Sun zwar RDAC-Treiber, aber eine funktionierende Konfiguration für die multipath-tools habe ich nirgends gefunden.</p>
<p>Die 6540-Storage sieht stark nach dem Nachfolger der StorageTek FlexLine FLX380 aus. Unter der Haube steckt wohl das LSI/Engenio 6998 System (gibts z.B. auch von IBM als DS4800).</p>
<h3>Hardware</h3>
<ul>
<li>Sun StorageTek 6540 (Engenio/LSI)</li>
<li>Sun Fire X4150 mit 32 GByte RAM und 2xQuadCore Xeon E5440</li>
<li>2x Sun/Qlogic 2460 4 GBit HBAs</li>
</ul>
<h3>Software</h3>
<ul>
<li>Ubuntu LTS 8.04.1 AMD64</li>
<li>multipath-tools 0.4.8</li>
</ul>
<h3>Multipath-tools</h3>
<p>Es werden unbedingt die multipath-tools in der Version 0.4.8 benötigt, da hier der Path-Checker rdac (mpath_prio_rdac) enthalten ist (früher mal mpath_prio_tur).<br />
Die Storage selbst meldest sich als &#8220;STK FLEXLINE 380&#8243;.</p>
<h3>Konfiguration /etc/multipath.conf (Beispiel)</h3>
<pre><code>
defaults {
      multipath_tool                  "/sbin/multipath -v0"
      udev_dir                        /dev
      polling_interval                5
      default_selector                "round-robin 0"
      default_path_grouping_policy    failover
      default_features                "1 queue_if_no_path"
      default_getuid_callout     "/lib/udev/scsi_id -g -u -s /block/%n"
      rr_weight                       priorities
      failback                        immediate
}
blacklist {
   devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
   devnode "^hd[a-z][[0-9]*]"
   devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
   devnode "^sda"  # local disk
}
multipaths {
     multipath {
        alias           stk-test-lun
        wwid            3600a0b80004725e800000570xxxxxxxxx
        path_selector   "round-robin 0"
        failback        immediate
    }
}
devices {
    device {
      vendor                  "STK"
      product                 "FLEXLINE 380"
      product_blacklist       "Universal Xport"
      path_grouping_policy    group_by_prio
      prio_callout            "/sbin/mpath_prio_rdac /dev/%n"
      path_checker            rdac
      hardware_handler        "1 rdac"
    }
}
</code></pre>
<h3>Test</h3>
<p>Da der Server 2 Single-Port-HBAs hat und zudem an 2 FC-Switches an der Storage angebunden ist, gibt es vier Pfade, 2 über HBA-A (sdc/sdt) und 2 HBA-B (sdbs/sdcj).</p>
<pre># multipath -ll
stk-test-lun (3600a0b80004725e800000570xxxxxxxxx) dm-1 STK     ,FLEXLINE 380
[size=200G][features=1 queue_if_no_path][hwhandler=1 rdac]
\_ round-robin 0 [prio=6][active]
 \_ 1:0:0:1  sdc  8:32    [active][ready]
 \_ 1:0:1:1  sdt  65:48   [active][ready]
\_ round-robin 0 [prio=0][enabled]
 \_ 2:0:0:1  sdbs 68:96   [active][ghost]
 \_ 2:0:1:1  sdcj 69:112  [active][ghost]</pre>
<h3>Links</h3>
<ul>
<li><a href="http://www.cuddletech.com/blog/pivot/entry.php?id=728" target="_blank">Ben Rockwood &#8211; StorageTek&#8230; whatever&#8230; SUN MIDRANGE STORAGE 6000 RELEASE!</a></li>
<li><a title="Sun StorageTek RDAC Failover Driver for Linux " href="http://docs.sun.com/source/820-4738-10/index.html" target="_blank">Sun StorageTek RDAC Failover Driver for Linux </a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=15</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sun Common Array Manager CLI unter Debian</title>
		<link>http://www.bitingbytes.de/cms/?p=14</link>
		<comments>http://www.bitingbytes.de/cms/?p=14#comments</comments>
		<pubDate>Mon, 30 Jun 2008 19:10:54 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[CAM]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/wp/?p=14</guid>
		<description><![CDATA[Der Sun Comman Array Manager ist zwar eine JAVA-Anwendung &#8211; der Installer funktioniert aber nur unter Solaris 9/10, Windows, Redhat und Suse Linux. Aber das Command Line Interfaces (sscs) lässt sich auch mit Debian oder Ubuntu Linux installieren und nutzen. &#8230; <a href="http://www.bitingbytes.de/cms/?p=14">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Der Sun Comman Array Manager ist zwar eine JAVA-Anwendung &#8211; der Installer funktioniert aber nur unter Solaris 9/10, Windows, Redhat und Suse Linux.</p>
<p>Aber das Command Line Interfaces (sscs) lässt sich auch mit Debian oder Ubuntu Linux installieren und nutzen.</p>
<h3>Download CAM als TAR-Archive</h3>
<p>StorageTek Common Array Manager Software 6.1.1 Revenue Release:<br />
<a title="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SSTKCAM-6.1.1-OTH-G-F@CDS-CDS_SMI" href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SSTKCAM-6.1.1-OTH-G-F@CDS-CDS_SMI" target="_blank">https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SSTKCAM-6.1.1-OTH-G-F@CDS-CDS_SMI</a></p>
<h3>Archive entpacken</h3>
<pre>$ tar -xzf host_sw_linux_6.1.1.10.tar.gz</pre>
<h3>RPM-Paket in ein TGZ-Archive umwandeln</h3>
<p>Archive von RPM in TGZ umwandeln und den Inhalt nach /opt/sun/cam kopieren.</p>
<pre>$ cd ./HostSoftwareCD_6.1.1.10/components/em_cli
$ alien -t sun-cam-cli-6.1.1-10.i386.rpm
$ tar -xzf sun-cam-cli-6.1.1.tgz
$ cp -rp opt /</pre>
<h3>Korn-Shell und Ausführungsrechte</h3>
<p>Korn-Shell ksh installieren und Scripte sscs/pclient ausführbar machen</p>
<pre>$ apt-get install ksh
$ cd /opt/sun/cam/se6x20/cli/bin
$ chmod +x sscs pclient</pre>
<h3>Testen</h3>
<pre>$ export PATH=$PATH:/usr/local/java/bin
$ cd /opt/sun/cam/se6x20/cli/bin
$ ./sscs
$ You are not currently logged in. To log in, type:
$ sscs login -h|--hostname  [-s|--system-type ] [-t|--http] [-f|--force] [-u|--username ]</pre>
<h3>Links</h3>
<ul>
<li>Sun StorageTek 6130, 6140 and 6540 Arrays sscs (1M) CLI Quick Reference<br />
<a title="http://dlc.sun.com/pdf/819-5051-10/819-5051-10.pdf" href="http://dlc.sun.com/pdf/819-5051-10/819-5051-10.pdf" target="_blank">http://dlc.sun.com/pdf/819-5051-10/819-5051-10.pdf</a> <em>[en, pdf]</em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=14</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Xen Live Migration ohne Cluster-Filesystem oder NFS</title>
		<link>http://www.bitingbytes.de/cms/?p=9</link>
		<comments>http://www.bitingbytes.de/cms/?p=9#comments</comments>
		<pubDate>Thu, 05 Jun 2008 12:13:05 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Heartbeat]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/wp/?p=9</guid>
		<description><![CDATA[Im Xen-Domains im laufenden Betrieb auf einen anderen Host umzuziehen, ist eigentlich ein geshartes Filesystem notwendig (z.B. NFS, OCFS2 oder GFS). Mit Hilfe von DRBD kann man zumindest in einem 2 Cluster-Knoten darauf verzichten. Schicke Lösung, die sehr gut funktioniert. &#8230; <a href="http://www.bitingbytes.de/cms/?p=9">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-13" style="border: 0pt none;" title="800px-xen_logosvg" src="http://www.bitingbytes.de/cms/wp-content/uploads/2008/06/800px-xen_logosvg-300x133.png" alt="" width="100" />Im Xen-Domains im laufenden Betrieb auf einen anderen Host umzuziehen, ist eigentlich ein geshartes Filesystem notwendig (z.B. NFS, OCFS2 oder GFS). Mit Hilfe von DRBD kann man zumindest in einem 2 Cluster-Knoten darauf verzichten. Schicke Lösung, die sehr gut funktioniert. Mehr Infos siehe Link unten&#8230;</p>
<h3>Systemvoraussetzungen</h3>
<ul>
<li>DRBD ab Version 8.0.6</li>
<li>Heartbeat ab Version 2.1.3 (aktuellstes Xen-OCF Script)</li>
<li>Xen 3.2 (evtl. reicht auch Version 3.0.3)</li>
</ul>
<h3>Links</h3>
<ul>
<li>DRBD 8.0.6 brings full live migration for Xen on DRBD<br />
<a href="http://fghaas.wordpress.com/2007/09/03/drbd-806-brings-full-live-migration-for-xen-on-drbd/">http://fghaas.wordpress.com/2007/09/03/drbd-806-brings-full-live-migration-for-xen-on-drbd/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=9</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.04 LTS mit DRBD und Xen &#8211; Pleiten, Pech und Pannen</title>
		<link>http://www.bitingbytes.de/cms/?p=5</link>
		<comments>http://www.bitingbytes.de/cms/?p=5#comments</comments>
		<pubDate>Sat, 31 May 2008 21:53:17 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Heartbeat]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/wp/?p=5</guid>
		<description><![CDATA[Mein Plan war es mit dem neuen Ubuntu 8.04 LTS einen HA-Cluster auf Basis von Xen 3.2, DRBD v8 und Heartbeat 2.1.3 aufzusetzen. Theoretisch ein toller Plan, denn Ubuntu bringt alle notwendigen Pakete mit. Praktisch ist dieses Release aber ein &#8230; <a href="http://www.bitingbytes.de/cms/?p=5">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-10" style="border: 0pt none;" title="ubuntu-logo" src="http://www.bitingbytes.de/cms/wp-content/uploads/2008/06/ubuntu-logo-150x150.jpg" alt="" width="100" height="100" />Mein Plan war es mit dem neuen Ubuntu 8.04 LTS einen HA-Cluster auf Basis von Xen 3.2, DRBD v8 und Heartbeat 2.1.3 aufzusetzen. Theoretisch ein toller Plan, denn Ubuntu bringt alle notwendigen Pakete mit. Praktisch ist dieses Release aber ein einziger Blindgänger.</p>
<p>Hier die Einzelkritik:</p>
<h3>Netzwerk in Xen-Domains</h3>
<p>Der Xen-Kernel 2.6.24-16-xen hat den unschönen Bug, dass innerhalb der Xen-Domains kein Netz funktioniert:</p>
<ul>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/204010">https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/204010</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/218126">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/218126</a></li>
</ul>
<h3>DRBD mit Kernel 2.6.24</h3>
<p>Ausserdem ist im Kernel 2.6.24 ein Bug drin, der in Verbindung mit DRBD 0.8.11 dafür sorgt, dass das Log voll mit Fehlermeldungen &#8220;drbd0: local disk flush failed with status -5&#8243; ist.</p>
<p>Entweder man compiliert sich die neuste DRBD-Version 0.8.12 und benutzt die Optionen <span>&#8220;no-<strong class="highlight">disk</strong>-<strong class="highlight">flushes</strong>&#8221;  und </span><span> &#8220;no-md-<strong class="highlight">flushes</strong>&#8221; oder baut sich gleich einen eigenen Kernel (2.6.25) </span></p>
<ul>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/236167">https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/236167</a></li>
<li><a href="http://archives.free.net.ph/message/20080507.075840.90ab26c4.en.html">http://archives.free.net.ph/message/20080507.075840.90ab26c4.en.html</a></li>
</ul>
<h3>Shell</h3>
<p>Ubuntu hat die Default-Shell auf /bin/dash umgestellt. Dumm nur, dass viele Heartbeat OCF-Skripte damit nicht mehr korrekt funktionieren. Jetzt kann man entweder in die Skripte &#8220;#!/bin/bash&#8221; schreiben oder gleich /bin/sh mit /bin/bash verlinken.</p>
<h3>Kernel Ooops</h3>
<p>Der Xen-Kernel von Debian und Ubuntu scheint schon länger ein Problem auf SMP-Systemen zu haben.</p>
<ul>
<li>Kernel BUG at drivers/xen/core/evtchn.c<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/xen-source/+bug/14854">https://bugs.launchpad.net/ubuntu/+source/xen-source/+bug/14854</a></li>
</ul>
<h3>Fazit</h3>
<p>Wenn man mal einen Blick in den <a href="https://bugs.launchpad.net/ubuntu/hardy/+bugs" target="_blank">Bugtracker von Ubuntu</a> vagt und die unzähligen weiteren Probleme sieht, dann muss man zugeben, dass das Release 8.04 ein schlechter Witz ist. Am 3.7.2008 soll der erste &#8220;ServicePack&#8221; erscheinen. Kann ja nur besser werden&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 6.06.1 LTS an EMC Clariion CX3-40</title>
		<link>http://www.bitingbytes.de/cms/?p=4</link>
		<comments>http://www.bitingbytes.de/cms/?p=4#comments</comments>
		<pubDate>Sat, 31 May 2008 13:37:40 +0000</pubDate>
		<dc:creator>alexkeller</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[multipath]]></category>
		<category><![CDATA[SAN Ubuntu]]></category>

		<guid isPermaLink="false">http://www.bitingbytes.de/wp/?p=4</guid>
		<description><![CDATA[Connect Ubuntu Linux 6.06.1 LTS to EMC CX3-40 SAN storage <a href="http://www.bitingbytes.de/cms/?p=4">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-12" style="border: 0pt none;" title="emc_clariion_cx3-40" src="http://www.bitingbytes.de/cms/wp-content/uploads/2008/06/emc_clariion_cx3-201.gif" border="0" alt="" width="144" height="144" />Ubuntu 6.06.1 LTS an einer EMC Clariion CX3-40 zu betreiben ist eigentlich ganz einfach. Warum EMC Powerpath, wenn es auch die multipath-tools gibt (*ist natürlich nicht supported). Hier die notwendigen Configs:</p>
<h3>Multipath Configuration  /etc/multipath.conf</h3>
<p>In der Blacklist sind alle Devicenamen aufgelistet, die von multipath nicht verwendet werden dürfen, z.B. die internen Systemdisks (/dev/sda &#8230; /dev/sdf):</p>
<pre><code>
blacklist {
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z][[0-9]*]"
        devnode "^sd[a-g][[0-9]*]"
        devnode "^hda[0-9]*"
        devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
        devnode "sd[a-f]$"   // internal disks
}
</code></pre>
<p>Die CX3-40 meldet sich unter der Bezeichnung &#8220;DGC&#8221;:</p>
<pre>devices {
   device {
      vendor                  "DGC"
      product                 "RAID 5"
      path_grouping_policy    group_by_prio
      prio_callout            "/sbin/mpath_prio_emc /dev/%n"
      getuid_callout          "/lib/udev/scsi_id -g -s /block/%n"
      path_checker            emc_clariion
      features                "1 queue_if_no_path"
      no_path_retry           300
      hardware_handler        "1 emc"
      failback                immediate
      product_blacklist       "LUNZ"
   }
}

multipaths {
    # Storage 1, LUN 21
    multipath {
         wwid 3600601642d93190004d1fe31xxxxxxxxx
         alias                   rr1-lun21
         path_grouping_policy    failover
         failback                immediate
    }
    # Storage 3, LUN 22
    multipath {
         wwid 3600601642b9319004da05984xxxxxxxx
         alias                   rr3-lun22
         path_grouping_policy    failover
         failback                immediate
    }
}</pre>
<h3>Links</h3>
<ul>
<li>Native Multipath Failover Based on DM-MPIO for v2.6.x Linux Kernel and EMC Storage Arrays<br />
<a href="http://bbs.doit.com.cn/attachment.php?aid=6069">http://bbs.doit.com.cn/attachment.php?aid=6069</a> <em>[en, pdf]</em></li>
<li>Using Device-Mapper Multipath<br />
<a href="http://www.redhat.com/docs/manuals/csgfs/browse/4.6/DM_Multipath/index.html">http://www.redhat.com/docs/manuals/csgfs/browse/4.6/DM_Multipath/index.html</a> <em>[en,html]</em></li>
<li>Linux multipath IO (MPIO) using multipath-tools<br />
<a href="http://www.calivia.com/bk/multipath-tools" target="_blank">http://www.calivia.com/bk/multipath-tools</a> <em>[en, html]</em></li>
<li>Device Mapper Multipath MPIO unter Linux<br />
<a href="http://www.fritzler-it.de/dwl/dm-multipath.pdf">http://www.fritzler-it.de/dwl/dm-multipath.pdf</a> <em>[de, pdf]</em></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bitingbytes.de/cms/?feed=rss2&#038;p=4</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

