I have a customer who is trying to RM with Backup Exec. They are using RM on a Windows server with a Celerra NS20 w/ SnapSure enabled for iSCSI LUNs. They have a RM job configured to run a backup script using Backup Exec. However, once the backup job completes RM does not unmount the snap automatically. What should be configured so that RM recognizes the backup is complete?
Alternatively, I know we could manually create a script to unmount the snap at a given time using rmcli and the unmount-replica command.
If you are using the "Other Mount Options" settings within the RM job properties, you could also select the option "Unmount replica upon job completion".
If that does not work with your setup you could also set the replica count for the snap job to one, so that each time the job runs it will first unmount and then expire the existing snap before creating a new one.
Just be sure that your backup script does not call back to the RM client pre-maturely. i.e. dont let the original script invoked by RM mount options end before the backup does.
Some years ago I had a customer who had a similar issue with backing up SQL via a Backup Exec script launched from RM/SE. We found out that by using the ¿bemcmd¿ command with the -w option the script waits until the BE job has complete before returning a value of -1 thus allowing RM/SE to unmount and complete the job¿.
AranH1
2163 Posts
272
0
Posted March 2nd, 2009 08:00
If that does not work with your setup you could also set the replica count for the snap job to one, so that each time the job runs it will first unmount and then expire the existing snap before creating a new one.