i have a specific question, her's my situation :
1- 2 vms with drbd - pacemaker - corosync - NFs - here's my crm configuration :
node san1
node san2
primitive drbd_res1 ocf:linbit:drbd \
params drbd_resource="res1" \
op monitor interval="20s"
primitive fs_res1 ocf:heartbeat:Filesystem \
params device="/dev/drbd0" directory="/mnt/res1" fstype="ext3"
primitive nfs-common lsb:nfs-common
primitive nfs-kernel-server lsb:nfs-kernel-server
group services fs_res1 nfs-kernel-server nfs-common
ms ms_drbd_res1 drbd_res1 \
meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"
location location_on_san1 ms_drbd_res1 100: san1
colocation services_on_drbd inf: services ms_drbd_res1:Master
order services_after_drbd inf: ms_drbd_res1:promote services:start
property $id="cib-bootstrap-options" \
dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
cluster-infrastructure="openais" \
expected-quorum-votes="2" \
no-quorum-policy="ignore" \
stonith-enabled="false"
my issue is : i should mount the exported NFS on the NFS client, but i dont know what ip i'm giving, i was thinking about making a same virtual IP, with 2 machines (using the eth0:x) so if a server does go down i wont have do anything in the client VM,
would that work ?, or i'm completely out of my mind, if not can you give me tip,
i searched for it for like 1 hour in the internet i didnt find anything,
Thank you a lot