Configuring The Drbd Service - Novell LINUX ENTERPRISE SERVER 10 SP2 - STORAGE ADMINISTRATION GUIDE 05-15-2009 Administration Manual

Table of Contents

Advertisement

1b Choose Software > Software Management.
1c Change the filter to Patterns.
1d Under Base Technologies, select High Availability.
1e Click Accept.
2 Install the
2a Log in as the
2b Choose Software > Software Management.
2c Change the filter to Search.
2d Type
2e Select all of the
2f Click Accept.

9.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 Log in as the
2 Open the
following parameters in the
hostname
device
disk
address
meta-disk
All of these options are explained in the examples in the
drbd.conf
3 Copy the
(node 2).
scp /etc/drbd.conf <node 2> /etc
4 Initialize and start the drbd service on both systems by entering the following on each node:
rcdrbd start
5 Configure
drbdsetup /dev/drbd0 primary --do-what-I-say
NOTE: The --do-what-i-say option has been renamed to --overwrite-data-of-peer in the recent
versions of DRBD.
6 Check the DRBD service status by entering the following on each node:
rcdrbd status
Before proceeding, wait until the block devices on both nodes are fully synchronized. Repeat
the
rcdrbd status
118 SLES 10 SP2: Storage Administration Guide
kernel modules on both servers.
drbd
user or equivalent, then open YaST.
root
, then click Search.
drbd
drbd-kmp-*
user or equivalent on each node.
root
file on the primary node (
/etc/drbd.conf
on hostname {}
file and in the man page of
file to the
/etc/drbd.conf
as the primary node by entering the following on
node1
command to follow the synchronization progress.
packages.
node1
sections, then save the file.
/usr/share/doc/packages/drbd/
.
drbd.conf(5)
location on the secondary server
/etc/drbd.conf
) in a text editor, modify the
:
node1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents