Data Domain:Data Domain Boost 檔案系統的加速組態步驟和詳細資料
Summary: 本文介紹什麼是 BOOST FS,以及如何在系統上快速配置它,並提供有助於故障排除的示例輸出和詳細資訊。
Instructions
此功能允許支援客戶的應用程式將備份檔放入本地 Linux 目錄(掛載了遠端 DD 儲存單元的位置)和要存儲在 DD 中的檔,具有 BOOST 的大多數優點,例如在用戶端上執行重複數據刪除(從而減少了對頻寬的需求),並且根本不需要更改應用程式。
BOOST FS 是首次向搭載 DDOS 6.0 的客戶發行。深入瞭解及初始設定的官方說明文件是 Data Domain BoostFS 1.0 組態指南。
儘管官方文檔包含所有更新的詳細資訊,但 BOOST FS 在其初始版本中僅支援以下內容。它可以與其他版本一起使用,但 DELL 不保證其能如預期運作:
- DDOS 6.0
- 舊版 Red Hat Enterprise Linux、SUSE Linux Enterprise Server 和 Ubuntu 版本
- Linux FUSE 2.8 (FUSE 代表使用者空間中的檔案系統)
- Linux 端的一些應用程式:
- CommVault Simpana 版本 9、10 和 11
- MySQL 社群 5.6.和 5.7
- MySQL Enterprise Manager 5.6 和 5.7
- MongoDB 社群 2.6、3.0 和 3.2
Additional Information
- 在 Data Domain 端,必須有一個特定的儲存裝置,並指派一些 BOOST 使用者,以儲存來自 BOOST FS 的資料
- 在 Linux 用戶端,必須安裝 FUSE 程式庫 (作業系統隨附) 和 BOOST FS (由 Dell 提供),並執行部分設定,以使 Linux 作業系統能夠在某些 Linux 用戶端固定點本機查看及掛接遠端 Data Domain 儲存裝置
以下步驟是指南中配置步驟的精簡執行摘要,有關所有詳細資訊,請參閱官方文檔。
BOOST FS
的 Data Domain 端組態必須啟用 BOOST 分散式區段處理 (DSP),BOOST FS 才能運作。檢查是否通過:
# ddboost option show Option Value ------------------------------ ------- distributed-segment-processing enabled virtual-synthetics enabled fc enabled ------------------------------ -------
必須建立特定使用者才能使用要建立的 BOOST FS 儲存單元,並且必須將使用者分配到該儲存單元:
#### Create BOOST FS user # user add boostfsuser role admin password abc123 User "boostfsuser" added. #### State this new user is for use with BOOST # ddboost user assign boostfsuser User "boostfsuser" assigned to DD Boost. #### Create a new storage unit named "BOOSTFS_LSU" and assign the new user to it # ddboost storage-unit create BOOSTFS_LSU user boostfsuser Created storage-unit "BOOSTFS_LSU" for "boostfsuser".
最後,這是儲存單元在 Data Domain CLI 中的顯示方式:
# ddboost storage-unit show Name Pre-Comp (GiB) Status User Report Physical Tenant-Unit Size (MiB) -------------------------------------- -------------- ------ ----------- --------------- ----------- ... BOOSTFS_LSU 0.0 RW boostfsuser - - -------------------------------------- -------------- ------ ----------- --------------- -----------
BOOST FS 的 Linux 用戶端組態
在確認 Linux 作業系統是否為支援的作業系統之一後,請取得最新的 BOOST FS 作業系統套件。這裡我們以 Ubuntu 14.04 為例。因此,請下載作業系統.deb檔案,並在檢查所有相依性都滿足後,從命令列安裝:# ls -l -rwxrwxr-x 1 root root 2429502 May 26 05:01 DDBoostFS_1.0.0.4_546961_amd64.deb # dpkg --dry-run -i DDBoostFS_1.0.0.4_546961_amd64.deb Selecting previously unselected package ddboostfs. (Reading database ... 465833 files and directories currently installed.) Preparing to unpack DDBoostFS_1.0.0.4_546961_amd64.deb ... # dpkg -i DDBoostFS_1.0.0.4_546961_amd64.deb Selecting previously unselected package ddboostfs. (Reading database ... 465833 files and directories currently installed.) Preparing to unpack DDBoostFS_1.0.0.4_546961_amd64.deb ... Unpacking ddboostfs (1.0.0.4) ... Setting up ddboostfs (1.0.0.4) ... Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
套件檔案全部安裝在 /opt/emc/ 路徑下方,包括 bin/ 子目錄,以及附掛程式記錄的位置 (log/):
# ls -rtl /opt/emc/ drwxr-xr-x 9 root root 4096 May 26 05:01 boostfs # ls -rtl /opt/emc/boostfs/ drwxrwxrwx 2 root root 4096 Oct 7 2016 log drwxrwxrwx 2 root root 4096 Oct 7 2016 lockbox drwxr-xr-x 4 root root 4096 May 26 05:01 man drwxr-xr-x 2 root root 4096 May 26 05:01 lib drwxr-xr-x 2 root root 4096 May 26 05:01 etc drwxr-xr-x 2 root root 4096 May 26 05:01 bin
請注意,已安裝檔案的擁有者和群組可能與此處顯示的有所不同。下一步是配置身份驗證,儘管有幾種方法可以執行此操作,但此處僅介紹獨立的“密碼箱”方法。為此,以及 Linux 端的所有其他 BOOST FS 組態詳細資料,請使用「/opt/emc/boostfs/bin/boostfs」命令。BOOST FS 也有一個文本配置檔,但詳細資訊應在官方文檔中檢查。
必須使用「密碼箱」來驗證此遠端 Data Domain Linux 用戶端:
# /opt/emc/boostfs/bin/boostfs lockbox -h Usage: boostfs lockbox set -u <storage-unit-username> -d <data-domain-system> -s <storage-unit> boostfs lockbox {remove | query} -d <data-domain-system> -s <storage-unit>
在此範例中,我們使用如下命令,在出現提示時輸入 DD BOOST FS 使用者密碼:
# /opt/emc/boostfs/bin/boostfs lockbox set -u boostfsuser -d REMOTE_DD_IP_ADDRESS -s BOOSTFS_LSU Enter storage unit user password: Enter storage unit user password again to confirm: Lockbox entry set
在這個階段,我們應已從 DD CLI 看到遠端 Linux 用戶端已註冊 BOOST:
# ddboost show connections Active Clients: 0 Clients: Client Idle Plugin Version OS Version Application Version Encrypted DSP Transport ------------------------------ ---- -------------- ------------------------------------- -------------------------------------------------- --------- --- --------- LINUX_CLIENT_NAME YES 3.3.0.2-545054 Linux 3.13.0-71-generic x86_64 BOOSTFS:1.0.0.4-546961 Test Application FUSE:2.9.2 YES YES IPv4 ------------------------------ ---- -------------- ------------------------------------- -------------------------------------------------- --------- --- ---------
您可以隨時透過以下方式檢查加密箱狀態:
# /opt/emc/boostfs/bin/boostfs lockbox query -d REMOTE_DD_IP_ADDRESS -s BOOSTFS_LSU Lockbox entry is present for storage unit user=boostfsuser
最後,遠端 Data Domain 儲存裝置可以像其他任何 Linux 檔案系統一樣,在本機掛接。此處使用「app-info」作為範例,它應該是一個字串,用於標識要使用此掛載點進行記錄的特定應用程式:
#### Create mount point on Linux server # mkdir /opt/boostfs_mountpoint/ #### Mount the remote DD storage unit # /opt/emc/boostfs/bin/boostfs mount -d 10.60.29.233 -s BOOSTFS_LSU -o app-info="Test Application" /opt/boostfs_mountpoint/ mount: Mounting 10.60.29.233:BOOSTFS_LSU on /opt/boostfs_mountpoint/ #### We can see the remote storage unit is mounted, and the details match those obtained from the DD "df" command line # df -h /opt/boostfs_mountpoint Filesystem Size Used Avail Use% Mounted on boostfs 64T 512G 64T 1% /opt/boostfs_mountpoint # filesys show space Active Tier: Resource Size GiB Used GiB Avail GiB Use% Cleanable GiB* ---------------- -------- -------- --------- ---- -------------- /data: pre-comp - 33096.9 - - - /data: post-comp 65460.3 511.7 64948.6 1% 0.0 /ddvar 29.5 19.9 8.1 71% - /ddvar/core 31.5 0.2 29.7 1% - ---------------- -------- -------- --------- ---- --------------
任何應用程式都可以複製或寫入 /opt/boostfs_mountpoint/ 路徑下的任何檔案,這些檔案是透明的,並會透過網路傳送至遠端 Data Domain 儲存裝置,利用在來源端 (Linux 伺服器) 而非在 DD 主機上執行的重複資料刪除功能,進而減少透過網路傳送的資料量。
當不再需要存取遠端 Data Domain 儲存裝置時,您可以執行以下命令來取消掛接遠端儲存裝置:
# /opt/emc/boostfs/bin/boostfs umount /opt/boostfs_mountpoint/