
The device that holds the replicated data on the respective
node. Use this device to create file systems and mount oper-
ations.
Device
The device that is replicated between both nodes.
Disk
The Meta-disk is either set to the value
internal
or
specifies an explicit device extended by an index to hold the
meta data needed by drbd.
Meta-disk
When using
internal
, the last 128 MB of the replicated
device are used to store the meta data.
A real device may also be used for multiple drbd resources.
For example, if your Meta-Disk is
/dev/sda6[0]
for the
first resource, you may use
/dev/sda6[1]
for the second
resource. However, there must be at least 128 MB space for
each resource available on this disk.
All of these options are explained in the examples in the
/usr/share/doc/
packages/drbd/drbd.conf
file and in the man page of
drbd.conf(5)
.
5
Copy the
/etc/drbd.conf
file to the
/etc/drbd.conf
location on the
secondary server (node 2).
scp /etc/drbd.conf <node 2>:/etc
6
Initialize and start the DRBD service on both systems by entering the following
on each node:
drbdadm create-md r0
rcdrbd start
7
Configure
node1
as the primary node by entering the following on
node1
:
drbdsetup /dev/drbd0 primary --overwrite-data-of-peer
8
Check the DRBD service status by entering the following on each node:
Distributed Replicated Block Device (DRBD)
123
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......