<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Hello,<br>i can run following command successfully from another node but still getting same error message :<br><br>fence_ilo -a "Ilo IP"  -l "Ilo user" -p "Ilo passwd" -o reboot<br><br>Sep  9 14:37:00 node2 openais[2904]: [CLM  ] Members Joined: <br>Sep  9 14:37:00 node2 openais[2904]: [SYNC ] This node is within the primary component and will provide service. <br>Sep  9 14:37:00 node2 openais[2904]: [TOTEM] entering OPERATIONAL state. <br>Sep  9 14:37:00 node2 openais[2904]: [CLM  ] got nodejoin message 192.168.0.28 <br>Sep  9 14:37:00 node2 openais[2904]: [CPG  ] got joinlist message from node 1 <br>Sep  9 14:37:00 node2 fenced[2923]: node1.drctmb.com not a cluster member after 0 sec post_fail_delay<br>Sep  9 14:37:00 node2 fenced[2923]:
 fencing node "node1.drctmb.com"<br>Sep  9 14:37:10 node2 fenced[2923]: agent "fence_ilo" reports: Unable to connect/login to fencing device <br>Sep  9 14:37:10 node2 fenced[2923]: fence "node1.drctmb.com" failed<br>Sep  9 14:37:15 node2 fenced[2923]: fencing node "node1.drctmb.com"<br>Sep  9 14:37:26 node2 fenced[2923]: agent "fence_ilo" reports: Unable to connect/login to fencing device <br><br>node1 rebooted and get connect to the cluster  but now my webby service not working see below log :<br><br>Broadcast message from root (Thu Sep  9 14:32:41 2010):<br>The system is going down for system halt NOW!<br>Sep  9 14:19:22 node1 last message repeated 17 times<br>Sep  9 14:32:41 node1 shutdown[25506]: shutting down for system halt<br>Sep  9 14:32:41 node1 pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found<br>Sep  9 14:32:43 node1 modclusterd: shutdown succeeded<br>Sep  9 14:32:43 node1
 rgmanager: [25593]: <notice> Shutting down Cluster Service Manager... <br>Sep  9 14:32:43 node1 clurgmgrd[3457]: <notice> Shutting down <br>Sep  9 14:32:43 node1 clurgmgrd[3457]: <notice> Shutting down <br>Sep  9 14:32:43 node1 clurgmgrd[3457]: <notice> Stopping service service:webby <br>Sep  9 14:32:44 node1 avahi-daemon[3378]: Withdrawing address record for 192.168.0.30 on eth0.<br>Read from remote host node1: Connection reset by peer<br>.<br>.<br>.<br>Sep  9 14:35:42 node1 smartd[3585]: Device: /dev/hda, packet devices [this device CD/DVD] not SMART capable <br>Sep  9 14:35:42 node1 smartd[3585]: Device: /dev/sda, opened <br>Sep  9 14:35:42 node1 smartd[3585]: Device: /dev/sda, IE (SMART) not enabled, skip device Try 'smartctl -s on /dev/sda' to turn on SMART features <br>Sep  9 14:35:42 node1 smartd[3585]: Monitoring 0 ATA and 0 SCSI devices <br>Sep  9 14:35:42 node1 smartd[3604]:
 smartd has fork()ed into background mode. New PID=3604. <br>Sep  9 14:35:42 node1 avahi-daemon[3412]: Service "SFTP File Transfer on node1" (/services/sftp-ssh.service) successfully established.<br>Sep  9 14:35:45 node1 pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found<br>Sep  9 14:35:45 node1 last message repeated 3 times<br>Sep  9 14:35:45 node1 kernel: mtrr: type mismatch for d8000000,2000000 old: uncachable new: write-combining<br>Sep  9 14:35:46 node1 clurgmgrd: [3491]: <err> Checking Existence Of File /var/run/cluster/apache/apache:httpd.pid [apache:httpd] > Failed - File Doesn't Exist <br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>It seems that there problem in fencing device configuration.<br>Please find here my cluster.conf :<br><br><br><?xml version="1.0"?><br><cluster alias="girish" config_version="21"
 name="girish"><br>        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/><br>        <clusternodes><br>                <clusternode name="node2.drctmb.com" nodeid="1" votes="1"><br>                        <fence><br>                                <method
 name="1"><br>                                        <device name="NODE2"/><br>                                </method><br>                        </fence><br>                </clusternode><br>                <clusternode name="node1.drctmb.com" nodeid="2"
 votes="1"><br>                        <fence><br>                                <method name="1"><br>                                        <device name="NODE1"/><br>                               
 </method><br>                        </fence><br>                </clusternode><br>        </clusternodes><br>        <cman expected_votes="1" two_node="1"/><br>        <fencedevices><br>                <fencedevice agent="fence_ilo" hostname="node1.drctmb.com" login="root" name="NODE1" passwd="redhat123"/><br>                <fencedevice agent="fence_ilo" hostname="node2.drctmb.com" login="root" name="NODE2"
 passwd="redhat123"/><br>        </fencedevices><br>        <rm><br>                <failoverdomains><br>                        <failoverdomain name="prefer_node1" nofailback="0" ordered="1" restricted="1"><br>                                <failoverdomainnode name="node2.drctmb.com" priority="2"/><br>                                <failoverdomainnode
 name="node1.drctmb.com" priority="1"/><br>                        </failoverdomain><br>                </failoverdomains><br>                <resources><br>                        <fs device="/dev/sda1" force_fsck="0" force_unmount="0" fsid="8669" fstype="ext3" mountpoint="/var/www/html" name="docroot" self_fence="0"/><br>                        <ip address="192.168.0.30"
 monitor_link="1"/><br>                        <apache config_file="conf/httpd.conf" name="httpd" server_root="/etc/httpd" shutdown_wait="5"/><br>                </resources><br>                <service autostart="1" domain="prefer_node1" exclusive="0" name="webby" recovery="relocate"><br>                        <ip ref="192.168.0.30"/><br>                        <fs
 ref="docroot"/><br>                        <apache ref="httpd"/><br>                </service><br>        </rm><br>        <fence_xvmd/><br></cluster><br>~  <br><br>This is first time am working on Clustering so please help me.<br> Appreciate your help.<br><br>Thank you.<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Brem Belguebli <brem.belguebli@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> linux clustering <linux-cluster@redhat.com><br><b><span style="font-weight: bold;">Sent:</span></b> Thu, September
 9, 2010 11:30:28 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Linux-cluster] need help - Fencing problem<br></font><br>
try run this from another node of the cluster<br><br>fence_ilo -a "Ilo IP"  -l "Ilo user" -p "Ilo passwd" -o reboot<br><br><br>Additionnally, by connecting thru http to the Ilo, you should be able to<br>see Ilo logs (in the general tab) and see if it is due to a lack of<br>licensing<br><br> <br>On Wed, 2010-09-08 at 22:29 -0700, Girish Prajapati wrote:<br>> Hello...<br>>  <br>> I have already configure BIOS for iLO.. but am not sure why i don need<br>> to shared ?? <br>> please anybody can help me out for this problem. <br>> Do i need any extra setup for fencing device ?<br>> thanks<br>> <br>> <br>> <br>> ______________________________________________________________________<br>> From: ESGLinux <<a ymailto="mailto:esggrupos@gmail.com" href="mailto:esggrupos@gmail.com">esggrupos@gmail.com</a>><br>> To: linux clustering <<a ymailto="mailto:linux-cluster@redhat.com"
 href="mailto:linux-cluster@redhat.com">linux-cluster@redhat.com</a>><br>> Sent: Wed, September 8, 2010 2:57:25 PM<br>> Subject: Re: [Linux-cluster] need help - Fencing problem<br>> <br>> Hello,  <br>> <br>> <br>> Have you configured the iLO devices entering in the BIOS?<br>> <br>> <br>> I remenber I have to set up the user/pass in the iLO and marked the<br>> iLo as not shared<br>> <br>> <br>> <br>> <br>> HTH, <br>> <br>> <br>> ESG<br>> <br>> 2010/9/8 Girish Prajapati <<a ymailto="mailto:girishpati@yahoo.com" href="mailto:girishpati@yahoo.com">girishpati@yahoo.com</a>><br>>         Hello Everybody,<br>>         i am having problem of fencing a cluster node  let me explain<br>>         indetail :<br>>         I have installed RHEL 5.4 on  HP Prolaint DL280 G5 servers
 and<br>>         iLO 2as fencing device. Am managing cluster through Luci -<br>>         (Conga). itseems everything is working fine. I can reboot<br>>         cluster nodes through Luci and service get transfer to another<br>>         node. After rebooting node connect to cluster automatically<br>>         without any error.<br>>         Problem is i can not do Fence this node through Luci, when i<br>>         try to fence any node i get following error :<br>>         <br>>         Sep  8 14:51:16 node2 fence_node[9106]: agent "fence_ilo"<br>>         reports: Unable to connect/login to fencing device<br>>         Sep  8 14:51:16 node2 fence_node[9106]: Fence of<br>>     
    "<a target="_blank" href="http://node1.drctmb.com">node1.drctmb.com</a>" was unsuccessful<br>>         <br>>         my iLO license is : iLO 2 Advanced Evaluation<br>>         Do i need to have  license of iLO or there is problem in<br>>         configuration of cluster ?<br>>         how i can check cluster log in details.<br>>          <br>>         Appreciate your help.<br>>         Thank you in advance.<br>>          <br>>         Regards,<br>>         Girishkumar R Prajapati<br>>         <br>>         <br>>         <br>>         --<br>>         Linux-cluster
 mailing list<br>>         <a ymailto="mailto:Linux-cluster@redhat.com" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>>         <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>> <br>> <br>> <br>> --<br>> Linux-cluster mailing list<br>> <a ymailto="mailto:Linux-cluster@redhat.com" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br><br><br>--<br>Linux-cluster mailing list<br><a ymailto="mailto:Linux-cluster@redhat.com" href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster"
 target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br></div></div>
</div><br>







      </body></html>