<!DOCTYPE safe>
<safe>
<!-- Define the service names, in the startup order, separated by commas (,)
      Use 'systemctl list-unit-files \-\-type=service' (remove the \) to get the service names
  -->
<macro name="SERVICES" value="mysqld"/>
<service mode="mirror" boot="on">
  <!-- Heartbeat Configuration -->
  <heart>
    <heartbeat name="default">
    </heartbeat>
  </heart>
  <!-- Virtual IP Configuration -->
  <vip>
    <interface_list>
        <interface> 
	  <real_interface>
               <virtual_addr addr="" where="one_side_alias"/>
          </real_interface>
        </interface>
    </interface_list>
  </vip>
  <!-- Software Error Detection Configuration -->
  <errd polltimer="10">
    <proc name="mysqld" action="restart" class="prim" />
  </errd>
  <!-- File Replication Configuration -->
  <!--
     * /var/lib/mysql: default directory of MySQL database and logs
  -->
  <rfs>
	  <replicated dir="/var/lib/mysql" />
  </rfs>
  <!-- User scripts activation -->
  <user>
    <var name="SERVICES" value="%SERVICES%"/>
  </user>
</service>
</safe>
