Article Number: 000019159
# 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/
Data Domain Boost, Data Domain Boost – File System, DD OS 6.0
Data Domain, Data Domain Boost – File System
06 Jun 2024
3
How To