sortColumn = LIB_SORT_DEFAULT; $sortCriteria->ascending = true; $numRows = 0; $numEmptyIOs = 0; $numRows = 0; $numEnclosures = 0; $numlogLibs = 0; // For filtering $llView = "All Logical Libraries"; $enclView = "All Enclosures"; // for sorting $sortBy = "Index"; // for displaying message box $errorCode = 0; $displayMessage = 0; //no // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $llView = $_REQUEST["llView"]; $enclView = $_REQUEST["enclView"]; $sortBy = $_REQUEST["sortBy"]; $errorCode= $_REQUEST["errorCode"]; $displayMessage = $_REQUEST["Message"]; $returnMessage = $_REQUEST["returnMessage"]; } // Get necessary data from the library //$counts = get_all_resource_counts($user); $counts = get_library_summary_info($user); $loglibs = get_logical_libraries($user, $sortCriteria); $enclosures = get_chassis($user); $numlogLibs = count($loglibs); $sortCriteria->sortColumn = SLOT_SORT_DEFAULT; $driveIndex = 0; $numDrives=0; $drives=array(); $drives=get_all_drives($user,$sortCriteria); // get the counts needed to display the main table $numEmptyIOs = $counts->avail_mailbox_count; $numRows = count($drives); // 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, $numRows, MAX_ROWS, MAX_SIZE_DRIVE_LIST); $numRowsDisplayed = $divAttributes['numDisplay']; ?> Drive logs
0) { ?>
Error Message Image Error Message

Error code:
Informational Message Image

Operation Complete

Close Message

Capture Drive Logs

Last refresh:



Drives:
location[0]; // if the enclosure (chassis) location is negative, append the numeric value to the // '-' to identify the enclosure if (!strcmp($chass, '-')) { $chass = $drive->location[0].$drive->location[1]; } // If this row item meets the filter requirements, build the row data // filter requirement: // The item is in both the selected logical library and the selected enclosure if ((!strcmp($llView, "All Logical Libraries") && !strcmp($enclView, "All Enclosures")) || (!strcmp($llView, $drive->name) && !strcmp($enclView, "All Enclosures")) || (!strcmp($llView, "All Logical Libraries") && !strcmp($enclView, $chass)) || (!strcmp($llView, $drive->name) && !strcmp($enclView, $chass))) { //print_r($drive); // retrieve the correct index into the array of logical libraries // based on the library name $l = $libIndex[$drive->name]; // store the drive info separated by ":" $driveInfo = "$drive->location"; // store the drive slot Id in the id attribute of the drive radio element // store the lib Id int the value attribute of the drive radio element // store the drive information in a hidden input element: driveInfo ?>
Select Location Click to Sort Descending Logical Library Click to Sort Ascending Media Type Click to Sort Ascending Status Click to Sort Ascending
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"); } ?>
Total: Filtered: Displayed: