Re: [Linux-HA] heartbeat doesnt create the socket /var/run/heartbeat/register
The heartbeat I install is from debian packages. dpkg -l | grep heartbeat ii heartbeat 1:3.0.3-2~bpo50+1 Subsystem for High-Availability Linux ii libheartbeat2 1:3.0.3-2~bpo50+1 Subsystem for High-Availability Linux (libraries) version 3.0.2 I install the same packages and builds on all devices. I have an automatic installation. Some devices are installed ok and some suffers from the problem that the socket isn't created. Is there a way I can create the socket from outside heartbeat (from perl or bash)? I have a watchdog and I wish to create the socket automatically in case the socket doesn't exist. -Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Lars Ellenberg Sent: Friday, January 20, 2012 8:48 PM To: linux-ha@lists.linux-ha.org Subject: Re: [Linux-HA] heartbeat doesnt create the socket /var/run/heartbeat/register On Thu, Jan 19, 2012 at 02:18:53PM +, Efrat Lefeber wrote: Hi, I am using linux-ha heartbeat on a two simple nodes cluster. For some reason which I can't figure out, the socket /var/run/heartbeat/register is not created though the directory /var/run/heartbeat/ exist: ll /var/run/heartbeat/ total 24 drwxr-x--- 6 hacluster haclient 4096 2012-01-19 14:30 . drwxr-xr-x 16 root root 4096 2012-01-19 14:30 .. drwxr-x--- 2 hacluster haclient 4096 2012-01-19 14:30 ccm drwxr-x--- 2 hacluster haclient 4096 2012-01-19 14:30 crm drwxr-x--- 2 hacluster haclient 4096 2012-01-19 14:30 dopd drwxr-xr-t 2 root root 4096 2012-01-19 14:30 rsctmp /etc/init.d/heartbeat status heartbeat OK [pid 14685 et al] is running on vs-158 [vs-158]... cl_status hbstatus Heartbeat is stopped on this machine. I ran cl_status with strace and I saw this error: connect(3, {sa_family=AF_FILE, path=/var/run/heartbeat/register...}, 110) = -1 ENOENT (No such file or directory) Who created this socket? That's one of the first things the heartbeat binary does when it starts, If it can not create that socket, heartbeat will not even start up. Of course, in theory someone may remove that socket after it was created. If so, make sure that does not happen again ;) How can I find out why isn't the socket created? Where did you get your packages/binaries? Double check your build? lsof -n -p your heartbeat master control process? Is there a workaround I can do to create the socket? Fix your installation. This problem doesn't happen all the time. I have another node with the same configuration and the socket was created there. Same packages and build? -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems # Scanned by MailMarshal - M86 Security's comprehensive email content security solution. Download a free evaluation of MailMarshal at www.m86security.com # ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Announce: LCMC 1.2.0 / Pacemaker, DRBD, KVM GUI
Hi, this is the next release of the Linux Cluster Management Console. The LCMC helps you to configure a Pacemaker cluster without the need to go to the command line. Now you say, but of course there must be a point were you have to use the command line, well not anymore, at least most of the time. The LCMC lets you to edit predefined config files of many services on all cluster hosts simultaneously or separately. For example if you have some NFS resource agent, the LCMC lets you edit the /etc/exports file. If you have mysql db, it lets you edit the my.cnf or any config file that you is defined as a mysql config file in the Pacemaker configuration and so on. See the screenshot: http://sourceforge.net/apps/gallery/lcmc/index.php?g2_itemId=37 I've defined the most obvious config file locations, if I've missed something, let me know. LCMC web page: http://lcmc.sf.net Screenshots: http://sourceforge.net/apps/gallery/lcmc/ Source code: https://github.com/rasto/lcmc New video: http://youtu.be/xWjuhp3Ysp4?hd=1 Changelog: * don't use node_state from not existing node ids * make autostart vm option per host * implement the edit-config-files feature * allow removing of a running resource in an advanced mode * show hierarchy of block devices in the tooltips * improve handling of LVM on DRBD * fix resolve split-brain for DRBD 8.4 Rasto Levrinc -- Dipl.-Ing. Rastislav Levrinc rasto.levr...@gmail.com Linux Cluster Management Console http://lcmc.sf.net/ ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Announce: LCMC 1.2.0 / Pacemaker, DRBD, KVM GUI
Dear Rasto, I've searched the *.deb files on the sourceforge but did only found a source. I would like to install the newest version of lcmc with dpkg. Could you give me please a link to the package with dependings if need ? Thank's On 01/23/2012 07:18 AM, Rasto Levrinc wrote: Hi, this is the next release of the Linux Cluster Management Console. The LCMC helps you to configure a Pacemaker cluster without the need to go to the command line. Now you say, but of course there must be a point were you have to use the command line, well not anymore, at least most of the time. The LCMC lets you to edit predefined config files of many services on all cluster hosts simultaneously or separately. For example if you have some NFS resource agent, the LCMC lets you edit the /etc/exports file. If you have mysql db, it lets you edit the my.cnf or any config file that you is defined as a mysql config file in the Pacemaker configuration and so on. See the screenshot: http://sourceforge.net/apps/gallery/lcmc/index.php?g2_itemId=37 I've defined the most obvious config file locations, if I've missed something, let me know. LCMC web page: http://lcmc.sf.net Screenshots: http://sourceforge.net/apps/gallery/lcmc/ Source code: https://github.com/rasto/lcmc New video: http://youtu.be/xWjuhp3Ysp4?hd=1 Changelog: * don't use node_state from not existing node ids * make autostart vm option per host * implement the edit-config-files feature * allow removing of a running resource in an advanced mode * show hierarchy of block devices in the tooltips * improve handling of LVM on DRBD * fix resolve split-brain for DRBD 8.4 Rasto Levrinc -- Dipl.-Ing. Rastislav Levrinc rasto.levr...@gmail.com Linux Cluster Management Console http://lcmc.sf.net/ ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems