BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Backup test(s)
Kauffman, Tom wrote:
I’ve got an application that has burned me a couple of times of late.
We’re using IBM’s TSM for SAP/R3 (or MySAP.com as it is now being
branded) to back up a 1.2 TB database nightly. There have been a couple
of times when the backup has ‘hung’ and never completed – and subsequent
backups never start, because there’s one ‘in process’.
How are the rest of you handling this sort of test? Code the BB
start/finish within the backup script and page on purple if it runs
long? Run a BB process that checks the status externally from logs or
the running process list?
Robert, Sean – what are you doing with the ‘bkp’ test you show on your
demo install?
There are a few ways to handle this, depending on what backup
software you're using. Legato had a way to send a command at
the start of a backup, then at the end of the backup so it was
pretty easy - do something like:
At the beginning of your backup, send:
$BBHOME/bb 123.123.123.123 "status+XXX machine,bkp clear `date` Backup
Started"
At the end of the backup send:
$BBHOME/bb 123.123.123.123 "status+1440 machine,bkp green `date` Backup
Done"
The trick is that XXX above should be the number of minutes your
backup should take, less 30 minutes (purple default time), plus a fudge
factor (for longer/shorter backups).
If the backup completes OK, the second message (valid for a whole day)
is sent to BB... this second message could/should also parse through the
logfiles (or check the return code) of the backup process and change
color accordingly with the appropriate message (my favorite - no tape in
drive).
--
Sean MacGuire sean@maclawran.ca
icbm --> 45'31.06N-73'35.19W +1 514 996 4638
The best way to predict the future is to invent it. - Alan Kay
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index