Hi,
I am trying to set up 3 node cluster with machine 1 running zookeeper, master, chronos. Machine 2 I am running mesos master and zookeeper. Machine 3 I am running Mesos Slave.
If I run one zookeeper and when I shut down a master in one machine, the other master automatically picks up.
If I run two zookeepers in machine 1 and machine 2, and when I shut down one zookeeper, the scheduling just stops.
I am not sure what mistake I do when I start these applications. Following is the commands I use.
In machine 1:
cd /home/bgopalan-admin/zookeeper-3.4.6
./bin/zkServer.sh start
In Machine 2:
cd /home/bgopalan-admin/zookeeper-3.4.6
./bin/zkServer.sh start
In Machine 1:
./bin/mesos-master.sh --zk=zk://localhost:2181/mesos,
10.129.80.225:2181/mesos --ip==,10.129.80.223 &
In Machine 2:
./bin/mesos-master.sh --zk=zk://localhost:2181/mesos,
10.129.80.223:2181/mesos --ip==,10.129.80.225 &
In Machine 3:
nohup ./bin/mesos-slave.sh --master=zk://localhost:2181/mesos,
10.129.80.223:2181/mesos --ip==,10.129.80.224 &
In Machine 1:
nohup ./bin/start-chronos.bash --master zk://localhost:2181/mesos,
10.129.80.225:2181/mesos --zk_hosts zk://localhost:2181/mesos,
10.129.80.225:2181/mesos --http_port 8081 --mail_server localhost:25 --mail_user bgopalan --mail_password Palanivel@901 --mail_from
baskaran...@intuit.com &
Can somebody help to verify if the above sequence and parameters are fine to test when one zookeeper goes down the other will still help to chronos scheduling.
Thanks
Baskaran