Data Domain - 確認和變更還原程式上的用戶端存取清單
Summary: CIFS 存取清單
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
確認及變更還原器上的用戶端存取清單
摘要
-
如何在 DDR 上確認和變更存取清單中的用戶端資訊
適用於
-
所有 Data Domain Restorers
- 所有 DDOS 版本
Cause
CIFS 存取清單
Resolution
指令
- 用戶端對 DDR 的存取可透過一般網際網路檔案系統 (CIFS) 存取清單或網路檔案系統 (NFS) 存取清單進行管理,視使用的通訊協定而定。
- 為了能夠修改訪問清單,您必須使用具有管理員級別許可權(相對於使用者級別許可權)的用戶帳戶登錄 Restorer。
- 目前,必須從命令行介面 (CLI) 管理存取清單。
CIFS 用戶端可以映射到還原器上的共用。
- DDVAR 是用於管理工作 (例如查看記錄檔或升級 DDOS) 的共用。
- 備份 是 Windows 用戶端用於資料儲存和檢索的共用。
- 在目前的 DDOS 版本上,您可以使用 CLI 建立自訂共用。
若要允許 CIFS 用戶端存取 Data Domain 系統,請使用 CIFS 啟用作業。
#cifs enable
若要停用所有 CIFS 用戶端存取 Data Domain 系統,請使用 CIFS 停用作業。
#cifs disable
若要檢視存取清單,請使用:
#cifs share show
將用戶端新增至存取清單
每個讀取和寫入 Data Domain 系統的 Windows 用戶端都必須新增為備份用戶端。
我們建議添加用戶端的IP位址、完全限定功能變數名稱和短名稱。
cifs share modify <share> { max-connections <max connections> | clients <clients> | browsing <enabled|disabled> | writeable <enabled|disabled>| users <users> | comment <comment>} <"client-list"> 用戶端清單是允許訪問共用的用戶端的逗號分隔清單。除逗號分隔符外,不應有任何空格 (空格、製表元) 字元。清單必須用雙引弧括起來。
一些有效的客戶清單是:
"host1,host2" "host1,10.24.160.116"
"host1 " "host1 ,host2" "host1, 10.24.160.116" "host1 10.24.160.116"
#cifs share modify /backup clients "srvr24.yourdomain.com,srvr24,10.24.160.116"
注意:使用 使用者 選項, 請勿 使用星號 (*),因為 Data Domain 系統不會將此符號解譯為萬用字元,而是會嘗試尋找名稱為 * 的使用者。
NFS 存取
nfs 命令管理 NFS 用戶端並顯示 NFS 統計資料和狀態。
Data Domain 系統會匯出目錄 /ddvar 和 /backup。/ddvar 包含 Data Domain 系統記錄檔和核心檔案。
/backup 是 NFS 用戶端資料的目標。將備份伺服器新增為用戶端至 /backup。
確認 NFS 已啟用
nfs status如果未啟用 NFS,請執行:
nfs enable
將 NFS 用戶端新增至存取清單
若要新增 NFS 用戶端,請使用 nfs 新增作業。新增用戶端以取得 /ddvar 的管理存取權。將讀/寫作業的用戶端新增至 /backup。添加到 /backup 下的子目錄的用戶端只能訪問該子目錄。
nfs add {/ddvar | /backup[/subdir]} client-list [(nfs-options)]
nfs 選項清單的項目之間可以有一個逗號、一個空格或兩者兼而有之。
The default NFS options for an NFS client are: rw, no_root_squash, no_all_squash, and secure. The list accepts the following options: ro Read only permission. rw Read and write permissions. root_squash Map requests from uid/gid 0 to the anonymous uid/gid. no_root_squash Turn off root squashing. all_squash Map all user requests to the anonymous uid/gid. no_all_squash Turn off the mapping of all user requests to the anonymous uid/gid secure Requires that requests originate on an Internet port that is less than IPPORT_RESERVED (1024). insecure Turn off the secure option anonuid=id Set an explicit user-ID for the anonymous account. The id is an integer bounded from -65635 to 65635. anongid=id Set an explicit group-ID for the anonymous account. The id is an integer bounded from -65635 to 65635.例如,若要新增 IP 位址為 192.168.1.02 的 NFS 用戶端,以及 /backup 的讀/寫存取權: 使用安全選項:
# nfs add /backup 192.168.1.02 (rw,secure)
# nfs add /backup 192.168.1.02/24 (rw,secure) # nfs add /backup 192.168.1.02/255.255.255.0 (rw,secure)
若要移除可存取 Data Domain 系統的 NFS 用戶端,請使用 nfs del export 用戶端清單作業。用戶端可從 /ddvar 的存取權移除,但仍可存取 /backup。用戶端清單可以包含IP位址、主機名和星號 (*),並且可以以逗號分隔和/或空格分隔。
nfs del {/ddvar | /backup[/subdir]} client-list
# nfs del /ddvar 192.168.1.02
# nfs show clients
Additional Information
Affected Products
Data DomainProducts
Data DomainArticle Properties
Article Number: 000043663
Article Type: Solution
Last Modified: 08 Jul 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.