
rcdrbd status
Before proceeding, wait until the block devices on both nodes are fully synchro-
nized. Repeat the
rcdrbd status
command to follow the synchronization
progress.
9
After the block devices on both nodes are fully synchronized, format the DRBD
device on the primary with a file system such as reiserfs. Any Linux file system
can be used. For example, enter
mkfs.reiserfs -f /dev/drbd0
IMPORTANT
Always use the
/dev/drbd<n>
name in the command, not the actual
/dev/disk
device name.
14.3 Testing the DRBD Service
If the install and configuration procedures worked as expected, you are ready to run a
basic test of the DRBD functionality. This test also helps with understanding how the
software works.
1
Test the DRBD service on node 1.
1a
Open a terminal console, then log in as
root
.
1b
Create a mount point on node 1, such as
/srv/r0mount
.
mkdir -p /srv/r0mount
1c
Mount the
drbd
device.
mount -o rw /dev/drbd0 /srv/r0mount
1d
Create a file from the primary node.
124
High Availability Guide
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......