osaf/services/infrastructure/fm/fms/fm_main.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


FM needs support for reboot as a non root user to reboot the local node,
when failover is trigerred before the STANDBY node (AMF) is not
completely initialized, FM reboots the local node.

diff --git a/osaf/services/infrastructure/fm/fms/fm_main.c 
b/osaf/services/infrastructure/fm/fms/fm_main.c
--- a/osaf/services/infrastructure/fm/fms/fm_main.c
+++ b/osaf/services/infrastructure/fm/fms/fm_main.c
@@ -90,6 +90,8 @@ int main(int argc, char *argv[])
        int rc = NCSCC_RC_FAILURE;
        int term_fd;
 
+       opensaf_reboot_prepare();
+
        daemonize(argc, argv);
 
        if (fm_agents_startup() != NCSCC_RC_SUCCESS) {

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to