The Cagou's Blog

  • Accueil
  • Archives
  • gpg public key

How to make HA GlusterFs using Keepalived

Publié le 02/08/2017 à 01:01
Par fccagou

Dans IT.

tags: LinuxHAGlusterKeepaliveddistributedfs

Example tested on 2 CentOS7 VM

! Configuration File for keepalived

vrrp_script check_glusterd {
  script       "/usr/sbin/pidof glusterd"
  interval 5
  fall 1
  rise 1
!  timeout t
!  weight w
}

global_defs {
}

vrrp_instance gfs01 {
!    state MASTER
    interface eth0
    virtual_router_id 51
    priority 100
    advert_int 1
    nopreempt
    authentication {
        auth_type PASS
        auth_pass 1111
    }
    virtual_ipaddress {
        192.168.122.100/24
    }

    track_script {
       check_glusterd
    }
}

Some links

  • RedHat loadbalancing
  • Keepalived User Guide
  • Unicsolution blog

Catégories

  • Draft
  • Editors
  • IT
  • rhel8
  • TIPS

Réseaux sociaux

  • atom feed
  • twitter
  • github
Ce site est généré par Pelican, un CMS réalisé en Python.

Le thème utilisé est «NotMyIdea-CMS», une version modifiée de «NotMyIdea», le thème par défaut.