Here's a script that will create a session, save it to a session file and keep it alive. If at any time the session is terminated, the script will create a new session and new session file. Usage: SessionKeeper.pl --server <servername> --file <session_filename_to_be_saved>
A swell blog containing some of the scripts I have written for VM management.
View froboy's profile