![Novell LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007 Administration Manual Download Page 102](http://html1.mh-extra.com/html/novell/linux-enterprise-server-10-storage-administration-guide-7-2007/linux-enterprise-server-10-storage-administration-guide-7-2007_administration-manual_1711843102.webp)
102
SLES 10 Storage Administration Guide
no
vd
ocx
(e
n)
6 Ap
ril 20
07
1b
Choose
Software > Software Management.
1c
Change the filter to
Patterns
.
1d
Under
Base Technologies
, select
High Availability
.
1e
Click
Accept
.
2
Install the
drbd
kernel modules on both servers.
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
.
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
root
user or equivalent on each node.
2
Open the
/etc/drbd.conf
file on the primary node (
node1
) in a text editor, modify the
following parameters in the
on hostname {}
sections, then save the file.
hostname
device
disk
address
meta-disk
All of these options are explained in the examples in the
/usr/share/doc/packages/
drbd/drbd.conf
file and in the man page of
drbd.conf(5)
.
3
Copy the
/etc/drbd.conf
file to the
/etc/drbd.conf
location on the secondary server
(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
node1
as the primary node by entering the following on
node1
:
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
command to follow the synchronization progress.
Summary of Contents for LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE 7-2007
Page 4: ...novdocx en 6 April 2007...
Page 30: ...30 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 42: ...42 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 58: ...58 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 90: ...90 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 100: ...100 SLES 10 Storage Administration Guide novdocx en 6 April 2007...
Page 106: ...106 SLES 10 Storage Administration Guide novdocx en 6 April 2007...