<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p><span id="result_box" class="" lang="en"><span class="">I created
          a testing environment based on Raspberry Pi (attached
          diagram), in my tests it has worked well, but </span></span><span
        id="result_box" class="" lang="en"><span class=""><span
            id="result_box" class="short_text" lang="en"><span class="">I
              did not implement anything about</span></span> fencing and
          stonith, what is the need and how to implement?</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">Thanks,</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">Marcos.</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class=""><br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">corosync.conf
          :<br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">totem {<br>
              version: 2<br>
              cluster_name: debian<br>
              token: 3000<br>
              token_retransmits_before_loss_const: 10<br>
              clear_node_high_bit: yes<br>
              crypto_cipher: aes256<br>
              crypto_hash: sha1<br>
              interface {<br>
                  bindnetaddr: 192.168.0.0<br>
                  mcastaddr: 239.255.1.1<br>
                  mcastport: 5405<br>
                  ttl: 1<br>
              }<br>
          }<br>
          <br>
          logging {<br>
              fileline: off<br>
              to_stderr: no<br>
              to_logfile: no<br>
              to_syslog: yes<br>
              syslog_facility: daemon<br>
              debug: off<br>
              timestamp: on<br>
              logger_subsys {<br>
                  subsys: QUORUM<br>
                  debug: off<br>
              }<br>
          }<br>
          <br>
          quorum {<br>
              provider: corosync_votequorum<br>
              expected_votes: 2<br>
                  two_node: 1<br>
          }</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class=""><br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure property stonith-enabled=false<br>
          <br>
          crm configure property no-quorum-policy=ignore</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class=""><br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure primitive LDAP-IP ocf:heartbeat:IPaddr2 \<br>
          params ip="192.168.0.10" nic="eth0" cidr_netmask="24" \<br>
          op monitor interval=10s timeout=20s</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure primitive LDAP ocf:heartbeat:slapd params \<br>
           slapd="/usr/sbin/slapd" \<br>
           config="/etc/ldap/slapd.d/" \<br>
           user="openldap" group="openldap" \<br>
           services=<a class="moz-txt-link-rfc2396E" href="ldap:///">"ldap:///"</a> \<br>
           watch_suffix="dc=acme,dc=lab" \<br>
           bind_dn="cn=admin,dc=acme,dc=lab" \<br>
           password="password" \<br>
           op monitor interval=10s timeout=20s<br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure clone LDAP-CLONE LDAP<br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure colocation LDAP-IP_WITH_LDAP inf: LDAP-IP LDAP-CLONE<br>
          <br>
          crm configure order LDAP-IP_BEFORE_LDAP inf: LDAP-IP
          LDAP-CLONE<br>
          <br>
          crm configure location PREFER_RASP4_LDAP LDAP-IP 50: rasp4<br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class=""><br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure primitive RADIUS-IP ocf:heartbeat:IPaddr2 \<br>
          params ip="192.168.0.9" nic="eth0" cidr_netmask="24" \<br>
          op monitor interval=10s timeout=20s</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure primitive RADIUS lsb:freeradius op monitor
          interval=10s timeout=20s</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure clone RADIUS-CLONE RADIUS</span></span></p>
    <p><span id="result_box" class="" lang="en"><span class="">crm
          configure colocation RADIUS-IP_WITH_RADIUS inf: RADIUS-IP
          RADIUS-CLONE<br>
          <br>
          crm configure order RADIUS-IP_BEFORE_RADIUS inf: RADIUS-IP
          RADIUS-CLONE<br>
          <br>
          crm configure location PREFER_RASP4_RADIUS RADIUS-IP 50: rasp4<br>
        </span></span></p>
    <p><span id="result_box" class="" lang="en"><span class=""><br>
        </span></span></p>
  </body>
</html>