<?xml version="1.0"?>
<cluster alias="teste" config_version="17" name="teste">
	<fence_daemon clean_start="1" post_fail_delay="0" post_join_delay="3"/>
	<clusternodes>
		<clusternode name="cs1" nodeid="1" votes="1">
			<fence>
				<method name="1">
					<device name="manual" nodename="cs1"/>
				</method>
			</fence>
		</clusternode>
		<clusternode name="cs2" nodeid="2" votes="1">
			<fence>
				<method name="1">
					<device name="manual" nodename="cs2"/>
				</method>
			</fence>
		</clusternode>
	</clusternodes>
	<cman expected_votes="1" two_node="1"/>
	<fencedevices>
		<fencedevice agent="fence_manual" name="manual"/>
	</fencedevices>
	<rm>
		<failoverdomains>
			<failoverdomain name="primario1" ordered="1" restricted="0">
				<failoverdomainnode name="cs1" priority="1"/>
				<failoverdomainnode name="cs2" priority="2"/>
			</failoverdomain>
		</failoverdomains>
		<resources>
			<ip address="192.168.122.100" monitor_link="1"/>
			<script file="/etc/init.d/httpd" name="httpd"/>
		</resources>
		<service autostart="1" domain="primario1" name="teste-httpd" recovery="relocate">
			<ip ref="192.168.122.100">
				<script ref="httpd"/>
			</ip>
		</service>
	</rm>
</cluster>
