cluster control install for managing existing mysql cluster

Comments

5 comments

  • Official comment
    Avatar
    Krzysztof Ksiazek

    Hi,

    MySQL NDB Cluster requires at lest two data nodes for high availability. For this reason ClusterControl does not support importing a single data node.

    Thanks,
    Krzysztof

    Comment actions Permalink
  • Avatar
    Anand N S

    root@clustercontrol-mysql:/opt# s9s cluster --register --cluster-type=ndbcluster --nodes='ndb_mgmd://10.142.0.21;ndbd://10.142.0.22,mysql://10.142.0.23' --vendor=oracle --cluster-name='ndbcluster' --wait

    The 'cluster --register' is not a valid mode.

     

    Is this a valid command ?  Please suggest, if there is a command line way of forced import of ONE node SQL cluster & later install multiple nodes with the help of cluster control

    0
    Comment actions Permalink
  • Avatar
    Paul Namuag

    Hi Anand,

     

    It looks right to me:

    [root@testccnode html]# s9s cluster --register --cluster-type=ndbcluster --nodes='ndb_mgmd://10.142.0.21;ndbd://10.142.0.22,mysql://10.142.0.23' --vendor=oracle --cluster-name='ndbcluster' --wait

    Register NDB Cluster

    | Job 1072 RUNNING    [ █        ] ---% Importing Cluster      

    ^CJob 1072 RUNNING    [        ] ---% Importing Cluster      

    Aborted...

    [root@testccnode html]# s9s --version

          ___            _              _     

     ___ / _ \ ___      | |_ ___   ___ | |___ 

    / __| (_) / __|_____| __/ _ \ / _ \| / __|

    \__ \\__, \__ \_____| || (_) | (_) | \__ \

    |___/  /_/|___/      \__\___/ \___/|_|___/

     

    s9s Version 1.7.0 (Virgo)

    BUILD (1.7.0-release) 2018-11-08 10:05:39+00:00

    Copyright (C) 2016-2018 Severalnines AB

     

    Could you check what version do you have.

    0
    Comment actions Permalink
  • Avatar
    Anand N S

    Hello,  I have the latest version....as per this tool update.

     

     

    testgtotest@clustercontrol-mysql:~$ sudo apt-get install s9s-tools

    Reading package lists... Done

    Building dependency tree       

    Reading state information... Done

    s9s-tools is already the newest version (1.7.20181108-release1).

    The following package was automatically installed and is no longer required:

      grub-pc-bin

    Use 'sudo apt autoremove' to remove it.

    0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.

    0
    Comment actions Permalink
  • Avatar
    Anand N S

    After updating the VM user (instead of root user), I am able to proceed.    The next issue I see here is:

     

    testgtotest@clustercontrol-mysql:~/.ssh$ s9s cluster --register --cluster-type=ndbcluster --nodes='ndb_mgmd://10.142.0.21;ndbd://10.142.0.22,mysql://10.142.0.23' --vendor=oracle --cluster-name='ndbcluster' --wait 

    No user name set.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk