You are not logged in.
Pages: 1
I set jobs to run in chain. When fail or success, it is suppose launch another job, but the existing job never terminate itself, making it impossible for the next job to run. I have to manually kill all Xsi job in order to run the next job. Here is the error print out:
-rw-r--r-- 1 root root 1698354 Jun 12 21:03 xsibackup-192.168.20.242.log
[root@QALab01:/vmfs/volumes/5cba66ef-fc7d1e2c-48f7-002590c81022/xsi-dir/var/logs] tail -f xsibackup.
log
2019-06-13T04:53:45| --use-smtp=2 \
2019-06-13T04:53:45| --mail-to=rluong@jupiter.com \
2019-06-13T04:53:45| --backup-id=24202 \
2019-06-13T04:53:45| --description="backup to nas1 for cloud upload" \
2019-06-13T04:53:45| --exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"
---------------------------------------------------------------------------------------------------------------------------------
2019-06-13T04:53:52| ERROR: there are some ongoing rsync process/es loaded into memory. Clean them manually \
2019-06-13T04:53:52| if no backup job is running now -> kill -9 4205476
2019-06-13T04:53:52| 4205598
2019-06-13T04:53:52| 4249595
ERROR: there are some ongoing rsync process/es loaded into memory. Clean them manually
Here is the job running before that error:
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=OneDiff \
--snapshot=doquiesce \
--backup-point=192.168.20.242:22:"/vmfs/volumes/datastore1" \
--backup-type=Running \
--backup-how=Hot \
--use-smtp=2 \
--mail-to=rluong@jupiter.com \
--backup-id=242 \
--description="replicate 19216820242" \
--on-success="backupId->24202" \
--on-error="backupId->24202" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"
This is the job that suppose to run and got the error:
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=XSITools:z \
--host=192.168.20.242:22 \
--override=xsibakfilter \
--backup-point=/vmfs/volumes/datastorenas1/qalab-vm \
--backup-type=All \
--backup-how=Hot \
--del-dirs=+21d \
--use-smtp=2 \
--mail-to=rluong@jupiter.com \
--backup-id=24202 \
--description="backup to nas1 for cloud upload" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"
This happen every time. Any idea in fixing the problem?
Raymond
Offline
First of all, the Man Page clearly states that backup jobs must be three digit strings from 000 to 999
You have an error that you must pay attention to:
ERROR: there are some ongoing rsync process/es loaded into memory. Clean them manually
Use [b]ps -c | grep xsi[/b] to identify what zombie rsync processes you have in memory and kill them, i.e: [b]kill -9 12345[/b]
On the other side, if you don't want to differentiate between --on-error and --on-success actions, you can just add the jobs to a file
001
002
003
And invoke that file from the crontab.
Offline
Pages: 1