Unsolved

This post is more than 5 years old

24 Posts

1239

March 28th, 2016 23:00

How to enable or install API in VNX

Hi Guys,

I am looking for answers for the below question and scenarios. i have exhausted my search looking for some good information.

I have a software in our environment which is used for creating shares and managing it, we create a file system in VNX and use it the software add as a share then we will create shares on top of Files system. There are prerequisite which needs to be done one of them are to enable parameter on data mover which is acl.mappingErrorAction, i have enabled it, i have few other requisite which need to be done i am trying to find a way but i am stuck and not able to move on with below as i am not sure how should i be doing it.

  1. Software uses the following EMC API:
    • Query requests

- CifsShareQueryParams

- TreeQuotaQueryParams

- UserQuotaQueryParams

  • Start Task requests

- NewTree

- ModifyUserQuota

- ModifyTreeQuota

- ModifyTreeSettings



I would like to know how do we check if these API is installed or enabled in the VNX by some search or command.

how to enable these API. I have gone through this link VNX API Resources have all the docs and Schema with me but would like to know how would i enable this params so that my prerequisite is satisfied so i can go to next step to start creating.


I have pasted the last output of the log,  for your reference.



System.Net.WebException: The remote server returned an error: (403) Forbidden.

   at System.Net.HttpWebRequest.GetResponse()

   at Daimler.AdminNET.Common.EMC.VnxConnection.VnxHttpConnector.RequestAuthNTicket(String address, VnxCredentials vnxCredentials, IWebProxy defaultProxy, VnxHttpSettings settings)

   at Daimler.AdminNET.Common.EMC.VnxConnection.VnxHttpConnector.CreateConnection(String controlStationIp, VnxCredentials cred, IWebProxy proxy, VnxHttpSettings settings)

   at Daimler.AdminNET.Common.EMC.VnxConnection.VnxHttpConnector.Connect(VnxCredentials vnxCredentials, IWebProxy defaultProxy, VnxHttpSettings settings)

2016-03-29 07:45:18,657 [9344] ERROR - DCX.AdminNET.Business.ShareManagement.Commands.LoadRootShareStorageSystemInfoCommand - Execute - Unexpected error while trying to load general quota info for root share '\\swoef204.dewoe.corpintra.net\admin.net$'

Daimler.AdminNET.Common.EMC.Exceptions.VnxAuthenticationFailedException: The remote server returned an error: (403) Forbidden.

   at Daimler.AdminNET.Common.EMC.VnxAccess.Connect()

   at Daimler.AdminNET.Common.EMC.VnxAccess.GetShareInfo(String shareName)

   at DCX.AdminNET.Backend.ShareMgmt.StorageAccess.EmcAccessManager.CanManageShareQuotas(String shareName, Nullable`1& isQuotaSupported)

   at DCX.AdminNET.Business.ShareManagement.Commands.LoadRootShareStorageSystemInfoCommand.Execute()

2016-03-29 07:45:18,659 [9344] WARN  - DCX.AdminNET.AdminControl.ShareMgmt.CreateShare.CreateShareController - ResolveAndValidateRootShare - Storage-System verification for root-share '\\swoef204.dewoe.corpintra.net\admin.net$' (StorageSystem) failed: The remote server returned an error: (403) Forbidden.

2016-03-29 07:45:24,899 [9344] WARN  - Daimler.AdminNET.Common.EMC.VnxConnection.VnxHttpConnector - Connect - Connection attempt to ControlStation '53.8.145.80' failed! (Forbidden) -> Will abort now - Check you network or ControlStation configuration!

System.Net.WebException: The remote server returned an error: (403) Forbidden.

   at System.Net.HttpWebRequest.GetResponse()

   at Daimler.AdminNET.Common.EMC.VnxConnection.VnxHttpConnector.RequestAuthNTicket(String address, VnxCredentials vnxCredentials, IWebProxy defaultProxy, VnxHttpSettings settings)

   at Daimler.AdminNET.Common.EMC.VnxConnection.VnxHttpConnector.CreateConnection(String controlStationIp, VnxCredentials cred, IWebProxy proxy, VnxHttpSettings settings)

   at Daimler.AdminNET.Common.EMC.VnxConnection.VnxHttpConnector.Connect(VnxCredentials vnxCredentials, IWebProxy defaultProxy, VnxHttpSettings settings)

2016-03-29 07:45:24,900 [9344] ERROR - DCX.AdminNET.Business.ShareManagement.Commands.LoadRootShareStorageSystemInfoCommand - Execute - Unexpected error while trying to load general quota info for root share '\\swoef204.dewoe.corpintra.net\After upgrade'

Daimler.AdminNET.Common.EMC.Exceptions.VnxAuthenticationFailedException: The remote server returned an error: (403) Forbidden.

   at Daimler.AdminNET.Common.EMC.VnxAccess.Connect()

   at Daimler.AdminNET.Common.EMC.VnxAccess.GetShareInfo(String shareName)

   at DCX.AdminNET.Backend.ShareMgmt.StorageAccess.EmcAccessManager.CanManageShareQuotas(String shareName, Nullable`1& isQuotaSupported)

   at DCX.AdminNET.Business.ShareManagement.Commands.LoadRootShareStorageSystemInfoCommand.Execute()

2016-03-29 07:45:24,901 [9344] WARN  - DCX.AdminNET.AdminControl.ShareMgmt.CreateShare.CreateShareController - ResolveAndValidateRootShare - Storage-System verification for root-share '\\swoef204.dewoe.corpintra.net\After upgrade' (StorageSystem) failed: The remote server returned an error: (403) Forbidden.



4 Operator

 • 

8.6K Posts

April 5th, 2016 07:00

Hi,

the XML API is part of the OS and and always included and running by default.

No need to install or enable it.

Your error messages look more like a config problem for ADMIN.NET

I would suggest to work with your local company IT support to troubleshoot.


As far as I remember ADMIN.NET use XML API plus some generic CIFS calls.

Your error smells like you dont have the correct permissions to access the admin.net$ share via CIFS


No Events found!

Top