4b Downgrade the DRBD service on node 2 by typing the following command on node 2:
drbdadm secondary r0
4c On node 1, promote the DRBD service to primary by entering
drbdadm primary r0
4d On node 1, check to see if node 1 is primary by entering
service drbd status
5 To get the service to automatically start and fail over if the server has a problem, you can set up
DRBD as a high availability service with HeartBeat 2.
For information about installing and configuring HeartBeat 2 for SUSE
Server 10, see the
documentation/sles10/hb2/data/hb2_config.html)
SUSE Linux Enterprise Server 10
9.5 Troubleshooting DRBD
Use the following to troubleshoot problems with your DRBD setup:
Section 9.5.1, "Configuration," on page 122
Section 9.5.2, "Host Names," on page 122
Section 9.5.3, "TCP Port 7788," on page 123
Section 9.5.4, "The --do-what-i-say Option," on page 123
9.5.1 Configuration
If the initial
configuration.
To get information about the configuration:
1 Open a terminal console, then log in as the
2 Test the configuration file by running
drbdadm -d adjust r0
In a dry run of the
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
4 If the partitions and settings are correct, run
drbdadm adjust r0
This applies the configuration file to the DRBD resource.
9.5.2 Host Names
Please note that for DRBD, hostnames are case sensitive and therefore
host than
node0
122 SLES 10 SP3: Storage Administration Guide
HeartBeat 2 Installation and Setup Guide (http://www.novell.com/
setup does not work as expected, there is probably something wrong with your
drbd
option,
adjust
drbd.conf
.
on the
Novell Documentation Web site for
(http://www.novell.com/documentation/sles10).
user or equivalent.
root
with the
drbdadm
-d
compares the actual configuration of the DRBD
drbdadm
file, correct them before continuing.
again without the
drbdadm
®
Linux Enterprise
option. Enter
option. Enter
-d
would be a different
Node0
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 SP3 - STORAGE ADMINISTRATION GUIDE 2-23-2010 and is the answer not in the manual?
Questions and answers