<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Creating Snapshot via CIM call invocation - CreateElementReplica in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Creating-Snapshot-via-CIM-call-invocation-CreateElementReplica/m-p/141954#M2707</link>
    <description>&lt;DIV&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;Create a thin or thick snapshot as per user requirement via&amp;nbsp;CIM method invocation&amp;nbsp;using&amp;nbsp;"CreateElementReplica" of CIM_ReplicationService.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Behavior:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;If the 'SourceElement' property (input parameter) is a thick volume then the 'TargetElement' property (output parameter) contains a thick snapshot.&lt;/DIV&gt;
&lt;DIV&gt;If the 'SourceElement' property (input parameter) is a thin volume then the 'TargetElement' property (output parameter) contains a thin snapshot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;We are not able to create a thin snapshot from a thick source volume and vice versa using CIM call (CreateElementReplica).&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Query:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;Is there a way to make the array honor this requirement via the CIM call (CreateElementReplica)?&lt;/DIV&gt;
&lt;DIV&gt;How to enable Netapp Provider logs and/or get access to them (not trace/error logs of Netapp SMIS provider)?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Things Tried:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;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&amp;nbsp;which is a single instance&amp;nbsp;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)&amp;nbsp;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&amp;nbsp;same behavior as mentioned in the 'Behavior' section.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Glossary:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;nbsp;ThinProvisioningPolicy&lt;/DIV&gt;
&lt;DIV&gt;If&amp;nbsp;the target element is not supplied, this property specifies the provisioning of the target element.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;nbsp;ReplicationSettingData&lt;/DIV&gt;
&lt;DIV&gt;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.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Sources:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationSettingData.html" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable"&gt;https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationSettingData.html&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationService.html" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable"&gt;https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationService.html&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;&lt;STRONG&gt;ONTAP&amp;nbsp;SMIS version:&lt;/STRONG&gt;&lt;BR /&gt;v5.2.3&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:26:27 GMT</pubDate>
    <dc:creator>HrishikeshGokhale</dc:creator>
    <dc:date>2025-06-04T13:26:27Z</dc:date>
    <item>
      <title>Creating Snapshot via CIM call invocation - CreateElementReplica</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Creating-Snapshot-via-CIM-call-invocation-CreateElementReplica/m-p/141954#M2707</link>
      <description>&lt;DIV&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;Create a thin or thick snapshot as per user requirement via&amp;nbsp;CIM method invocation&amp;nbsp;using&amp;nbsp;"CreateElementReplica" of CIM_ReplicationService.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Behavior:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;If the 'SourceElement' property (input parameter) is a thick volume then the 'TargetElement' property (output parameter) contains a thick snapshot.&lt;/DIV&gt;
&lt;DIV&gt;If the 'SourceElement' property (input parameter) is a thin volume then the 'TargetElement' property (output parameter) contains a thin snapshot.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;We are not able to create a thin snapshot from a thick source volume and vice versa using CIM call (CreateElementReplica).&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Query:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;Is there a way to make the array honor this requirement via the CIM call (CreateElementReplica)?&lt;/DIV&gt;
&lt;DIV&gt;How to enable Netapp Provider logs and/or get access to them (not trace/error logs of Netapp SMIS provider)?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Things Tried:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;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&amp;nbsp;which is a single instance&amp;nbsp;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)&amp;nbsp;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&amp;nbsp;same behavior as mentioned in the 'Behavior' section.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Glossary:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;nbsp;ThinProvisioningPolicy&lt;/DIV&gt;
&lt;DIV&gt;If&amp;nbsp;the target element is not supplied, this property specifies the provisioning of the target element.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;-&amp;nbsp;ReplicationSettingData&lt;/DIV&gt;
&lt;DIV&gt;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.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Sources:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationSettingData.html" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable"&gt;https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationSettingData.html&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationService.html" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable"&gt;https://schemas.dmtf.org/wbem/cim-html/2.49.0/CIM_ReplicationService.html&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Calibri,sans-serif" size="2"&gt;&lt;SPAN&gt;&lt;STRONG&gt;ONTAP&amp;nbsp;SMIS version:&lt;/STRONG&gt;&lt;BR /&gt;v5.2.3&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:26:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Creating-Snapshot-via-CIM-call-invocation-CreateElementReplica/m-p/141954#M2707</guid>
      <dc:creator>HrishikeshGokhale</dc:creator>
      <dc:date>2025-06-04T13:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Snapshot via CIM call invocation - CreateElementReplica</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Creating-Snapshot-via-CIM-call-invocation-CreateElementReplica/m-p/142496#M2722</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inputs on this will be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Hrishikesh&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 06:58:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Creating-Snapshot-via-CIM-call-invocation-CreateElementReplica/m-p/142496#M2722</guid>
      <dc:creator>HrishikeshGokhale</dc:creator>
      <dc:date>2018-09-03T06:58:11Z</dc:date>
    </item>
  </channel>
</rss>

