前回構築したクラスタでは、オンボードのNICを指定していました。
USB NICを増設してそれをDRBD同期とします。
Proxmox上でLinux Bridgeを作成、IPアドレスのアサインまで済んだ状態とします。
コントローラを実行しているノードで以下を実行して、インタフェイスの追加と優先を変更します。
# linstor node interface create pve-alice SAN_1G 192.168.3.21 # linstor node interface create pve-belle SAN_1G 192.168.3.22 # linstor node interface create pve-clare SAN_1G 192.168.3.23 # linstor node set-property pve-alice PrefNic SAN_1G # linstor node set-property pve-belle PrefNic SAN_1G # linstor node set-property pve-clare PrefNic SAN_1G
追加したカードは以下で確認できます。クラスタ作成時はdefaultが勝手に作られます。
# linstor node interface list pve-alice lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x pve-alice x NetInterface x IP x Port x EncryptionType x tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu x + StltCon x default x 192.168.8.21 x 3366 x PLAIN x x + x SAN_1G x 192.168.3.21 x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
ついでにディスクをIntel SSDPEKKF256G8Lに変更してみます。
Wifi接続用のKEY A/EからKEY Bに変換するアダプタで増設します。これでT630にnvmeのSSDを搭載できるようになりますが、pcie gen1 x1になるので2.5Gbpsの通信速度になるので、SATAポートより遅いです。
その状態でベンチマークしてみます。シーケンシャルリードは275MiB/s、ライトは82MiB/sでなかなかです。
# dnf -y install fio # wget http://www.winkey.jp/downloads/visit.php/fio-crystaldiskmark # fio fio-crystaldiskmark Run status group 0 (all jobs): READ: bw=275MiB/s (289MB/s), 275MiB/s-275MiB/s (289MB/s-289MB/s), io=1024MiB (1074MB), run=3717-3717msec Run status group 1 (all jobs): WRITE: bw=82.1MiB/s (86.1MB/s), 82.1MiB/s-82.1MiB/s (86.1MB/s-86.1MB/s), io=1024MiB (1074MB), run=12472-12472msec Run status group 2 (all jobs): READ: bw=204MiB/s (214MB/s), 204MiB/s-204MiB/s (214MB/s-214MB/s), io=1024MiB (1074MB), run=5018-5018msec Run status group 3 (all jobs): WRITE: bw=62.1MiB/s (65.1MB/s), 62.1MiB/s-62.1MiB/s (65.1MB/s-65.1MB/s), io=1024MiB (1074MB), run=16491-16491msec Run status group 4 (all jobs): READ: bw=11.1MiB/s (11.7MB/s), 11.1MiB/s-11.1MiB/s (11.7MB/s-11.7MB/s), io=669MiB (701MB), run=60001-60001msec Run status group 5 (all jobs): WRITE: bw=1998KiB/s (2046kB/s), 1998KiB/s-1998KiB/s (2046kB/s-2046kB/s), io=117MiB (123MB), run=60001-60001msec Run status group 6 (all jobs): READ: bw=85.1MiB/s (89.2MB/s), 85.1MiB/s-85.1MiB/s (89.2MB/s-89.2MB/s), io=1024MiB (1074MB), run=12033-12033msec Run status group 7 (all jobs): WRITE: bw=31.4MiB/s (32.9MB/s), 31.4MiB/s-31.4MiB/s (32.9MB/s-32.9MB/s), io=1024MiB (1074MB), run=32647-32647msec Disk stats (read/write): dm-4: ios=436455/294765, merge=0/0, ticks=225681/807107, in_queue=1032788, util=99.30%, aggrios=436461/295246, aggrmerge=0/11, aggrticks=224888/809476, aggrin_queue=1034365, aggrutil=99.28% sda: ios=436461/295246, merge=0/11, ticks=224888/809476, in_queue=1034365, util=99.28%