Data Backup and Recovery
Data Backup and Recovery
Hello community,
we are using Snapcenter Powershell Cmdlets to deploy on-demand Flexclones of our ERP database for testing purposes.
After updating our Snapcenter installation to version 4.6, the cmdlet "Add-SmCloneJob" fails with error message:
--
Add-SmCloneJob : Operation unauthorized. The user you are trying to operate does not have a valid token.
In Zeile:1 Zeichen:15
+ ... mclonejob = Add-SmCloneJob $instance -PluginCode SMSQL -ClonetoInstan ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (SnapManager.Client.PSModule.AddCloneJob:AddCloneJob) [Add-SmCloneJob], Exception
+ FullyQualifiedErrorId : -1,SnapManager.Client.PSModule.AddCloneJob
--
Resourcegroup is created in Snapcenter - but no clone operations are triggered. No authentication error, while login to Snapcenter via Powershell. Username and password are correct.
Do you have any ideas? Im not sure what's meant with "token" in this context.
All this works in further versions of Snapcenter.
Greets
Tobi
Solved! See The Solution
Hello @hmoubra,
we are not using SCV in our environment.
We could fix the issue yesterday with NetApp tech support. The solution was to install the whole Snapcenter Plugin for Windows on the host running the script.
Seems like NetApp improved something with version 4.6. In earlier version it was sufficient to install the Snapcenter Powershell Toolkit.
Greets,
tbshpgn
Hello @tbshpgn
Are you able to perform a clone from the Snapcenter GUI or only erroring out when doing it via powershell?
For security, a token is usually passed with each request and in used in all API calls for client validation. You would need to refresh that by pushing the server credentials within Snapcenter.
Hope this answer your question.
Thanks
Hello @hmoubra,
we are not using SCV in our environment.
We could fix the issue yesterday with NetApp tech support. The solution was to install the whole Snapcenter Plugin for Windows on the host running the script.
Seems like NetApp improved something with version 4.6. In earlier version it was sufficient to install the Snapcenter Powershell Toolkit.
Greets,
tbshpgn