garbd installation - Arbitrator for Galera

Comments

18 comments

  • Avatar
    Graham Green

    Upon following the instructions above I get the following:

    # ./s9s_galera --install-garbd -i 1 -h localhost
    load opts 1
    No vendor was specified
    ./s9s-galera --install-garbd -V [percona|mariadb|codership]
    So I added the vendor parameter using one of the options given and get the following:


    # ./s9s_galera --install-garbd -i 1 -h localhost -V mariadb
    load opts 1
    Not a supported vendor

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    The mariadb was indeed missing.

    Please do:

    cd s9s-admin

    git pull

    cd cluster

     ./s9s_galera --install-garbd -i 1 -h <ip address> -V mariadb

    Please don't use "localhost" or "127.0.0.1", use instead the actual ip or hostname (hostname must not resolve to 127.0.0.1) of the server where you want to install haproxy.

    Best regards

    Johan

    0
    Comment actions Permalink
  • Avatar
    Graham Green

    Thanks Johan

    I tried what you suggested, I now get new errors. I have created a ticket for these new problems.

    0
    Comment actions Permalink
  • Avatar
    tom

    Hello,

    i try install garbd, but got this error:

    ./s9s_galera --install-garbd -i 1 -h 10.1.0.105
    load opts 1
    Hostname: 10.1.0.105
    Donor: 10.1.0.102
    Galera port: 4567
    Cluster name: my_wsrep_cluster
    10.1.0.105: Executing 'mkdir -p /root/s9s_tmp/'Ok: 10.1.0.105: Executed mkdir -p /root/s9s_tmp/
    [ok]
    s9s_galera --install-garbd -f <galera package missing>

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    Yes we changed this:

    s9s_galera --install-garbd -i <clusterid> -h<hostname> -f<path to galera package>

    Path to galera package can be:

    /var/www/html/cmon/upload/galera-23.2.4-1.rhel6.x86_64.rpm

    or
    /var/www/html/cmon/upload/galera-23.2.4-amd64.deb

    The galera package is also in you deployment folder.

    E.g, in s9s-galera-codership-2.4.0/mysql/repo/galera..

    Best regards

    Johan

    0
    Comment actions Permalink
  • Avatar
    Johan

    Updated article to reflect the last issue.

    0
    Comment actions Permalink
  • Avatar
    Yuriy Rodak

    Hello,

    CentOS release 6.4, Percona-XtraDB-Cluster-galera-2.6-1.152.rhel6.x86_64

    # touch /etc/cmon.cnf

    # ./s9s_galera --install-garbd -i 1 192.168.36.27
    s9s_galera --install-garbd -p missing

     

    Could you please describe what is cmon and how I can install garbd in my case. Let me know if garbd is a part of extended support package,

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Yuriy Rodak

    my apologies for stupid question. garbd already installed with base package:
    # rpm -qf /usr/bin/garbd
    Percona-XtraDB-Cluster-galera-2.6-1.152.rhel6.x86_64My apolo

    0
    Comment actions Permalink
  • Avatar
    Rich Bos

    Hi, could I just ask if this is meant to be run on a clean system? I'm presuming not as when I run the following -

     ./s9s_galera --install-garbd -i 1 -h<hostname>

    I get the following error -

    Could not find /etc/cmon.cnf

    I have added the repos and installed the percona-xtradb-cluster-galera-2.x package but am presuming that's not enough?

    Any advice appreciated.

    Many thanks,

    RichB

     

     

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    You need a cluster installed with ClusterControl in order to benefit from the Severalnines s9s* tool chain.

    If you have an existing cluster, and install ClusterControl with s9s_bootstrap --install , then you are able to use the s9s* tools.

    Best regards

    Johan

    0
    Comment actions Permalink
  • Avatar
    Rich Bos

    Hi Johan, yes, we have a x3 node cluster installed with s9s CC (4 instances in total), I was trying to run this on a 5th instance so I could remove one of the nodes and run some tests.

    So I'm guessing I run this from the CC? Which then becomes the arbitrator?

     

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    Correct, you run this from the Controller node:

     ./s9s_galera --install-garbd -i 1 -h<hostname>

    Which will then install garbd on <hostname>

    Make sure you can ssh to <hostname> w/o passwords.

    Best regards

    Johan

    0
    Comment actions Permalink
  • Avatar
    Rich Bos

    Thank you Johan, that makes sense yes. We have installed OK now and the Garbd node is showing up fine in the CC. Great...!

    Many thanks.

    RichB

     

     

    0
    Comment actions Permalink
  • Avatar
    Viktor B.

    Should Garbd node be installed on one host only? 

    On which hosts should this be installed?  Cloudcontrol node or all of the cluster nodes?

    Thank you

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi Viktor, you can install it on the Controller node.

    Installing on the cluster nodes would defeat its purpose.


    BR
    johan

    0
    Comment actions Permalink
  • Avatar
    Viktor B.

    Thank you for clarification.

    0
    Comment actions Permalink
  • Avatar
    hos7ein

    hi

    tnx for this post

    i install 3+1 galeraa Mysql cluster.now for installation gardb, I shoulde be install on 3 node mysql ?

     

     

    0
    Comment actions Permalink
  • Avatar
    Johan

    Hi,

    See the previous comments:

    Install it on the controller node, installing it on the mysql nodes defeats the purpose.


    BR
    johan

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk