<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: SuperMicro]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?supermicro</link>
<description></description>
<pubDate>Wed, 28 Sep 2011 21:38:45 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[SuperMicro]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?supermicro</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<h1 id="ikvm">iKVM</h1>
<p>
Java remote console client <a target="_blank" title="(external link)" href="ftp://ftp.supermicro.com/utility/IPMIView/Linux/">ftp://ftp.supermicro.com/utility/IPMIView/Linux/</a></p>
<p>
<a target="_blank" title="(external link)" href="ftp://ftp.supermicro.com/utility/IPMIView/Jar/IPMIView20-Class_v2.8.0_Build110802.zip">ftp://ftp.supermicro.com/utility/IPMIView/Jar/IPMIView20-Class_v2.8.0_Build110802.zip</a></p>
<p>
Real installation is <strong>endless pain</strong> and won't work (for me).</p>
<pre>
dpavlin@klin:/opt$ wget ftp://ftp.supermicro.com/utility/IPMIView/Jar/IPMIView2-Class_v2.8.0_Build110802.zip

dpavlin@klin:/opt$ unzip IPMIView20-Class_v2.8.0_Build110802.zip -d IPMIView

dpavlin@klin:/opt$ cd IPMIView/

dpavlin@klin:/opt/IPMIView$ chmod 755 IPMIView20.sh
</pre>
<br /><p>
According to <a target="_blank" title="(external link)" href="http://www.mcgill.org.za/stuff/archives/340">http://www.mcgill.org.za/stuff/archives/340</a> you should be able to run KVM stand alone:</p>
<pre>
java -cp .:::::$PWD/iKVM.jar:$PWD/IPMIView20.jar:$PWD/TrapView.jar:::::: \
	-Djava.library.path=. \
	-D tw.com.aten.ikvm.KVMMain \
	$IP $USERNAME $PASSWORD null 5900 623 2 0

java -Djava.library.path=. -jar iKVM.jar \
  $IP $USERNAME $PASSWORD null 5900 623 2 0
</pre>
<br /><h1 id="infiniband">Infiniband</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://inqbus-hosting.de/support/dokumentation/docs/debian-infiniband-howto">http://inqbus-hosting.de/support/dokumentation/docs/debian-infiniband-howto</a></li>
</ul>
<pre>
dpavlin@porn:~$ dmesg | grep ib
[    0.000000] Fast TSC calibration using PIT
[    0.000002] Calibrating delay loop (skipped), value calculated using timer frequency.. 6185.92 BogoMIPS (lpj=12371840)
[    0.764371] vgaarb: bridge control possible 0000:06:03.0
[    1.261922] PM: Hibernation image not present or could not be loaded.
[    1.311730] libata version 3.00 loaded.
[    1.948194] Refined TSC clocksource calibration: 3092.973 MHz.
[   17.345807] ib_mthca: Mellanox InfiniBand HCA driver v1.0 (April 4, 2008)
[   17.345810] ib_mthca: Initializing 0000:04:00.0
[   17.345827] ib_mthca 0000:04:00.0: PCI INT A -&gt; GSI 16 (level, low) -&gt; IRQ 16
[   17.345841] ib_mthca 0000:04:00.0: setting latency timer to 64
[   18.547370] ib_mthca 0000:04:00.0: HCA FW version 4.7.600 is old (4.8.200 is current).
[   18.547373] ib_mthca 0000:04:00.0: If you have problems, try updating your HCA FW.
[   18.547538] ib_mthca 0000:04:00.0: irq 51 for MSI/MSI-X
[   18.547542] ib_mthca 0000:04:00.0: irq 52 for MSI/MSI-X
[   18.547546] ib_mthca 0000:04:00.0: irq 53 for MSI/MSI-X
dpavlin@porn:~$ cat /sys/class/infiniband/mthca0/ports/1/state
4: ACTIVE
dpavlin@porn:~$ cat /sys/class/infiniband/mthca0/ports/1/rate
20 Gb/sec (4X DDR)
dpavlin@porn:~$ cat /sys/class/infiniband/mthca0/ports/1/phys_state
5: LinkUp
dpavlin@porn:~$ cat /sys/class/infiniband/mthca0/ports/2/phys_state
2: Polling
</pre>
<br /><h1 id="zfs">ZFS</h1>
<p>
disks seem to move from boot to boot so we need to specify disks for pool using persistant IDs:</p>
<pre>
zpool create -f test raidz3 `ls /dev/disk/by-id/ata-Hitachi_HDS723030ALA640_MK03* | grep -v part`
</pre>
<br /><h1 id="drive_leds">Drive LEDs</h1>
<p>
<a target="_blank" title="(external link)" href="http://groups.google.com/a/zfsonlinux.org/group/zfs-discuss/browse_thread/thread/2a822bb27a1cdce5">http://groups.google.com/a/zfsonlinux.org/group/zfs-discuss/browse_thread/thread/2a822bb27a1cdce5</a></p>
<p>
hdparm <del>I, specifically, will give you the serial number and <br />
lsscsi/lsblk would probably be helpful here with topology. Lighting a <br />
bay LED without relying on guessing which drive you're doing i/o is <br />
doable, but more dependent on your specific adapter's tools available. <br />
&nbsp;See also: smp_utils</del> <a target="_blank" title="(external link)" href="http://sg.danny.cz/sg/smp_utils.html">http://sg.danny.cz/sg/smp_utils.html</a>.</p>
<p>
Setting the fault or identify leds can be done with the sg3_utils <br />
package and a carefully crafted SES command. Alternately, if you load <br />
the SES kernel module you can set them via the fault and locate sysfs <br />
entries. <br />
ls /sys/devices/pci0000:00/0000:00:0f.0/0000:07:00.0/host6/port-6:0/expander-6 :0/port-6:0:17/end_device-6:0:17/target6:0:16/6:0:16:0/enclosure/6:0:16:0/S LOT\ 000 <br />
active device fault locate power status type uevent</p>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category></category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?supermicro</guid>
<pubDate>Wed, 28 Sep 2011 21:38:45 -0000</pubDate>
</item>
</channel>
</rss>