Article Number: 000019159
# ddboost option show Option Value ------------------------------ ------- distributed-segment-processing enabled virtual-synthetics enabled fc enabled ------------------------------ -------
È necessario creare un utente specifico per utilizzare l'unità di storage BOOST FS da creare e l'utente deve essere assegnato a tale unità di storage:
#### 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".
Alla fine, ecco come dovrebbe essere visualizzata l'unità di storage nella CLI di Data Domain:
# ddboost storage-unit show Name Pre-Comp (GiB) Status User Report Physical Tenant-Unit Size (MiB) -------------------------------------- -------------- ------ ----------- --------------- ----------- ... BOOSTFS_LSU 0.0 RW boostfsuser - - -------------------------------------- -------------- ------ ----------- --------------- -----------
Configurazione lato client Linux per BOOST FS
Dopo aver verificato che il sistema operativo Linux è tra quelli supportati, scaricare il pacchetto aggiornato del sistema operativo BOOST FS. In questo caso abbiamo usato Ubuntu 14.04 come esempio. Pertanto, scaricare il file di .deb del sistema operativo e installarlo dalla riga di comando dopo aver verificato che tutte le dipendenze siano soddisfatte:# 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) ...
I file del pacchetto sono tutti installati sotto il percorso /opt/emc/, inclusa la sottodirectory bin/ e la posizione dei registri del plug-in (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
Si noti che il proprietario e il gruppo dei file installati possono differire da quelli mostrati qui. Il passaggio successivo consiste nel configurare l'autenticazione; sebbene esistano diversi metodi per eseguire questa operazione, qui viene illustrato solo il metodo "lockbox" autonomo. A tale scopo, e per tutti gli altri dettagli di configurazione di BOOST FS sul lato Linux, viene utilizzato il comando "/opt/emc/boostfs/bin/boostfs". BOOST FS ha anche un file di configurazione testuale, ma i dettagli devono essere verificati nella documentazione ufficiale.
È necessario utilizzare il "lockbox" per autenticare questo client Linux con il Data Domain remoto:
# /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>
Per questo esempio, utilizziamo un comando come il seguente, inserendo la password utente di DD BOOST FS quando richiesto:
# /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
In questa fase, il client Linux remoto dovrebbe già essere registrato per BOOST dalla CLI DD:
# 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 ------------------------------ ---- -------------- ------------------------------------- -------------------------------------------------- --------- --- ---------
In qualsiasi momento, lo stato del lockbox può essere controllato con:
# /opt/emc/boostfs/bin/boostfs lockbox query -d REMOTE_DD_IP_ADDRESS -s BOOSTFS_LSU Lockbox entry is present for storage unit user=boostfsuser
Infine, l'unità di storage Data Domain remota può essere montata localmente come qualsiasi altro file system Linux. "app-info" viene utilizzato qui come esempio, dovrebbe essere una stringa che identifica l'applicazione specifica per utilizzare questo mount point per la registrazione:
#### 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% - ---------------- -------- -------- --------- ---- --------------
Qualsiasi applicazione può copiare o scrivere qualsiasi file nel percorso /opt/boostfs_mountpoint/ e tali file vengono inviati in modo trasparente tramite connessione cablata all'unità di storage Data Domain remota, sfruttando la deduplica eseguita sul lato origine (sul server Linux) anziché sull host DD, riducendo così la quantità di dati inviati via cavo.
Quando l'accesso all'unità di storage Data Domain remota non è più necessario, è possibile disinstallare l'unità di storage remota eseguendo:
# /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