| 1 | [[PageOutline]] |
| 2 | |
| 3 | = HA-NFS = |
| 4 | * Highly Available NFS with DRBD and Pacemaker |
| 5 | |
| 6 | == DRBD on LVM with RAID1 == |
| 7 | * Primary |
| 8 | * /dev/sd[bc]1 -> /dev/md0 (RAID1) |
| 9 | * /dev/md0 -> /dev/vgnfs/drbd (LVM) |
| 10 | * Secondary |
| 11 | * /dev/sdb1 -> /dev/vgnfs/drbd (LVM) |
| 12 | |
| 13 | * 全体図 |
| 14 | {{{ |
| 15 | drbd/Primary (ubuntu-haa) |
| 16 | -------------------------------------------------------------- |
| 17 | | ------------------------- | |
| 18 | | sda | system[ / ] | swap | | |
| 19 | | ------------------------- | |
| 20 | | | |
| 21 | NIC(192.168.234.101) sdb sdc | |
| 22 | || | || -------------- -------------- | |
| 23 | || ----||------| |----------| |------------ |
| 24 | || || | Linux | | Linux | |
| 25 | || || | raid | | raid | |
| 26 | || || | autodetect<=== RAID1 ==>autodetect | |
| 27 | || || |------------| | |------------| |
| 28 | || || -------------- | -------------- |
| 29 | || || | |
| 30 | || || ----------LVM---------- |
| 31 | || || | | | |
| 32 | || ======================drbd |*1 | *1: snapshot |
| 33 | || | | | |
| 34 | || ----------------------- |
| 35 | || |
| 36 | || |
| 37 | || |
| 38 | || |
| 39 | || |
| 40 | || drbd/Secondar (ubuntu-hab) |
| 41 | || ----------------------------------- |
| 42 | || | ------------------------- | |
| 43 | || | sda | system[ / ] | swap | | |
| 44 | || | ------------------------- | |
| 45 | || | | |
| 46 | NIC(192.168.234.102) sdb | |
| 47 | | || |------------| | |
| 48 | ----||------| |--------- |
| 49 | || | LVM | |
| 50 | || | |----| |
| 51 | || |------------| | |
| 52 | || -------------- | |
| 53 | || | |
| 54 | || ----------LVM---------- |
| 55 | || | | | |
| 56 | ======================drbd |*1 | *1: snapshot |
| 57 | | | | |
| 58 | ----------------------- |
| 59 | }}} |