[sheepdog] run two sheepdog cluster on same cluster

tuji tuji at atworks.co.jp
Thu May 8 12:57:19 CEST 2014


Thank you for your information.

> Simply,
> 1. start corosync process
> 2. sheep -p 7000 -z 0 /store1
> 3. sheep -p 7001 -z 1 /store2
> would be enough. Or do you want to do something different?

It is enough for me.
So I tried -z option.

But it was not function as we expected.

I executed this command on 10.0.1.3
/usr/sbin/sheep -p 7000 -z 0 /home/sheepdog
/usr/sbin/sheep -p 7001 -z 1 /home/sheepdog2

10.0.1.3:7000 and 10.0.1.3:7001 were added same cluster.

[root at node003 ~]# dog node list
  Id   Host:Port         V-Nodes       Zone
   0   10.0.1.1:7000            74   16842762
   1   10.0.1.2:7000            74   33619978
   2   10.0.1.3:7000            83          0
   3   10.0.1.3:7001             5          1
   4   10.0.1.4:7000            83   67174410

[root at node003 ~]# dog cluster info
Cluster status: running, auto-recovery enabled

Cluster created at Fri Feb  7 16:07:41 2014

Epoch Time           Version
2014-05-08 19:45:42     38 [10.0.1.1:7000, 10.0.1.2:7000, 10.0.1.3:7000, 10.0.1.3:7001, 10.0.1.4:7000]
2014-05-08 19:44:46     37 [10.0.1.1:7000, 10.0.1.2:7000, 10.0.1.3:7000, 10.0.1.4:7000]
2014-05-08 19:44:42     36 [10.0.1.1:7000, 10.0.1.2:7000, 10.0.1.4:7000]



--------------------------
Masahiro Tsuji

A.T.WORKS, INC
URL http://www.atworks.co.jp




More information about the sheepdog mailing list