171 lines
6.2 KiB
HTML
171 lines
6.2 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--Installation source drive</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess1 = "Enter the disk pool (ASP) that you want to contain the source drive.";
|
|
var errMess3 = "If a disk pool name is specified, the disk pool number must be set to 1.";
|
|
var errMess2 = "The size must contain only numbers. If necessary, round up to the nearest MB.";
|
|
var errMess4 = "The disk pool must be a number between 1 and 255.";
|
|
var errMess5 = "The size must be a number between 500 and 2047.";
|
|
|
|
//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[18])) {
|
|
document.form1.dsize.value = parent.hidden.v1[18];
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[6],10) == 1) { //WIN2003
|
|
document.form1.dsize.value = "700";
|
|
} else {//2000
|
|
document.form1.dsize.value = "500";
|
|
}
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[19])) {
|
|
document.form1.dpool.value = parent.hidden.v1[19];
|
|
} else {
|
|
document.form1.dpool.value = "1";
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[97])) {
|
|
document.form1.dpoolname.value = parent.hidden.v1[97];
|
|
}
|
|
}
|
|
|
|
function onNext() {
|
|
if (isEmpty(document.form1.dpool.value)) {
|
|
alert(errMess1);
|
|
return;
|
|
}
|
|
//Check if size is numeric
|
|
if (!isEmpty(document.form1.dsize.value)) {
|
|
if (isInteger(document.form1.dsize.value) == false) {
|
|
alert(errMess2);
|
|
return;
|
|
} else {
|
|
if (parseInt(document.form1.dsize.value,10) < 500 || parseInt(document.form1.dsize.value,10) > 2047) {
|
|
alert(errMess5);
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
if (isInteger(document.form1.dpool.value) == false) {
|
|
alert(errMess4);
|
|
return;
|
|
} else {
|
|
if (parseInt(document.form1.dpool.value,10) < 1 || parseInt(document.form1.dpool.value,10) > 255) {
|
|
alert(errMess4);
|
|
return;
|
|
}
|
|
}
|
|
|
|
//if disk pool name is specified, disk pool # must be set to 1
|
|
if ((!isEmpty(document.form1.dpoolname.value)) && (document.form1.dpool.value != 1)) {
|
|
alert(errMess3);
|
|
return;
|
|
}
|
|
|
|
//Save data
|
|
if (!isEmpty(document.form1.dsize.value)) {
|
|
parent.hidden.v1[18] = document.form1.dsize.value;
|
|
} else {
|
|
parent.hidden.v1[18] = "";
|
|
}
|
|
parent.hidden.v1[19] = document.form1.dpool.value;
|
|
parent.hidden.v1[97] = document.form1.dpoolname.value;
|
|
//Next page
|
|
if (parent.hidden.v1[3] == "iSCSI")
|
|
window.location = "rzahqadvisor13a.htm";
|
|
else
|
|
window.location = "rzahqadvisor13_5.htm";
|
|
}
|
|
|
|
function onBack() {
|
|
//if hardware type is 2689 or iSCSI and basic install
|
|
if ((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1) {
|
|
window.location = "rzahqadvisor12.htm";
|
|
} else {
|
|
window.location = "rzahqadvisor12a.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>Installation source drive</strong>
|
|
|
|
<p>Indicate the size of the network server storage spaces for the
|
|
installation source drive. The installation source drive (Drive D) must be large enough to hold the
|
|
contents of the I386 directory on the Windows server installation CD-ROM image
|
|
and the i5/OS Integrated Server Support code. It can be from 500 to 2047 MB.
|
|
You can leave the size blank if you want the INSWNTSVR command to calculate the size for you.
|
|
</p>
|
|
|
|
<form name="form1">
|
|
<p>What is the size of the source drive?</p>
|
|
<blockquote>
|
|
<label for="dsize">Size:</label>
|
|
<input type="text" name="dsize" id="dsize" size="6" maxlength="4"> MB
|
|
</blockquote>
|
|
<br><br>
|
|
|
|
<p>What disk pool do you want to contain the source drive? The disk pool must be a number between 1 and 255.</p>
|
|
<blockquote>
|
|
<label for="dpool">Disk pool:</label>
|
|
<input type="text" name="dpool" id="dpool" size="6" maxlength="3">
|
|
</blockquote>
|
|
<br><br>
|
|
|
|
<p>You can specify a disk pool name instead of a number. It must be from 1 to 10 characters in length. If you choose to specify a name instead of a number, the disk pool number must be set to 1.</p>
|
|
<blockquote>
|
|
<label for="dpoolname">Disk pool name (optional):</label>
|
|
<input type="text" name="dpoolname" id="dpoolname" size="10" maxlength="10">
|
|
</blockquote>
|
|
<br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|