PearBlog
 
PearBlog 雑記です

VirtualBox-3.1.2-56127-Winで品定め

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

OpenSolaris、どれいれたらいいのかよく分からないので1つづつ、品定めしようと思う。で、ESXi4にいれてもいいけどディスクをいじったりして構成が変わるので、とりあえず手元のWinXP機にて手軽にと。普通のOpenSolarisのISOでGUIを無視して最小限で入れる方法ってないんだろうか? そもそもデスクトップ向けにパッケージされてるから他に、専用パッケージがあるんですかね。このあたりの事情、良く調べないと。なにかキーを押して、

solaris text

(そんなわけないよなぁ~)とか入れるんかと思っていろいろやってました。boot時にtext modeは選べるんだね。これでやるのかしらね。はじめてLinuxを入れたのがRedHat3だか4だったと思う。Enterpriseとかつかないやつですよ。今から15年くらい前だったと思う。いえね、そのころグラフィカルインストールするとバグがあって先に進めなかったような記憶が。それからずっとインストールはテキストモードばっかりでして。当然そのころは光なんて普及してなくて。メタル線の64kくらいだっけか。なんか懐かしいですね。

ま、そんな感じで、あれこれいろいろ試してみたかったので、良いタイミングでSunのVirtualBoxを触ってみようと。

Sun VirtualBox
日本語になってるんですね。MacOSXからも使えるし、いろいろ楽しめそう。なかなか使い易いですね。VM界はかなり熱いっていうことなんでしょうね。

で、あれこれと入れてみる。
http://www.genunix.org/

なんかいろいろありますね~。
opensolarisのGUI部分をとっぱらったやつがここらに集結してると思っていいんだろうか?とりあえず、EONはこのまえ使ったので、osol-dev-130-x86.isoあたりから試すことに。これはOpenSolarisのpreviewのbuild130ってことですか。察するに最新、不安定かもVerってこと?

JeOSってのも気になりますね。これってopensolarisのJeOS版ってことなんだろうね。
Ubuntu JeOSってのは、ちらっと聞いたことはあるけどまだ試してなかったから、あれこれためしてみたいですね。

とりあえず、
Solaris Express Community Edition DVD Build 130
(sol-nv-b130-x86-dvd.iso)
でtext mode(4を選択)みたいなやつで入れてみた。結構時間かかりますね。
インストール中、ぐぐってみたら

SXCE b130 のダウンロードは 1 月末で終了

とのこと。これは、OpenSolarisに1本化するよってことなんだろうか。ま、とりあえず今日は眠くなるまでいろいろ入れるだけにしてみよう。
お、インストール終わったみたい。CUIコンソールのままだ。とりあえず、「ふ~ん」って感じで、今日は終了。

次、試してみるもの。
OpenSolaris preview based on build 130
(osol-dev-130-x86.iso)
Automated Installer ってのもあるけど、ISO Universalってのにしてみた。何が違うんだろうね。WANブートインストール?

WAN ブートとは

明日だな。ま、あわてずぼちぼち、solarisと付き合っていきますわ。

待ちきれず、とりあえず、text consoleで起動。

 GW-20100122-010354

…あ、コンソール動くだけなのね。いわゆるレスキューモードみたいなCD-ROMブートですか。インストールがテキストモードじゃないわけですね。納得。

しかもパスワードわかりませんし。ぐぐって、
ID:jack PW:jack
とわかりましたが、結局X Windowsを起動させないとインストールできない仕様なんですね。

Linuxみたいに、テキストモードのインストーラってないんでしょうかね。で、パッケージとか選べればいいんですが、

もう寝ることに。

ZFSってば、4本の物理HDDからISCSI接続された…

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

チーミング(bonding)やリンクアグリゲーションはとりあえず、半分くらい自分の中で納得したのでとりあえず、次の興味事項へと。

次なる試してみたい事が。ストライプさせる方向をたくさん作るとISCSI接続したディスクでも速くなるの? って。ZFSのマニュアルでいうところの、「概念的により複雑なミラー化構成 ミラー化されたストレージプールを作成する」。この方向ってのは、2方向とか3方向とかいくつでも出来るみたい(だよね?)

0)まずは、VMでLocalストレイジを500Mくらいを20コ程度つくり、実験。仮想環境で手軽に実験。

S  1 x (2)
S  1 x (20)

M  2 x (1)
M  2 x (10)
で実験。

1)適当なISCSIなストレイジ機から複数のターゲットを作り、他のopensorisマシンからISCSI接続してZFSミラー+ストライプ(複数)を作る。上記と同じ事をするとどうなるのカナ?

速くなるようなならないような。どうなんでしょうかね。ISCSIなサーバ側のデバイス(HDD)は4本とかで、作るとして、接続したISCSIデバイスは、もともとは同じHDDで構成されたものだから、結局同じ? あるいは、ネットワークのバンド幅上限まで性能があがるのかな?

両方とも計測は仮想環境上のwindowsでやるとして。ストライプさせる量によってCPU負荷はあるから厳密な比較はできないとしても。

NICを2枚差して、チーミングしてみる

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

まず、NIC選び。Intelのが定番で安定性があるようですが、ちょっと毛色を変えてBroadcomのにしてみました。
Broadcom NetXtreme BCM5721 PCI-E Gigabit Ethernet 調達価格3,480円 購入LanShopさん
クリックで閉じますクリックで閉じます

普段の1)クライアント(XP:ML115G5)と2)ESXi4(T105)と3)iscsi(solaris:ML115G1)用に3枚ゲットしてみました。中古との事ですが、ほぼ新品みたいな感じ。

▼クライアント側(WindowsXP:ML115G5)
1に装着し、ドライバをVersion12.2.2.0に上げてみる。
Ethernet NIC NetXtreme Desktop Driver

チーミングのアプリケーションを落としておく。
Broadcom Management Applications Installer Version12.30.11
この中のBACSv3を使う。チーム設定をして下記HUBに2本つなぐ。

続いて、HUB.検証の為、迷いに迷って、

PLANEX SF-0422G 5.6k
http://www.planex.co.jp/product/switch/sf-0422g/

PLANEX SWP-0208G 2.6k
http://www.planex.co.jp/product/giga/swp-0208g/

FXC5008 3.6k
http://www.fxc.jp/products/fxc/FXC5008.html
http://kakaku.com/item/00662210426/

COREGA CG-SSW08GTR 1.35k
手動
http://kakaku.com/item/00660610214/
http://corega.jp/prod/ssw08gtr/spec.htm

結局GS108T にしてみました。
NETGEAR GS108T 調達価格14080円 株式会社 システムインさん
ファームも新しいのが出ていたので、インストール。

NETGEAR GS108T Firmware Version 3.0.4.7

LAGの設定をして(2IDしか設定できないのは誤算 -:p)BACSでPrimaryAdaptersのアイコンが変わる。おお~って感じですね。これでいいんだろうか?ま、とりあえず先進みます。

▼ESXi4(T105)側
とりあえず、T105をバラしてNICを取り付けます。まずは今まで使っていた1本のLANのみLACPじゃないイーサポートに差してみる。VMware vSphere Client上から、物理NICを追加してチーミング。下記でいいか分からなかったが、試す。

IPハッシュに基づいたルート
リンク状態のみ

LACPなポートに2本ともつなぎ変えて(物理的に)リンク確立。これでいいのか、少し疑問だが。ちょっと運用してみる。

・・・途中、略。アップデートが出ているので、クライアント、サーバとも更新してみることに。

VMware vSphere Client およびホスト アップデート ユーティリティ
バージョン 4.0 Update 1 | 208111 - 11/19/09

VMware ESXi 4.0 Update 1 Installable イメージ
バージョン 4.0 Update 1 | 208167 - 11/19/09

とりあえず、動いているような気がするので、次へ行くこととし、検証は後回し。

▼iscsi(solaris:openfiler version2.2.3:ML115G1)
2.6.29.6-0.13.smp.gcc3.4.x86_64 (SMP) で、物理マシンに上記NICを取り付け。
まずはLACPじゃない通常ポートにつけ、2枚目のNICを管理画面から見る。(Systemタブ)
Create bonded interface からeth0と1でbondインターフェイスを作ってみた。

# tail -n2 /etc/modprobe.conf
alias bond0 bonding
options bond0 max_bonds=8 mode=4 miimon=100 downdelay=0 updelay=0 use_carrier=0

初期設定(管理画面から作った直後)では上記のようで、ここのマニュアルとか読んでみて、
http://www.linux.or.jp/JF/JFdocs/kernel-docs-2.6/networking/bonding.txt.html
いくつかパラメータを変更してみた。

# tail -n2 /etc/modprobe.conf
alias bond0 bonding
options bond0 max_bonds=1 mode=4 miimon=500 downdelay=1000 updelay=1000 use_carrier=1 lacp_rate=1

設定変更後は、/etc/rc.d/init.d/network restart で。当初、ここでエラー(802.3ad失敗したよみたいな)出ていたが、「スイッチの挙動問題」として、「リンク確立とフェイルオーバ遅延」があるらしく、気にしないことにした。要は下記で状態を見て、downになってなければOKとしてみた。
下記は、1本を抜いた状態。2本とも確立してればupとなっている。

# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 500
Up Delay (ms): 1000
Down Delay (ms): 1000

802.3ad info
LACP rate: fast
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
        Aggregator ID: 1
        Number of ports: 1
        Actor Key: 17
        Partner Key: 62740
        Partner Mac Address: 00:22:3f:f1:ba:f4

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:1e:0b:6c:51:03
Aggregator ID: 1

Slave Interface: eth1
MII Status: down
Link Failure Count: 1
Permanent HW addr: 00:10:18:31:2a:d5

この状態で、openfilerからxfsフォーマットしたwindows共有(Linux Physical Volume)で

————————————————–

   Sequential Read :   84.399 MB/s
  Sequential Write :  112.130 MB/s
Random Read 512KB :   84.078 MB/s
Random Write 512KB :  110.247 MB/s
   Random Read 4KB :   20.807 MB/s
  Random Write 4KB :   17.804 MB/s

         Test Size : 100 MB
              Date : 2010/01/18 2:28:54

ケーブル2本目をつなげ、ログを確認。

Jan 18 02:29:52 ML115G1CF kernel: [34561.648174] tg3: eth1: Link is up at 1000 Mbps, full duplex.
Jan 18 02:29:52 ML115G1CF kernel: [34561.648179] tg3: eth1: Flow control is on for TX and on for RX.
Jan 18 02:29:52 ML115G1CF kernel: [34561.988030] bonding: bond0: link status up for interface eth1, enabling it in 1000 ms.
Jan 18 02:29:53 ML115G1CF kernel: [34562.988028] bonding: bond0: link status definitely up for interface eth1.

ステイタスも確認。eth1もリンク確立。HUBもランプ点灯。

# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 500
Up Delay (ms): 1000
Down Delay (ms): 1000

802.3ad info
LACP rate: fast
Aggregator selection policy (ad_select): stable
Active Aggregator Info:
        Aggregator ID: 1
        Number of ports: 2
        Actor Key: 17
        Partner Key: 62740
        Partner Mac Address: 00:22:3f:f1:ba:f4

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:1e:0b:6c:51:03
Aggregator ID: 1

Slave Interface: eth1
MII Status: up
Link Failure Count: 1
Permanent HW addr: 00:10:18:31:2a:d5
Aggregator ID: 1

同じく、ベンチしてみる。クライアント2本とサーバ2本の物理ランプ4本が激しく点滅。

————————————————–

   Sequential Read :   82.865 MB/s
  Sequential Write :  111.078 MB/s
Random Read 512KB :   83.788 MB/s
Random Write 512KB :  110.156 MB/s
   Random Read 4KB :   20.715 MB/s
  Random Write 4KB :   17.807 MB/s

         Test Size : 100 MB
              Date : 2010/01/18 2:37:45

つうか、変わってないね。期待したのに。ちなみに、通信中(1Gくらいのファイルコピー中)にどっちか片方のケーブル抜いても何事もなかったかのように動いてくれたのがちょっと嬉しかった。

今回は、WindowsXP(ギガ2本)からopenfiler(ギガ2本)へのチーミングやってみたけど、smb接続では速度は変わらなかったっていう落でした。

※なにか見落としがあるのかもですが。

概念的により複雑なミラー化構成?

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

この土日は、機材を揃えたのでマルチパスやNICのチーミング(Teaming)など検証してみたいと思ってます。
ZFSのマニュアル読んでて、タイトルにあるように「概念的により複雑なミラー化構成」っていう言葉がどうも気になっていろいろ読んでいた。当初、RAID10相当の事だろうと思っていたが、ストライプボリュームを多重化することがそれに相当するみたいな考え方でいいのかもしれない。ということは、ミラー化してストライプを3ことか4ことか作れるということか?実験してみたい。

Solaris ZFS 管理ガイド

この中で、複数のHDDがあるとき、パフォーマンスと容量の関係を記した記事のリンクがあった。
http://blogs.sun.com/roch/entry/when_to_and_not_to
dynamically striped RAID-Zとあるけど、これはRIADZを多重化(言葉が適切じゃないかもしれないが)するということなんだろう。

ZFS ハイブリッドストレージプールっていうのも気になる。LogとキャッシュをSSDやRAMディスクにおいてZFS全体を高速にしましょうよっていうことなんだろうが、自作でできるものなんだろうか?
キーワードは、Hybrid Storage Pools。下記ページを参考にしてみた。
Solaris 10 で ZFS の Hybrid Storage Pool を作る方法
ZFSはどう活用できるか

