MediaAgents - Troubleshoot

Topics | How To | Troubleshoot | Support | Related Topics


Device Detection on AIX MediaAgent is Slow

Tape Spanning failure on AIX MediaAgents with Native Drivers

Job Failures in Solaris MediaAgents using Native Drivers

Adjust Timeout Value for SCSI Commands on MediaAgents

Work-Around for a Failed MediaAgent

Move a Library to Another MediaAgent Without Data Loss

Move a MediaAgent Without Data Loss

Separate the CommServe from a CommServe - MediaAgent Computer


Device Detection on AIX MediaAgent is Slow

This might occur for the following reason:

Cause: On AIX MediaAgents, the presence of a number of SCSI adaptors may result in slowing down the detection process. If you know that some of these adaptors are not required by the MediaAgent, you can skip them during the detection process as described in below.

Create the following file:

<software installation path>/Base/detectdevices.skip

Use the following format to add the list of adapters that must be skipped during device detection.

adapter <adapter name>

For example:

adapter scsi2

adapter fscsi1

Note the following:


Tape Spanning failure on AIX MediaAgents with Native Drivers

This might occur for the following reason:

Cause: On AIX MediaAgents with IBM library and ATAPE drivers and if Use Native device driver for data transfer for tape media option in the MediaAgent Properties is enabled, the MediaAgent software sets the drive attribute for trailer_labels to yes when a data protection operation is initiated.  If this attribute is set to no, (For example, by other applications sharing the library) data protections operations may fail when the operation spans to another tape.

Use the following command to see the drive attribute for trailer_labels.

lsattr –El rmtX


Job Failures in Solaris MediaAgents Using Native Drivers

Use the following steps if you find Data Protection Operation failing on Solaris MediaAgents when Native Drivers are enabled.

To configure native tape drive support on Solaris the native ST device nodes should be added to /kernel/drv/st.conf and bound to all the tape drive LUNs which are to be used.

For example:

Add the following lines in /kernel/drv/st.conf to bind tape drives having Target 0 and Lun 1, and Target 0 and Lun 2 with native driver:

name="st" class="scsi" target=0 lun=1;

name="st" class="scsi" target=0 lun=2;

 

Also make sure to reload the ST drivers using the following commands:

rem_drv st

add_drv st


Adjust Timeout Value for SCSI Commands on MediaAgents

If you see devices timing out (in MediaManager.log file) and jobs failing as a result, you may want to adjust the timeout value for SCSI commands to these devices.

These are the rules that should be observed while making the changes:


Work-Around for a Failed MediaAgent

If a MediaAgent has failed and there are other MediaAgents in the CommCell, you can re-establish backup/restore operations for the affected client computers. Use any one of the following solutions.

To reestablish client operations when a MediaAgent has failed:


Solution#1

  1. Create new storage policies where the primary copy transfers its backup data through a working MediaAgent and to a working library.
  2. For each of the subclients of the affected client computers, perform the following:

Once the subclients of the affected client computers are associated to working libraries, you can resume backup operations.

----------------------------------------------------

Solution#2

  1. Use existing storage policies to back up the client computers that are affected by the failed MediaAgent. To do this, identify those storage policies where the primary copy transfers its backup data through a working MediaAgent and to a working library.
  2. For each of the subclients of the affected client computers, perform the following:

Once the subclients of the affected client computers are associated to working libraries, you can resume backup operations.

----------------------------------------------------

Solution#3

If a storage policy has a secondary copy and this copy points to another MediaAgent, and if Auxiliary Copies are performed regularly (therefore making available backed up data in an additional manner), promote the secondary copy to a primary copy.


Move a Library to Another MediaAgent Without Data Loss

In some situations you may have the need to move a library from one MediaAgent to another due to re-configuration or other requirements.

The following procedure provides step-by-step instructions on how to perform this operation.

  1. Detach the library and attach it to the new MediaAgent and make sure that the hardware is visible to the operating system. See Driver Configurations for more information.
  2. Open the CommCell Console and change the name of the MediaAgent associated with the library. See Change the MediaAgent (Host) Associated with a Library for more information.
  3. If necessary run a quick backup to verify that the devices are functioning correctly.

Move a MediaAgent Without Data Loss

