145 lines
4.6 KiB
HTML
145 lines
4.6 KiB
HTML
|
<!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--Enclosure identity</title>
|
|||
|
|
|||
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|||
|
<script type="text/javascript" language="Javascript">
|
|||
|
<!-- // Hide script from older browsers
|
|||
|
|
|||
|
var reqMess = "You must enter a serial number to continue, or go back to previous panel and choose to use a service process connection to determine the remote system enclosure identity.";
|
|||
|
var errMess = "The serial number is not in a valid format. The characters must be letters (A-Z) or digits (0-9).";
|
|||
|
var errMess2 = "The manufacture type and model is not in a valid format. The characters must be letters (A-Z) or digits (0-9).";
|
|||
|
|
|||
|
//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[108])) {
|
|||
|
document.form1.sernum.value = parent.hidden.v1[108];
|
|||
|
}
|
|||
|
if (!isEmpty(parent.hidden.v1[109])) {
|
|||
|
document.form1.mantype.value = parent.hidden.v1[109];
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function onNext() {
|
|||
|
if (isEmpty(document.form1.sernum.value)) {
|
|||
|
alert(reqMess);
|
|||
|
return;
|
|||
|
} else {
|
|||
|
//Check if serial number is valid
|
|||
|
if (!isAlphanumeric(document.form1.sernum.value)) {
|
|||
|
alert(errMess);
|
|||
|
return;
|
|||
|
} else {
|
|||
|
//Save data
|
|||
|
parent.hidden.v1[108] = document.form1.sernum.value;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
if (!isEmpty(document.form1.mantype.value)) {
|
|||
|
if (!isAlphanumeric(document.form1.mantype.value)) {
|
|||
|
alert(errMess2);
|
|||
|
return;
|
|||
|
} else {
|
|||
|
parent.hidden.v1[109] = document.form1.mantype.value;
|
|||
|
}
|
|||
|
} else {
|
|||
|
parent.hidden.v1[109] = "";
|
|||
|
}
|
|||
|
|
|||
|
//Next page
|
|||
|
window.location = "rzahqadvisor3d.htm";
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
function onBack() {
|
|||
|
window.location = "rzahqadvisor3b.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>Enclosure identity</strong>
|
|||
|
|
|||
|
<p>The server enclosure is either an xSeries server system unit or a BladeCenter chassis.</p>
|
|||
|
|
|||
|
<p>For cases where the enclosure serial number might not be unique on the network, you can
|
|||
|
optionally specify the server enclosure manufacturer type and model.</p>
|
|||
|
|
|||
|
|
|||
|
<form name="form1">
|
|||
|
<table>
|
|||
|
<tr>
|
|||
|
<td> </td>
|
|||
|
<td><label for="sernum">Serial number:</label></td>
|
|||
|
<td><input type="text" name="sernum" id="sernum" maxlength="12">
|
|||
|
</td></tr>
|
|||
|
|
|||
|
<tr>
|
|||
|
<td> </td>
|
|||
|
<td> </td>
|
|||
|
<td> </td>
|
|||
|
</tr>
|
|||
|
|
|||
|
<tr>
|
|||
|
<td> </td>
|
|||
|
<td><label for="mantype">Manufacturer type and model:</label></td>
|
|||
|
<td><input type="text" name="mantype" id="mantype" maxlength="24" size="25"> (optional)</td>
|
|||
|
</tr>
|
|||
|
|
|||
|
<tr>
|
|||
|
<td> </td>
|
|||
|
<td> </td>
|
|||
|
<td><FONT SIZE="-1">Example: Enter <EM>1234XYZ</EM>.</FONT></td></tr>
|
|||
|
|
|||
|
</table>
|
|||
|
<br><br><br>
|
|||
|
|
|||
|
|
|||
|
<center>
|
|||
|
<input type="button" value="<< Back" onClick="onBack()">
|
|||
|
<input type="button" value="Next >>" onClick="onNext()">
|
|||
|
</center>
|
|||
|
|
|||
|
</form>
|
|||
|
</body>
|
|||
|
</html>
|