Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Powershell api invoke-NaSnapmirrorUpdate with TransferRate parameter
2013-04-24
01:57 AM
3,816 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a pb with the powershell api invoke-nasnapmirrorupdate with the parameter -TransferRate. This parameter send only 0 whatever i put.
For Example in powershell window :
Invoke-NaSnapmirrorUpdate -Destination vol_dst_sm -MaxTransferRate 20
And here is the network capture :
<netapp version='1.0' xmlns='http://www.netapp.com/filer/admin'><snapmirror-update>
<destination-location>vol_dst_sm</destination-location>
<max-transfer-rate>0</max-transfer-rate>
</snapmirror-update></netapp>
The ontap version is 8.0.1 P2
Powershell version : 2.0
Someone has an idea ?
Thanks for advance
Solved! See The Solution
View By:
- View By:
-
Powershell Toolkit
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The MaxTransferRate parameter is specified in bytes/second. The max-transfer-rate parameter in the API is in kilobytes/second.
PS C:\> help Invoke-NaSnapmirrorUpdate -Parameter MaxTransferRate
-MaxTransferRate <Int64>
Maximum transfer rate in bytes per second. The default is as fast as the filer can transfer.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Steven
2 REPLIES 2
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The MaxTransferRate parameter is specified in bytes/second. The max-transfer-rate parameter in the API is in kilobytes/second.
PS C:\> help Invoke-NaSnapmirrorUpdate -Parameter MaxTransferRate
-MaxTransferRate <Int64>
Maximum transfer rate in bytes per second. The default is as fast as the filer can transfer.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah ok !
I didn't understand that. It's ok now.
Thank you very much
