[sheepdog-users] start cluster with two nodes

Valerio Pachera sirio81 at gmail.com
Tue Dec 11 16:32:33 CET 2012


Hi, I tried to format the cluster with only 2 nodes and it worked.
I also tried to create a disk and run a vm: ok.
I killed then the second node.

The cluster stopped hime self as aspected
  IO has halted as there are too few living nodes

@When I restared sheep daeom on the second node, the cluster info says
it's not started
---
collie cluster info
Cluster status: IO has halted as there are too few living nodes

Cluster created at Tue Dec 11 15:48:47 2012

Epoch Time           Version
2012-12-11 16:00:40      3 [192.168.2.42:7000, 192.168.2.43:7000]
...
---

@After rebooting the 2th node, it's running
---

collie cluster info
Cluster status: running

Cluster created at Tue Dec 11 15:48:47 2012

Epoch Time           Version
2012-12-11 16:26:09      7 [192.168.2.42:7000, 192.168.2.43:7000]
---

@But I can't use vdi:
---

collie vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
Failed to read object 808f5b1100000000 IO has halted as there are too
few living nodes
Failed to read inode header
---

@Adding a 3th node, it works
---
collie vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  prova        1   10 GB  428 MB  0.0 MB 2012-12-11 15:53   8f5b11     3
--

I undesrtand that, with only two nodes, we can't have the failover and
the cluster stops.
I do not understand why it starts right after formatting the cluster.



More information about the sheepdog-users mailing list