Background
I'm setting up a pair of web servers to have failover redundancy. If the main server fails, the backup server takes over.
I'm trying to automate testing of my prototype. I figure I'll need two pieces, a "observer" that sits on a client machine and watches and coordinates the action, gathers results etc... Then I'll need a "gremlin". There will actually be two gremlins, one on each server. The gremlins will
cause failures and forward internal information to the observer.
Actual Question
Whats a good way to facilitate the communication between those three guys? Quick and easy is my highest priority. This will only run in my test lab (I don't want gremlins causing failures on my real servers) so stability and security aren't a big priority.
The observer needs to be able to tell the gremlins when to cause failures. The gremlins need to confer among themselves to coordinate the failures. The gremlins also need to be able to tell the observer all kinds of status info about the server that gremlin is running on.
Thanks Monks!
-Pileofrogs
Updates:
- suaveant: woah... you wrote my program for me...
- astroboy: My goal is zero downtime from planned events. If I need to update the kernel on any one machine, I need to be able to reboot without interrupting service. Perlbal looks like it runs a proxy, and so the proxy becomes the single point of failure. Or am I wrong..?
- zentara: Frickin' perfect!
- Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
- Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
-
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
-
Please read these before you post! —
-
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
-
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
- Link using PerlMonks shortcuts! What shortcuts can I use for linking?
-
See Writeup Formatting Tips and other pages linked from there for more info.