Description
Enterprise Vault supports Dell EMC Unity VSA as a file system archiving target. This document describes how to prepare and add a Unity device for File System Archiving.
Preparing a Unity device for FSA
Using Dell EMC Unity Unisphere VSA
- Log on to Dell EMC Unity Unisphere VSA.
- Add a Unity account for Enterprise Vault to use for authentication on the Unity device.
- Click Update System Settings.
- On the left-hand pane, click Users and Groups.
- Select User Management. Click the '+' icon to add a new user.
- In the Create User or Group dialog box, select Local User, and click Next.
- Enter the details of the new Unity account, and click Next.
- Select Storage Administrator and click Next.
- Click Finish, and then click Close.
- Click Close to close the Settings dialog box.
- Enable Distributed Hierarchical Storage Management (DHSM) for the NAS server that will be used as the FSA target.
- On the left-hand pane, click Storage > File, and then click the NAS Servers tab.
- Select the NAS server and edit the properties.
- In the properties window, click the Protection and Events tab.
- In the left-hand pane, click DHSM.
- Select the Enable DHSM check box.
- Enter the details of the Unity Storage Administrator account created in the earlier step.
- Clear the Enforce HTTP Secure checkbox. HTTPS is not supported.
- Click Apply to complete this step.
- Click Close to close the properties dialog box.
- Edit the properties of all the file systems that corresponding to the NAS server that you want to archive from.
- Select a File system and edit the properties.
- Click the Advanced tab.
- Select the Sync Writes Enabled, Oplocks Enabled, Notify On Write Enabled ,and Notify On Access Enabled check boxes.
- Click Apply to save the settings.
- Click Close to close the properties dialog box.
- In the left-hand pane, click System > Service, and click the Service Tasks tab. Make sure that SSH is enabled.
- Connect to EMC Unity using SSH (use Management IP and username should be service account name)
- Configure a DHSM connection to use for recall requests.
- Run the following command:
uemcli -u Local/admin -p <Unity_Admin_Account_Password> /net/nas/dhsmconn create -fs <fs_id> -secondaryUrl http://<EV_Server_FQDN>/EnterpriseVault -mode enabled -readPolicy full -secondaryUsername <User>@<Domain> -secondaryPassword <Password>
For example,
uemcli -u Local/admin -p p4ssw0rd /net/nas/dhsmconn create -fs fs_1 -secondaryUrl http://evserver.example.local/EnterpriseVault -mode enabled -readPolicy full -secondaryUsername vsa@example.local -secondaryPassword p@ssw0rd
Where:- p4ssw0rd
is the password of the Unity administrator account.- fs_1
is the ID of file system attached to the NAS server. To get the ID of the file system use the following as the URL in a web browser:https://<Unity_IP_Or_FQDN>/api/types/filesystem/instances?fields=id,name
. The output will contain the list of file systems along with their name and IDs. Look for the ID for your file system.- http://evserver.example.local/EnterpriseVault
is the URL of Enterprise Vault Web Access application.- vsa@example.local
is the Vault Service account that will have access to all the archives from which files are restored.- p@ssw0rd
d is the password to the Vault Service account. - On the remote certificate prompt, choose Accept and store.
- Run the following command:
- Verify that the settings are correctly applied using the following command:
uemcli -u Local/admin -p <Unity_Admin_Password> /net/nas/dhsmconn -fs <fs_id> show
For example:
uemcli -u Local/admin -p Admin123# /net/nas/dhsmconn -fs fs_1 show
The following is an example output:
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: ID = DHSMConnection_1
File system = fs_1
Secondary url = http://evserver.example.local/EnterpriseVault
Secondary port = 80
Secondary username = vsa@example.local
Local port = - Add the Vault Service account as a member of the Administrators group of the Dell EMC Unity server:
- In Windows, start Computer Management.
- In the Computer Management console, select Action > Connect to another computer. Enter the name of the NAS server.
- Add the Vault Service account to the Administrators group.
Using SSH
- Connect to EMC Unity using SSH (use Management IP and username should be service account name)
- Add a Unity account for Enterprise Vault to use for authentication on the Unity device, using this command:
uemcli -u Local/admin -p <Unity_Admin_Password> /user/account create -name <Account_Name> -type local -passwdSecure -role storageadmin
Example:
uemcli -u Local/admin -p p4ssw0rd /user/account create -name unityaccount -type local -passwdSecure -role storageadmin
Where:- p4ssw0rd
is the password of the Administrator account on Unity.
- unityaccount
is the name of the local Storage Administrator account.
local
is the type of the user account. The new Unity account must be a local user.
-passwdSecure
Prompts you to specify the password and confirm the password when the command runs.
storageadmin
is the role for the new account. The new Unity account must be assigned to the Storage Administrator role.The following is an example output:
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
[Secure] For local users, type the user password.
Password:
Confirm password:
ID = user_unityaccount
Operation completed successfully.
- Enable Distributed Hierarchical Storage Management (DHSM) for a NAS server.
- Get the ID of the file system by using the following as the URL in a web browser:
https://<Unity_IP_Or_FQDN>/api/types/filesystem/instances?fields=id,name
. The output will contain the list of file systems along with their name and IDs. Look for the ID for your file system. - Enable DHSM on the NAS server, using following command:
uemcli -u Local/admin -p <Unity_Admin_Password> /net/nas/dhsm -server <NAS_id> set -state Enabled -username <Storage_Admin_User> -passwdSecure -enableHTTPS no
For example:
uemcli -u Local/admin -p p4ssw0rd /net/nas/dhsm -server nas_1 set -state Enabled -username unityaccount -passwdSecure -enableHTTPS no
Where:
- p4ssw0rd
is the password of the Administrator account on Unity.
- nas_1
is the ID of the associated NAS server.
- unityaccount
is the name of the local Storage Administrator account.
local
is the type of the user account. The new Unity account must be a local user.
-passwdSecure
Prompts you to specify the password and confirm the password when the command runs.
The following is an example output:Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
[Secure] The advanced storage access password.
Password:
Confirm password:
Operation completed successfully. - Verify that DHSM is configured correctly, by using the following command:
uemcli -u Local/admin -p <Unity_Admin_Password> /net/nas/dhsm -server <NAS_id> show
For example:
uemcli -u Local/admin -p Admin123# /net/nas/dhsm -server nas_1 show
The following is an example output:
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: NAS server = nas_1
State = Enabled
- Get the ID of the file system by using the following as the URL in a web browser:
- Configure a DHSM connection to use for recall requests.
- Run the following command:
uemcli -u Local/admin -p <Unity_Admin_Account_Password> /net/nas/dhsmconn create -fs <fs_id> -secondaryUrl http://<EV_Server_FQDN>/EnterpriseVault -mode enabled -readPolicy full -secondaryUsername <User>@<Domain> -secondaryPassword <Password>
For example,
uemcli -u Local/admin -p p4ssw0rd /net/nas/dhsmconn create -fs fs_1 -secondaryUrl http://evserver.example.local/EnterpriseVault -mode enabled -readPolicy full -secondaryUsername vsa@example.local -secondaryPassword p@ssw0rd
Where:- p4ssw0rd
is the password of the Unity administrator account.- fs_1
is the ID of file system attached to the NAS server. To get the ID of the file system use the following as the URL in a web browser:https://<Unity_IP_Or_FQDN>/api/types/filesystem/instances?fields=id,name
. The output will contain the list of file systems along with their name and IDs. Look for the ID for your file system.- http://evserver.example.local/EnterpriseVault
is the URL of Enterprise Vault Web Access application.- vsa@example.local
is the Vault Service account that will have access to all the archives from which files are restored.- p@ssw0rd
d is the password to the Vault Service account. - On the remote certificate prompt, choose Accept and store.
- Run the following command:
- Verify that the settings are correctly applied using the following command:
uemcli -u Local/admin -p <Unity_Admin_Password> /net/nas/dhsmconn -fs <fs_id> show
For example:
uemcli -u Local/admin -p Admin123# /net/nas/dhsmconn -fs fs_1 show
The following is an example output:
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
1: ID = DHSMConnection_1
File system = fs_1
Secondary url = http://evserver.example.local/EnterpriseVault
Secondary port = 80
Secondary username = vsa@example.local
Local port = Edit the properties of all the file systems that corresponding to the NAS server that you want to archive from, using the following command:
uemcli -u Local/admin -p <Unity_Admin_Password> /stor/prov/fs -name <File_System_Name> set -cifsOpLocks yes -cifsNotifyOnWrite yes -cifsNotifyOnAccess yes -cifsSyncWrites yes
For example:
uemcli -u Local/admin -p Admin123# /stor/prov/fs -name TESTFS set -cifsOpLocks yes -cifsNotifyOnWrite yes -cifsNotifyOnAccess yes -cifsSyncWrites yes
The following is an example output:
Storage system address: 127.0.0.1
Storage system port: 443
HTTPS connection
ID = res_1
Operation completed successfully.
Configuring Unity pass-through behavior for placeholder shortcuts
You can use the Dell EMC Unity read policy with placeholder recalls, if required. The Unity -readPolicy parameter determines how a read request is handled for a file in secondary storage. For example, you can opt to pass a file directly through to the client without recalling it to the Unity device. Unity then recalls the file only if a write request is received.
For pass-through, Unity uses the same cache on the Enterprise Vault server that you set up for Enterprise Vault to use when retrieving files for the Unity device.
Note: If you configure Unity pass-through, do not configure the Enterprise Vault option to delete archived files on placeholder deletion, as this combination can lead to data loss.
To configure the Unity pass-through behavior, include the -readPolicy
parameter in one of the following commands:
- The
dhsmconn create
command to define the DHSM connection that the Unity device uses for recall requests. This method sets the pass-through behavior for all the placeholders that are created through the connection. - The
dhsmconn modify
command to configure a Unity device. This method sets the pass-through behavior for all the placeholders on the file system.
The syntax of the -readPolicy parameter is as follows:-readPolicy [full | passthrough | partial | none]
The effect of the values is as follows:
• full
. Recall the whole file to Unity on read request before the data is returned.
• passthrough
. Retrieve the data without recalling the data to Unity.
• partial
. Retrieve only the blocks that are required to satisfy the client read request.
• none
(the default value). The setting has no effect.
For example, the following command syntax configures pass-through for a file system:uemcli -u Local/admin -p Admin@123 /net/nas/dhsmconn -id <DHSMConnection_ID> modify -readPolicy passthrough
Where <DHSMConnection_ID>
is the DHSM connection identifier of the file system on Unity.
Adding the Unity device as an archiving target
After you have prepared the Unity device for FSA, you can use the New File Server wizard or the New-EVFSAFileServer
PowerShell cmdlet to add the Unity device as an archiving target.
Note: If you want to use FSA Reporting with Unity, you can configure FSA Reporting when you add the device as an archiving target.
To add a Unity device as an archiving target, follow these steps:
- In the Administration Console, expand the Enterprise Vault site until the Targets container is visible.
- Expand the Targets container.
- Right-click the File Servers container and, on the shortcut menu, click New and then File Server. The New File Server wizard starts.
- Work through the wizard to finish adding the file server:
- On the first page of the wizard, click Next.
- On the second page, enter the fully qualified domain name of the Unity device. Do not select the option to install the FSA Agent. Then click Next.
- On the third page, choose whether to use placeholder shortcuts.
If you are using placeholder shortcuts, enter the details of the account you configured on Unity that has permission to use DHSM, and the Unity port number on which the Data Mover services are configured. Clear the Celerra device is connected on HTTPS checkbox. HTTPS is not supported.
You can change these details later if required, by editing the target file server properties.
Click Next to continue. - On the summary page, click Next to add the Unity device.
- On the final page, click Finish to exit from the wizard.
Before you add target volumes for the Unity device, ensure that the Enterprise Vault server that archives from the Unity has its cache location configured.
Troubleshooting
- Enterprise Vault FSA Placeholder recall fails intermittently on Dell EMC Unity file servers. For more information, see https://www.veritas.com/docs/100043978.
- Enterprise Vault FSA placeholder shortcuts created on Dell EMC Unity file servers get recalled automatically. For more information, see https://www.veritas.com/docs/100045259.
Known issues
The Deployment Scanner fails to check whether the Vault Service account belongs to the local Administrators group on the Unity device. The 'File Server Permissions' check fails with the following message:The user domainName\EVAdminUser is not a member of the local Administrators group on file server: FQDN. The user domainName\EVAdminUser should have full control to the files & shares you wish to archive.
You can ignore this error message.