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

275 lines
12 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--Service processor discovery</title>
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
<script language="Javascript" type="text/javascript" src="../rzahg/iccommon.js"></script>
<script type="text/javascript" language="Javascript">
<!-- // Hide script from older browsers
var errMess = "Enter a service processor host name.";
var IPErrMess = "You entered an unallowed address for the service processor internet address. 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[105])) { //value stored for first radio button
if (parseInt(parent.hidden.v1[105]) == 0) { //yes
document.form1.rad[1].checked = true;
//show second question
MM_showHideLayers('questiontwo','','show');
if (!isEmpty(parent.hidden.v1[106])) { //value stored for second radio button
if (parseInt(parent.hidden.v1[106]) == 0) { //host name
if (isNS && !isNS6) {
document.layers.questiontwo.document.form2.rad2[0].checked = true;
if (!isEmpty(parent.hidden.v1[107])) {
document.layers.questiontwo.document.form2.sphostname.value = parent.hidden.v1[107];
}
} else {
document.form2.rad2[0].checked = true;
if (!isEmpty(parent.hidden.v1[107])) {
document.form2.sphostname.value = parent.hidden.v1[107];
}
}
} else {
if (parseInt(parent.hidden.v1[106]) == 1) { //ip address
if (isNS && !isNS6) {
document.layers.questiontwo.document.form2.rad2[1].checked = true;
if (!isEmpty(parent.hidden.v1[107])) {
var seg = parent.hidden.v1[107].split(".");
document.layers.questiontwo.document.form2.b1.value = seg[0];
document.layers.questiontwo.document.form2.b2.value = seg[1];
document.layers.questiontwo.document.form2.b3.value = seg[2];
document.layers.questiontwo.document.form2.b4.value = seg[3];
}
} else {
document.form2.rad2[1].checked = true;
if (!isEmpty(parent.hidden.v1[107])) {
var seg = parent.hidden.v1[107].split(".");
document.form2.b1.value = seg[0];
document.form2.b2.value = seg[1];
document.form2.b3.value = seg[2];
document.form2.b4.value = seg[3];
}
}
}
}
}
} else { //not yes
//hide second question
MM_showHideLayers('questiontwo','','hide');
if (parseInt(parent.hidden.v1[103]) == 1) { //no
document.form1.rad[0].checked = true;
}
}
} else { //no value saved for first radio button, hide second question
MM_showHideLayers('questiontwo','','hide');
}
}
function onNext() {
//Save data
if (document.form1.rad[1].checked == true) { //yes
parent.hidden.v1[105] = 0; // save yes for radio button value
if (isNS && !isNS6) {
if (document.layers.questiontwo.document.form2.rad2[0].checked == true) { //host name
parent.hidden.v1[106] = 0; // host name
if (isEmpty(document.layers.questiontwo.document.form2.sphostname.value)) {
alert(errMess);
return;
} else {
//Save data
parent.hidden.v1[107] = document.layers.questiontwo.document.form2.sphostname.value;
}
} else { //must be ip address
parent.hidden.v1[106] = 1; // ip address
p1 = ".";
ip1 = document.layers.questiontwo.document.form2.b1.value + p1 +
document.layers.questiontwo.document.form2.b2.value + p1 +
document.layers.questiontwo.document.form2.b3.value + p1 +
document.layers.questiontwo.document.form2.b4.value;
if (!isEmpty(document.layers.questiontwo.document.form2.b1.value) ||
!isEmpty(document.layers.questiontwo.document.form2.b2.value) ||
!isEmpty(document.layers.questiontwo.document.form2.b3.value) ||
!isEmpty(document.layers.questiontwo.document.form2.b4.value)) {
//Must have valid data in ip
if (isInteger(document.layers.questiontwo.document.form2.b1.value) &&
isInteger(document.layers.questiontwo.document.form2.b2.value) &&
isInteger(document.layers.questiontwo.document.form2.b3.value) &&
isInteger(document.layers.questiontwo.document.form2.b4.value)) {
if (!isValidIPAddress(ip1)) {
alert(IPErrMess);
return;
} else { //valid
parent.hidden.v1[107] = ip1;
}
} else {
//One of the segments is not a number
alert(IPErrMess);
return;
}
} else { //one segment is empty
alert(IPErrMess);
return;
}
}
} else {
if (document.form2.rad2[0].checked == true) { //host name
parent.hidden.v1[106] = 0; // host name
if (isEmpty(document.form2.sphostname.value)) {
alert(errMess);
return;
} else {
//Save data
parent.hidden.v1[107] = document.form2.sphostname.value;
}
} else { //must be ip address
parent.hidden.v1[106] = 1; // ip address
p1 = ".";
ip1 = document.form2.b1.value + p1 + document.form2.b2.value + p1 +
document.form2.b3.value + p1 + document.form2.b4.value;
if (!isEmpty(document.form2.b1.value) ||
!isEmpty(document.form2.b2.value) ||
!isEmpty(document.form2.b3.value) ||
!isEmpty(ddocument.form2.b4.value)) {
//Must have valid data in ip
if (isInteger(document.form2.b1.value) &&
isInteger(document.form2.b2.value) &&
isInteger(document.form2.b3.value) &&
isInteger(document.form2.b4.value)) {
if (!isValidIPAddress(ip1)) {
alert(IPErrMess);
return;
} else { //valid
parent.hidden.v1[107] = ip1;
}
} else {
//One of the segments is not a number
alert(IPErrMess);
return;
}
} else { //one segment is empty
alert(IPErrMess);
return;
}
}
}
} else { //no to first radio button
parent.hidden.v1[105] = 1; // save no for radio button value
parent.hidden.v1[106] = ""; // empty out any possible saved value
parent.hidden.v1[107] = ""; // empty out any possible saved value
}
if (document.form1.rad[1].checked == true) { //yes
window.location = "rzahqadvisor3d.htm"; //skip enclosure identity
} else {
window.location = "rzahqadvisor3c.htm"; //next page
}
}
function onBack() {
window.location = "rzahqadvisor3a.htm";
}
function selectDivRadio(num) {
if (isNS && !isNS6) {
document.layers.questiontwo.document.form2.rad2[num].checked = true;
} else {
document.form2.rad2[num].checked = true;
}
}
//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>Service processor discovery</strong>
<p>i5/OS must connect to the server's service processor on the network in order to control the server. You can optionally choose to use a host
name or internet address to discover the service processor on the network.</p>
<p><strong>Note:</strong> If you do not want to use a host name or internet address to discover the service processor on the network, you can still
discover the service processor using the next panel to specify the serial number and optionally the
type and model of the enclosure that the service processor controls.</p>
<form name="form1">
<p>Would you like to use a service processor connection to determine remote system enclosure identity?</p>
<p>
<blockquote>
<input type="radio" name="rad" checked value="nope" id="nope" onClick="MM_showHideLayers('questiontwo','','hide');"><label for="nope">No</label><br>
<input type="radio" name="rad" value="yep" id="yep" onClick="MM_showHideLayers('questiontwo','','show');"><label for="yep">Yes</label><br><br>
</blockquote>
</p>
</form>
<div id="questiontwo" style="position: relative;">
<p>Enter either a service processor host name or service processor internet address.</p>
<form name="form2">
<p>
<blockquote>
<input type="radio" name="rad2" checked value="hostradio" id="sphost"><label for="sphost">Service processor host name:</label> <INPUT type="text" size="50" maxlength="255" name="sphostname" id="sphost" onKeyPress="selectDivRadio(0)"><br><br>
<input type="radio" name="rad2" value="ipradio" id="ipname"><label for="ipname">Service processor internet address:</label> <input type="text" size="3" maxlength="3" name="b1" id="ipname" onKeyPress="selectDivRadio(1)">
. <input type="text" size="3" maxlength="3" name="b2" id="ipname" onKeyPress="selectDivRadio(1)">
. <input type="text" size="3" maxlength="3" name="b3" id="ipname" onKeyPress="selectDivRadio(1)">
. <input type="text" size="3" maxlength="3" name="b4" id="ipname" onKeyPress="selectDivRadio(1)"><br>
</blockquote>
</p>
</form>
</div>
<br><br>
<form name="form3">
<center>
<input type="button" value="&lt;&lt; Back" onClick="onBack()">
<input type="button" value="Next &gt;&gt;" onClick="onNext()">
</center>
</form>
</body>
</html>