Solutions Enabler:Symcli 命令失敗,並顯示錯誤「Symmetrix access control denied the request」

Summary: Symcli 命令失敗,並顯示錯誤「Symmetrix access control denied the request」

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

陣列已同時啟用

symauth 和 symacl 在 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
上述錯誤表示 symauth 有問題。但是,已檢查
 "symauth show -username"
並驗證在
 "symauth -sid <SID> list -users"
 還檢查過
"symacl -sid <sid> show accgroup Admingrp" 
並驗證主機是否為 symacl AdminGrp 的一部分。

已嘗試透過執行以下命令進行同步:
"symcfg sync -sid <SID>"
但是,同步失敗,並出現錯誤 「Symmetrix 存取控制拒絕要求」。

Cause

Syacl 存取問題

Resolution

執行
"symacl -sid XXX show accgroup AdminGrp -acl"
並檢查 AdminGrp 是否有必要的存取類型
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

在上述輸出中,我們可以看到 AdminGrp 具有存取類型 ADMIN ALL.,我們需要新增其他適當的存取權限來執行命令,例如 BASE 和 BASECTRL 才能執行其他命令。
image.png

如需有關可用存取控制權限的詳細資訊,請參閱陣列控制和管理指南


https://dl.dell.com/content/docu95463授予存取群組權限的命令:
symacl -sid <SID> commit -file <FileName>

其中檔案包含:
grant access=AccessType to accgroup GroupName for accpool PoolName | ALL | NON-POOLED devs
一旦 BASE BASECTRL 存取權授予 AdminGrp 後,我們就能毫無錯誤地執行命令。
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

Affected Products

Solutions Enabler
Article Properties
Article Number: 000204041
Article Type: Solution
Last Modified: 11 Jul 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.