<!DOCTYPE safe>
<safe>
 <!-- List the service names, in the startup order, separated by commas (,)
      Use the Get-Service PowerShell cmdlet to get the service names
  -->
<macro name="SERVICES" value="MSSQLServer"/> 
<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">
    <!-- Microsoft SQL Server process -->
    <proc name="sqlservr.exe" action="restart" class="prim" />	
  </errd>
  <!-- File Replication Configuration -->
  <rfs>
	<replicated dir="C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\DATA" />
	<replicated dir="C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\Log" />
  </rfs>
  <!-- User scripts activation -->
  <user>
    <var name="SERVICES" value="%SERVICES%"/>
  </user>
</service>
</safe>
