# Rancher HA with multi master mysql

**URL:** <https://forums.suse.com/t/rancher-ha-with-multi-master-mysql/2962>\
**Category:** Rancher 1.x\
**Created:** [May 30, 2016, 9:59am UTC](https://forums.suse.com/t/rancher-ha-with-multi-master-mysql/2962 "2016-05-30T09:59:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![garjunan](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@garjunan](https://forums.suse.com/u/garjunan)\
**Post date:** [May 30, 2016, 9:59am UTC](https://forums.suse.com/t/rancher-ha-with-multi-master-mysql/2962/1 "2016-05-30T09:59:31Z")

</div>

Hi,

I am planning to setup Rancher HA with multi master mysql server. How do i point rancher server to both mysql servers? So that it automatically talks to second mysql if the first one is down.

Can we specify multiple hostname to CATTLE\_DB\_CATTLE\_MYSQL\_HOST variable?

Thanks  
Gokul

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [June 2, 2016, 3:04am UTC](https://forums.suse.com/t/rancher-ha-with-multi-master-mysql/2962/2 "2016-06-02T03:04:06Z")

</div>

We have yet to test out how to set up HA with multi master mysql servers, which is on the roadmap of something to add to Rancher’s ability.

> <https://github.com/rancher/rancher/issues/4638>
