LMEnabled); //error_log("submit_dps_license1 returned ". $return); if( $OrigfailOverGUID != "" ) { error_log("Releseing the CPF license for OLD Failover drive while preserving LMEEnabled."); $DPSLicense = get_dps_license($user, $OrigfailOverGUID); $return = submit_dps_license($user, $OrigfailOverGUID, 0, $DPSLicense->LMEnabled); //error_log("submit_dps_license2 returned ". $return); } } // See if a CPF drive was set. Only run one of the CP functions - not both. if( $failOverGUID != "" ) { error_log("Setting the FailOver Drive to $failOverGUID - Consuming 2 SNW licenses"); // Consume a DPS license for the command path and the failover. $DPSLicense = get_dps_license($user, $controlPathGUID); $return = submit_dps_license($user, $controlPathGUID, 1, $DPSLicense->LMEnabled); //error_log("submit_dps_license3 returned ". $return); $DPSLicense = get_dps_license($user, $failOverGUID); $return = submit_dps_license($user, $failOverGUID, 1, $DPSLicense->LMEnabled); //error_log("submit_dps_license4 returned ". $return); $Ret = set_command_path_failover($user, $libraryGUID, $controlPathGUID, $failOverGUID); error_log("set_command_path_failover returned a $Ret"); } else { error_log( "- - - - - - - - set_controlPath($user, $libraryGUID, $controlPathGUID) " ); set_command_path_drive($user, $libraryGUID, $controlPathGUID); } print $status->out(); return; } } else { // Get the number of logical libraies so we know if we need to bring up the partition Select page or not. $libs = get_logical_libraries_brief($user); $lib_count = count($libs); $usedDpsLicneses = 0; $dpsLicenses= get_dps_licenses($user); error_log("dpsLicenses = ". print_r($dpsLicenses,true) ); foreach( $dpsLicenses as $dpsL ) { if( $dpsL->CPFEnabled == 1) $usedDpsLicneses++; } } ?> Control Path
Control Path - LibraryName
Select a tape drive to host the library control path for this partition. If an HP LTO-5 FC tape drive (that is not connected to an installed FC I/O Blade) is selected as the control path drive, you may select another HP LTO-5 FC tape drive to use as the control path failover drive. Note: To disable a control path or failover drive, click the current selection to deselect it, or make a different selection.
Control path failover is unavailable. You have insufficient Storage Networking licenses installed to cover all HP LTO-5 tape drives in the library.

Total Drives:  0
Drive Type Interface Type Location Control Path Failover Is Active I/O Blade Connected
  Page 
 of        
Drives: 1 - 6