
14.4.1 Configuration
If the initial
drbd
setup does not work as expected, there is probably something wrong
with your configuration.
To get information about the configuration:
1
Open a terminal console, then log in as
root
.
2
Test the configuration file by running
drbdadm
with the
-d
option. Enter
drbdadm -d adjust r0
In a dry run of the
adjust
option,
drbdadm
compares the actual configuration
of the DRBD resource with your DRBD configuration file, but it does not execute
the calls. Review the output to make sure you know the source and cause of any
errors.
3
If there are errors in the
drbd.conf
file, correct them before continuing.
4
If the partitions and settings are correct, run
drbdadm
again without the
-d
option.
drbdadm adjust r0
This applies the configuration file to the DRBD resource.
14.4.2 Hostnames
For DRBD, hostnames are case sensitive (
Node0
would be a different host than
node0
).
If you have several network devices and want to use a dedicated network device, the
hostname will likely not resolve to the used ip address. In this case, use the parameter
disable-ip-verification
.
Distributed Replicated Block Device (DRBD)
127
Содержание 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: ......