[DRBD-user] A simple test
bench at silentmedia.com
Tue Jun 12 21:00:43 CEST 2007
Heartbeat comes with a nice script to make this easy:
/etc/ha.d/resource.d/drbddisk < drbd resource > < start | stop >
You can use this even if Heartbeat isn't running, and it's the script
Heartbeat will use, so if you're testing to make sure Heartbeat will
work, I recommend using it to test. If you want to be gentle, stop
the resource on the first node and then start it on the second. If
you want to be more paranoid, pull the plug on the first node instead
of stopping the resource, and verify everything is still correct.
On Jun 12, 2007, at 11:33 AM, Ryan Steele wrote:
> Hey folks,
> Before I get Heartbeat into the mix, I want to verify DRBD is
> working properly in my setup. I have DRBD running on both boxes,
> and have done a --do-what-I-say primary all on the first machine.
> I then mounted /dev/drbd0 on /home on the first machine and put a
> little test file there.
> Now, I want to verify that I can mount /dev/drbd0 on /home on the
> second machine and see the little test file there. What is the
> best way to go about doing so? Thanks for any advice.
> By the way, /proc/drbd says things are consistent, so I think as
> long as I can verify what I said above, I should be ready to
> introduce Heartbeat. Thanks again!
> Best Regards,
> drbd-user mailing list
> drbd-user at lists.linbit.com
More information about the drbd-user