secondaryValid = true; //$tests->secondaryPath = false; $text = ''. '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '
'.EKM_TEXT.' Path Diagnostic Results
Diagnostic Primary
'.$tests->primaryIP.'
Secondary
'.$tests->secondaryIP.'
Ping ' . ($tests->primaryPing ?'Passed':'Failed') .'' . ($tests->secondaryValid ?($tests->secondaryPing ?'Passed':'Failed'):'N/A') .'
Drive' . ($tests->primaryDrive ?'Passed':'Failed') .'' . ($tests->secondaryValid ?($tests->secondaryDrive ?'Passed':'Failed'):'N/A') .'
Path ' . ($tests->primaryPath ?'Passed':'Failed') .'' . ($tests->secondaryValid ?($tests->secondaryPath ?'Passed':'Failed'):'N/A') .'
Config' . ($tests->primaryConfig ?'Passed':'Failed') .'' . ($tests->secondaryValid ?($tests->secondaryConfig ?'Passed':'Failed'):'N/A') .'
'; error_log( $text ); print $status->closeMsg(3, $text); return; } if( is_ibm_encryption_licensed($user) ) { //if( !@akm_servers_available($user) ) //{ // header('location:QEKMTest.htm'); //} // First check what kind of drives are in the system. If only one type then don;t show the selection page. // Load the data up on the get of the page. $perferedServerType = get_ekm_type($user); // !?! For now just travers the drives and see what vendor types there are to set the $perferedServerType. $drives = get_all_drives($user, $sortCriteria); //error_log( "Drives = ". print_r($drives, true) ); $ibm = false; $hp = false; $ibmTapeLoaded = false; $hpTapeLoaded = false; foreach($drives as $drive) { if($drive->driveType == 'LTO-4') { error_log("\n\nWe have a ".$drive->vendor." LTO 4 drive\n\n"); // Set the types of encryption capable drives found in the system // And see if any encryption drive is loaded with a tape if( $drive->vendor == "IBM" && $drive->interfaceType != "SCSI") { $ibm = true; if( $drive->mediaPresent == "1" ) { error_log("We have tape loaded in a IBM drive"); $ibmTapeLoaded = true; } } else if( $drive->vendor == "HP") { $hp = true; if( $drive->mediaPresent == "1" ) { error_log("We have tape loaded in a HP drive"); $hpTapeLoaded = true; } } } } if( $hp ) $perferedServerType = 2; else $perferedServerType = 1; $bQKM = isQKMEnabled(); $bQEKM = isQEKMEnabled(); error_log("\n\n\n\nisQKMEnabled = ".($bQKM?"true":"false")." | isQEKMEnabled = ".($bQEKM?"true":"false")."\n\n\n"); if( $hp && !$ibm || $bQKM && !$bQEKM ) header('location:QKMTest.htm'); else if(!$hp && $ibm || (!$bQKM && $bQEKM) || $Brand == 'dell' ) header('location:QEKMTest.htm'); // Both or none are configured so let this page handle it. } ?> EKM Encryption Selection
bmasquerade) { ?>
Diagnostics - EKM Path Diagnostics EKM Path Diagnostics
Select which type of diagnostics you would like to run.
 

"; } else { echo "Quantum Encryption Key Manager must be licensed to configure or use it.
"; } ?> Please click here to add a license key.

/> QKM Path Diagnostics
/> Q-EKM Path Diagnostics