[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Things that i don't understand about cluster suite



Hi all,

Sorry for this toppic, but i have serious doubts about using cluster suite under some deployments. My questions:

a) How can I configure status check on a service script? for exmaple: I have two nodes with CS U4 with postfix service running on two nodes and using DLM as a lock manager. If I stop postfix from the script and I wait status check, nothing happens and rgmanager returns an ok for the service, but this service is stopped !!!.

b) is it posible to startup only one node on a two-node cluster? i have tested this feature, but this node doesn't startup ( i am using iLO as a fencing method, but I have tested gnbd too and the result is the same).

c) why relocate service doesn't works?? I have attached my config. For example, if I reboot one node, all services go to the second. This is ok, but when this primary node is up, services continue getting up in the previous node and they don't migrate towards the other node.


I suppose that I am doing something wrong but i don't know what. Somebody can helps me??

many thanks.

--
CL Martinez
carlopmart {at} gmail {d0t} com
<?xml version="1.0"?>
<cluster config_version="23" name="DMZCluster">
	<fence_daemon post_fail_delay="0" post_join_delay="3"/>
	<clusternodes>
		<clusternode name="klecker" votes="1">
			<fence>
				<method name="1">
					<device name="fence_iLO"/>
				</method>
			</fence>
		</clusternode>
		<clusternode name="samosa" votes="1">
			<fence>
				<method name="1">
					<device name="fence_iLO"/>
				</method>
			</fence>
		</clusternode>
	</clusternodes>
	<cman expected_votes="1" two_node="1"/>
	<fencedevices>
		<fencedevice agent="fence_ilo" hostname="10.10.10.221" login="Administrator" name="fence_iLO" passwd="fenceilo"/>
	</fencedevices>
	<rm>
		<failoverdomains>
			<failoverdomain name="PriCluster" ordered="1" restricted="0">
				<failoverdomainnode name="klecker" priority="1"/>
				<failoverdomainnode name="samosa" priority="2"/>
			</failoverdomain>
			<failoverdomain name="SecCluster" ordered="1">
				<failoverdomainnode name="klecker" priority="2"/>
				<failoverdomainnode name="samosa" priority="1"/>
			</failoverdomain>
		</failoverdomains>
		<resources/>
		<service autostart="1" domain="SecCluster" exclusive="1" name="dbserver" recovery="relocate">
			<ip address="192.168.100.68" monitor_link="1">
				<script file="/opt/cluconfig/etc/init.d/postgresql" name="postgresql"/>
			</ip>
		</service>
		<service autostart="1" domain="SecCluster" exclusive="1" name="euq" recovery="relocate">
			<ip address="192.168.100.70" monitor_link="1">
				<script file="/opt/cluconfig/etc/init.d/euq" name="euq"/>
				<script file="/opt/cluconfig/etc/init.d/euqa" name="euqa"/>
			</ip>
		</service>
		<service autostart="1" domain="PriCluster" exclusive="1" name="smtp-imss" recovery="relocate">
			<ip address="192.168.100.69" monitor_link="1">
				<script file="/opt/cluconfig/etc/init.d/imss" name="imss">
					<script file="/opt/cluconfig/etc/init.d/imss-mta" name="imss-mta"/>
				</script>
			</ip>
		</service>
	</rm>
</cluster>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]