View Single Post
Old 30th August 2008, 11:00
Bart van Kleef Bart van Kleef is offline
Junior Member
Join Date: Aug 2008
Posts: 15
Thanks: 4
Thanked 0 Times in 0 Posts


I decided to change back to vmware server 1 (1.0.7) because 2 sucks. The reason why I go back:
When I reboot the primary node all the VM's are inaccessible when I poweroff the primary /var/vm is correctly mounted on the secondary but the VM's are again inaccessible the work around I discovered, delete the inaccessible VM's and make a new VM. Delete that one after you finished the wizard. Now you can add the inaccessible VM's..
And because of above the whole fail over doens't work

So there is one other thing, I got three three on both servers. I want to use eth0 for all the default network traffic, eth1 for heartbeat and eth2 for drbd traffic. So I need to edit /etc/hosts to something like this:
Code:       localhost.localdomain   localhost    sproetjuh.home          sproetjuhdefault    sproetjuh.home          sproetjuhheartbeat    sproetjuh.home          sproetjuhdrbd    kimmetjuh.home          kimmetjuhdefault    kimmetjuh.home          kimmetjuhheartbeat    kimmetjuh.home          kimmetjuhdrbd
And the /etc/drbd.conf to:
on sproetjuhdrbd {
    device     /dev/drbd0;
    disk       /dev/hda6;
    meta-disk  internal;
  on kimmetjuhdrbd {
    device     /dev/drbd0;
    disk       /dev/hda6;
    meta-disk  internal;
But after this I got the following error:

sproetjuh:~# drbdadm up all
/etc/drbd.conf:27: in resource vm1, on sproetjuhdrbd { ... } ... on kimmetjuhdrbd { ... }:
        There are multiple host sections for the peer.
        Maybe misspelled local host name 'sproetjuh'?
And that's logical because:
sproetjuh:~# hostname
sproetjuh:~# hostname -f
So I hope someone can help me! Because the man page about hosts and google can't help me futher..

Have a good day,

Greetings from the Netherlands,

Bart van Kleef
Reply With Quote