From 25566d1edca638bd15b3ba3326ee7e4d3e573cbb Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 16 Aug 2017 10:23:59 -0400 Subject: [PATCH] mgr: enable running modules in standby mode Modules can implement a second, separate class that has access to very little state about the system and can't implement commands. They have just enough information to redirect or forward incoming requests/traffic to the active instance of the module on the active mgr. This enables module authors to create modules that end users can access via any (running) mgr node at any time, rather than having to first work out which mgr node is active. Signed-off-by: John Spray --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c6e58768416..997137111d0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -713,10 +713,12 @@ if (WITH_MGR) mgr/DaemonServer.cc mgr/ClusterState.cc mgr/ActivePyModules.cc + mgr/StandbyPyModules.cc mgr/PyModuleRegistry.cc mgr/PyFormatter.cc mgr/PyOSDMap.cc mgr/BaseMgrModule.cc + mgr/BaseMgrStandbyModule.cc mgr/ActivePyModule.cc mgr/MgrStandby.cc mgr/Mgr.cc -- 2.39.5