Topics | How To | Troubleshoot | Related Topics
Calculating the Storage Space Required for Index Cache
The index cache directory is the directory in which index data resides. Each MediaAgent maintains an index cache in a user designated portion of the MediaAgent computer or a shared network drive. The index data maintained in the index cache is accessed by the system during the data protection, browse and data recovery operations.
During the MediaAgent installation, the install program prompts for an index cache location for the specific MediaAgent. You can change this location and designate a new directory for the index cache at any time from the MediaAgent Properties in the CommCell Console. When you change the directory for index cache, the existing cache contents are moved and all new cache entries are directed to the specified directory. However, note that on Windows MediaAgents, the existing cache contents are copied and hence the original directory may have to be manually deleted to free the disk space.
|
Similarly, shared index cache must also be created from the CommCell Console, after the installing all the MediaAgents that share the index.
The index cache is maintained on a least recently used (LRU) basis. As the capacity of the cache is reached, those index data files that have been least recently accessed are overwritten with the new index data. If a data protection, browse and data recovery operation requires index data that is either no longer in the cache or not accessible to the operation, the index data is recovered from the media.
To ensure that other files do not use up disk space that is needed for index data, you can create a partition specifically for the index cache directory. The partition should be large enough to accommodate four percent of the estimated amount of data managed by the MediaAgent. Specifically, this means four percent of the maximum amount of backed-up data that can be immediately available for restoration via this MediaAgent. (See Calculating the Storage Space Required for the Index Cache Directory below for more information.)
A MediaAgent’s Index cache information be viewed or modified from the Index Cache tab of the MediaAgent Properties dialog box.
The index cache can be shared between multiple MediaAgents for the following reasons:
Shared index cache can be configured from the MediaAgent Properties in the CommCell Console. See Create Shared Index Cache for step-by-step instructions. Note that all the MediaAgents that share the index cache must be installed before sharing the index cache. Also, all the MediaAgents that share the index cache must be of the same release version.
When the indexes are shared and alternate data paths are added, the create index phase of a data protection job, will round-robin between the MediaAgents that share the index. The appropriate MediaAgent's name will be displayed in the Job Controller during the create index phase of the job. |
To create Alternate Data Paths in the CommCell, you must create an index cache directory in a network share that can be accessed by all the MediaAgents that are configured with alternate data paths. (See Alternate Data Paths (GridStor) for a detailed description of the topic.)
Follow the guidelines listed below while creating a Shared Index Cache Directory for alternate data paths:
Shared index cache is supported on Windows and Unix Operating Systems.
The storage space required for the index cache entries of a MediaAgent is estimated between 2 to 3 percentage of the total data protected using the MediaAgent. This recommendation is applicable for most CommCell deployments.
However, if you are interested in an in-depth understanding on the index cache space requirements, you can use the following information.
The estimation of index cache size is based on a number of assumptions, which include the following:
Examples:
For file system or file system-like data if the above mentioned assumptions are applied you may require the index cache size to be .72% of the total data, using the following assumptions:
For database objects, such as Exchange Mailbox this could be significantly larger and hence you may require the index cache size to be 2.5% of the total data, using the following assumptions:
The index size can be much larger, for example, if the following conditions are different:
Note that the above example describes a very simple configuration including uniform requirements across client computers. In reality, client computers can have more than one agent, and the storage space required by each type of data must be added into the total. Different computers can have widely varying storage requirements.
As the calculation of index cache is based on several assumptions which could in turn change over a period of time in any given environment, we recommend the following as best practices for maintaining index cache:
The amount of index data that can be cached is based on the following:
Whenever a backup is initiated, the system removes all the index files which have not been accessed within the specified number of days.
Whenever a backup is initiated, the system checks for the available disk space in the disk housing the index cache. If the amount of used disk space exceeds the specified percentage, the system removes index files in the index cache, based on the Least Recently Used (LRU) basis until the disk space is equal to the specified percentage. However, keep in mind that the index retention time will not be taken into consideration during this process.
The system also checks the total amount of free space that must be available at all times in the index cache.
If the amount of free space falls below the specified amount in the volume in which the Index Cache is stored, the MediaAgent generates an event message and generates the MediaAgents (Disk Space Low) alert, if configured.
See Available Alerts and Alert Descriptions and Space Check Thresholds for the Software Installation and System Directories for detailed information on setting up the alert.The above parameters are not applicable for NetWare MediaAgents. Ensure that you have sufficient disk space on the NetWare volume that hosts the index cache before performing data protection operations. |
Operations performed with this feature are recorded in the Audit Trail. See Audit Trail for more information.