High Availability in CEPH monitor -
i have 4 node ceph architecture shown in figure. ceph architecture ceph.conf contains
[global] fsid = 23923667-d7af-4138-a6e5-2e38fb999e2d max open files = 131072 mon_initial_members = host1, host2 mon host = 10.xx.xx.1,10.xx.xx.2 public_network = 10.xx.xx.xx/27 cluster_network = 10.xx.xx.xx/27
the first monitor has been attached using following command
ceph-deploy mon create-initial
second monitor has been added cluster following command
ceph-deploy mon add 10.xx.xx.2
we testing high availability cases setup.
case 1: brought down node 10.xx.xx.2 , tested connection. ceph , responding monitor 10.xx.xx.1
case 2: brought down node 10.xx.xx.1. unable access ceph cluster via 10.xx.xx.2.
is there other way create setup second node becomes master when first node down ?
[edit1]
the scenario is
intial monitor node = mon.a additional monitor node =mon.b,mon.c
when bring down mon.b , mon.c ceph working fine.
but when bring down mon.a entire ceph cluster gets disturbed , ceph not responding.
if have 2 mon, either mon disappear not have quorum. therefore not have running state if 1 mon disappear. yes, need odd number mon total. 1,3,5, etc. i'm not sure why have quorum without 1 mon. if do, ceph -s show how quorum.
Comments
Post a Comment