Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clustering interface #195

Merged
merged 24 commits into from
Jan 30, 2018
Merged

Add clustering interface #195

merged 24 commits into from
Jan 30, 2018

Commits on Jan 25, 2018

  1. Add the clustering interface

    Signed-off-by: Jon Ludlam <jonathan.ludlam@citrix.com>
    jonludlam authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    c3deb7e View commit details
    Browse the repository at this point in the history
  2. cluster: jbuilderize

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    6a92655 View commit details
    Browse the repository at this point in the history
  3. cluster: rename active_members to enabled_members

    This fits better with the naming of the enable and disable functions.
    
    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    7ac7eee View commit details
    Browse the repository at this point in the history
  4. cluster: Correct description of disable function

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    8191518 View commit details
    Browse the repository at this point in the history
  5. cluster: rename 'is_running' to 'is_enabled'

    This more accurately describes its meaning.
    
    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    f806e96 View commit details
    Browse the repository at this point in the history
  6. cluster: remove 'is_enabled' field from cluster_config

    The value of this field can be derived from membership of enabled_members, so
    there's no need to try to maintain this field.
    
    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    afe6a88 View commit details
    Browse the repository at this point in the history
  7. CP-24908: cluster: Remote.rejoin: add address parameter

    This is needed in case of IP address changes while the node was disabled.
    
    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    6f6e4cf View commit details
    Browse the repository at this point in the history
  8. CP-24203: cluster: add declare_changed_addrs

    This is needed in the case that all other nodes a node was aware of have changed
    address.
    
    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    9ce4868 View commit details
    Browse the repository at this point in the history
  9. CA-270008: cluster: modify Remote.config; add Remote.ping, Remote.stop

    The modification to Remote.config adds a 'start' parameter.
    
    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    a846d60 View commit details
    Browse the repository at this point in the history
  10. cluster: refactor all_members out of cluster_config

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    19c25b1 View commit details
    Browse the repository at this point in the history
  11. cluster: diagnostics: add is_enabled field

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    f7409c3 View commit details
    Browse the repository at this point in the history
  12. cluster: diagnostics: distinguish live_ and saved_cluster_config

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    0dd1667 View commit details
    Browse the repository at this point in the history
  13. cluster: diagnostics: add is_running field

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    2fc7648 View commit details
    Browse the repository at this point in the history
  14. cluster: diagnostics: support next_cluster_config field

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    0049e61 View commit details
    Browse the repository at this point in the history
  15. cluster: diagnostics: add config_valid field

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    ee45bcb View commit details
    Browse the repository at this point in the history
  16. CA-271869: cluster: add config_{invalidate,validate,abort}

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    876f03f View commit details
    Browse the repository at this point in the history
  17. cluster: add config_version to cluster_config

    Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
    jjd27 authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    4a23769 View commit details
    Browse the repository at this point in the history
  18. [CP-25892] Make cluster parameters configurable

    Signed-off-by: Callum McIntyre <callum.mcintyre@citrix.com>
    Callum McIntyre authored and edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    4506f09 View commit details
    Browse the repository at this point in the history
  19. CA-273683: move remote interface back into xapi-clusterd

    This is private to the implementation of xapi-clusterd
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    ec29c97 View commit details
    Browse the repository at this point in the history
  20. CP-26038: plumb through a debug field

    This should allow to find which XAPI task causes which xapi-clusterd RPC calls,
    and also to track xapi-clusterd RPC calls across hosts.
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    ac33fa4 View commit details
    Browse the repository at this point in the history
  21. cluster: be explicit that IP means IPv4

    IPv6 support is not implemented yet.
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    0a49d87 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2018

  1. cluster: make xcp_cluster wrapped and drop cluster_idl

    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    fcb056c View commit details
    Browse the repository at this point in the history
  2. cluster: add minimal CLI

    A more complete CLI is available as part of the clustering daemon itself.
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    377af31 View commit details
    Browse the repository at this point in the history
  3. cluster: undo wrapping/renaming

    also explain why we call it LocalAPI
    (because we also have a Remote API elsewhere).
    
    Signed-off-by: Edwin Török <edvin.torok@citrix.com>
    edwintorok committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    dee9951 View commit details
    Browse the repository at this point in the history