ふむふむ、要するに高速なSSDをライトとリードのキャッシュに使用しHDDのI/Oを上げると。これはファイルシステム全体に有効なので、コストパフォーマンスに優れたストレージ作れるよっていう事なんですね。
これを構成するとどのくらいパフォーマンスが上がるのか、実験してみたいですね。

ということで、いろいろ実験開始。ZFSっていじりがいがありそうですね。

  • NICを2枚差して、チーミングしてみる。
  • HUBをIEEE 802.3ad対応にしてLACPしてみる。
  • ESXi4にNICを2枚差してマルチパス構成にしてみる。
    ESXi4側
    ISCSI側
  • Hybrid Storage PoolsなZFSを作ってみる。

NexentaStor Developer Edition v2.2.0

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

入れてつなげて、力尽きた。4TBならこれでいいのかな。

http://www.nexenta.com/corp/products

http://www.nexenta.com/corp/component/content/198?task=view

EON ZFS Storage version 0.59.9でiscsi

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

ZFSでiscsiを手軽に試してみようと思い、EONというのにたどり着いた。
まだVerも低いのでとりあえず試してみようというスタンスですので、それのメモ。

まず、ESXi4から仮想マシンを作成。
500MBのdiskを4つばかり作っておく。サイズは、500Mにしてみた。hdコマンドでHDDが見えるとのことで、確認。
 

Solaris の ZFS はこんなにすごいぞ!を参考に、RAID1+0構成にしてみる。
確認。

eon:7:~#zpool iostat -v
                 capacity     operations    bandwidth
pool          alloc   free   read  write   read  write
————  —–  —–  —–  —–  —–  —–
mypool         765M   219M      0     39    457   457K
  mirror       383M   109M      0     19    208   229K
    c1t0d0p0      -      -      0      3    479   229K
    c1t1d0p0      -      -      0      4    350   229K
  mirror       382M   110M      0     20    257   237K
    c1t2d0p0      -      -      0      4    536   237K
    c1t3d0p0      -      -      0      4    461   237K
————  —–  —–  —–  —–  —–  —–

 

OpenSolaris 2009.06でCOMSTARを試す を参考に、公開iSCSIリソースの作成をしてみる。

zfs create -s -V 1tb mypool/iscsi1
sbdadm create-lu mypool/iscsi1

あれこれやって、ターゲットを作成。確認。

eon:8:~#stmfadm list-lu -v
LU Name: 600144F00F1DCF0000004B4AC1E70001
    Operational Status: Online
    Provider Name     : sbd
    Alias             : /dev/zvol/rdsk/mypool/iscsi1
    View Entry Count  : 1
    Data File         : /dev/zvol/rdsk/mypool/iscsi1
    Meta File         : not set
    Size              : 1099511627776
    Block Size        : 512
    Management URL    : not set
    Vendor ID         : SUN
    Product ID        : COMSTAR
    Serial Num        : not set
    Write Protect     : Disabled
    Writeback Cache   : Enabled
    Access State      : Active

 

eon:9:~#itadm list-target -v
TARGET NAME                                                  STATE    SESSIONS
iqn.1986-03.com.sun:02:a3c40b3f-83d2-cea1-8f92-c153b40e4821  online   1
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset
        tpg-tags:               default

 

windowsXPから接続。フォーマット。

※500MをRaid10して1Gしかないけど、1Tも作れていいんだろうかと心配になるが。
 

なかなか速いんでないの?

————————————————–

   Sequential Read :   71.614 MB/s
  Sequential Write :   16.320 MB/s
Random Read 512KB :   79.034 MB/s
Random Write 512KB :   15.355 MB/s
   Random Read 4KB :    7.821 MB/s
  Random Write 4KB :    5.187 MB/s

         Test Size : 100 MB
              Date : 2010/01/11 17:03:26

VMware ESXi 4 からopenfiler2.3 iscsi接続

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

ESXi4のゲストOS(xp)でベンチ。ESXi4からはiscsiで。

————————————————–ESXi4 IDE

   Sequential Read :   85.612 MB/s
  Sequential Write :   12.653 MB/s
Random Read 512KB :   85.921 MB/s
Random Write 512KB :   11.310 MB/s
   Random Read 4KB :   14.205 MB/s
  Random Write 4KB :    0.477 MB/s

         Test Size : 100 MB
              Date : 2010/01/10 10:08:02

————————————————–ESXi4 SCSI

   Sequential Read :  111.449 MB/s
  Sequential Write :    7.336 MB/s
Random Read 512KB :  107.404 MB/s
Random Write 512KB :    7.441 MB/s
   Random Read 4KB :   14.778 MB/s
  Random Write 4KB :    0.471 MB/s

         Test Size : 100 MB
              Date : 2010/01/10 20:27:22

IDEはキャッシュが効いているからこういう数字になるのかな。
書込み速度を上げるには、マルチパス構成にしないとだめっぽいですね。ゲストOS上でダイナミックディスクにしてストライプも試したけど、やっぱり書込み速度でないでした。

openfiler物理マシンとESXi物理マシンにそれぞれ2枚のギガビットイーサと物理HUBを分離してマルチパスっていう実験は機材がないので、いずれまた。

iSCSIベンチマーク (マルチパス構成で高速化)

参考にしたページ。これ、iSCSIサーバ Solaris 10でやってるんですね。ZFS、やってみたいですね~。opensolarisでZFSなiscsiマシンっていうのも作ってみますか。

openfiler raid10 ベンチマーク

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

CF起動にしたので、HDDが4本フリーになったのでRAID10のテスト。Synchronizationが完了(Synchronized)するまで待つ。

————————————————–RAID10 iscsi

   Sequential Read :   97.754 MB/s
  Sequential Write :   24.194 MB/s
Random Read 512KB :   99.350 MB/s
Random Write 512KB :   20.197 MB/s
   Random Read 4KB :   19.234 MB/s
  Random Write 4KB :    0.506 MB/s

         Test Size : 100 MB
              Date : 2010/01/09 2:49:54

Raid0とほぼ同じ感じですね。ちなみに、WindowsからはSMBマウントのほうが速いですね。
iscsiはパラメータ調整でなんとかならないですかね。体感的にかなり違う。

————————————————–XFS SMBマウント

   Sequential Read :   76.249 MB/s
  Sequential Write :  102.550 MB/s
Random Read 512KB :   74.392 MB/s
Random Write 512KB :  111.071 MB/s
   Random Read 4KB :   20.497 MB/s
  Random Write 4KB :   17.453 MB/s

         Test Size : 100 MB
              Date : 2010/01/09 3:21:39

Openfiler2.3 USB boot memo

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

https://forums.openfiler.com/viewtopic.php?id=3274
https://forums.openfiler.com/viewtopic.php?pid=3119
https://forums.openfiler.com/viewtopic.php?id=2676

nash
http://gihyo.jp/dev/serial/01/sc-literacy/0014?page=3

http://d.hatena.ne.jp/w650/20091204/1259896664
http://blog.y17e.com/?p=1252&img=link&kp=2

http://www.nerdlogger.com/2009/05/openfiler-install-on-large-disk.html

作業記録。。。

    mount /dev/sda2 /mnt/source
    mount /dev/sda1 /mnt/source/boot

    cp /mnt/source/boot/initrd-2.6.xx タブキーで補完 /mnt/source/tmp/initrd.gz
    chroot /mnt/source
    gunzip /tmp/initrd.gz
    cd /tmp
    mkdir /tmp/a
    cd /tmp/a
    cpio -i < /tmp/initrd

vi /tmp/a/init
———————————"insmod /lib/sd_mod.ko"
insmod /lib/sr_mod.ko
insmod /lib/ohci-hcd.ko
sleep 5
insmod /lib/usb-storage.ko
sleep 8
———————————

    cd /lib/modules/2.6.xx タブキーで補完/kernel/drivers

    cp usb/storage/usb-storage.ko /tmp/a/lib
    cp usb/host/ohci-hcd.ko /tmp/a/lib
    cp scsi/sr_mod.ko /tmp/a/lib
    cp scsi/scsi_wait_scan.ko /tmp/a/lib

    cd /tmp/a
    find . | cpio -c -o | gzip -9 > /boot/usbinitrd.img

vi /boot/grub/grub.conf
———————————
default=0
timeout=10

title Openfiler NSA (2.6.26.8-1.0.11.smp.gcc3.4.x86_64) USB
        root (hd0,0)
        kernel /vmlinuz-2.6.26.8-1.0.11.smp.gcc3.4.x86_64 ro root=LABEL=/1  quiet
        initrd /usbinitrd.img
———————————

これで、NG。

CentosのCD-ROMからレスキューモードで起動。
chroot /mnt/sysimage

    mount /dev/sda2 /mnt/source
    mount /dev/sda1 /mnt/source/boot
grub-install –root-directory=/mnt/source /dev/sda
※再起動するとGRUBコマンドラインになる。この時点であきらめた。。。方針を転換して、CFでIDE接続することに。

Openfiler2.3方針変更 CFでIDE接続Boot

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

Openfiler2.3をML115G1でUSBbootさせようと頑張ってましたが、どうしてもKernelPanicに。
また後で追うこととして、IDE接続のCF起動させることとしました。

用意したもの。
1)CFカード GH-CF4GD (4GB) 調達価格1980円

GH-CF4GD (4GB)

2)CF-IDE変換アダプタ SFB-SLCI4003S 調達価格840円

SunFaceSFB-SLCI4003SCF−IDE変換アダプタ

3)二股電源ケーブル 300円くらいだったか?
二股電源ケーブル電源コネクタ (大) オスを、電源コネクタ (大) メスと電源コネクタ (小) メスに変換
D2-1502A

※どっかにあるだろうと思ってたらなかったので、再度買出し。ジャンク箱あさったけど無かった時の虚しさ。。。

CFカード GH-CF4GD (4GB)のスペックはこんなもの。買った後で気がついたが、ECCついてるんだね。ほほぉ~。
————————————————–Fat16

   Sequential Read :   14.686 MB/s
  Sequential Write :    8.771 MB/s
Random Read 512KB :   14.697 MB/s
Random Write 512KB :    2.111 MB/s
   Random Read 4KB :    2.173 MB/s
  Random Write 4KB :    0.021 MB/s

         Test Size : 100 MB
              Date : 2010/01/08 12:39:36

エラーを検出して自動的に修復する「ECCエラー訂正機能」を搭載。万が一不良ブロックが発生した場合も、不良ブロックに対して予備ブロックを割り当てることで長期間にわたって安定動作を確保できる。

らしい。4G980円のUSBメモリと比べるとちょっと高いがまぁ、よしとしましょう。まぁ、64Mで2万円とかの時代からしたら夢のようですが、、、

で、ML115G1はCD-ROM(DVD-ROM)がIDE接続でついてるからこいつをとっぱらい、USB接続のDVDドライブにてインスト。SATAもBIOSにて復活させて普通にインストール。
USBんときよりも、若干早いような感じ。30分くらい?

ちなみに、UNetbootinでisoをUSBに書き込んで、インストールしようとしたけどNGだった。

Openfiler NAS/SAN Ver2.3

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

WEB管理画面もあるので、Openfiler Ver2.3を試してみた。物理マシンはML115G1。CPUは交換済み
一通りインストして、 Updateしてからいろいろ試した。ext3単発からRaid5とRaid0で差がるかテスト。
Raid10はテストしてないけど、Raid0と同じかと。Raid6は試してない。

openfiler — iscsi —-windowsxp

Kernel Version
2.6.26.8-1.0.11.smp.gcc3.4.x86_64 (SMP)

————————————————–fvol普通のext3

   Sequential Read :  100.055 MB/s
  Sequential Write :   25.426 MB/s
Random Read 512KB :   96.532 MB/s
Random Write 512KB :   18.937 MB/s
   Random Read 4KB :   19.548 MB/s
  Random Write 4KB :    0.565 MB/s

         Test Size : 100 MB
              Date : 2010/01/06 11:34:34
————————————————–raid5 149.06 GB

   Sequential Read :  100.792 MB/s
  Sequential Write :   14.670 MB/s
Random Read 512KB :   97.623 MB/s
Random Write 512KB :   10.247 MB/s
   Random Read 4KB :   21.007 MB/s
  Random Write 4KB :    0.211 MB/s

         Test Size : 100 MB
              Date : 2010/01/06 11:53:43

————————————————–raid0 149.06 GB

   Sequential Read :   95.470 MB/s
  Sequential Write :   26.994 MB/s
Random Read 512KB :   92.547 MB/s
Random Write 512KB :   21.173 MB/s
   Random Read 4KB :   20.783 MB/s
  Random Write 4KB :    0.597 MB/s

         Test Size : 100 MB
              Date : 2010/01/06 12:12:11

Raid構成と必要なHDD数は下記。

Create a new RAID array

Please note that RAID-0 arrays need atleast 2 member devices;
RAID-1 array members need to be multiples of 2;
RAID-5 arrays need atleast 3 member devices;
RAID-6 arrays need atleast 4 member devices;
RAID-10 arrays need atleast 4 member devices and need to be multiples of 2.

いろいろ試してみて、Ldapサーバとしても使えるみたい。以前、WEB管理画面つきのLdap探してて行き詰まったので、これはいいかも。あと、snapshotも取れるのは確認した。どうやって、使うか思案中。

次回は2Gか4GのUSBにシステム入れてテストしてみよう。

再起動でつながったよ Microsoft iscsi initiator 2.08

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (0)
Loading ... Loading ...

ML115G1にnVraid5で仕込んだiscsiの設定ができたんで、WinXPpro32bitからつなげようと、下記をDownload.

microsoft iscsi software initiator 2.08

いやはや、繋がらないですね。ターゲット側の設定見直したりしましたが、おかしなところはなさそう。もうしらね、って思いお風呂入る前にWinXP再起動したら、あっさりつながった。インストールする時、再起動しなさいってメッセージなかったんだけどね~。ま、いいや。ハマった人、来てくれるかな。

で、早速ベンチマーク。

   Sequential Read :   11.630 MB/s
  Sequential Write :    8.577 MB/s
Random Read 512KB :   11.570 MB/s
Random Write 512KB :    6.136 MB/s
   Random Read 4KB :    6.218 MB/s
  Random Write 4KB :    0.185 MB/s

         Test Size : 100 MB
              Date : 2010/01/03 8:55:24

あれれ、10Mって。あ、HUBが10MのデスクトップスッチングHUBに繋がってました。基幹HUBより直結して再度測り直し。

   Sequential Read :  107.878 MB/s
  Sequential Write :   16.011 MB/s
Random Read 512KB :  103.359 MB/s
Random Write 512KB :   10.744 MB/s
   Random Read 4KB :   20.320 MB/s
  Random Write 4KB :    0.192 MB/s

         Test Size : 100 MB
              Date : 2010/01/03 9:02:30

ほほぉ、読むのは早いんだね。書き込みが遅いのはこんなもんか、設定の影響か。
ついでに、HDD TUNE2.55での結果も。

HD Tune: IET     VIRTUAL-DISK Benchmark

Transfer Rate Minimum : 38.0 MB/sec
Transfer Rate Maximum : 78.0 MB/sec
Transfer Rate Average : 53.2 MB/sec
Access Time           : 1.3 ms
Burst Rate            : 64.3 MB/sec
CPU Usage             : 8.4%

ちょっと遅い、昔のIDEディスクって感じですね。

テスト環境を下記に記しておきます。

▼クライアント側
WindowsXPpro32bit (ML115G5 AMD Phenom II X4 940 3GHz)
microsoft iscsi software initiator 2.08
NTFS 4Gbyte

network 1000Mbps (HUB FXG-0224TX)

▼サーバ側
CentOS5.4 x86-64 (ML115G1 AMD Opteron1216 2.4GHz)
iscsitarget-1.4.19
nvRaid5 (80G x 3 160G x1)あまりのディスクなのでバラバラですが

サーバ側はnvRaid MirrorとRaid5でそれほどかわりなかったので、Raid5にしました。以下、ベンチマーク。

