<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 25.06.2021 15:12, solarmon wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOXfywPv9fmAUSj0GGCsVCgCwcte1uPP37tKn+8S8W9N7cz2kw@mail.gmail.com">
      <div>The typical recommended configuration for an active/standby
        setup would be:</div>
      <div><br>
      </div>
      node1:<br>
      <div>
        <div class="gmail-lake-content">
          <p id="gmail-u18543fcc" class="gmail-ne-p"
            style="margin:0px;padding:0px;min-height:24px"><span
              class="gmail-ne-text">modparam("dialog",
              "dlg_sharing_tag", "vip=active")</span></p>
          <p id="gmail-u06231fc1" class="gmail-ne-p"
            style="margin:0px;padding:0px;min-height:24px"><br>
          </p>
          <p id="gmail-u06231fc1" class="gmail-ne-p"
            style="margin:0px;padding:0px;min-height:24px">node2:</p>
          <p id="gmail-ua5e15d78" class="gmail-ne-p"
            style="margin:0px;padding:0px;min-height:24px"><span
              class="gmail-ne-text">modparam("dialog",
              "dlg_sharing_tag", "vip=backup")</span></p>
          <br>
          <p id="gmail-ua5e15d78" class="gmail-ne-p"
            style="margin:0px;padding:0px;min-height:24px">How can this
            be properly resolved or managed for these situations where
            you want to take down an opensips node for maintenance?</p>
        </div>
      </div>
    </blockquote>
    <p><font face="monospace">Hi,<br>
      </font></p>
    <p><font face="monospace">Actually, I would recommend starting with
        "backup / backup" (!!) to prevent exactly the scenario you
        described above, where you take down the former-active node for
        maintenance, yet it boots in "active" mode, completely opposite
        to the state of the VIP.</font></p>
    <p><font face="monospace">Now, in order to fix the state where both
        tags are in "backup" mode, you'd deploy an external check-script
        that periodically scans the tag statuses and fixes a "backup"
        tag to "active" whenever a box owns the VIP.</font></p>
    <p><font face="monospace">Best Regards,</font><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit 2021 Distributed | <a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events">www.opensips.org/events</a></pre>
  </body>
</html>