
touch /srv/r0mount/from_node1
2
Test the DRBD service on node 2.
2a
Open a terminal console, then log in as
root
.
2b
Dismount the disk on node 1.
umount /srv/r0mount
2c
Downgrade the DRBD service on node 1 by typing the following command
on node 1:
drbdadm secondary r0
2d
On node 2, promote the DRBD service to primary.
drbdadm primary r0
2e
On node 2, check to see if node 2 is primary.
rcdrbd status
2f
On node 2, create a mount point such as
/srv/r0mount
.
mkdir /srv/r0mount
2g
On node 2, mount the DRBD device.
mount -o rw /dev/drbd0 /srv/r0mount
2h
Verify that the file you created on node 1 is viewable.
ls /srv/r0mount
The
/srv/r0mount/from_node1
file should be listed.
Distributed Replicated Block Device (DRBD)
125
Содержание 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: ......