Troubleshooting Drbd; Configuration; Host Names - Novell LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007 Administration Manual

Table of Contents

Advertisement

5 To get the service to automatically start and fail over if the server has a problem, you can set up

9.5 Troubleshooting DRBD

Use the following to troubleshoot problems with your DRBD setup:

9.5.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 the root user or equivalent.
2 Test the configuration file by running drbdadm with the -d option. Enter
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. Enter

9.5.2 Host Names

Please note that for DRBD, hostnames are case sensitive and therefore Node0 would be a different
host than node0.
104 SLES 10 Storage Administration Guide
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
DRBD as a high availability service with HeartBeat 2.
For information about installing and configuring HeartBeat 2 for SUSE
Server 10, see the
HeartBeat 2 Installation and Setup Guide (http://www.novell.com/
documentation/sles10/hb2/data/hb2_config.html)
SUSE Linux Enterprise Server 10
Section 9.5.1, "Configuration," on page 104
Section 9.5.2, "Host Names," on page 104
Section 9.5.3, "TCP Port 7788," on page 105
Section 9.5.4, "The --do-what-i-say Option," on page 105
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.
drbdadm adjust r0
This applies the configuration file to the DRBD resource.
on the
Novell Documentation Web site for
(http://www.novell.com/documentation/sles10).
®
Linux Enterprise

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Suse linux enterprise server 10 storage

Table of Contents