VMware Solutions Discussions

fileCloneOffload in RCU 3.0

batmanppc

Has anyone successfully used the fileCloneOffload call in RCU 3.0?

I'm trying to use it in a PERL script and am getting back an error that "ServiceUrl must not be null".

Below is the SOAP request:

<?xml version="1.0" encoding="utf-8"?>
  <soap:Body>
    <tns:fileCloneOffload>
      <arg0>
        <sourcePath xsi:type="xsd:string">[Vol_TestDev_VMDKs] test1-www1/test1-www1.vmdk</sourcePath>
        <destDatastoreSpec>
          <controller>
            <ipAddress xsi:type="xsd:string">****</ipAddress>
            <username xsi:type="xsd:string">****</username>
            <password xsi:type="xsd:string">****</password>
            <ssl xsi:type="xsd:boolean">true</ssl>
          </controller>
          <mor xsi:type="xsd:string">Datastore:datastore-210</mor>
          <numDatastores xsi:type="xsd:int">0</numDatastores>
          <thinProvision xsi:type="xsd:boolean">true</thinProvision>
          <volAutoGrow xsi:type="xsd:boolean">false</volAutoGrow>
        </destDatastoreSpec>
      </arg0>
      <arg1>
        <sourcePath xsi:type="xsd:string">[Vol_TestDev_VMDKs] test1-www1/test1-www1_clone.vmdk</sourcePath>
        <destDatastoreSpec>
          <controller>
            <ipAddress xsi:type="xsd:string">****</ipAddress>
            <username xsi:type="xsd:string">****</username>
            <password xsi:type="xsd:string">****</password>
            <ssl xsi:type="xsd:boolean">true</ssl>
          </controller>
          <mor xsi:type="xsd:string">Datastore:datastore-210</mor>
          <numDatastores xsi:type="xsd:int">0</numDatastores>
          <thinProvision xsi:type="xsd:boolean">true</thinProvision>
          <volAutoGrow xsi:type="xsd:boolean">false</volAutoGrow>
        </destDatastoreSpec>
      </arg1>
      <arg2 xsi:type="xsd:boolean">false</arg2>
      <arg3>
        <serviceUrl xsi:type="xsd:string">https://####/sdk</serviceUrl>
        <vcPassword xsi:type="xsd:string">####</vcPassword>
        <vcUser xsi:type="xsd:string">####</vcUser>
      </arg3>
    </tns:fileCloneOffload>
  </soap:Body>
</soap:Envelope>
1 REPLY 1

batmanppc

Sorry. The problem was that I had the last two argument swapped. Thanks.

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