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

[Linux-cluster] If power down, no error?



Hi all,
A friend of mine is setting up a 2-node cluster using RHEL4u3. No GFS.
All failover testings are ok (shutting down eth0, unplugging the cables, 
shutting down the service, etc). But, powering down the current active node 
doesnt make the failover to occur. And he said that in the log there's no 
error at all. How come? So strange.

Here's the conf:
<?xml version="1.0"?>
<cluster config_version="74" name="pgsql">
	<fence_daemon post_fail_delay="3" post_join_delay="1"/>
	<clusternodes>
		<clusternode name="solidpoint1" votes="1">
			<fence>
				<method name="1">
					<device name="solidpoint1ilo"/>
				</method>
			</fence>
		</clusternode>
		<clusternode name="solidpoint2" votes="1">
			<fence>
				<method name="1">
					<device name="solidpoint2ilo"/>
				</method>
			</fence>
		</clusternode>
	</clusternodes>
	<cman expected_votes="1" two_node="1"/>
	<fencedevices>
		<fencedevice agent="fence_ilo" hostname="solidpoint1ilo" login="root" 
name="solidpoint1ilo" passwd="redhat123"/>
		<fencedevice agent="fence_ilo" hostname="solidpoint2ilo" login="root" 
name="solidpoint2ilo" passwd="redhat123"/>
	</fencedevices>
	<rm>
		<failoverdomains>
			<failoverdomain name="pgcluster" ordered="1" restricted="0">
				<failoverdomainnode name="solidpoint1" priority="1"/>
				<failoverdomainnode name="solidpoint2" priority="1"/>
			</failoverdomain>
		</failoverdomains>
		<resources>
			<ip address="192.168.0.89" monitor_link="1"/>
			<fs device="/dev/sda1" force_fsck="0" force_unmount="0" fsid="11199" 
fstype="ext3" mountpoint="/home" name="pgdevice" options="" self_fence="0"/>
			<script file="/etc/init.d/postgresql" name="postgresql"/>
		</resources>
		<service autostart="1" domain="pgcluster" exclusive="1" 
name="postgreservice" recovery="restart">
			<ip ref="192.168.0.89">
				<fs ref="pgdevice">
					<script ref="postgresql"/>
				</fs>
			</ip>
		</service>
	</rm>
</cluster>

Thank you very much.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
2:32pm up 5:58, 2.6.18.2-34-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Attachment: pgpEXA66uYTKe.pgp
Description: PGP signature


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