[sheepdog] Sheepdog cluster with proxmoxve

moula BADJI moulab1 at hotmail.com
Wed Apr 10 16:18:54 CEST 2013


Hello,

I try to use sheepdog cluster-storage with cluster Proxmoxve to use HA 
from every VM .

I'll try the same thing on OpenStack.

I have 3 physical servers for each server with 2 hard drives.
1 disc for the system proxmoxve and another dedicated disk storage sheepdog.

on each server:
# Mkdir / var/lib/sheepdog/disc0

To mount the start of the second disk of each server:
# Vim /etc/fstab
I add the line: /dev/sdb     /var/lib/sheepdog/ ext4 errors = remount-ro 
0 1 user_xattr

# Touch / var/lib/sheepdog/dic0/startup
# /etc/init.d/sheepdog start

on the first server, I created the cluster with the command:

# collie cluster format - copies = 3
and I checked with:

# collie node list
Apr 10 9:07:19 [main] connect_to (250) failed to connect to localhost: 
7000: Connection refused
Apr 10 9:07:19 [main] connect_to (250) failed to connect to localhost: 
7000: Connection refused
Failed to get node list

so I 'm forced to retype on 3 servers
# sheep /var/lib/sheepdog

retype in:

# collie node list
  and i have :

Id M Host: Port Zone V-Nodes
- 0 106 191 146 176 192.168.100.11:7000
- 1 34 207 923 392 192.168.100.12:7000
- 2 224 700 608 53 192.168.100.13:7000

And it work. it's good.


The Problem:

Every time I reboot a physical server, Sheepdog no longer works. I have 
always the message:

Apr 10 9:07:19 [main] connect_to (250) failed to connect to localhost: 
7000: Connection refused
Apr 10 9:07:19 [main] connect_to (250) failed to connect to localhost: 
7000: Connection refused
Failed to get node list

I have to repeat the procedure. therefore high avialibility does not 
work with corosync-fencing of Proxmox VE.

Thank you very much for your help.

Moula.



More information about the sheepdog mailing list