Configuration - NAS File System iDataAgent
The software for the NAS iDataAgent is installed automatically as part of the MediaAgent installation. However, you must add the NAS client in the CommCell Console before you can backup NAS file system data.
Before You BeginBefore adding a NAS Cluster-Mode client, consider the following:
- For NetApp Cluster-Mode storage servers running ONTAP versions prior to 8.2, NDMP backups can only be performed on volumes that are located on the same physical node as the client. Therefore, for this configuration we recommend adding the physical nodes as NAS clients.
- For NetApp Cluster-Mode cluster file servers or Vservers running ONTAP version 8.2 or above, we recommend turning off node-scope-mode on the cluster and adding Vservers and/or the cluster as NAS clients. Turning off node-scope-mode is necessary to enable NDMP backups to function independently of which physical node contains the backup data, and Vserver and cluster clients can backup data from any of the physical nodes and perform backups if data is moved between physical nodes. See NetApp ONTAP documentation for how to turn off node-scope-mode.
If node-scope-mode is enabled on a cluster:
- Vservers can only backup data on volumes that are on the same node as the Vserver logical interface (LIF) used for the client host name.
- The Vserver NDMP login and password is the same as the node NDMP login and password.
- To enable backups to tape drives attached to physical nodes of a NAS Cluster-Mode client, the physical node to which the tape drives are attached must be a NAS client. To add a physical node as a NAS client when node-scope-mode is off, the NDMP credentials are the same as the cluster client.
- A cluster client has access to all of the tape drives on all of the physical nodes and can best ensure local two-way NDMP backups are run using the NDMP Cluster-Aware-Backup (CAB) extension. Vserver clients will also run local NDMP backups using the CAB extension, but only if the backup paths are on the same physical node with the tape drive. If the tape drive is not on the same node as the backup data, data will be passed between the nodes within the cluster (three-way NDMP backup).
- For backups to libraries on a MediaAgent, cluster and Vserver clients will both use the CAB extension to prevent data from being passed within the cluster before being sent to the MediaAgent.
Follow the steps below to create and configure the NAS client. If the data you want to backup resides on a Storage Virtual Machine (vFiler or Vserver), configure the Storage Virtual Machine as the NAS client.
- From the CommCell Browser, right-click Client Computers, point to New Client | File System, and then select NAS.
- Enter the NAS file server in the NDMP Server Hostname field.
- Enter the user account credentials used to access the storage device in the NDMP Login field.
- In the NDMP Password field, enter the password for the login account.
Note: For NetApp C-Mode file servers, run the generate-password command on the file server to obtain an NDMP password. For more information, see the NetApp documentation for your file server.
- If your CommServe host is unable to connect to the file server, click the Detect MediaAgent list and select a MediaAgent to use for connecting to the file server. If left blank, the CommServe host communicates with the file server directly.
Note: The time zone setting of the NAS client is the same as the Detect MediaAgent. If no Detect MediaAgent is selected, then the time zone setting is the same as the CommServe computer.
- Click Detect.
The system automatically populates the Vendor, Firmware Revision, Listen Port, and Time Zone information.
- Click OK.
For NetApp, any NAS storage device that will be used for backing up secondary storage data (Vault, Mirror, or backup copy) must be configured as a NAS Client in the CommCell with the same name that is used by the OCUM server to communicate to the secondary NAS file server.
- In the CommCell Browser, confirm that the NAS client was added under Client Computers.
About this Procedure
These steps are required only if the storage server has tape drives attached to it. Backups can be written to libraries on the MediaAgent or to libraries on other storage servers.
The settings of the storage server determine how the storage server connects to the MediaAgent. If you want to define the interface used to connect the MediaAgent to the storage server, you can use the Data-Interface-Pairs (DIP) feature from the CommCell Console. See Data-Interface-Pairs.
Before You Begin
For NetApp Cluster-Mode storage servers, consider the following:
- Tape drives can be detected and configured on the physical nodes on the cluster or on the cluster interface as follows:
- Detecting and configuring tape drives using the cluster interface will create a cluster drive pool that is independent of any physical node and will contain all the tape drives seen on all nodes of the cluster.
- Detecting and configuring tape drives on a physical node will create a drive pool for that physical node.
- Using a storage policy whose primary copy contains a cluster drive pool:
- Vserver client backups and cluster client backups will attempt to match the node of the backup path with the node of the tape drive. If a match is found, the data will be backed up with a local two-way backup using the cluster interface and data will not be passed between nodes in the cluster.
- Vserver client backups when no match is found will choose a node that can see the tape drive and run a backup using the vserver interface. The backup data will be passed between nodes in the cluster.
- Cluster client backups when no match is found will choose a node that can see the tape drive and run a backup using the cluster interface. The backup data will be passed between nodes in the cluster.
- Using a storage policy whose primary copy contains a physical node drive pool:
- Vserver client backups will be local two-way within the cluster when backing up volumes that reside on the same physical node as the tape drive. This local two-way backup will use the physical node interface. Data will not be passed between nodes in the cluster.
- Cluster client backups will be local two-way within the cluster when backing up volumes that reside on any physical node that can access the tape drive. Even if the drive pools on a physical node are configured using the Expert Storage Configuration Tool, a cluster client will still access the tape drive through the physical node that contains the backup data.
- On the Storage tab, click Expert Storage Configuration.
- Under Available MediaAgents, select the MediaAgent, and then click Add.
- Click OK.
- Click Start.
- Select Detect/Configure Devices...
- Click NDMP Devices. The MediaAgent that controls the library is displayed.
- Under Available NDMP Servers, select the name of the file server added in step 2 and click Add.
- Click Yes. The system will detect the devices and mount the media in the drives to verify the correct drive-to-library mapping.
- Click Close.
- Click OK.
- Right-click the library and select Configure.
- Click Library and all drives to configure all the drives within the library.
- Click Yes.
- Select Default Media Type from the list and click Yes.
- The status of the library changes to Configured.
If you chose to configure all associated drives, the status of the drives also changes to Configured.The Libraries tab provides the physical view of the devices (library and drives).
The Data Paths tab provides a logical view of the data path used to access the devices - library, master drive pool, drive pool, drive.
Create a Storage Policy and Assign to Subclient
You can either use an existing storage policy or create a new one. If you create a new storage policy, you can select the library where you want the data to be written, including libraries on the MediaAgent or other file servers.
- From the CommCell Browser, expand Policies.
Right-click Storage Policies and select New Storage Policy.
Follow the prompts displayed in the Storage Policy Wizard. The required options are mentioned below:
- Select the Storage Policy type as Data Protection and Archiving and click Next.
- Enter the name in the Storage Policy Name box and click Next.
- From the Library list, select the name of the library and click Next.
- From the Drive Pool, select the drive pool that for the MediaAgent and click Next.
- Click Next.
- Review the details and click Finish to create the Storage Policy.
- From the CommCell Browser, expand Client Computers | <Client> | NAS | defaultBackupSet.
Right-click the default subclient and then click Properties.
- Click the Storage Device tab.
In the Storage Policy box, select the Storage Policy created in previously.