
Once the monitor has been able to connect to a clustrix node and obtain the clustrix nodes, it'll primarily use those nodes when looking for a Clustrix node to be used as the "hub". With this change it is sufficient (but perhaps unwise) to provide a single node boostrap node in the configuration file. Some other rearrangements and renamings of functions has also been made.
10 lines
274 B
CMake
10 lines
274 B
CMake
add_library(clustrixmon SHARED
|
|
clustrix.cc
|
|
clustrixmon.cc
|
|
clustrixmonitor.cc
|
|
clustrixnode.cc
|
|
)
|
|
target_link_libraries(clustrixmon maxscale-common)
|
|
set_target_properties(clustrixmon PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
|
install_module(clustrixmon core)
|