Hi
Everyone,
We needed a way to
preserve pound sessions. This way we could do a quick pound restart and re-load
the session data or, if necessary, do an IP-takeover and move the session table
to another server.
The script is
quite simple, but I thought it was worth sharing. Here's how to use
it:
# poundctl -c /var/run/pound.ctl -X | pund-preserve
> /tmp/pound-sessions.sh
< restart pound, scp session list to other box, etc.
>
# bash
/tmp/pound-sessions.sh
As a side note,
this script could be modified and combined with something such as heartbeat or
apinger to (http://freshmeat.net/projects/apinger/)
to create a redundant Pound system. We're not quite there yet, but it's not
that far off.
Thanks,
Cullin J. Wible
Co-Founder & Chief Architect
Email Data Source,
Inc.
65 Broadway, Suite
601
New York, NY 10006
Monitoring the World of Email
Marketing