From: Mark H. <hla...@at...> - 2007-12-20 16:19:02
|
Hi Gordon, > I'm trying to get my OSR cluster to not lock up completely when one of the > nodes goes down, so I have been trying to get fencing to work. Good idea :-) > > However, mkinitrd seems to mangle and rewrite my cluster.conf and remove > all the fencing devices. Is this normal? Is there anything special I have > to do to get fencing to work? I am using fence_drac, if that makes any > difference. mkinitrd shouldn't do anything to your cluster.conf. mkinitrd will always use the cluster.conf in /etc/cluster/cluster.conf. Please make sure, that the version number of the latest cluster.conf is increased and it is deployed to all cluster nodes using a "ccs_tool update /etc/cluster/cluster.conf". If you want to use fence_drac, you need to put all required perl stuff into the chroot environment. This can be either done by 1) adding all perl stuff into the initrd or 2) adding the perl stuff only into the chroot environment during the boot process. to do this, create a file called perl.list with the following content: -->snip perl perl-libwww-perl perl-XML-Encoding perl-URI perl-HTML-Parser perl-XML-Parser perl-libxml-perl perl-Net-Telnet perl-HTML-Tagset perl-Crypt-SSLeay ##### -->snap and copy it into 1) /etc/comoonics/bootimage/rpms.initrd.d/ and make a new rpm _or_ 2) /etc/comoonics/bootimage-chroot/rpms.initrd.d/ and run "service bootsr start" Mark -- Gruss / Regards, Dipl.-Ing. Mark Hlawatschek http://www.atix.de/ http://www.open-sharedroot.org/ ** ATIX Informationstechnologie und Consulting AG Einsteinstr. 10 85716 Unterschleissheim Deutschland/Germany |