Configuring Advanced Path Failover

For libraries that support the Advanced Path Failover feature, it is important to properly configure the libraries in Commvault software.

Before you Begin

  • Libraries that support the Advanced Path Failover feature should be licensed and configured per the hardware vendor guidelines within the library partition. This is done through the interface provided by the hardware vendor.

  • All components in the environment should meet the hardware vendor support standards for this feature. This includes the following:

    • Fabric switches

    • FC HBAs

    • Tape library

  • OS driver levels and firmware levels of FC HBAs, and library and drives should be of supported revisions.

  • Fabric ports on the switch side should be administered correctly for host and tape. Switch ports that the LTO tape drives are connected to should be configured for NON-DFE support where necessary. This effects all LTO Generations 7 through current across all library hardware platforms for this feature.

  • On switches where NON-DFE cannot be set according to the documentation described in NON-DFE support, drive ports see an accumulation of fillword errors. In such situations, Fillword Mode 3 is recommended. Fillword Mode 3 is also recommended for switch ports where Host HBA ports are connected.

Note

Currently, this feature is not supported for Linux MediaAgents (including HyperScale X).

  • Proper zoning is required for this feature to work as expected. This feature was designed to allow support of dual fabrics between MediaAgents and the library. All failover functionality is controlled between library firmware, drive sled firmware, OS, and the OS driver. All failover activity should be masked from the ISV.

Examples for Zoning

Following is an example for a library with two dual port drives per MediaAgent:

  • Single dual port HBAs:

    HBA Port1 --> Drive1 Port1 and Drive2 Port1

    HBA Port2 --> Drive 1 Port2 and Drive2 Port2

    or

  • Two dual/single port HBAs:

    HBA1 Port1 --> Drive1 Port1 and Drive2 Port1

    HBA2 Port1 --> Drive1 Port2 and Drive2 Port2

  • Make sure that the library is idle/ready with no media in the tape drives.

Procedure

  1. On the ribbon in the CommCell Console, click the Storage tab, and then click Expert Storage Configuration.

  2. Under Available MediaAgents, select the MediaAgents that are attached to the library and on which the library needs to be configured and then click Add >>.

  3. Click OK.

    Note

    To configure any shared library, make sure that you select all of the MediaAgents that share the library.

  4. Click OK to continue.

  5. Right-click Libraries, and then click Detect/Configure Devices.

    The Detect Library dialog box appears.

  6. Use the default options, and then click OK.

  7. When the detection process is completed, the log file appears. Note the log file contents, and then click Close.

  8. A message appears that tells you to right-click the device that you want to configure. Click OK.

    The Expert Storage Configuration dialog box should display one library instance with multiple library controller paths and primary paths of each drive within this instance. If multiple MediaAgents are in the detect and configure, then you would see all the library controllers for the library for each MediaAgent within the library instance and all primary paths for each drive for each MediaAgent. All alternate paths for the drives (single MediaAgent or multiple MediaAgents) should show up as stand-alone drives.

    apfo_example

    The above image displays a Windows MediaAgent and an Advanced Path Failover (APFO) partition of one physical medium changer and two dual port tape drives.

    Note that while using the example of an APFO partition with one physical medium changer and two tape drives with dual fabric ports, the OS will see four medium changers and four tape drives. Commvault ScanScsiTool output will display four library instances (one for each medium changer path) and four tape drive instances (two for each drive). This is the direct result of both FC ports on each drive having an active-active behavior in conjunction with proper zoning. Each library instance and drive instance will have the same serial number. As shown in the example, there will be two tape drive instances with identical serial numbers for each drive.

  9. Right-click the library, and then click Properties.

    The Library Properties dialog box appears.

  10. If you do not want to create a storage policy that is associated with this library, make sure that the Automatically create storage policy for new data paths check box is cleared.

  11. In the Alias box, enter a descriptive name for the library.

    This name appears for the library in the CommCell Browser. We recommend that you give each library a descriptive name to make system administration easier.

  12. Click OK.

  13. Configure the library.

    Note

    Configure the library with all primary path tape drives. Do not configure stand-alone devices.

    1. From the Expert Storage Configuration dialog box, right-click the library that you want to configure, and then click Configure.

    2. In the Configuration dialog box that appears, select Library and all drives.

    3. Click Yes for sighted library.

    4. The Discover Media Options dialog box appears.

      • If the library does not have a barcode reader, select the correct media type that is available in the library.

      • If the library has a barcode reader, do either of the following:

        To discover the media in the library automatically, select the default media type, and then click Yes.

        To discover the media manually, click No.

    5. Make sure that media is discovered before you use the library for a data protection operation.

      The status of the library changes to Configured in the Expert Storage Configuration dialog box.

      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, and drive).

Additional Information

If you face any issue (driver/library/OS not working as expected) on a properly configured environment, perform the following steps.

  1. From the CommCell Browser, go to Storage Resources > MediaAgents, and run Scan Hardware followed by Detect Devices.

  2. Tail the CVMA.log file to monitor the progress of the Scan Hardware and Detect Devices options.

  3. Reset the library.

Note

Any other configuration is considered as not a best practice and not the way it is intended to be supported by Commvault or the hardware vendor.

Loading...