In some situations you may have the need to move a MediaAgent from one computer to another. For example:

The following procedure provides step-by-step instructions on how to perform this operation.

  1. Detach the library and attach it to the new computer and make sure that the hardware is visible to the operating system. See Driver Configurations for more information.
  2. Install the MediaAgent software in the new computer. See MediaAgent Deployment for more information.
  3. Open the CommCell Console and change the name of the MediaAgent associated with the library that was configured in the old MediaAgent. See Changing the MediaAgent (Host) Associated with a Library for more information.
  4. If the index cache is configured in the old MediaAgent, move the index cache to the new MediaAgent. (See Move an Index Cache for step-by-step instructions.)
  5. If necessary run a quick backup to verify that the devices are functioning correctly.
  6. Uninstall the MediaAgent software from the original computer. See Uninstall Components for more information.
    WARNING

    Do not deconfigure the library at any point.

    Also do not uninstall the old MediaAgent until the devices start functioning in the new MediaAgent.


Separate the CommServe from a CommServe-MediaAgent Computer

In some situations you may want to separate the CommServe from a MediaAgent computer, (with or without a File system iDataAgent) if they were installed together. For example, you may want to move the CommServe to a more powerful computer or such similar re-configuration needs.

The following procedure provides step-by-step instructions on how to perform this operation.

You can also use this procedure to relocate a CommServe and MediaAgent which are installed together, to two separate computers.

You will require an additional MediaAgent license to perform this operation.

Source Computer

1. Copy the index cache folder (and the job results folder if the (File system iDataAgent is installed) to another location.  
2. Perform a Disaster Recover Backup.

Verify and ensure that the Disaster Recovery Backup completes successfully. Also note down the location of the disaster recovery backup file. (For a more detailed discussion, see Phases of Disaster Recovery Backups.)

See  Starting a Disaster Recovery Backup for step-by-step instructions.
3. Uninstall the software from the original computer. See Uninstalling Components for more information.
WARNING

Do not deconfigure the libraries (tape/optical/disk libraries, etc.) when you uninstall the MediaAgent software.

Establishing the New CommServe Computer

4. Install only the CommServe software in the new computer. See CommServe Deployment for information on installing the CommServe software.
5. Restore the CommServe database using the CommServe Disaster Recovery Tool. See Restore a Disaster Recovery Backup for step-by-step instructions.
6. Change the name of the CommServe computer using the CommServe Disaster Recovery Tool. See Change the Name of the CommServe Computer for step-by-step instructions.
7. Inform the Client and MediaAgent computers of the new CommServe name. This can be done from the CommCell Console. See Informing Clients of CommServe Name Change for step-by-step instructions.

Establishing the New MediaAgent Computer

8. Install only the MediaAgent software in the old computer.

(You can also relocate the MediaAgent to another computer, if necessary.)

See MediaAgent Deployment for more information.
9. During MediaAgent installation make sure to specify the index cache to the location in which it was copied in step 1. If you are unable to do so, perform the steps described in Manually Relocate the Index Cache.
10. Open the CommCell Console and change the MediaAgent name associated with the library. See Changing the MediaAgent (Host) Associated with a Library for step-by-step instructions.
  If you have a disk library, make sure that the mount path is pointing to the appropriate location. If necessary move the mount path to the appropriate location and then change the location of the mount path. See Move a Mount Path for step-by-step instructions.
11. Deconfigure the original MediaAgent from the CommCell Console. See Deconfigure a Client, MediaAgent, Agent, or Enabler for step-by-step instructions.

Establishing the File System iDataAgent in the MediaAgent Computer (if it was originally installed)

12. Export the metadata records associated only with this client on the CommServe. See Export Data from the Source CommCell for step-by-step instructions.
13. Deconfigure the Client from the CommCell Console. See Deconfigure a Client, MediaAgent, Agent, or Enabler for step-by-step instructions.
14. Delete the Client in the CommCell Console. See Delete a Client Computer for step-by-step instructions.
15. Import the metadata records (that was exported in step 12) associated with the client computer in the CommServe. See Import Data on the Destination CommCell for step-by-step instructions.
16. Reinstall the file system iDataAgent on the computer. See Deployment - Windows File System iDataAgent for more information.