Unisphere for VMAX: REST API-kall mislykkes.

Summary: Unisphere for VMAX: REST API-kall (Application Programming Interface) mislykkes.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

REST API-kall mislykkes. Baseboard Management Control (BMC) Capacity Optimization (BCO) er et verktøy som bruker REST API-kall til å spørre informasjon fra Unisphere for å rapportere til BCO-brukergrensesnittet (UI).

BCO viser ingen data for Symmetrix. BCO er konfigurert til å samle inn informasjon fra Unisphere for VMAX (UNIVMAX) som Perfmon-bruker.

I dette tilfellet prøvde BMCs BCO-verktøy å spørre informasjon fra Unisphere og fikk følgende feilmelding:

Response:
HTTP/1.1 403 Forbidden
Server: Apache-Coyote/1.1
Date: Wed, 02 Mar 2016 15:58:55 GMT
Accept-Ranges: bytes
Server: Restlet-Framework/2.1.2
RESTAPI-PROCESSING-TIME: 22
RESTAPI-ACTIVE-SESSION-COUNT: 2
Content-Type: application/xml
Transfer-Encoding: chunked
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<exception xmlns="http://www.emc.com/em/2012/07/univmax/restapi/common" xmlns:ns2="http://www.emc.com/em/2012/07/univmax/restapi/management" xmlns:ns3="http://www.emc.com/em/2012/07/univmax/restapi/mobile" xmlns:ns4="http://www.emc.com/em/2012/07/univmax/restapi/performance" message="User is not authorized for symmetrixId [000xxxxxxxxx]"/>
 
Request:
POST https://<UNIVMAX_SERVER_IP>:8443/univmax/restapi/performance/FEDirector/keys HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/xml
Accept: application/xml
Content-Length: 280
Host: UNIVMAX_SERVER:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Cookie: JSESSIONID=bRaJZl6VUZbus-6yWmD0FZa8
Cookie2: $Version=1
Authorization: Basic 
<REDACTED>
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:feDirectorKeyParam xmlns="http://www.emc.com/em/2012/07/univmax/restapi/common" xmlns:ns2="http://www.emc.com/em/2012/07/univmax/restapi/performance">
                <symmetrixId>000xxxxxxxxx</symmetrixId>
</ns2:feDirectorKeyParam>

RESTAPI-kall fra en Mozilla Firefox-klient til Unisphere for VMAX mislyktes ved bruk av en Perfmon-bruker. Dette fungerer fint med en Admin (smc) bruker.

Cause

En feil Symmetrix Authorization (symauth) oppføring forårsaket dette problemet.

Resolution

For å løse dette problemet, sørg for at brukernavnet (store og små bokstaver) er riktig lagt til i Symmetrix-autorisasjonslisten (symauth list -users-sid xxx) med riktige rettigheter. 

Additional Information

I dette tilfellet hadde brukernavnet et vertsnavnprefiks, som forårsaket problemet. Fjerning av vertsnavnprefikset fra symauth-listen for den brukeren løste problemet. 

Brukere som har tilgang til Symmetrix-ytelsesmålinger:

  • Administrator
  • Lagringsadministrator
  • Ytelsesmåler
  • Skjerm 

Brukere som ikke har tilgang til Symmetrix-ytelsesmålingene:

  • Revisor
  • Sikkerhetsadministrator
  • None

Se veiledningen for programmerere for Unisphere for VMAX RESTAPI for mer informasjon. Du finner dokumentasjonen på Dell EMC Online Support på https://www.dell.com/support/product-details/en-us/product/unisphere-for-vmax/docs

Affected Products

Unisphere for VMAX

Products

Unisphere for VMAX
Article Properties
Article Number: 000051996
Article Type: Solution
Last Modified: 04 Aug 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.