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

251 lines
8.7 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 LAN 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 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[140])) {
document.form1.mac.value = parent.hidden.v1[140];
}
if (!isEmpty(parent.hidden.v1[141])) {
var seg = parent.hidden.v1[141].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[142])) {
var segb = parent.hidden.v1[142].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[143])) {
var segc = parent.hidden.v1[143].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];
}
}
function onNext() {
if (isEmpty(document.form1.mac.value) || !isHexadecimal(document.form1.mac.value)) {
alert(errMess);
return;
} else {
parent.hidden.v1[140] = 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[141] = 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[142] = 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[143] = ip3;
}
} else {
//One of the segments is not a number
alert(errMess4);
return;
}
}
//Next page
window.location = "rzahqadvisor5.htm";
}
function onBack() {
window.location = "rzahqadvisor3n.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 LAN 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 LAN
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 LAN 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>
</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>