195 lines
7.1 KiB
HTML
195 lines
7.1 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--System drive</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 the size of the system drive.";
|
|
var errMess1 = "Enter the disk pool (ASP) that you want to contain the system drive.";
|
|
var errMess2 = "The size must contain only numbers. If necessary, round up to the nearest MB.";
|
|
var errMess5 = "The size must be a number between 1024 and 1024000.";
|
|
var errMess4 = "The disk pool must be a number between 1 and 255.";
|
|
var errMess5 = "If a disk pool name is specified, the disk pool number must be set to 1.";
|
|
|
|
//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[16])) {
|
|
document.form1.dsize.value = parent.hidden.v1[16];
|
|
} else { //none saved, show a default
|
|
if (parseInt(parent.hidden.v1[13],10) == 1) { //manual
|
|
document.form1.dsize.value = "2048";
|
|
} else { //recommend
|
|
tValue = 2048 + (parseInt(parent.hidden.v1[14],10) * 2) + parseInt(parent.hidden.v1[15],10);
|
|
if (tValue > 1024000) {
|
|
document.form1.dsize.value = "1024000";
|
|
} else {
|
|
document.form1.dsize.value = tValue;
|
|
}
|
|
}
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[17])) {
|
|
document.form1.dpool.value = parent.hidden.v1[17];
|
|
} else {
|
|
document.form1.dpool.value = "1";
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[98])) {
|
|
document.form1.dpoolname.value = parent.hidden.v1[98];
|
|
}
|
|
}
|
|
|
|
function onNext() {
|
|
if (isEmpty(document.form1.dsize.value)) {
|
|
alert(errMess);
|
|
return;
|
|
}
|
|
if (isEmpty(document.form1.dpool.value)) {
|
|
alert(errMess1);
|
|
return;
|
|
}
|
|
//Check if size is numeric
|
|
if (isInteger(document.form1.dsize.value) == false) {
|
|
alert(errMess2);
|
|
return;
|
|
} else {
|
|
if (parseInt(document.form1.dsize.value,10) < 1024 || parseInt(document.form1.dsize.value,10) > 1024000) {
|
|
alert(errMess5);
|
|
return;
|
|
} else {
|
|
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;
|
|
} else {
|
|
// if disk pool name exists, dpool should equal 1
|
|
if ((!isEmpty(document.form1.dpoolname.value)) && (document.form1.dpool.value != 1)) {
|
|
alert(errMess5);
|
|
return;
|
|
} else {
|
|
//Save data
|
|
parent.hidden.v1[16] = document.form1.dsize.value;
|
|
parent.hidden.v1[17] = document.form1.dpool.value;
|
|
parent.hidden.v1[98] = document.form1.dpoolname.value;
|
|
//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) {
|
|
//Next page
|
|
window.location = "rzahqadvisor13.htm";
|
|
return;
|
|
} else {
|
|
//Next page
|
|
window.location = "rzahqadvisor12a.htm";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function onBack() {
|
|
if (parseInt(parent.hidden.v1[13],10) == 1) { //manual
|
|
window.location = "rzahqadvisor10.htm";
|
|
} else {
|
|
window.location = "rzahqadvisor11.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>System drive</strong>
|
|
|
|
<form name="form1">
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
textc = "<p>The system drive (Drive C) must be large enough to hold the Windows server operating system. It can be from 1024 to 1024000 MB. The advisor entered a minimum default value based on the version of Windows you are installing.<\/p>";
|
|
textc1 = "<p>The system drive (Drive C) must be large enough to hold the Windows server operating system. It can be from 1024 to 1024000. The advisor entered a recommended minimum size for the system drive.<\/p>";
|
|
|
|
//START NON-TRANSLATABLE
|
|
if (parseInt(parent.hidden.v1[13],10) == 1) { //manual
|
|
document.writeln(textc);
|
|
} else { //recommend
|
|
document.writeln(textc1);
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
////////// -->
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<p>What is the size of the system drive?</p>
|
|
|
|
<blockquote>
|
|
<label for="dsize">Size:</label>
|
|
<input type="text" name="dsize" id="dsize" size="8" maxlength="7"> MB
|
|
</blockquote>
|
|
|
|
<br>
|
|
<p>What is the disk pool that you want to contain the system 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="8" maxlength="3">
|
|
</blockquote>
|
|
<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><br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|