Solutions Enabler : Les commandes Symcli échouaient avec l’erreur « Symmetrix access control denied the request »

Zusammenfassung: Les commandes Symcli échouaient avec l’erreur « Symmetrix access control denied the request »

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

Symauth et symacl sont activés

sur la baie. Erreurs suivantes détectées dans symapi.log :
08/05/2022 00:33:34.580 15624 17628 EMC:SYMCFG read_authz_file Error reading Authz rules from array: 000497xxxxxx - 2545

08/05/2022 00:33:35.511 9944 20468 EMC:SYMSNAPVX read_authz_file Error reading Authz rules from array: 000497xxxxxx - 2545

08/05/2022 00:33:36.527 9944 20468 EMC:SYMSNAPVX read_authz_file Error reading Authz rules from array: 000497xxxxxx - 2545

08/05/2022 00:33:37.543 9944 20468 EMC:SYMSNAPVX read_authz_file Error reading Authz rules from array: 000497xxxxxx - 2545

08/05/2022 00:33:38.558 9944 20468 EMC:SYMSNAPVX Failed to load information. remote: 0, remote_hop_num: 0, retries: 3, sts: SYMAPI_C_ACCESS_DENIED - error msg: Symmetrix access control denied the request

08/05/2022 00:33:39.426 19788 20016 EMC:SYMSNAPVX read_authz_file Error reading Authz rules from array: 000497xxxxxx - 2545
L’erreur ci-dessus indique un problème avec symauth. Cependant, cochée
 "symauth show -username"
et vérifié que le même utilisateur est vu dans
 "symauth -sid <SID> list -users"
 Également vérifié
"symacl -sid <sid> show accgroup Admingrp" 
et vérifié que l’hôte fait partie de symacl AdminGrp.

Tentative de synchronisation en exécutant
"symcfg sync -sid <SID>"
Toutefois, la synchronisation a échoué avec l’erreur « Symmetrix access control denied the request ».

Ursache

Problème d’accès symacl

Lösung

Exécuter
"symacl -sid XXX show accgroup AdminGrp -acl"
et vérifiez si AdminGrp dispose du type d’accès nécessaire
C:\>symacl -sid XXX show accgroup AdminGrp -acl

Symmetrix ID: 000197XXXX
    Group Name                            Pool Name                            Access Type
    ----------------------------------    ---------------------------------    -----------
    AdminGrp                              ALL_DEVS                             ADMIN
    AdminGrp                              ALL_DEVS                             ALL

Dans la sortie ci-dessus, nous pouvons voir que AdminGrp a le type d’accès ADMIN et ALL., nous devrons ajouter un autre accès approprié pour exécuter des commandes, par exemple BASE et BASECTRL pour exécuter d’autres commandes.
image.png

Reportez-vous au Guide de gestion et de contrôle de baie pour plus d’informations sur les autorisations de contrôle d’accès disponibles


https://dl.dell.com/content/docu95463Commande permettant d’accorder des autorisations au groupe d’accès :
symacl -sid <SID> commit -file <FileName>

Où le fichier contient :
grant access=AccessType to accgroup GroupName for accpool PoolName | ALL | NON-POOLED devs
Une fois que l’accès BASE et BASECTRL a été accordé à AdminGrp, nous avons pu exécuter des commandes sans aucune erreur.
C:\>symacl -sid XXX show accgroup AdminGrp -acl

Symmetrix ID: 00019XXXXXX
    Group Name                            Pool Name                            Access Type
    ----------------------------------    ---------------------------------    -----------
    AdminGrp                              ALL_DEVS                             ADMIN
    AdminGrp                              ALL_DEVS                             ALL
    AdminGrp                              ALL_DEVS                             BASECTRL
    AdminGrp                              ALL_DEVS                             BASE

Betroffene Produkte

Solutions Enabler
Artikeleigenschaften
Artikelnummer: 000204041
Artikeltyp: Solution
Zuletzt geändert: 11 Juli 2024
Version:  3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.