I have drbd setup and I have moved myql partition to the drbd device and moved the data portion of my website to the drbd device. I have installed drbd and it is working and mysql moved and working. I need help with configuring my haresouces file. Some of the documentation is confusing. BTW Im using drbd v8 and heartbeat v2. Thanks
Server01 IPaddr::192.168.1.114
Server01 drbddisk::r0 Filesystem::/dev/drbd0::/r
eplicated/
mysql/data
::reiserfs
mysql
Filesystem::/dev/drbd0::/r
eplicated:
:reiserfs apache2
I would like to know the correct way to implement the haresources file to restart mysql, apache2 service, create a virtual ip address, and mount my drbd device
Start Free Trial