sortColumn = DRV_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); $sortCriteria->sortColumn = DRV_SORT_DEFAULT; $temp_drives = get_all_drives($user, $sortCriteria); $numTempDrives = count($temp_drives); $driveIndex = 0; for ($d = 0; $d < $numTempDrives; $d++) { //error_log(print_r($temp_drives[$d], true)); if ($temp_drives[$d]->interfaceType == "Fibre") { $drives[$driveIndex] = $temp_drives[$d]; $driveIndex++; } } // get the counts needed to display the main table $numEmptyIOs = $counts->avail_mailbox_count; $numRows = count($drives); $numEnclosures = count($enclosures); $numlogLibs = count($loglibs); // 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 Fibre Channel Ports
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

Fibre Channel Ports

Last refresh:



role == "Admin") || ($user->role == "Service")) { ?>
Drive Fibre Channel Ports:
Select All Deselect All
role == "Admin") || ($user->role == "Service")) { ?> 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))) { if ($drive->speed == 0) { $link_speed = 'Auto'; } else if ($drive->speed == 1) { $link_speed = '1 Gb/s'; } else if ($drive->speed == 2) { $link_speed = '2 Gb/s'; } else if ($drive->speed == 3) //changed by rwinston 03-10-06 { $link_speed = '4 Gb/s'; } else if ($drive->speed == 4) //changed by rwinston 03-10-06 { $link_speed = '8 Gb/s'; } else { $link_speed = $drive->speed; } if ($drive->speed2 == 0) { $link_speed2 = 'Auto'; } else if ($drive->speed2 == 1) { $link_speed2 = '1 Gb/s'; } else if ($drive->speed2 == 2) { $link_speed2 = '2 Gb/s'; } else if ($drive->speed2 == 3) //changed by rwinston 03-10-06 { $link_speed2 = '4 Gb/s'; } else if ($drive->speed2 == 4) //changed by rwinston 03-10-06 { $link_speed2 = '8 Gb/s'; } else { $link_speed2 = $drive->speed2; } if ($drive->topology == 1) { $drive_top = "Auto (L Port)"; } else if ($drive->topology == 2) { $drive_top = "L Port"; } else if ($drive->topology == 3) { $drive_top = "N Port"; } else if ($drive->topology == 4) { $drive_top = "Auto (N Port)"; } else { $drive_top = $drive->topology; } if ($drive->topology2 == 1) { $drive_top2 = "Auto (L Port)"; } else if ($drive->topology2 == 2) { $drive_top2 = "L Port"; } else if ($drive->topology2 == 3) { $drive_top2 = "N Port"; } else if ($drive->topology2 == 4) { $drive_top2 = "Auto (N Port)"; } else { $drive_top2 = $drive->topology2; } //actual speed and topology if ($drive->speedAct == 0) { $link_speed_actual = 'Auto'; } else if ($drive->speedAct == 1) { $link_speed_actual = '1 Gb/s'; } else if ($drive->speedAct == 2) { $link_speed_actual = '2 Gb/s'; } else if ($drive->speedAct == 3) //changed by rwinston 03-10-06 { $link_speed_actual = '4 Gb/s'; } else if ($drive->speedAct == 4) { $link_speed_actual = '8 Gb/s'; } else { $link_speed_actual = $drive->speedAct; } if ($drive->speedAct2 == 0) { $link_speed_actual2 = 'Auto'; } else if ($drive->speedAct2 == 1) { $link_speed_actual2 = '1 Gb/s'; } else if ($drive->speedAct2 == 2) { $link_speed_actual2 = '2 Gb/s'; } else if ($drive->speedAct2 == 3) //changed by rwinston 03-10-06 { $link_speed_actual2 = '4 Gb/s'; } else if ($drive->speedAct2 == 4) { $link_speed_actual2 = '8 Gb/s'; } else { $link_speed_actual2 = $drive->speedAct2; } if ($drive->topologyAct == 0) //changed by rwinston 03-10-06 { $drive_top_actual = "Unknown"; } else if ($drive->topologyAct == 1) { $drive_top_actual = "Auto (L Port)"; } else if ($drive->topologyAct == 2) { $drive_top_actual = "L Port"; } else if ($drive->topologyAct == 3) { $drive_top_actual = "N Port"; } else if ($drive->topologyAct == 4) { $drive_top_actual = "Auto (N Port)"; } else { $drive_top_actual = $drive->topologyAct; } if ($drive->topologyAct2 == 0) //changed by rwinston 03-10-06 { $drive_top_actual2 = "Unknown"; } else if ($drive->topologyAct2 == 1) { $drive_top_actual2 = "Auto (L Port)"; } else if ($drive->topologyAct2 == 2) { $drive_top_actual2 = "L Port"; } else if ($drive->topologyAct2 == 3) { $drive_top_actual2 = "N Port"; } else if ($drive->topologyAct2 == 4) { $drive_top_actual2 = "Auto (N Port)"; } else { $drive_top_actual2 = $drive->topologyAct2; } if(strcmp($drive->driveType, "LTO-5") == 0) { $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 } else { $dWWN = split(':',$drive->wwnn); $dWWPN = split(':',$drive->wwpn); $subId = "WWNN: ".$dWWN[0].$dWWN[1]."
WWPN: ".$dWWPN[0].$dWWPN[1]; // max for fibre } ?> role == "Admin") || ($user->role == "Service")) { ?>
Select Location Click to Sort Descending Logical Library Click to Sort Ascending Media Type Click to Sort Ascending Link Speed Topology Current Link Speed Current Topology Port
location;?> name;?> driveType;?> driveType, "LTO-5") == 0) { print($link_speed); print('
'); print($link_speed2); } else { print($link_speed); } ?>
driveType, "LTO-5") == 0) { print($drive_top); print('
'); print($drive_top2); } else { print($drive_top); } ?>
driveType, "LTO-5") == 0) { print($link_speed_actual); print('
'); print($link_speed_actual2); } else { print($link_speed_actual); } ?>
driveType, "LTO-5") == 0) { print($drive_top_actual); print('
'); print($drive_top_actual2); } else { print($drive_top_actual); } ?>
Total: Filtered: Displayed: Selected: 0