-
Notifications
You must be signed in to change notification settings - Fork 94
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
Dev: bootstrap: A scaffold for crmsh to configure cluster with corosync3 #1172
Dev: bootstrap: A scaffold for crmsh to configure cluster with corosync3 #1172
Conversation
50c8c54
to
53ff3b5
Compare
691136e
to
9463e39
Compare
419f1aa
to
3024f60
Compare
3024f60
to
6781505
Compare
b9f459e
to
f8f10de
Compare
2096e99
to
5bb01a4
Compare
58b8678
to
ac316b9
Compare
2984eb9
to
bfefeb7
Compare
344afe2
to
66c8b75
Compare
Codecov Report
@@ Coverage Diff @@
## master #1172 +/- ##
==========================================
+ Coverage 52.51% 52.85% +0.34%
==========================================
Files 78 79 +1
Lines 24998 25066 +68
==========================================
+ Hits 13127 13248 +121
+ Misses 11871 11818 -53
|
3570991
to
04729c8
Compare
04729c8
to
e216878
Compare
The first taste of corosync3 bootstrap is good. One comment, when the number of links is smaller or bigger
Better to rephrase the error message something like, "ERROR: knet transport of all cluster nodes need 3 links via '-i' options, but provided 2" |
c763283
to
1966e6b
Compare
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.
Nice job!
1966e6b
to
115e72d
Compare
Includes: --no-overwrite-sshkey on init side; -u/--unicast on init side; -U/--multicast on init side; -M/--multi-heartbeats on init side; -w/--watchdog on join side
Not maintain/update expected_votes in corosync.conf any more, since nodelist section is mandatory.
115e72d
to
c3b987a
Compare
Major changes:
-i/--interface
now supports specifying NIC or IP, or combine them, on bothcluster init
andcluster join
sides-t/--transport
option oncluster init
sideChanges include:
--no-overwrite-sshkey
option, which already deprecated-u/--unicast
option-M/--multi-heartbeats
option-w/--watchdog
option on join side, which already deprecated-i
option accept both nic name and IP address, both on init and join side-t/--transport
option, valid value include knet/udpu/udp, default is knetSince original config parser couldn't modify multi interfaces
knet
totem.interface
section is not necessary for all transports typeFeature list:
Todo list:
How to play with it
Test rpm
https://build.opensuse.org/package/show/home:XinLiang:branches:network:ha-clustering:Unstable/crmsh