Topics | How To | Troubleshoot | Examples | Support | Related Topics
Configuring Alternate Data Paths for Primary Copies
Configuring Alternate Data Paths for Secondary Copies
Configuring Alternate Data Paths for Subclients
Data Protection Operations using Alternate Data Paths
Data Recovery Operations using Alternate Data Paths
Several data paths can be added to a storage policy copy, to ensure the success of data protection and other operations conducted using the storage policy. A data path is the combination of MediaAgent, Library, Drive Pool and Scratch Pool used by the storage policy copy to perform a data protection operation. Each storage policy copy has a default data path which will be used to perform data protection operations. In addition, you can also define alternate data paths in each of the storage policy copies.
Alternate data paths provide the following advantages:
Alternate data paths are supported for both the primary and secondary copies associated with storage policies for all libraries. (See Alternate Data Paths (GridStor) -Support for additional details.) Note, however, that there are several differences between the operations performed using primary and secondary copies with alternate data paths. These are explained in detail in the following sections. Note that within the selected storage policy (and its data paths), the facility to define a subset of the data paths at the subclient level is also provided.
This feature does not require any additional license.
The following options are provided while defining alternate data paths on primary copies:
Note that the client and the MediaAgent must be on the same computer, in order to perform a LAN-free operation.
The following sections describes each of these options in detail.
If
a storage policy is created during the library configuration process, a default data path is created for the
primary copy using the MediaAgent, Library, Drive Pool and default scratch pool combination for drive
pools configured within the library. If you create a new storage policy, you
must specify a Library, MediaAgent, Drive and Scratch pool combination for the primary
copy. Additional data paths for the primary copy can be defined from the Data Paths tab of the Copy Properties dialog box. See Add a Data Path to a Storage Policy Copy for step-by-step instructions. The data paths that are available to be added as alternate data paths, depends on the option selected in this dialog box. In addition some of the options may require the index cache to be shared to be accessed as a data path. (These details are explained in the subsequent sections of this document.) After defining additional data paths, if necessary, you can set any of the data paths as the default data path for the storage policy copy. See Set a Data Path as the Default Data Path for step-by-step instructions. |
When multiple MediaAgents share the same library (SAN DDS, or direct-attached shared library configurations) the system can automatically add the alternate data paths for each of the storage policies, when this option is enabled. As each of these data paths (MediaAgent, Library, Drive Pool and Scratch Pool) use the same resources, additional index cache configuration is not required. In addition, the criteria for using the alternate data path (described in the following section) must also be specified.
Defining the Criteria for Using Alternate Data PathsA storage policy can be configured to use an alternate data path using the following criteria:
Criteria for using alternate data paths can be defined from the Data Path Configuration tab of the Copy Properties dialog box. See Select the Criteria for using an Alternate Data Path for step-by-step instructions. When resources are busy or offlineWhen this option is selected the system automatically uses an alternate data path when resources are busy or offline. If the When resources are offline option is selected, the storage policy will use an alternate data path when one of the following resources is broken or not available and hence marked as offline by the user or by the MediaAgent:
If the When resources are busy option is selected, the storage policy will use an alternate data path when all the drives in the library are busy. In both the above options, you can indicate whether an alternate data path must be used immediately or after the specified amount of time. The list of data paths that will be available when this option is selected will include the following:
|
When this option is selected the system automatically performs load-balancing between the resources (drives in a library or writers in a disk library) available in all the data paths. Keep in mind that the load-balancing is performed at the drive-pool level as opposed to the MediaAgent level.
The following section illustrates the load balancing operation:
If you have defined 5 data paths with 15 resources, and have 25 data protection operations running concurrently at a given time, load balancing would cause the following to occur:
All the MediaAgents that share the index cache with the MediaAgent in the default data path will be available as an alternate data path when this option is selected.
See Also:
When this option is selected the system automatically performs LAN free backups wherever possible. It is not necessary to share the index cache for this operation and all available MediaAgents will be available as an alternate data path when this option is selected.
When you add or delete an alternate data path, you must reset the number of streams that are defined for the Storage Policy.
The maximum number of streams for a storage policy, with a primary copy that has alternate data paths should be equal to the sum of all unique drives associated with the drive pools and/or the sum of all writers in the mount paths associated with disk libraries in all alternate data paths. Consider the following scenarios, when the maximum number of streams defined is either too many or too little, when you have specified the criteria to immediately use alternate data paths when resources are busy:
For multi-stream jobs, the failover will occur only when all the streams have the necessary resources. For example, if you have a job with 5-streams, and if the necessary resources are not available in the default data path, the failover will occur only when the alternate data path has all the necessary resources - MediaAgent, Library and drive pool with 5 drives. This is the case, irrespective of the criteria (When resources are busy, Round Robin between Data Paths options) specified to use alternate data paths.
Data paths can be added to secondary copies to enable LAN free Auxiliary Copy operations, so that network resources can be freed wherever possible.
However you can add data paths for the secondary copy so that any Auxiliary Copy operations can be performed using a LAN-free data path.
As with the primary copy, additional data paths for the secondary copy can also be defined from the Data Paths tab of the Copy Properties dialog box. (See Add a Data Path to a Storage Policy Copy for step-by-step instructions.)
Note that although the Use preferred datapaths option is selected, the LAN free Auxiliary Copy operations on the copy is not performed until the alternate data paths are selected.
When you add the data path for the secondary copy it is sufficient to add one path per MediaAgent-Library combination. The system automatically uses an available data path to perform LAN free Auxiliary Copy operations. Keep in mind, that when you add data paths in the secondary copies, the system automatically tries to perform a LAN-free read operation. (This is opposed to the primary copies, where the system strives to perform both the read and write operations when the LAN-free option is selected.)
See also:
Alternate data paths on Secondary Copies can be used to perform LAN free Auxiliary Copy operations as follows:
Each subclient can be configured with a subset of data paths from the data paths available in the storage policy associated with the subclient . The following options are provided while defining the data paths for a subclient:
Note that Override Datapaths option is not supported if the subclient is associated with an Incremental Storage Policy. |
Note that the data paths and the priority established at the subclient level takes precedence over the data paths defined at the storage policy copy.
Adding Data Paths to SubclientsBy default, the system uses the data path associations defined in the primary copy of the storage policy to perform data protection operations. (This is depicted in the sample image shown on the right. Note that the Override Datapaths option is not selected and the default data path is displayed using a bold font-face and a special icon.) If necessary you can perform the following operations:
See the following procedures for step-by-step instructions: |
Consider the following for configuring data paths at the subclient level:
If necessary, different data path subsets can be selected for database agents that use different storage policies for data and log files. (See, Classification of Agents based on Index Usage for a definition of database agents.)
The subclient data paths can be used effectively in the following situations:
When a data protection operation is initiated, the storage policy copy attempts to write the data using the default data path. If the default data path is not available, an alternate data path is automatically used to perform the data protection operation. If more than one alternate data path is defined, the first data path listed in the Data Paths tab of the Copy Properties dialog box is selected, followed by the second and so on until a data path is available.
If both the default and alternate data paths are configured to use the same library, as a result of a shared library configuration (configured as a SAN DDS library or direct-attached shared library) the MediaAgent will automatically use the appropriate Assigned media for the data protection operation.
If the default and alternate data paths are configured to use different libraries, the MediaAgent, marks the previously used Assigned media as Appendable and uses a new media from the library associated with the alternate data path.
Such Appendable media can be re-used in the library by enabling the Use Appendable Media option in the Library Properties dialog box associated with the library.
Data can be restored/recovered from any compatible library and drive type in the CommCell.
When a Data Recovery operation is initiated, and if the media is not exported, the software attempts to restore/recover data using the appropriate data path associated with that library, instead of the default data path in the following order:
When a Data Recovery operation is initiated, and if the media is exported, the software will prompt you to import the media in the appropriate MediaAgent computer. This is done as follows:
If a LAN-free restore/recover is possible, the restore/recover operation would prompt you to import the media in the appropriate library from which the LAN-free restore is possible. (LAN-free restore will be possible only when the client initiating the restore/recover operation and MediaAgent are on the same computer.)
If the LAN-free restore/recover operation is not possible, then the operation would prompt you to import the media in the library which was last used to write to the media.
If the resources in that library are offline, the restore/recover operation would prompt you to import the media in the library associated with the default data path.
If the resources associated with the default data path are offline, then the restore/recover operation identifies a library from an alternate data path which are assigned in the data path list, to import the media.
See Also:
Consider the following information when using alternate data paths:
Change Data Path (right-click option) should not be performed on Storage Policies with Storage Policy Copies that have Alternate Data Paths (GridStor). If Change Data Path is performed on such a setup, data recovery operations can be performed from the media. However, subsequent data protection operations will not re-use the migrated media.
A file system iDataAgent is installed on Virtual Machine (VM1) and can be controlled by Node 1 or Node 2 at any given time.
The subclient (subclient1) associated with this file system iDataAgent on VM1 points to a Storage Policy Copy (SP1) which in turn uses the following data paths:
When a backup is run on subclient1, the system automatically figures out the node controlling VM1 and will use the appropriate MediaAgent. For example if VM1 is controlled by Node 2 at the time of the backup, the system automatically uses the MediaAgent on Node2 to perform the LAN free backup.
This capability allows you to install the MediaAgent on the physical node of a cluster. (Instead of multiple instances if installed in the cluster group.) However you will need GridStor® to provide failover capabilities.
Data paths for NAS attached libraries can only be added if the MediaAgent used in that data path also has the File System iDataAgent installed on that computer. This is applicable only for Windows MediaAgents.
Add a data path which uses this MediaAgent, Library, Drive Pool and Scratch Pool combination to the Storage Policy used to backup the cluster server. (See Add a Data Path to a Storage Policy Copy for step-by-step instructions.)
Assign this as a high priority data path in the subclient(s) used to backup the cluster server. (See Assign Priorities for Subclient Data Paths for step-by-step instructions.)
When the devices are configured from different HBA cards on the same host as distinct drive pools, each of these drive pools can be added as data paths on the storage policy. For LAN storage policies, these data paths can be added as additional data paths with the Round-Robin between Data Paths option enabled. This will automatically round robin the data protection jobs between these HBA cards.
For LAN free Storage Policies, the additional LAN free data paths for the secondary HBA cards can be added as data paths and the software will automatically pick the least used LAN free data path.
(See Configuring Dual Host Bus Adaptors (HBA) for information on configuring HBA cards.)
When a storage policy is configured for multiplexing and contains data paths to be used in round-robin fashion, then the round-robin option is completely utilized before using multiplexing.
For example, consider a storage policy with 3 data paths configured in the round robin mode and multiplexing set to 2. If 4 backup jobs kick off simultaneously, then the three available data paths are utilized first and multiplexing is applied for the fourth job only.
Consider the following information and recommendations, while creating and using alternate data paths:
If you have a storage policy copy with no default data path, use Change Data Path option to migrate the storage policy to point to another data path. See Change Data Path for more information.
NAS Load-Balancing - in addition to the resource load balancing that the Alternate Data Paths feature provides, NAS can be configured to load balance the processing tasks associated with backup, restore, and auxiliary copy jobs, which normally run on a single client machine, to spread the processing among different MediaAgent.