The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

Creating Snapshot via CIM call invocation - CreateElementReplica

HrishikeshGokhale
Requirement:
Create a thin or thick snapshot as per user requirement via CIM method invocation using "CreateElementReplica" of CIM_ReplicationService. 
 
Behavior:
If the 'SourceElement' property (input parameter) is a thick volume then the 'TargetElement' property (output parameter) contains a thick snapshot.
If the 'SourceElement' property (input parameter) is a thin volume then the 'TargetElement' property (output parameter) contains a thin snapshot.
 
Problem:
We are not able to create a thin snapshot from a thick source volume and vice versa using CIM call (CreateElementReplica).
 
Query:
Is there a way to make the array honor this requirement via the CIM call (CreateElementReplica)?
How to enable Netapp Provider logs and/or get access to them (not trace/error logs of Netapp SMIS provider)?
 
Things Tried:
CreateElementReplica contains the property "ReplicationSettingData" which can be used by the user to control the provisioning of the target element. We have enumerated the ONTAP_ReplicationSettingData class which is a single instance on the array. We converted the CIMInstance into a CIMObject and passed the CIMObject as a string. We modified the default property "ThinProvisioningPolicy" in the string from 7 (Implementation decides provisioning of target) to 3 (Copy thin source to full target) and 4 (Copy full source to thin target) respectively where the source volume was thin/thick. Even though the response was success, this was not honored by the array and we get the same behavior as mentioned in the 'Behavior' section.
 
Glossary:
- ThinProvisioningPolicy
If the target element is not supplied, this property specifies the provisioning of the target element.
 
- ReplicationSettingData
If provided, it overrides the default replication setting data for the given SyncType. If not provided, the management server uses the default replication setting data.
 
Sources:
  
ONTAP SMIS version:
v5.2.3
1 REPLY 1

HrishikeshGokhale

Hi ,

 

Inputs on this will be appreciated.

Thanks in advance.

 

Regards,

Hrishikesh

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public