
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
Summary of Contents for LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Page 10: ......
Page 11: ...Part I Installation and Setup...
Page 12: ......
Page 28: ......
Page 38: ......
Page 39: ...Part II Configuration and Administration...
Page 40: ......
Page 68: ......
Page 108: ......
Page 114: ......
Page 115: ...Part III Storage and Data Replication...
Page 116: ......
Page 126: ......
Page 140: ......
Page 141: ...Part IV Troubleshooting and Reference...
Page 142: ......
Page 148: ......
Page 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Page 202: ......
Page 210: ......
Page 285: ...Part V Appendix...
Page 286: ......