Data Backup and Recovery

NTAP_PM_UPDATE=Y request for new feature.

magnus_nyvall
2,634 Views

Hi!

We are using NTAP_PM_UPDATE=Y to startsnapvault backups.

I would like snapcreator to be able to start the snapvault with NTAP_PM_UPDATE=Y but not monitor the progress.

An option like NTAP_PM_UPDATE_MONITOR=N perhaps.

We use Protection Manager to monitor the snapvaults so we dont need snapcreator to do it. Only to start it.

The reason is that the scheduler we use to start snapcreator wont start the next job if the last one is still running.

Sometimes this can take very long because of overloaded/queud Protection Manager.

And we dont want to miss any snapshots on the local server.

Another reason is if you use the new option in 3.6.0 NTAP_SNAPSHOT_CLEANUP=Y

And the snapvault then fails it will have created a registred snapshot in PM that is deleted but still is registered in PM.

I woud have wanted this option to only clean up snapshots that could not be registered with PM because of non-conformant datasets.

If the snapvault then fails why remove the local snapshot?

Example:

########## Running Protection Manager Backup Version Create for dataset snapcreator_r3s5e_db2 ##########
[Thu Oct 11 11:05:24 2012] INFO: Registering snapshot r3s5e_db2-hourly_20121011110453 with Protection Manager dataset snapcreator_r3s5e_db2
[Thu Oct 11 11:05:27 2012] INFO: Snapshot(s) for dataset snapcreator_r3s5e_db2 registered with Protection Manager successfully

########## Running Protection Manager backup start for dataset snapcreator_r3s5e_db2 ##########
[Thu Oct 11 11:05:27 2012] INFO: Starting Protection Manager backup
[Thu Oct 11 11:05:27 2012] INFO: Protection Manager backup start completed successfully

########## Getting Protection Manager backup progress ##########
[Thu Oct 11 11:05:37 2012] INFO: Getting Protection Manager backup progress for job-id 618413
[Thu Oct 11 11:05:38 2012] INFO: Protection Manager backup progress get for job-id 618413 completed successfully
[Thu Oct 11 11:05:38 2012] INFO: Protection Manager backup for job-id 618413 is running, Sleeping 1 minute
[Thu Oct 11 11:06:38 2012] INFO: Getting Protection Manager backup progress for job-id 618413
[Thu Oct 11 11:06:39 2012] INFO: Protection Manager backup progress get for job-id 618413 completed successfully
[Thu Oct 11 11:06:39 2012] INFO: Protection Manager backup for job-id 618413 is running, Sleeping 1 minute
[Thu Oct 11 11:07:39 2012] INFO: Getting Protection Manager backup progress for job-id 618413
[Thu Oct 11 11:07:48 2012] INFO: Protection Manager backup progress get for job-id 618413 completed successfully
[Thu Oct 11 11:07:48 2012] INFO: Protection Manager backup for job-id 618413 is running, Sleeping 1 minute
[Thu Oct 11 11:08:48 2012] INFO: Getting Protection Manager backup progress for job-id 618413
[Thu Oct 11 11:08:58 2012] INFO: Protection Manager backup progress get for job-id 618413 completed successfully
[Thu Oct 11 11:08:58 2012] INFO: Protection Manager backup for job-id 618413 is running, Sleeping 1 minute
[Thu Oct 11 11:09:58 2012] INFO: Getting Protection Manager backup progress for job-id 618413
[Thu Oct 11 11:10:08 2012] INFO: Protection Manager backup progress get for job-id 618413 completed successfully
[Thu Oct 11 11:10:08 2012] ERROR: [scf-00099] Protection Manager backup for job-id 618413 completed with errors - 4347358|error|snapvault-end|segotx076:/snapcreator_r3s5e_db2_backup: NDMP error: SNAPSHOT (Is volume out of Snapshot copies?)
[Thu Oct 11 11:10:18 2012] INFO: Snapshot Delete of r3s5e_db2-hourly_20121011110453 on segotx608:got608v005 completed Successfully

Regards Magnus

3 REPLIES 3

ktenzer
2,634 Views

Hi Magnus,

Great idea!

Can you please

1) register for SC developer community www.snapcreator.com (you need to first go to www.github.com and create user, then provide this user in registration)

2) Once you are registered (takes a few days) go here and open a issue and document this https://github.com/NetApp/SC-Framework/issues

This way you can follow the issue and see any comments from engineers, etc, much more effective as it is our bug tracking system

Regards,

Keith

magnus_nyvall
2,634 Views

I cant get that to work im afraid. Get page not found for https://github.com/NetApp/SC-Framework/issues

Regards Magnus

magnus_nyvall
2,634 Views

You said earlier in this thread that it was a good idea.

Will it perhaps come in a future version?

Any idea if there is a workaround for it until then?

My problem is basically that snapvault sometimes succeeds but with errors.

It could be a temporary NDMP error, or something else. But PM retries and at the end it succeeds with the snapvault.

But snapcreator then finished with an errorcode that says "succeful with errors" or something similar.

This makes our scheduler react since it reacts to any exitcode that is not 0 (zero).

And a case is created unnessescary to our 1:st line support team.

I could create a filter in the script that the scheduler uses to run SC, but then i need to know which errorcodes i can filter out.

Or could i search the last line in the log perhaps and just look for the word Successful?

Im not sure i explain in a understandable way

Regards Magnus

Public