1165 lines
38 KiB
HTML
1165 lines
38 KiB
HTML
<!-- ENGL1SH_VERS10N 1.7 DO NOT REMOVE OR CHANGE THIS LINE -->
|
|
<!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--Results</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
//START NON-TRANSLATABLE
|
|
|
|
firstline = true;
|
|
//maxline = 78;
|
|
maxline = 73;
|
|
curline = 9; //begins with chars inswntsvr
|
|
warning = 0; //pathname
|
|
warning2 = 0; //account password
|
|
|
|
function onNext() {
|
|
//Next page
|
|
window.location="rzahqadvisor33.htm";
|
|
}
|
|
|
|
function onBack() {
|
|
window.location = "rzahqadvisor31.htm";
|
|
}
|
|
|
|
|
|
//Function for writing the command to the screen.
|
|
//This function writes a space before each parameter sent in
|
|
//Command parms should be broken into chunks whenever a spaces
|
|
//occurr and each chunk sent to this function.
|
|
function wOut(intext) {
|
|
output = new String(intext);
|
|
if (firstline == true) {
|
|
if ((output.length + curline + 1) > (maxline - 6)) {
|
|
document.writeln(" ");
|
|
document.write(output);
|
|
curline = output.length;
|
|
firstline = false;
|
|
} else {
|
|
document.write(" " + output);
|
|
curline = curline + output.length + 1;
|
|
}
|
|
} else {
|
|
if ((output.length + curline + 1) > maxline) {
|
|
document.writeln(" ");
|
|
document.write(output);
|
|
curline = output.length;
|
|
} else {
|
|
document.write(" " + output);
|
|
curline = curline + output.length + 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
//Function for writing long parameters that might exceed 73 characters (and thus span rows)
|
|
function wOutLongParm(intext) {
|
|
output = new String(intext);
|
|
endOfString = false;
|
|
if (output.length > maxline) {
|
|
warning = 1;
|
|
//break into chunks
|
|
if ((curline + 3) > maxline) { //if close to end of line
|
|
//start on new line
|
|
document.writeln(" ");
|
|
curline = 0;
|
|
} else {
|
|
document.write(" ");
|
|
curline = curline + 1;
|
|
}
|
|
begs = 0;
|
|
ends = 0;
|
|
while (endOfString == false) {
|
|
ends = (maxline - curline) + ends;
|
|
if (ends >= output.length) {
|
|
endOfString = true;
|
|
ends = output.length;
|
|
}
|
|
somePath = output.slice(begs, ends);
|
|
if (endOfString == false) {
|
|
document.writeln(somePath);
|
|
begs = ends;
|
|
curline = 0;
|
|
} else {
|
|
document.write(somePath);
|
|
curline = somePath.length;
|
|
}
|
|
}
|
|
} else {
|
|
wOut(output);
|
|
}
|
|
}
|
|
|
|
|
|
//Function for writing WNTSRCDIR
|
|
function wOutPath(intext) {
|
|
output = new String(intext);
|
|
endOfString = false;
|
|
if (output.length > maxline) {
|
|
warning = 1;
|
|
//break into chunks
|
|
if (("WNTSRCDIR('".length + curline + 3) > maxline) {
|
|
//start on new line
|
|
document.writeln(" ");
|
|
curline = 0;
|
|
} else {
|
|
document.write(" ");
|
|
curline = curline + 1;
|
|
}
|
|
begs = 0;
|
|
ends = 0;
|
|
while (endOfString == false) {
|
|
ends = (maxline - curline) + ends;
|
|
if (ends >= output.length) {
|
|
endOfString = true;
|
|
ends = output.length;
|
|
}
|
|
somePath = output.slice(begs, ends);
|
|
if (endOfString == false) {
|
|
document.writeln(somePath);
|
|
begs = ends;
|
|
curline = 0;
|
|
} else {
|
|
document.write(somePath);
|
|
curline = somePath.length;
|
|
}
|
|
}
|
|
} else {
|
|
wOut(output);
|
|
}
|
|
}
|
|
|
|
function wOutPass(intext) {
|
|
output = new String(intext);
|
|
endOfString = false;
|
|
if (output.length > maxline) {
|
|
warning2 = 1;
|
|
//break into chunks
|
|
if (curline > 70) {
|
|
//start on new line
|
|
document.writeln(" ");
|
|
curline = 0;
|
|
} else {
|
|
document.write(" ");
|
|
curline = curline + 1;
|
|
}
|
|
begs = 0;
|
|
ends = 0;
|
|
while (endOfString == false) {
|
|
ends = (maxline - curline) + ends;
|
|
if (ends >= output.length) {
|
|
endOfString = true;
|
|
ends = output.length;
|
|
}
|
|
somePath = output.slice(begs, ends);
|
|
if (endOfString == false) {
|
|
document.writeln(somePath);
|
|
begs = ends;
|
|
curline = 0;
|
|
} else {
|
|
document.write(somePath);
|
|
curline = somePath.length;
|
|
}
|
|
}
|
|
} else {
|
|
wOut(output);
|
|
}
|
|
}
|
|
|
|
|
|
function addQuotes(input) {
|
|
return(input.replace(/'/g, "''"));
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
|
|
<body>
|
|
<h2>Windows Server installation advisor</h2>
|
|
<strong>Results</strong>
|
|
<P>Now that the key properties of the server have been determined, you can proceed with
|
|
installing the Windows server on iSeries. If you will not perform the installation right away,
|
|
copy the command string shown on this page and save it until you are ready to install the server. The
|
|
data on this page is not saved if you bookmark this page and return to it later.</P>
|
|
|
|
<P>The following installation instructions contain the Install Windows Server (INSWNTSVR)
|
|
command string, which can be copied and pasted to an i5/OS emulation session. This helps to
|
|
avoid manually entering the INSWNTSVR command and all of its parameters. You may need to use
|
|
<strong>F11=Display full</strong> on the i5/OS command entry panel to get enough command entry
|
|
lines to fit the entire command.</P>
|
|
|
|
<P>Perform the following steps to install the Windows server:</P>
|
|
<p>
|
|
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- //////////
|
|
|
|
//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("#"));}
|
|
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzahqadvisor1.htm") {
|
|
window.location = "rzahqadvisor1.htm"; //load advisor frameset
|
|
} 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";
|
|
}
|
|
}
|
|
|
|
|
|
lang = new Array();
|
|
lang[1] = "2911";
|
|
lang[2] = "2922";
|
|
lang[3] = "2923";
|
|
lang[4] = "2924";
|
|
lang[5] = "2925";
|
|
lang[6] = "2926";
|
|
lang[7] = "2928";
|
|
lang[8] = "2929";
|
|
lang[9] = "2931";
|
|
lang[10] = "2932";
|
|
lang[11] = "2933";
|
|
lang[12] = "2937";
|
|
lang[13] = "2938";
|
|
lang[14] = "2939";
|
|
lang[15] = "2940";
|
|
lang[16] = "2942";
|
|
lang[17] = "2950";
|
|
lang[18] = "2962";
|
|
lang[19] = "2963";
|
|
lang[20] = "2966";
|
|
lang[21] = "2975";
|
|
lang[22] = "2976";
|
|
lang[23] = "2978";
|
|
lang[24] = "2980";
|
|
lang[25] = "2981";
|
|
lang[26] = "2984";
|
|
lang[27] = "2986";
|
|
lang[28] = "2987";
|
|
lang[29] = "2989";
|
|
lang[30] = "2994";
|
|
lang[31] = "2996";
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
var step1a = "1. Insert the Server Guide CD into the xSeries CD-ROM drive.<br><br>";
|
|
var step1b = "1. If you are installing from a CD-ROM, insert the Windows 2003 CD into the iSeries CD-ROM drive.<br><br>";
|
|
var step1c = "1. If you are installing from a CD-ROM, insert the Windows 2000 CD into the iSeries CD-ROM drive.<br><br>";
|
|
var step2 = "2. Start the Windows server install from the i5\/OS command line by running the following command:";
|
|
|
|
//START NON-TRANSLATABLE
|
|
|
|
if ((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1) { //basic install
|
|
document.writeln(step1a);
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[6],10) == 1) {
|
|
document.writeln(step1b);
|
|
} else {
|
|
document.writeln(step1c);
|
|
}
|
|
}
|
|
|
|
document.writeln(step2); //2. Start the Windows server install from the i5\/OS command line by running the following command:
|
|
document.writeln("<pre>");
|
|
|
|
document.write("INSWNTSVR"); //INSWNTSVR
|
|
|
|
//NWSD (page 2)
|
|
wOut("NWSD(" + parent.hidden.v1[1] + ")"); //
|
|
|
|
//Install type (page 5)
|
|
if ((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1) {
|
|
wOut("INSTYPE(*BASIC)");
|
|
} else {
|
|
wOut("INSTYPE(*FULL)");
|
|
}
|
|
|
|
|
|
//Service processor configuration (3A)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("SPNWSCFG(" + parent.hidden.v1[104] + ")");
|
|
}
|
|
|
|
//Service processor discovery (3B)
|
|
//Enclosure identity (3C)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
if (parseInt(parent.hidden.v1[103],10) == 0) { //new SP
|
|
if (parseInt(parent.hidden.v1[105],10) == 0) { //yes, use sp connection to determine remote system enclosure identity
|
|
wOut("ENBUNICAST(*YES)");
|
|
if (parseInt(parent.hidden.v1[106],10) == 0) { //sp host name
|
|
wOutLongParm("SPNAME('" + parent.hidden.v1[107] + "')");
|
|
} else { //sp ip
|
|
wOut("SPNAME(*SPINTNETA)");
|
|
wOut("SPINTNETA('" + parent.hidden.v1[107] + "')");
|
|
}
|
|
wOut("EID(*AUTO)");
|
|
|
|
} else { //no, do not use sp connection to determine remote system enclosure identity
|
|
wOut("ENBUNICAST(*NO)");
|
|
|
|
if (!isEmpty(parent.hidden.v1[109])) {
|
|
wOut("EID('" + parent.hidden.v1[108] + "'");
|
|
wOut("'" + parent.hidden.v1[109] + "')");
|
|
} else {
|
|
wOut("EID('" + parent.hidden.v1[108] + "')");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
//Service processor security (3D, 3E)
|
|
//Service processor authentication (3F)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
if (parseInt(parent.hidden.v1[103],10) == 0) { //new SP
|
|
|
|
switch (parseInt(parent.hidden.v1[110],10)) {
|
|
case 0: //do not use
|
|
wOut("INZSP(*NONE)");
|
|
break;
|
|
case 1: //automatically set up user and certificate
|
|
wOut("INZSP(*AUTO)");
|
|
break;
|
|
case 2: //manually set up user and certificate
|
|
wOut("INZSP(*MANUAL)");
|
|
switch(parseInt(parent.hidden.v1[111],10)) {
|
|
case 0: //common name
|
|
wOut("SPCERTID(*COMMONNAME");
|
|
wOutLongParm("'" + parent.hidden.v1[112] + "')");
|
|
break;
|
|
case 1: //e-mail
|
|
wOut("SPCERTID(*EMAIL");
|
|
wOutLongParm("'" + parent.hidden.v1[112] + "')");
|
|
break;
|
|
case 2: //org unit
|
|
wOut("SPCERTID(*ORGUNIT");
|
|
wOutLongParm("'" + parent.hidden.v1[112] + "')");
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
if (parseInt(parent.hidden.v1[110],10) != 0) {
|
|
switch (parseInt(parent.hidden.v1[114],10)) {
|
|
case 1: //use user and password
|
|
wOut("SPAUT('" + parent.hidden.v1[115] + "'");
|
|
wOut("'" + parent.hidden.v1[116] + "')");
|
|
break;
|
|
case 2: //use user and password
|
|
wOut("SPAUT(*DFT)");
|
|
break;
|
|
}
|
|
}
|
|
|
|
} else { //used SP
|
|
switch (parseInt(parent.hidden.v1[113],10)) {
|
|
case 0: //do not use
|
|
wOut("INZSP(*NONE)");
|
|
break;
|
|
case 1: //Synchronize
|
|
wOut("INZSP(*SYNC)");
|
|
switch (parseInt(parent.hidden.v1[114],10)) {
|
|
case 1: //use user and password
|
|
wOut("SPAUT('" + parent.hidden.v1[115] + "'");
|
|
wOut("'" + parent.hidden.v1[116] + "')");
|
|
break;
|
|
case 2: //use user and password
|
|
wOut("SPAUT(*DFT)");
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
//Remote system configuration (3G)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("RMTNWSCFG(" + parent.hidden.v1[118] + ")");
|
|
}
|
|
|
|
//Remote system identity (3H)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
if (parseInt(parent.hidden.v1[117],10) == 0) { //new rs config
|
|
switch (parseInt(parent.hidden.v1[119],10)) {
|
|
case 0: //enclosure id
|
|
wOut("RMTSYSID(*EID)");
|
|
break;
|
|
case 1: //use sernum and mantype
|
|
if (!isEmpty(parent.hidden.v1[121])) {
|
|
wOut("RMTSYSID('" + parent.hidden.v1[120] + "'");
|
|
wOut("'" + parent.hidden.v1[121] + "')");
|
|
} else {
|
|
wOut("RMTSYSID('" + parent.hidden.v1[120] + "')");
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
//Boot parameter delivery method (3J)
|
|
//Boot device (3K)
|
|
var bootparmvendor = "*DFT";
|
|
var bootparmclient = "*ADPT";
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
if (parseInt(parent.hidden.v1[117],10) == 0) { //new rs config
|
|
switch (parseInt(parent.hidden.v1[122],10)) {
|
|
case 0: //dynamically deliver the boot parms
|
|
wOut("DELIVERY(*DYNAMIC)");
|
|
if (parent.hidden.v1[123] != "Default")
|
|
bootparmvendor = "'" + parent.hidden.v1[123] + "'";
|
|
if (parent.hidden.v1[124] != "Adapter")
|
|
bootparmclient = "'" + parent.hidden.v1[124] + "'";
|
|
wOut("DYNBOOTOPT(" + bootparmvendor);
|
|
wOut(bootparmclient + ")");
|
|
switch (parseInt(parent.hidden.v1[125],10)) {
|
|
case 0: //one iscsi
|
|
wOut("BOOTDEVID(*SINGLE)");
|
|
break;
|
|
case 1: //more than one iscsi
|
|
wOut("BOOTDEVID(" + parent.hidden.v1[126]);
|
|
wOut(parent.hidden.v1[127]);
|
|
wOut(parent.hidden.v1[128] + ")");
|
|
break;
|
|
}
|
|
break;
|
|
case 1: //manually deliver
|
|
wOut("DELIVERY(*MANUAL)");
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
//CHAP authentication (3M)
|
|
var chapname = "";
|
|
var chapsecret = "*GEN";
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
if (parseInt(parent.hidden.v1[117],10) == 0) { //new rs config
|
|
switch (parseInt(parent.hidden.v1[129],10)) {
|
|
case 0: //use chap
|
|
if (parseInt(parent.hidden.v1[130],10) == 0)
|
|
chapname = "'" + parent.hidden.v1[118] + "'"; //remote sys config name
|
|
else
|
|
chapname = "'" + parent.hidden.v1[131] + "'"; //chap name
|
|
if (parseInt(parent.hidden.v1[132],10) == 1)
|
|
chapsecret = "'" + parent.hidden.v1[133] + "'"; //chap name
|
|
wOut("CHAPAUT(" + chapname);
|
|
wOut(chapsecret + ")");
|
|
break;
|
|
case 1: //do not use chap
|
|
wOut("CHAPAUT(*NONE)");
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
//Remote SCSI interface (3N)
|
|
//Remote LAN interface (3P)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
if (parseInt(parent.hidden.v1[117],10) == 0) { //new rs config
|
|
wOut("RMTIFC((" + parent.hidden.v1[134]);
|
|
wOut("'" + parent.hidden.v1[135] + "'");
|
|
wOut("'" + parent.hidden.v1[136] + "'");
|
|
|
|
var tempString = "";
|
|
if (!isEmpty(parent.hidden.v1[137]))
|
|
wOut("'" + parent.hidden.v1[137] + "'");
|
|
else
|
|
wOut("*N");
|
|
|
|
if (parseInt(parent.hidden.v1[138],10) == 0)
|
|
wOut("*GEN)");
|
|
else
|
|
wOutLongParm("'" + parent.hidden.v1[139] + "')");
|
|
wOut("(" + parent.hidden.v1[140]);
|
|
wOut("'" + parent.hidden.v1[141] + "'");
|
|
if (!isEmpty(parent.hidden.v1[143])) {
|
|
wOut("'" + parent.hidden.v1[142] + "'");
|
|
wOut("'" + parent.hidden.v1[143] + "'))");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[142] + "'))");
|
|
}
|
|
//wOutLongParm(tempString);
|
|
}
|
|
}
|
|
|
|
|
|
//Storage path (page 13a)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("STGPTH(" + parent.hidden.v1[144] + ")");
|
|
}
|
|
|
|
//Connection security configuration (page 13b)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
switch (parseInt(parent.hidden.v1[145],10)) {
|
|
case 0: //create new config
|
|
wOut("CNNNWSCFG(" + parent.hidden.v1[146] + ")");
|
|
wOut("IPSECRULE(*DFTSECRULE)");
|
|
switch (parseInt(parent.hidden.v1[147],10)) {
|
|
case 0: //no ip security
|
|
wOut("DFTSECRULE(*NONE)");
|
|
break;
|
|
case 1: //generate pre-shared key once
|
|
wOut("DFTSECRULE(*GEN)");
|
|
break;
|
|
case 2: //use key
|
|
wOut("DFTSECRULE('" + parent.hidden.v1[148] + "')");
|
|
break;
|
|
}
|
|
break;
|
|
case 1: //use existing config
|
|
wOut("CNNNWSCFG(" + parent.hidden.v1[150] + ")");
|
|
switch (parseInt(parent.hidden.v1[149],10)) {
|
|
case 0: //no ip security
|
|
wOut("IPSECRULE(*NONE)");
|
|
break;
|
|
case 1: //rule number
|
|
wOut("IPSECRULE(" + parent.hidden.v1[151] + ")");
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
|
|
//Activation timer (page 13c)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("ACTTMR(" + parent.hidden.v1[152] + ")");
|
|
}
|
|
|
|
//Shutdown TCP port (page 13_5a)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("SHUTDPORT(" + parent.hidden.v1[153] + ")");
|
|
}
|
|
|
|
//VE control port (page 13_5b)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("VRTETHCTLP(" + parent.hidden.v1[154] + ")");
|
|
}
|
|
|
|
//iSCSI communications message queue (page 15a)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
switch (parseInt(parent.hidden.v1[155],10)) {
|
|
case 0: //sysopr queue
|
|
wOut("CMNMSGQ(*SYSOPR)");
|
|
break;
|
|
case 1: //comm queue
|
|
switch (parseInt(parent.hidden.v1[157],10)) {
|
|
case 0: //lib list
|
|
wOut("CMNMSGQ(*LIBL/" + parent.hidden.v1[156] + ")");
|
|
break;
|
|
case 1: //current library
|
|
wOut("CMNMSGQ(*CURLIB/" + parent.hidden.v1[156] + ")");
|
|
break;
|
|
case 2: //other lib
|
|
wOut("CMNMSGQ(" + parent.hidden.v1[158] + "\/" + parent.hidden.v1[156] + ")");
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
//Resource name (page 4)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("RSRCNAME(*ISCSI)");
|
|
} else {
|
|
wOut("RSRCNAME(" + parent.hidden.v1[4] + ")");
|
|
}
|
|
|
|
//Windows version (page 6)
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
wOut("WNTVER(*WIN2003)");
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[6],10) == 1) {
|
|
wOut("WNTVER(*WIN2003)");
|
|
} else {
|
|
wOut("WNTVER(*WIN2000)");
|
|
}
|
|
}
|
|
|
|
|
|
//Windows source directory (page 9)
|
|
//full install only
|
|
if (!((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1)) {
|
|
if (parseInt(parent.hidden.v1[11],10) == 2) {
|
|
wOutPath("WNTSRCDIR('" + addQuotes(parent.hidden.v1[12]) + "')");
|
|
}
|
|
}
|
|
|
|
//TCPIP port config (page 26)
|
|
if ((!isEmpty(parent.hidden.v1[57]) || !isEmpty(parent.hidden.v1[60]) || !isEmpty(parent.hidden.v1[63]) || !isEmpty(parent.hidden.v1[66])) && !(parent.hidden.v1[3] == "2689") && !(parent.hidden.v1[3] == "iSCSI")) {
|
|
tcpCount = 0;
|
|
if (!isEmpty(parent.hidden.v1[57])) {
|
|
wOut("TCPPORTCFG((" + 1)
|
|
wOut("'" + parent.hidden.v1[57] + "'");
|
|
if (!isEmpty(parent.hidden.v1[59])) {
|
|
wOut("'" + parent.hidden.v1[58] + "'");
|
|
if (!isEmpty(parent.hidden.v1[66]) || !isEmpty(parent.hidden.v1[63]) || !isEmpty(parent.hidden.v1[60])) {
|
|
wOut("'" + parent.hidden.v1[59] + "')");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[59] + "'))");
|
|
}
|
|
} else {
|
|
if (!isEmpty(parent.hidden.v1[66]) || !isEmpty(parent.hidden.v1[63]) || !isEmpty(parent.hidden.v1[60])) {
|
|
wOut("'" + parent.hidden.v1[58] + "')");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[58] + "'))");
|
|
}
|
|
}
|
|
tcpCount = tcpCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[60])) {
|
|
if (tcpCount > 0) {
|
|
wOut("(" + 2);
|
|
} else {
|
|
wOut("TCPPORTCFG((" + 2);
|
|
}
|
|
wOut("'" + parent.hidden.v1[60] + "'");
|
|
if (!isEmpty(parent.hidden.v1[62])) {
|
|
wOut("'" + parent.hidden.v1[61] + "'");
|
|
if (!isEmpty(parent.hidden.v1[66]) || !isEmpty(parent.hidden.v1[63])) {
|
|
wOut("'" + parent.hidden.v1[62] + "')");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[62] + "'))");
|
|
}
|
|
} else {
|
|
if (!isEmpty(parent.hidden.v1[66]) || !isEmpty(parent.hidden.v1[63])) {
|
|
wOut("'" + parent.hidden.v1[61] + "')");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[61] + "'))");
|
|
}
|
|
}
|
|
tcpCount = tcpCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[63])) {
|
|
if (tcpCount > 0) {
|
|
wOut("(" + 3);
|
|
} else {
|
|
wOut("TCPPORTCFG((" + 3);
|
|
}
|
|
wOut("'" + parent.hidden.v1[63] + "'");
|
|
if (!isEmpty(parent.hidden.v1[65])) {
|
|
wOut("'" + parent.hidden.v1[64] + "'");
|
|
if (!isEmpty(parent.hidden.v1[66])) {
|
|
wOut("'" + parent.hidden.v1[65] + "')");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[65] + "'))");
|
|
}
|
|
} else {
|
|
if (!isEmpty(parent.hidden.v1[66])) {
|
|
wOut("'" + parent.hidden.v1[64] + "')");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[64] + "'))");
|
|
}
|
|
}
|
|
tcpCount = tcpCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[66])) {
|
|
if (tcpCount > 0) {
|
|
wOut("(" + 4);
|
|
} else {
|
|
wOut("TCPPORTCFG((" + 4);
|
|
}
|
|
wOut("'" + parent.hidden.v1[66] + "'");
|
|
if (!isEmpty(parent.hidden.v1[68])) {
|
|
wOut("'" + parent.hidden.v1[67] + "'");
|
|
wOut("'" + parent.hidden.v1[68] + "'))");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[67] + "'))");
|
|
}
|
|
tcpCount = tcpCount + 1;
|
|
}
|
|
}
|
|
|
|
//Virtual ethernet ports (page 29)
|
|
if (!isEmpty(parent.hidden.v1[75]) || !isEmpty(parent.hidden.v1[78]) || !isEmpty(parent.hidden.v1[81]) || !isEmpty(parent.hidden.v1[84])) {
|
|
virCount = 0;
|
|
if (!isEmpty(parent.hidden.v1[75])) {
|
|
wOut("VRTETHPORT((*VRTETH" + parent.hidden.v1[75]);
|
|
wOut("'" + parent.hidden.v1[76] + "'");
|
|
wOut("'" + parent.hidden.v1[77] + "'");
|
|
if (!isEmpty(parent.hidden.v1[99])) { // if associated port name exists, output it here
|
|
wOut(parent.hidden.v1[99]);
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[81]) || !isEmpty(parent.hidden.v1[84]) || !isEmpty(parent.hidden.v1[78])) {
|
|
wOut(")");
|
|
} else {
|
|
wOut("))");
|
|
}
|
|
virCount = virCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[78])) {
|
|
if (virCount > 0) {
|
|
wOut("(*VRTETH" + parent.hidden.v1[78]);
|
|
} else {
|
|
wOut("VRTETHPORT((*VRTETH" + parent.hidden.v1[78]);
|
|
}
|
|
wOut("'" + parent.hidden.v1[79] + "'");
|
|
wOut("'" + parent.hidden.v1[80] + "'");
|
|
if (!isEmpty(parent.hidden.v1[100])) { // if associated port name exists, output it here
|
|
wOut(parent.hidden.v1[100]);
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[81]) || !isEmpty(parent.hidden.v1[84])) {
|
|
wOut(")");
|
|
} else {
|
|
wOut("))");
|
|
}
|
|
virCount = virCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[81])) {
|
|
if (virCount > 0) {
|
|
wOut("(*VRTETH" + parent.hidden.v1[81]);
|
|
} else {
|
|
wOut("VRTETHPORT((*VRTETH" + parent.hidden.v1[81]);
|
|
}
|
|
wOut("'" + parent.hidden.v1[82] + "'");
|
|
wOut("'" + parent.hidden.v1[83] + "'");
|
|
if (!isEmpty(parent.hidden.v1[101])) { // if associated port name exists, output it here
|
|
wOut(parent.hidden.v1[101]);
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[84])) {
|
|
wOut(")");
|
|
} else {
|
|
wOut("))");
|
|
}
|
|
virCount = virCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[84])) {
|
|
if (virCount > 0) {
|
|
wOut("(*VRTETH" + parent.hidden.v1[84]);
|
|
} else {
|
|
wOut("VRTETHPORT((*VRTETH" + parent.hidden.v1[84]);
|
|
}
|
|
wOut("'" + parent.hidden.v1[85] + "'");
|
|
wOut("'" + parent.hidden.v1[86] + "'");
|
|
if (!isEmpty(parent.hidden.v1[101])) { // if associated port name exists, output it here
|
|
wOut(parent.hidden.v1[101]);
|
|
}
|
|
wOut("))");
|
|
}
|
|
}
|
|
|
|
//Point to point virtual ethernet LAN between Windows and i5/OS - NWSH name (page 25)
|
|
//Configure virtual ethernet port - NWSH name (page 29)
|
|
//iSCSI only
|
|
var vrtethstring = "";
|
|
if (parent.hidden.v1[3] == "iSCSI") {
|
|
if (isEmpty(parent.hidden.v1[75]) && isEmpty(parent.hidden.v1[78]) && isEmpty(parent.hidden.v1[81]) && isEmpty(parent.hidden.v1[84])) {
|
|
wOut("VRTETHPTH((*VRTETHPTP " + parent.hidden.v1[159] + "))");
|
|
} else {
|
|
wOut("VRTETHPTH((*VRTETHPTP " + parent.hidden.v1[159] + ")");
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[75])){
|
|
wOut("(*VRTETH" + parent.hidden.v1[75]);
|
|
if (isEmpty(parent.hidden.v1[78]) && isEmpty(parent.hidden.v1[81]) && isEmpty(parent.hidden.v1[84])) {
|
|
wOut(parent.hidden.v1[160] + "))");
|
|
} else {
|
|
wOut(parent.hidden.v1[160] + ")");
|
|
}
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[78])) {
|
|
wOut("(*VRTETH" + parent.hidden.v1[78]);
|
|
if (isEmpty(parent.hidden.v1[81]) && isEmpty(parent.hidden.v1[84])) {
|
|
wOut(parent.hidden.v1[161] + "))");
|
|
} else {
|
|
wOut(parent.hidden.v1[161] + ")");
|
|
}
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[81])) {
|
|
wOut("(*VRTETH" + parent.hidden.v1[81]);
|
|
if (isEmpty(parent.hidden.v1[84])) {
|
|
wOut(parent.hidden.v1[162] + "))");
|
|
} else {
|
|
wOut(parent.hidden.v1[162] + ")");
|
|
}
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[84])) {
|
|
wOut("(*VRTETH" + parent.hidden.v1[84]);
|
|
wOut(parent.hidden.v1[163] + "))");
|
|
}
|
|
}
|
|
|
|
//TCPIP local domain name (page 24)
|
|
//full install only
|
|
if (!((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1)) {
|
|
if (parseInt(parent.hidden.v1[52],10) == 2) {
|
|
wOut("TCPDMNNAME('" + addQuotes(parent.hidden.v1[53]) + "')");
|
|
}
|
|
}
|
|
|
|
|
|
//TCPIP name server (page 27)
|
|
//full install only
|
|
if (!((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1)) {
|
|
if (parseInt(parent.hidden.v1[69],10) == 2) {
|
|
nameCount = 0;
|
|
if (!isEmpty(parent.hidden.v1[70])) {
|
|
if (!isEmpty(parent.hidden.v1[71]) || !isEmpty(parent.hidden.v1[72])) {
|
|
wOut("TCPNAMSVR('" + parent.hidden.v1[70] + "'");
|
|
} else {
|
|
wOut("TCPNAMSVR('" + parent.hidden.v1[70] + "')");
|
|
}
|
|
nameCount = nameCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[71])) {
|
|
if (nameCount > 0) {
|
|
if (!isEmpty(parent.hidden.v1[72])) {
|
|
wOut("'" + parent.hidden.v1[71] + "'");
|
|
} else {
|
|
wOut("'" + parent.hidden.v1[71] + "')");
|
|
}
|
|
} else {
|
|
if (!isEmpty(parent.hidden.v1[72])) {
|
|
wOut("TCPNAMSVR('" + parent.hidden.v1[71] + "'");
|
|
} else {
|
|
wOut("TCPNAMSVR('" + parent.hidden.v1[71] + "')");
|
|
}
|
|
}
|
|
nameCount = nameCount + 1;
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[72])) {
|
|
if (nameCount > 0) {
|
|
wOut("'" + parent.hidden.v1[72] + "')");
|
|
} else {
|
|
wOut("TCPNAMSVR('" + parent.hidden.v1[72] + "')");
|
|
}
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[69],10) == 3) {
|
|
wOut("TCPNAMSVR(*NONE)");
|
|
}
|
|
}
|
|
}
|
|
|
|
//Message Logging (page 14)
|
|
if (parseInt(parent.hidden.v1[20],10) == 2) {
|
|
wOut("MSGQ(*NONE)");
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[20],10) == 3) {
|
|
if (parseInt(parent.hidden.v1[22],10) == 1) {
|
|
wOut("MSGQ(*LIBL\/" + parent.hidden.v1[21] + ")");
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[22],10) == 2) {
|
|
wOut("MSGQ(*CURLIB\/" + parent.hidden.v1[21] + ")");
|
|
} else {
|
|
wOut("MSGQ(" + parent.hidden.v1[23] + "\/" + parent.hidden.v1[21] + ")");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
//Event log (page 15)
|
|
if (!(parseInt(parent.hidden.v1[24],10) == 1 && parseInt(parent.hidden.v1[25],10) == 1 && parseInt(parent.hidden.v1[26],10) == 1)) {
|
|
if (parseInt(parent.hidden.v1[24],10) != 1 && parseInt(parent.hidden.v1[25],10) != 1 && parseInt(parent.hidden.v1[26],10) != 1) {
|
|
wOut("EVTLOG(*NONE)");
|
|
} else {
|
|
evCount = 0;
|
|
if (parseInt(parent.hidden.v1[24],10) == 1) {
|
|
if (parseInt(parent.hidden.v1[25],10) == 1 || parseInt(parent.hidden.v1[26],10) == 1) {
|
|
wOut("EVTLOG(*SYS");
|
|
} else {
|
|
wOut("EVTLOG(*SYS)");
|
|
}
|
|
evCount = evCount + 1;
|
|
}
|
|
if (parseInt(parent.hidden.v1[25],10) == 1) {
|
|
if (evCount > 0) {
|
|
if (parseInt(parent.hidden.v1[26],10) == 1) {
|
|
wOut("*SEC");
|
|
} else {
|
|
wOut("*SEC)");
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[26],10) == 1) {
|
|
wOut("EVTLOG(*SEC");
|
|
} else {
|
|
wOut("EVTLOG(*SEC)");
|
|
}
|
|
}
|
|
evCount = evCount + 1;
|
|
}
|
|
if (parseInt(parent.hidden.v1[26],10) == 1) {
|
|
if (evCount > 0) {
|
|
wOut("*APP)");
|
|
} else {
|
|
wOut("EVTLOG(*APP)");
|
|
}
|
|
}
|
|
}
|
|
} else { //log all
|
|
wOut("EVTLOG(*ALL)");
|
|
}
|
|
|
|
//source and system drive size (pages 12 and 13)
|
|
wOut("SVRSTGSIZE(" + parent.hidden.v1[18]);
|
|
wOut(parent.hidden.v1[16] + ")");
|
|
|
|
//source and system disk pool (page 13)
|
|
wOut("SVRSTGASP(" + parent.hidden.v1[19]);
|
|
wOut(parent.hidden.v1[17] + ")");
|
|
|
|
//source and system disk pool names (pages 12 and 13)
|
|
if ((!isEmpty(parent.hidden.v1[97])) && (!isEmpty(parent.hidden.v1[98]))) {
|
|
wOut("STGASPDEV(" + parent.hidden.v1[97]);
|
|
wOut(parent.hidden.v1[98] + ")");
|
|
}
|
|
if ((!isEmpty(parent.hidden.v1[97])) && (isEmpty(parent.hidden.v1[98]))) {
|
|
wOut("STGASPDEV(" + parent.hidden.v1[97] + " *N)");
|
|
}
|
|
if ((isEmpty(parent.hidden.v1[97])) && (!isEmpty(parent.hidden.v1[98]))) {
|
|
wOut("STGASPDEV(*N " + parent.hidden.v1[98] +")");
|
|
}
|
|
|
|
//convert to ntfs (page 12a)
|
|
//full install only
|
|
if (! ( (parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1)) {
|
|
if (parseInt(parent.hidden.v1[95],10) == 1) {
|
|
wOut("CVTNTFS(*YES)");
|
|
}
|
|
}
|
|
|
|
//server domain name (page 23)
|
|
//full install only
|
|
if (!((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1)) {
|
|
if (parseInt(parent.hidden.v1[50],10) == 2) {//workgroup
|
|
wOut("TOWRKGRP('" + addQuotes(parent.hidden.v1[51]) + "')");
|
|
}
|
|
if (parseInt(parent.hidden.v1[50],10) == 1) {//domain
|
|
wOut("TODMN('" + addQuotes(parent.hidden.v1[51]) + "')");
|
|
}
|
|
}
|
|
|
|
//Windows server license (page 19)
|
|
//full install only
|
|
if (!((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1)) {
|
|
if (!isEmpty(parent.hidden.v1[44])) { //FULNAM
|
|
wOut("FULNAM('" + addQuotes(parent.hidden.v1[44]) + "')");
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[45])) { //ORG
|
|
wOut("ORG('" + addQuotes(parent.hidden.v1[45]) + "')");
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[43])) { //WNTLICKEY
|
|
wOut("WNTLICKEY('" + addQuotes(parent.hidden.v1[43]) + "')");
|
|
}
|
|
}
|
|
|
|
//Language version (page 7)
|
|
if (parseInt(parent.hidden.v1[7],10) == 2) {
|
|
wOut("LNGVER(" + lang[parseInt(parent.hidden.v1[8],10)] + ")");
|
|
}
|
|
|
|
//synch time (page 16)
|
|
if (parseInt(parent.hidden.v1[27],10) != 1) {
|
|
wOut("SYNCTIME(*NO)");
|
|
}
|
|
|
|
//prop users (page 17)
|
|
if (parseInt(parent.hidden.v1[28],10) != 1) {
|
|
wOut("PRPDMNUSR(*NO)");
|
|
}
|
|
|
|
//Client license and terminal services (pages 20 and 21)
|
|
//full install only
|
|
if (!((parent.hidden.v1[3] == "2689" || parent.hidden.v1[3] == "iSCSI") && parseInt(parent.hidden.v1[5],10) == 1)) {
|
|
if (!(parseInt(parent.hidden.v1[46],10) == 1 && parseInt(parent.hidden.v1[48],10) == 1)) { //not default
|
|
if (parseInt(parent.hidden.v1[46],10) == 2) {
|
|
wOut("LICMODE(*PERSERVER");
|
|
wOut(parent.hidden.v1[47]);
|
|
} else {
|
|
wOut("LICMODE(*PERSEAT");
|
|
wOut("*NONE");
|
|
}
|
|
if (parseInt(parent.hidden.v1[6],10) == 1) { //2003
|
|
if (parseInt(parent.hidden.v1[48],10) == 1) {
|
|
wOut("*NONE)");
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[46],10) == 2) {
|
|
//if gone down the server path
|
|
if (parseInt(parent.hidden.v1[48],10) == 2) {
|
|
wOut("*PERDEVICE)");
|
|
} else {
|
|
wOut("*PERSESSION)");
|
|
}
|
|
} else {
|
|
//if gone down the client comp. path
|
|
if (parseInt(parent.hidden.v1[48],10) == 2) {
|
|
wOut("*PERDEVICE)");
|
|
} else {
|
|
wOut("*PERUSER)");
|
|
}
|
|
}
|
|
}
|
|
} else { //2000
|
|
if (parseInt(parent.hidden.v1[48],10) == 1) {
|
|
wOut("*NONE)");
|
|
} else {
|
|
wOut("*TSENABLE)");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//Restricted devices (page 18)
|
|
resCount = 0;
|
|
if (parseInt(parent.hidden.v1[29],10) == 1) { //none
|
|
wOut("RSTDDEVRSC(*NONE)");
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[30],10) == 1 && parseInt(parent.hidden.v1[31],10) == 1) { //all
|
|
wOut("RSTDDEVRSC(*ALL)");
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[30],10) == 1) {
|
|
if (parseInt(parent.hidden.v1[32],10) == 1) {
|
|
wOut("RSTDDEVRSC(*ALLTAPE");
|
|
} else {
|
|
wOut("RSTDDEVRSC(*ALLTAPE)");
|
|
}
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[31],10) == 1) {
|
|
if (parseInt(parent.hidden.v1[32],10) == 1) {
|
|
wOut("RSTDDEVRSC(*AllOPT");
|
|
} else {
|
|
wOut("RSTDDEVRSC(*AllOPT)");
|
|
}
|
|
}
|
|
}
|
|
if (parseInt(parent.hidden.v1[32],10) == 1) {
|
|
if (parseInt(parent.hidden.v1[30],10) == 1 || parseInt(parent.hidden.v1[31],10) == 1) {
|
|
if (isEmpty(parent.hidden.v1[34])) {
|
|
wOut(parent.hidden.v1[33] + ")");
|
|
} else {
|
|
wOut(parent.hidden.v1[33]);
|
|
}
|
|
} else {
|
|
if (isEmpty(parent.hidden.v1[34])) {
|
|
wOut("RSTDDEVRSC(" + parent.hidden.v1[33] + ")");
|
|
} else {
|
|
wOut("RSTDDEVRSC(" + parent.hidden.v1[33]);
|
|
}
|
|
}
|
|
for (var r=34; r < 42; r++) {
|
|
if (!isEmpty(parent.hidden.v1[r])) {
|
|
if (!isEmpty(parent.hidden.v1[r+1])) {
|
|
wOut(parent.hidden.v1[r]);
|
|
} else {
|
|
wOut(parent.hidden.v1[r] + ")");
|
|
}
|
|
}
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[42])) { wOut(parent.hidden.v1[42] + ")"); }
|
|
}
|
|
}
|
|
}
|
|
|
|
//NWSD description (page 2)
|
|
if (!isEmpty(parent.hidden.v1[2])) {
|
|
wOut("TEXT('" + addQuotes(parent.hidden.v1[2]) + "')");
|
|
}
|
|
|
|
//keyboard layout (page 8)
|
|
if (parseInt(parent.hidden.v1[9],10) == 2) {
|
|
wOut("KBDTYPE(" + parent.hidden.v1[10] + ")");
|
|
}
|
|
|
|
//server shutdown timeout (page 13_5)
|
|
if (!(isEmpty(parent.hidden.v1[96])) && (parent.hidden.v1[96] != 15)) {
|
|
wOut("SHUTDTIMO(" + parent.hidden.v1[96] + ")");
|
|
}
|
|
|
|
//cluster name (pages 28 and 30)
|
|
if (parseInt(parent.hidden.v1[73],10) == 2) {
|
|
wOut("CLU(" + parent.hidden.v1[74] + ")");
|
|
} else {
|
|
if (parseInt(parent.hidden.v1[73],10) == 3) {
|
|
wOut("CLU(" + parent.hidden.v1[87] + ")");
|
|
}
|
|
}
|
|
|
|
//new cluster info (page 30)
|
|
if (parseInt(parent.hidden.v1[73],10) == 3) {
|
|
wOut("CLUCFG(" + parent.hidden.v1[88]); // cluster domain name
|
|
wOut(parent.hidden.v1[93]); // cluster quorum resource size
|
|
wOut(parent.hidden.v1[89]); // quorum resource ASP
|
|
if (!isEmpty(parent.hidden.v1[94])) { // if quorum resource ASP name exists, output that, otherwise output *N
|
|
wOut(parent.hidden.v1[94]);
|
|
} else {
|
|
wOut("*N");
|
|
}
|
|
wOut("*VRTETH" + parseInt(parent.hidden.v1[90],10)); // cluster connection port
|
|
wOut("'" + parent.hidden.v1[91] + "'"); // cluster inet address
|
|
wOut("'" + parent.hidden.v1[92] + "')"); // cluster subnet mask
|
|
}
|
|
|
|
//Point to point virtual ethernet LAN between Windows and i5/OS (page 25)
|
|
if (parseInt(parent.hidden.v1[54],10) == 2) {
|
|
wOut("VRTPTPPORT('" + parent.hidden.v1[56] + "'");
|
|
wOut("'" + parent.hidden.v1[55] + "')");
|
|
}
|
|
document.writeln("<\/pre>");
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
var warningText1 = "<br><strong>Warning:<\/strong> The Windows source directory and account password contains values that will not fit on one row. ";
|
|
warningText1 += "The advisor split these values across multiple rows in the command string. ";
|
|
warningText1 += "When you paste this command on the i5\/OS command entry panel, ensure that there are no extra spaces in the values. ";
|
|
warningText1 += "Lines that end with these values must not contain spaces at the end, while lines that begin with these value must not begin with spaces.";
|
|
|
|
var warningText2 = "<br><strong>Warning:<\/strong> The Windows source directory contains a value that will not fit on one row. ";
|
|
warningText2 += "The advisor split this value across two or more more rows in the command string. ";
|
|
warningText2 += "When you paste this command on the i5\/OS command entry panel, ensure that there are no extra spaces in the value. ";
|
|
warningText2 += "Lines that end with this value must not contain spaces at the end, while lines that begin with this value must not begin with spaces.";
|
|
|
|
var warningText3 = "<br><strong>Warning:<\/strong> The account password contains a value that will not fit on one row. ";
|
|
warningText3 += "The advisor split this value across two or more more rows in the command string. ";
|
|
warningText3 += "When you paste this command on the i5\/OS command entry panel, ensure that there are no extra spaces in the value. ";
|
|
warningText3 += "Lines that end with this value must not contain spaces at the end, while lines that begin with this value must not begin with spaces.";
|
|
|
|
//START NON-TRANSLATABLE
|
|
|
|
if (warning == 1 && warning2 == 1) {//pathname and password
|
|
document.writeln(warningText1)
|
|
} else {
|
|
if (warning == 1 && warning2 == 0) { //pathname
|
|
document.writeln(warningText2)
|
|
} else {
|
|
if (warning == 0 && warning2 == 1) {//password
|
|
document.writeln(warningText3)
|
|
}
|
|
}
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
|
|
<BR>
|
|
<BR>
|
|
<form name="form1">
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|