==============================================================ML115 G1 Onbard Raid mirror
                                                              AMD Opteron1216 2.4GHz
                                                              CentOS5.4 x86_64
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: ML115: GNU/Linux
   OS: GNU/Linux — 2.6.18-164.el5 — #1 SMP Thu Sep 3 03:28:30 EDT 2009
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Dual-Core AMD Opteron(tm) Processor 1216 (2000.3 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
   CPU 1: Dual-Core AMD Opteron(tm) Processor 1216 (2000.3 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
   13:53:43 up  1:31,  2 users,  load average: 0.00, 0.03, 0.35; runlevel 3

————————————————————————
Benchmark Run: Sat Jan 02 2010 13:53:43 - 14:21:23
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        7487416.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1879.8 MWIPS (5.5 s, 7 samples)
Execl Throughput                               1062.0 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        194820.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           64547.5 KBps  (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        423057.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                              478977.5 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 123755.0 lps   (10.0 s, 7 samples)
Process Creation                               8748.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   2027.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    876.5 lpm   (60.1 s, 2 samples)
System Call Overhead                         857067.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    7487416.2    641.6
Double-Precision Whetstone                       55.0       1879.8    341.8
Execl Throughput                                 43.0       1062.0    247.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     194820.7    492.0
File Copy 256 bufsize 500 maxblocks            1655.0      64547.5    390.0
File Copy 4096 bufsize 8000 maxblocks          5800.0     423057.0    729.4
Pipe Throughput                               12440.0     478977.5    385.0
Pipe-based Context Switching                   4000.0     123755.0    309.4
Process Creation                                126.0       8748.5    694.3
Shell Scripts (1 concurrent)                     42.4       2027.2    478.1
Shell Scripts (8 concurrent)                      6.0        876.5   1460.9
System Call Overhead                          15000.0     857067.0    571.4
                                                                   ========
System Benchmarks Index Score                                         501.0

————————————————————————
Benchmark Run: Sat Jan 02 2010 14:21:23 - 14:49:02
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       15136552.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3744.1 MWIPS (4.9 s, 7 samples)
Execl Throughput                               5154.2 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        117682.8 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           23042.9 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        430782.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                              952388.3 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 309115.1 lps   (10.0 s, 7 samples)
Process Creation                              16014.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   6363.9 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    918.0 lpm   (60.0 s, 2 samples)
System Call Overhead                        1413141.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   15136552.6   1297.0
Double-Precision Whetstone                       55.0       3744.1    680.8
Execl Throughput                                 43.0       5154.2   1198.6
File Copy 1024 bufsize 2000 maxblocks          3960.0     117682.8    297.2
File Copy 256 bufsize 500 maxblocks            1655.0      23042.9    139.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     430782.0    742.7
Pipe Throughput                               12440.0     952388.3    765.6
Pipe-based Context Switching                   4000.0     309115.1    772.8
Process Creation                                126.0      16014.6   1271.0
Shell Scripts (1 concurrent)                     42.4       6363.9   1500.9
Shell Scripts (8 concurrent)                      6.0        918.0   1529.9
System Call Overhead                          15000.0    1413141.0    942.1
                                                                   ========
System Benchmarks Index Score                                         782.8

==============================================================ML115 G1 Onbard Raid 5
                                                              AMD Opteron1216 2.4GHz
                                                              CentOS5.4 x86_64
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: ML115: GNU/Linux
   OS: GNU/Linux — 2.6.18-164.el5 — #1 SMP Thu Sep 3 03:28:30 EDT 2009
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Dual-Core AMD Opteron(tm) Processor 1216 (2000.3 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
   CPU 1: Dual-Core AMD Opteron(tm) Processor 1216 (2000.3 bogomips)
          Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
   15:58:31 up 5 min,  1 user,  load average: 0.11, 0.18, 0.09; runlevel 3

————————————————————————
Benchmark Run: Sat Jan 02 2010 15:58:31 - 16:26:08
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        7488099.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1896.7 MWIPS (4.9 s, 7 samples)
Execl Throughput                               1053.1 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        221188.4 KBps  (30.1 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           73972.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        438177.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                              495456.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  95076.0 lps   (10.0 s, 7 samples)
Process Creation                               8935.0 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   1929.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    820.8 lpm   (60.1 s, 2 samples)
System Call Overhead                         904916.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    7488099.2    641.7
Double-Precision Whetstone                       55.0       1896.7    344.9
Execl Throughput                                 43.0       1053.1    244.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     221188.4    558.6
File Copy 256 bufsize 500 maxblocks            1655.0      73972.3    447.0
File Copy 4096 bufsize 8000 maxblocks          5800.0     438177.3    755.5
Pipe Throughput                               12440.0     495456.7    398.3
Pipe-based Context Switching                   4000.0      95076.0    237.7
Process Creation                                126.0       8935.0    709.1
Shell Scripts (1 concurrent)                     42.4       1929.5    455.1
Shell Scripts (8 concurrent)                      6.0        820.8   1368.0
System Call Overhead                          15000.0     904916.2    603.3
                                                                   ========
System Benchmarks Index Score                                         502.3

————————————————————————
Benchmark Run: Sat Jan 02 2010 16:26:08 - 16:53:44
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       15025755.6 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3976.3 MWIPS (4.6 s, 7 samples)
Execl Throughput                               4989.9 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks         87216.6 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           23724.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        433040.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                              970015.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 309124.0 lps   (10.0 s, 7 samples)
Process Creation                              17086.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5945.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    853.6 lpm   (60.1 s, 2 samples)
System Call Overhead                        1464909.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   15025755.6   1287.6
Double-Precision Whetstone                       55.0       3976.3    723.0
Execl Throughput                                 43.0       4989.9   1160.4
File Copy 1024 bufsize 2000 maxblocks          3960.0      87216.6    220.2
File Copy 256 bufsize 500 maxblocks            1655.0      23724.4    143.3
File Copy 4096 bufsize 8000 maxblocks          5800.0     433040.8    746.6
Pipe Throughput                               12440.0     970015.0    779.8
Pipe-based Context Switching                   4000.0     309124.0    772.8
Process Creation                                126.0      17086.1   1356.0
Shell Scripts (1 concurrent)                     42.4       5945.3   1402.2
Shell Scripts (8 concurrent)                      6.0        853.6   1422.6
System Call Overhead                          15000.0    1464909.8    976.6
                                                                   ========
System Benchmarks Index Score                                         765.6

いやぁ、ML115って面白いマシンですね。

Page 1 of 3112345»...Last »