|
Hey gang. I have just written a client and server in C++ using sys/socket. I need to handle a situation where the client is still active but the server is down. One suggested way to do this is to use a heartbeat to periodically assert connectivity. And...
Started by windfinder on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The process has died, the machine has gone down is merely hung, the socket will remain....
Maybe this will help you, TCP Keepalive HOWTO or this SO_SOCKET
If the other side has gone away (i.e .
To build your own heartbeat into your protocol.
|
|
Does anyone have experience configuring drbd with heartbeat between 2 virtual linux machines (VMWare Infrastructure)?
The problem I am running into is that heartbeat likes multiple data paths to see its peer node. For instance, it likes to have a network...
Started by Brent on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Not everyone (e.g..
Caveat emptor: heartbeat 2 uses XML config files.
Host is down for sure ; in a VM you might try a script that switches the other VM off via the VMware like on heartbeat 1 by drbd.
|
|
Using DRBD version: 8.2.6 (api:88/proto:86-88)
Here is the contents of /etc/ha.d/haresources
db1 192.168.100.200/24/eth0 drbddisk::mysql Filesystem::/dev/drbd0::/drbd::ext3::defaults mysql
and /etc/ha.d/ha.cf
logfile /var/log/ha-log logfacility local0...
Started by Andy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
I'm not very good with heartbeat, but with pacemaker I would to the disk (or down mysql....
The way to test heartbeat would be that you will issue service heartbeat stop on one machine at the Pacemaker and Linux-HA mailing lists.
|
Ask your Facebook Friends
|
Recently I've added some load-balancing capabilities to a piece of software that I wrote. It is a networked application that does some data crunching based on input coming from a SQL database. Since the crunching can be pretty intensive I've added the...
Started by Miky D on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You can the heartbeat includes a "reboot....
Be careful that the aggregate bandwidth used isn't a drain on resources .
Broadcast a heartbeat every t using UDP; if you haven't heard from a machine in more than k*t, then it's assumed down.
|
|
I'm looking at implementing a "Heartbeat" process to do a lot of repeated cleanup tasks throughout the day.
This seemed like a good chance to use the Command pattern, so I have an interface that looks like:
public interface ICommand { void Execute(); ...
Started by Simucal on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You also get the option to do.
The code you will need to write if you choose to go down this path.
|
|
I'm reading a book written by two Drs and it says that "Women whose u/s show a visible or audible fetal heart rate in the 1st trimester have a miscarriage rate of less than 3%." Just thought that this would be reassuring for you ladies who have seen or...
Started by Jbosarge85 on
, 14 posts
by 10 people.
Answer Snippets (Read the full thread at thebump):
I saw a heartbeat last week :) My doctor did say that the chance of a ms is very that it was see ....
Knowing for sharing that.
That at the beginning you have a 15-20% chance of m/c but once you see the heartbeat you're down to 2-3%.
|
|
Anyone hear that? Sounded like a heartbeat. The latest report out of the Commerce Department shows new construction of homes rose 7.7%. Buried in the Marketwatch.com article are the stats that showed that housing starts were up 27.6% in the West and 3...
Answer Snippets (Read the full thread at trulia):
Rising rents will push more buyers items today to add to the faint ....
Unemployment is drifting lower.
Foreclosures are way down.
It is a shame, but we may and more.
Hi BoulderSuZ: That "heartbeat" seems to be getting a little faint again.
|
|
I'm sorry for anyone who has to hear such bad news. As I understand it (I'm not a Dr.) you should see fetal heartbeat no later than 6 wks. Are you absolutely sure you're 8 wks? (I was 2 1/2 weeks off when I found out myself). Don't lose heart dear, the...
Started by Anxious Alicia on
, 195 posts
by 157 people.
Answer Snippets (Read the full thread at medhelp):
I was positive until/S showed the yolk sac, ....
Is something they put inside your for anything the heartbeat should be there by the time you go for the next u/s.
So tomorrow I'm going for a prostin termination.
And there was no heartbeat.
|
|
Well I still can't quite believe that's it's happening and have been a bit scared to post in this end of the forum, but we had our 7 week (well 6 week and 6 day) scan today and we saw what we had been hoping to see for so very long. A very quick little...
Started by JKW on
, 12 posts
by 11 people.
Answer Snippets (Read the full thread at ivffriends):
X ME 36 DH 38
IVF No 1 - (Down ....
Levels just prior, long down reg) 5 eggs, 4 fertilised, 2 blasties in , none frozen, BFN
investigations (many!) found.
No tubes now)
ICSI# 1 April 2010 (long down reg): Cancelled due to high prog.
|
|
The promos seem to show a character who's in over her head.
Here's the EW review:
http://www.ew.com/ew...0586100,00.html
Apparently created by a British film maker.
Also, apparently voted down on IMDB already (4.5 rating before it has aired) for political...
Started by Scrb on
, 146 posts
by 53 people.
Answer Snippets (Read the full thread at televisionwithoutpity):
But it wasn't laugh until you have tears-running-down-your-cheeks funny like Girls looks to be.
|