ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahq_5.4.0.1/rzahqadvisor3n.htm

291 lines
10 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
<html>
<head>
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<title>Windows Server installation advisor--Remote SCSI interface</title>
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
<script type="text/javascript" language="Javascript">
<!-- // Hide script from older browsers
var errMess = "Enter a valid local adapter (MAC) address. The address must contain only hexadecimal characters. This includes letters (A-F) or digits (0-9).";
var errMess1 = "Enter a valid internet address. The segments of the internet address must be digits from 0 to 255.";
var errMess2 = "Enter a valid subnet mask. The segments of a subnet mask must be digits from 0 to 255.";
var errMess3 = "Enter a specific iSCSI qualified name or select to generate an iSCSI qualified name.";
var errMess4 = "The gateway address is not in a valid format. The segments of an IP address must be digits from 0 to 255.";
//START NON-TRANSLATABLE
//Obtain name of HTML file in parent frame.
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
function checkFrame() {
//Is the hidden frame already loaded with the correct html?
if (parentUrl != "rzahqadvisor1.htm") {
window.location = "rzahqadvisor1.htm"; //load advisor frameset
return;
} else {
//Obtain name of HTML file in hidden frame.
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
if (hiddenUrl != "rzahqadvhidden.htm") {
//Correct HTML not loaded, load it
parent.hidden.window.location = "rzahqadvhidden.htm";
} else { //already loaded
getData();
}
}
}
function getData() {
if (!isEmpty(parent.hidden.v1[134])) {
document.form1.mac.value = parent.hidden.v1[134];
}
if (!isEmpty(parent.hidden.v1[135])) {
var seg = parent.hidden.v1[135].split(".");
document.form1.a1.value = seg[0];
document.form1.a2.value = seg[1];
document.form1.a3.value = seg[2];
document.form1.a4.value = seg[3];
}
if (!isEmpty(parent.hidden.v1[136])) {
var segb = parent.hidden.v1[136].split(".");
document.form1.b1.value = segb[0];
document.form1.b2.value = segb[1];
document.form1.b3.value = segb[2];
document.form1.b4.value = segb[3];
}
if (!isEmpty(parent.hidden.v1[137])) {
var segc = parent.hidden.v1[137].split(".");
document.form1.c1.value = segc[0];
document.form1.c2.value = segc[1];
document.form1.c3.value = segc[2];
document.form1.c4.value = segc[3];
}
if (!isEmpty(parent.hidden.v1[138])) {
document.form1.rad[parseInt(parent.hidden.v1[138],10)].checked = true;
if (parseInt(parent.hidden.v1[138],10) == 1) {
if (!isEmpty(parent.hidden.v1[139])) {
document.form1.iname.value = parent.hidden.v1[139];
}
}
}
}
function onNext() {
if (isEmpty(document.form1.mac.value) || !isHexadecimal(document.form1.mac.value)) {
alert(errMess);
return;
} else {
parent.hidden.v1[134] = document.form1.mac.value;
}
//Internet addresss
ip1 = document.form1.a1.value + "." + document.form1.a2.value + "." +
document.form1.a3.value + "." + document.form1.a4.value;
if (!isEmpty(document.form1.a1.value) ||
!isEmpty(document.form1.a2.value) ||
!isEmpty(document.form1.a3.value) ||
!isEmpty(document.form1.a4.value)) {
//Must have valid data in ip
if (isInteger(document.form1.a1.value) &&
isInteger(document.form1.a2.value) &&
isInteger(document.form1.a3.value) &&
isInteger(document.form1.a4.value)) {
if (!isValidIPAddress(ip1)) {
alert(errMess1);
return;
} else { //valid
parent.hidden.v1[135] = ip1;
}
} else {
//One of the segments is not a number
alert(errMess1);
return;
}
} else { //one segment is empty
alert(errMess1);
return;
}
//Subnet mask
ip2 = document.form1.b1.value + "." + document.form1.b2.value + "." +
document.form1.b3.value + "." + document.form1.b4.value;
if (!isEmpty(document.form1.b1.value) ||
!isEmpty(document.form1.b2.value) ||
!isEmpty(document.form1.b3.value) ||
!isEmpty(document.form1.b4.value)) {
//Must have valid data in ip
if (isInteger(document.form1.b1.value) &&
isInteger(document.form1.b2.value) &&
isInteger(document.form1.b3.value) &&
isInteger(document.form1.b4.value)) {
if (!isValidIPAddress(ip2)) {
alert(errMess2);
return;
} else { //valid
parent.hidden.v1[136] = ip2;
}
} else {
//One of the segments is not a number
alert(errMess2);
return;
}
} else { //one segment is empty
alert(errMess2);
return;
}
//Gateway
ip3 = document.form1.c1.value + "." + document.form1.c2.value + "." +
document.form1.c3.value + "." + document.form1.c4.value;
if (!isEmpty(document.form1.c1.value) ||
!isEmpty(document.form1.c2.value) ||
!isEmpty(document.form1.c3.value) ||
!isEmpty(document.form1.c4.value)) {
//Must have valid data in ip
if (isInteger(document.form1.c1.value) &&
isInteger(document.form1.c2.value) &&
isInteger(document.form1.c3.value) &&
isInteger(document.form1.c4.value)) {
if (!isValidIPAddress(ip3)) {
alert(errMess4);
return;
} else { //valid
parent.hidden.v1[137] = ip3;
}
} else {
//One of the segments is not a number
alert(errMess4);
return;
}
}
if (document.form1.rad[0].checked == true) {
parent.hidden.v1[138] = 0;
parent.hidden.v1[139] = "";
} else {
parent.hidden.v1[138] = 1;
if (isEmpty(document.form1.iname.value)) {
alert(errMess3);
return;
} else {
parent.hidden.v1[139] = document.form1.iname.value;
}
}
//Next page
window.location = "rzahqadvisor3p.htm";
}
function onBack() {
window.location = "rzahqadvisor3m.htm";
}
//END NON-TRANSLATABLE
////////// -->
</script>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body onLoad="checkFrame()">
<h2>Windows Server installation advisor</h2>
<strong>Remote SCSI interface</strong>
<p>The iSCSI host bus adapter (iSCSI HBA) has two sets of values for connecting to the network.
The first set is used for SCSI data flows (e.g. disk I/O) over the network. The second set is
used for LAN data flows over the network. Use this panel to define the iSCSI HBA SCSI
interface values.</p>
<script type="text/javascript" language="Javascript">
<!-- // Hide script from older browsers
var hText = "<p>Earlier you indicated that the remote system has more than one iSCSI HBA. The following values should be for the iSCSI HBA that you designated to boot the server.<\/p>";
//START NON-TRANSLATABLE
if (parseInt(parent.hidden.v1[125],10) == 1)
document.writeln(hText);
//END NON-TRANSLATABLE
////////// -->
</script>
<p>Enter the following values for the remote SCSI interface.</p>
<form name="form1">
<blockquote>
<table>
<tr>
<td><label for="mac">Local adapter (MAC) address:</label></td>
<td><input type="text" name="mac" id="mac" maxlength="12"></td>
</tr>
<tr>
<td><label for="ipname">Internet address:</label></td>
<td><input type="text" size="3" maxlength="3" name="a1" id="ipname">
. <input type="text" size="3" maxlength="3" name="a2" id="ipname">
. <input type="text" size="3" maxlength="3" name="a3" id="ipname">
. <input type="text" size="3" maxlength="3" name="a4" id="ipname"></td>
</tr>
<tr>
<td><label for="subnet">Subnet mask:</label></td>
<td><input type="text" size="3" maxlength="3" name="b1" id="subnet">
. <input type="text" size="3" maxlength="3" name="b2" id="subnet">
. <input type="text" size="3" maxlength="3" name="b3" id="subnet">
. <input type="text" size="3" maxlength="3" name="b4" id="subnet"></td>
</tr>
<tr>
<td><label for="gate">Gateway address:</label></td>
<td><input type="text" size="3" maxlength="3" name="c1" id="gate">
. <input type="text" size="3" maxlength="3" name="c2" id="gate">
. <input type="text" size="3" maxlength="3" name="c3" id="gate">
. <input type="text" size="3" maxlength="3" name="c4" id="gate"> (optional)</td>
</tr>
<tr>
<td>iSCSI qualified name (IQN):</td>
<td></td>
</tr>
</table>
<table>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><input type="radio" checked name="rad" value="genrad" id="generate"></td>
<td><label for="generate">Generate an iSCSI qualified name</label></td>
</tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td><input type="radio" name="rad" value="specrad" id="specific"></td>
<td><label for="specific">Specific iSCSI qualified name:</label></td>
</tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td></td>
<td><input type="text" name="iname" id="specific" size="75" maxlength="223" onFocus="selectRadio(1)"></td>
</tr>
</table>
</blockquote>
<br><br><br>
<center>
<input type="button" value="&lt;&lt; Back" onClick="onBack()">
<input type="button" value="Next &gt;&gt;" onClick="onNext()">
</center>
</form>
</body>
</html>