-
Notifications
You must be signed in to change notification settings - Fork 17
ctdb: add option to change ctdb port #161
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
ctdb: add option to change ctdb port #161
Conversation
Signed-off-by: John Mulligan <[email protected]>
The samba wiki documents the way to have CTDB use a different port is to edit /etc/services. While this seems a bit strange we are running in a container so we won't side-effect anything else. See: https://wiki.samba.org/index.php/Advanced_CTDB_configuration#CTDB_port Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
7632310 to
c68e41f
Compare
|
Basic manual testing on a ceph cluster passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change requested.
But otherwise ACK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Just one thing I read in wiki
"Note: All nodes in the cluster must use the same port.", so was wondering if we need to explicitly check this condition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one thing I read in wiki
"Note: All nodes in the cluster must use the same port.", so was wondering if we need to explicitly check this condition?
Be it any configuration file (/etc/services in this case) this is implicitly taken care of as each node is acting based on the same instance config passed down from higher levels.
Add a mechanism for changing the CTDB port.