This Question is Possibly Answered

1 "correct" answer available (15 pts) 1 "helpful" answer available (10 pts)
5 Replies Last post: May 20, 2008 1:43 AM by Nagendra Krishnappa  
Click to view jean-michel drean's profile Novice 10 posts since
Apr 11, 2008

May 16, 2008 2:58 AM

How to retrieve the transfered volume per q_tree with snapvault

Hi,

 

I'm working on a specific backup applicaiton (time navigator from

Atempo) that manages the snapvault backup using ndmp request

(NDMP_SVP_CREATE_SNAP, NDMP_SVS_CREATE_SNAP etc..) in auto_trans mode

or with an explicit transfert using NDMP_SVS_TRANSFER_BACKUP depending

on some parameters.

We want to retrieve the actual migrated volume between the primary and

the secondary, eventually per qtree. Is there any API to do this? could

it be done through an NDMP request or reply?

thanks for your answer and help.

jean-michel

Click to view Nagendra Krishnappa's profile Expert 47 posts since
Mar 29, 2008

Below set of APIs retrieves a snapvault relationship status (which contains source-path and destination-path). On the secondary, given a destination path (qtree) the get-relationship-status APIs can retrieve the source path (volume/qtree). Look at the SDK documentation for more details. Hope this helps.

 

snapvault-primary-get-relationship-status

snapvault-primary-relationship-status-list-iter-end

snapvault-primary-relationship-status-list-iter-next

snapvault-primary-relationship-status-list-iter-start

 

snapvault-secondary-get-relationship-status

snapvault-secondary-relationship-status-list-iter-end

snapvault-secondary-relationship-status-list-iter-next

snapvault-secondary-relationship-status-list-iter-start

Click to view Nagendra Krishnappa's profile Expert 47 posts since
Mar 29, 2008

 

Documentation for same set of APIs show that these APIs retrieve below field.

 

 

transfer-progress :- Number of kilobytes (1024 bytes) transferred so far. Other statistical data for current transfers - current-transfer-error, current-transfer-type

 

 

Also, other statistical data such as last-transfer-duration, last-transfer-from-path, last-transfer-from-system, last-transfer-size, last-transfer-type are retrieved for an inactive connection, showing the status of the last transfer.

 

 

 

 

Click to view Nagendra Krishnappa's profile Expert 47 posts since
Mar 29, 2008

 

Manage ONTAP SDK is available at http://communities.netapp.com/docs/DOC-1110

 

 

You can find API documentation bundled along with SDK. Below links point to some additional training materials.

 

 

http://communities.netapp.com/docs/DOC-1127

 

 

http://communities.netapp.com/docs/DOC-1068

 

 

 

 

There are APIs that will return status on both primary and secondary for a snapvault relationship. For eg. On invoking "snapvault-primary-get-relationship-status" on primary it returns the relationship status and statistics. Similarly invoking "snapvault-secondary-get-relationship-status" on the secondary gives relationship status as per secondary. For more details refer "snapvault" section of "Data Ontap APIs" in the "Programming Guide" in SDK help.

 

 

I do not know how to achieve the same with NDMP.

 

 

More Like This

  • Retrieving data ...