134 lines
4.8 KiB
HTML
134 lines
4.8 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--Windows cluster</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess = "The cluster name is not in a valid format. The first character must be a letter (A-Z), dollar sign ($), pound sign (#), or 'at' sign (@). The remaining characters can contain these characters as well as digits (0-9), underscores (_), and periods (.).";
|
|
var errMess2 = "Enter the name of an existing cluster or select a different option.";
|
|
|
|
//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[73])) {
|
|
if (parseInt(parent.hidden.v1[73]) == 2) {
|
|
document.form1.rad[1].checked = true;
|
|
if (!isEmpty(parent.hidden.v1[74])) {
|
|
document.form1.exist.value = parent.hidden.v1[74];
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[73]) == 3) {
|
|
document.form1.exist.value = "";
|
|
document.form1.rad[2].checked = true;
|
|
}
|
|
if (parseInt(parent.hidden.v1[73]) == 1) {
|
|
document.form1.rad[0].checked = true;
|
|
document.form1.exist.value = "";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function onNext() {
|
|
//Save data
|
|
if (document.form1.rad[0].checked == true) {
|
|
parent.hidden.v1[73] = "1";
|
|
parent.hidden.v1[74] = "";
|
|
} else {
|
|
if (document.form1.rad[2].checked == true ) {
|
|
parent.hidden.v1[73] = "3";
|
|
parent.hidden.v1[74] = "";
|
|
} else {
|
|
//Check cluster name
|
|
if (!isEmpty(document.form1.exist.value)) {
|
|
parent.hidden.v1[73] = "2";
|
|
if (isValidName(document.form1.exist.value) == false) {
|
|
alert(errMess);
|
|
return;
|
|
} else {
|
|
parent.hidden.v1[74] = document.form1.exist.value;
|
|
}
|
|
} else {
|
|
alert(errMess2);
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
//Next page
|
|
window.location = "rzahqadvisor29.htm";
|
|
}
|
|
|
|
function onBack() {
|
|
if (parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") { //hardware type is 2689 or iSCSI
|
|
window.location = "rzahqadvisor25.htm";
|
|
} else {
|
|
window.location = "rzahqadvisor26.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>Windows cluster</strong>
|
|
<p>Do you want this server to become part of a Windows cluster?</p>
|
|
<form name="form1">
|
|
<blockquote>
|
|
<input type="radio" name="rad" value="nocluster" id="none" checked>
|
|
<td><label for="none">Do not use clustering</label>
|
|
<br>
|
|
<br>
|
|
<input type="radio" name="rad" value="join" id="join">
|
|
<label for="join">Join existing cluster: </label>
|
|
<INPUT type="text" size="20" maxlength="10" name="exist" id="join" onKeyPress="selectRadio(1)">
|
|
<br>
|
|
<br>
|
|
<input type="radio" name="rad" value="create" id="create">
|
|
<label for="create">Create a new cluster</label>
|
|
</blockquote>
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|