Hey Monks,
I would first like to mention that this question might not be a 100% Perl question, but I feel it is Perl related enough to be posted on this forum. Other's might disagree though.
It's been awhile since I've done any coding, but I'm back at it. I'm writing some code that will run on a secondary linux server and peridoically check the primary linux server to see if it's listening on a particular port. If it's not, then run some commands for further troubleshooting and if all else fails bring the backup server online and act as the primary. All that is kosher, but the problem I'm having is with ARP entries. Is there a way with Perl (or even in Linux) to send out an ARP broadcast to tell all machines to update their arp table's with the entry of the backup server? Right now, it seems to be taking up to 5 minutes for the servers/routers to update their ARP tables. I know you can tweak the config. on the routers to a lower ARP updates, but I'm not sure if our WAN team would go for this since it most likely would put an additional strain on their routers. Ideally an ARP broadcast done via Perl would be my preferred solution.
Also, I already looked into Linux HA: http://linux-ha.org/ but it's not really what I want to do.
Thanks,
Dru
Another satisfied monk.
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.