osafAmfDelayNodeFailoverTimeout - the number of seconds we wait
after MDS down is received before we consider it truly down.

osafAmfDelayNodeFailoverNodeUpWait - the number of seconds we
wait for Node Up after receving MDS up, before we send reboot
to the node. After sending  reboot to a node, also wait up to
this number of seconds before we consider the node to be
down (unless MDs down is received first).
---
 src/amf/config/amf_classes.xml | 14 +++++++++++++-
 src/amf/config/amf_objects.xml |  8 ++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/src/amf/config/amf_classes.xml b/src/amf/config/amf_classes.xml
index df5cbd92a..182bd97e5 100644
--- a/src/amf/config/amf_classes.xml
+++ b/src/amf/config/amf_classes.xml
@@ -1452,5 +1452,17 @@
                        <category>SA_CONFIG</category>
                        <flag>SA_WRITABLE</flag>
                </attr>
-       </class>
+               <attr>
+                       <name>osafAmfDelayNodeFailoverTimeout</name>
+                       <type>SA_TIME_T</type>
+                       <category>SA_CONFIG</category>
+                       <flag>SA_WRITABLE</flag>
+               </attr>
+               <attr>
+                       <name>osafAmfDelayNodeFailoverNodeUpWait</name>
+                       <type>SA_TIME_T</type>
+                       <category>SA_CONFIG</category>
+                       <flag>SA_WRITABLE</flag>
+               </attr>
+        </class>
 </imm:IMM-contents>
diff --git a/src/amf/config/amf_objects.xml b/src/amf/config/amf_objects.xml
index 6ed68d83d..c008c7520 100644
--- a/src/amf/config/amf_objects.xml
+++ b/src/amf/config/amf_objects.xml
@@ -6,6 +6,14 @@
                        <name>osafAmfRestrictAutoRepairEnable</name>
                        <value>1</value>
                </attr>
+               <attr>
+                       <name>osafAmfDelayNodeFailoverTimeout</name>
+                       <value>0</value>
+               </attr>
+               <attr>
+                       <name>osafAmfDelayNodeFailoverNodeUpWait</name>
+                       <value>180</value>
+               </attr>
        </object>
        <object class="SaAmfAppBaseType">
                <dn>safAppType=OpenSafApplicationType</dn>
-- 
2.17.1



_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to