sortColumn = DRV_SORT_DEFAULT; $sortCriteria->ascending = true; // Used for Filtering $llView = "All Logical Libraries"; $enclView = "All Enclosures"; // Used for Sorting $sortBy = "location"; // Used for Message box $errorCode = 0; $displayMessage = 0; //no // Get necessary data from the library $drives = get_all_drives($user, $sortCriteria); $loglibs = get_logical_libraries($user, $sortCriteria); foreach($drives as $drive) { if(strcmp($drive->driveType, "LTO-5") == 0) { $numRows_5++; } else { $numRows++; } } // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $errorCode= $_REQUEST["errorCode"]; $displayMessage = $_REQUEST["Message"]; $returnMessage = $_REQUEST["returnMessage"]; } $totalRows = $numRows_5 + $numRows; // get the counts needed to display the main table // sort the table data based on the sortBy value $oldi = sortDrives($drives, $sortBy); // determine the attributes for the div that handles displaying and scrolling // for the main data table // $divAttributes = calculateDivAttributes($llView, $enclView, $drives, $totalRows, 10, 250); $divAttributes['divClass'] = ""; $divAttributes['thClass'] = ""; $divAttributes['divHeight'] = ""; ?> Drive IDs
0) { ?>
Error Message Image\ Error Message

Error code:
Informational Message Image

Operation Complete



It is highly recommended that the library's configuration is saved to an external file after each Configuration change. This can be done from the Save/Restore Configuration page.

Close Message

Drive IDs

Last refresh:

Drives:
interfaceType == 'SCSI') { $dId = $drive->scsiId; $subId = "LUN Address: ".$drive->LunAddress; $idMax = 15; // max for scsi } else if ($drive->interfaceTypeEnum == '5') { $dId = ""; $dId = $drive->scsiId; $dWWN = split(':',$drive->wwnn); $subId = "WWN: ".$dWWN[0].$dWWN[1]; // max for fibre $idMax = 0; //changed from 127; per quantum directive } else { if(strcmp($drive->driveType, "LTO-5") == 0) { // this drives is fibre, display Fibre and WWN information $dId1 = $drive->loopId; $dId2 = $drive->loopId2; $dWWN = split(':',$drive->wwnn); $dWWPN = split(':',$drive->wwpn); $dWWPN2 = split(':',$drive->wwpn2); $subId = "WWNN: " . $dWWN[0] . $dWWN[1] . "
WWPN1: " . $dWWPN[0] . $dWWPN[1] . "
WWPN2: " . $dWWPN2[0] . $dWWPN2[1]; // max for fibre $idMax = 125; //changed from 127; per quantum directive } else { // this drives is fibre, display Fibre and WWN information $dId = $drive->loopId; $dWWN = split(':',$drive->wwnn); $dWWPN = split(':',$drive->wwpn); $subId = "WWNN: ".$dWWN[0].$dWWN[1]."
WWPN: ".$dWWPN[0].$dWWPN[1]; // max for fibre $idMax = 125; //changed from 127; per quantum directive } } // store the drive guid in the drives hidden input element // store the drive interface type in the interfaceTypes id attribute // store the drive id (SCSI ID or Fibre loop ID) in the // interfaceTypes value attribute ?>
Location Logical Library Media Type Status Interface ID LUN Address/WWN
driveType, "LTO-5") == 0) { print(''); print(''); print(''); } else { print(''); print(''); print(''); } ?> location;?> name;?> driveType;?> isReady) { if ($drive->status == "Online") { print("Online"); print(" "); print($drive->status); } else { print("Offline"); print(" "); print($drive->status); } } else { print("Not Ready"); print(" "); print("Not Ready"); } ?> interfaceType;?> driveType, "LTO-5") == 0) { if (($user->role == "Admin") || ($user->role == "Service")) { print(""); } // for all possible drive id values for ($n = 0; $n <= $idMax; $n++) { if($dId1 == $n) { print(''); } else { print(''); } } print(''); print("
"); if (($user->role == "Admin") || ($user->role == "Service")) { print(""); } // for all possible drive id values for ($n = 0; $n <= $idMax; $n++) { if($dId2 == $n) { print(''); } else { print(''); } } print(''); } else { if ($drive->interfaceTypeEnum == '5') { print('N/A'); print(''); print(''); } else { if (($user->role == "Admin") || ($user->role == "Service")) { print(""); } // for all possible drive id values for ($n = 0; $n <= $idMax; $n++) { if($dId == $n) { print(''); } else { print(''); } } print(''); } } ?>
Total:
role == "Admin") || ($user->role == "Service")) { ?>