Configuring The Drbd Service - Novell LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE FOR EVMS Administration Manual

Table of Contents

Advertisement

8.3 Configuring the DRBD Service

NOTE: The following procedure uses the server names node 1 and node 2, and the cluster resource
name r0. It sets up node 1 as the primary node. Make sure to modify the instructions to use your own
node and file names.
1 Open the /etc/drbd.conf file on the primary node (node 1) in a text editor, modify the
2 Copy the /etc/drbd.conf file to the /etc/drbd.conf location on the secondary server
3 Configure the DRBD service for node 1.
4 Configure the DRBD service for node 2.
86
SLES 10 Storage Administration Guide for EVMS
2a Log in as the root user or equivalent, then open YaST.
2b Choose Software > Software Management.
2c Change the filter to Search.
2d Type drbd, then click Search.
2e Select all of the drbd-kmp-* packages.
2f Click Accept.
following parameters in the on hostname {} sections, then save the file.
hostname
device
disk
meta-disk
address
port
All of these options are explained in the examples in the /usr/share/doc/packages/
drbd/drbd.conf file.
(node 2).
3a Open a terminal console for node 1, then log in as the root user or equivalent.
3b Initialize DRBD on node 1 by entering
modprobe drbd
3c Test the configuration file by running drbdadm with the -d option. Enter
drbdadm -d adjust r0
3d If the partitions and settings are correct, run drbdadm again without the -d option. Enter
drbdadm adjust r0
Make sure there are no errors before continuing.
4a Open a terminal console for node 2, then log in as the root user or equivalent.
4b Initialize the DRBD service on node 2 by entering
modprobe drbd
4c Test the configuration file by running drbdadm with the -d option. Enter
drbdadm -d adjust r0
4d If the partitions and settings are correct, run drbdadm again without the -d option. Enter

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 storage

Table of Contents