The default location is C:\windows\
inf\sysoc.inf .
??‘ The /u parameter is the full path to the unattend file that has the components to be installed.
??‘ The /q switch runs the unattended install without a user interface. The /u switch must be
specified to use the /q switch.
??‘ The /w switch prompts before a reboot. The /u switch must be specified to use the /w switch.
??‘ The /r switch suppresses a reboot.
For example, first create the Answerfile.inf file with the following lines:
[components]
complusnetwork=on
iss_commmon=on
iis_www=on
iis_inetmer=on
Next, use Syscomgr.exe to install the components:
sysocmgr /i:C:\windows\inf\sysoc.inf /u:c:\answerfile.inf
After the installation is complete, it is possible to check the installation with the Add/Remove Programs
control panel applet.
Part III: Working with PowerShell in a Production Environment
338
Creating the Cluster
Now that Windows and the prerequisites are installed, the Windows cluster can be created. The
Windows cluster service manages the shared resources, ensures only one node is active, and performs
failover when necessary. The cluster command - line utility, cluster.exe , will install and configure the
two - node cluster:
1. To use cluster.exe to create a new cluster, the following parameters are required:
??‘ Cluster name
??‘ Cluster IP address
??‘ User account that will run the cluster service
??‘ Password for the cluster service user account
??‘ Hostname of the node that the cluster will be installed on
Instead of statically defining all of the required parameters, you can use PowerShell as shown
here to set all of the parameters as variables, and then you could run the cluster install the script:
$Cluster_Name=???MB100MSCS???
$Cluster_IP=???192.
Pages:
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480