Setup Worker Node #3¶
The step to setup worker node #3 is exactly the same as setup for worker node #2.
You can continue to use the GUI installer to setup worker node #3.
If you are using the script option, now it is a good time to put-it-all-together of the scripts we used setting up worker node #2.
Here is an example of the put-it-all-together script to run inside PowerShell window on Worker node #3.
Example Script running from beginning to end.
Windows PowerShell Copyright (C) 2013 Microsoft Corporation. All rights reserved.
PS C:Usersadministrator> cd “C:Program Files (x86)”
PS C:Program Files (x86)> net use z: \node1.tsys.gladinet.comc$
The command completed successfully.
PS C:Program Files (x86)> robocopy “z:Program Files (x86)CentreStack” “CentreStack” /s > copy.log
PS C:Program Files (x86)> mkdir c:depot
Directory: C:
Mode LastWriteTime Length Name —– ————— ————- d—- 7/19/2014 12:14 PM depot
PS C:Program Files (x86)> cd c:depot
PS C:depot> copy z:depot*.*
PS C:depot> reg import gladinet32.reg /reg:32
The operation completed successfully.
PS C:depot> reg import gladinet64.reg /reg:64
The operation completed successfully.
PS C:depot> dism /online /enable-feature /featurename:IIS-WebServer /all
Deployment Image Servicing and Management tool Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s) [==========================100.0%==========================] The operation completed successfully.
PS C:depot> dism /online /enable-feature /featurename:IIS-ManagementConsole /all
Deployment Image Servicing and Management tool Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s) [===========================99.8%========================= ] The operation completed successfully.
PS C:depot> dism /online /enable-feature /featurename:IIS-ASPNET45 /all
Deployment Image Servicing and Management tool Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s) [==========================100.0%==========================] The operation completed successfully.
PS C:depot> dism /online /enable-feature /featurename:WCF-HTTP-Activation45 /all
Deployment Image Servicing and Management tool Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
Enabling feature(s) [==========================100.0%==========================] The operation completed successfully.
PS C:depot> & ‘C:Program Files (x86)CentreStackAppConfigCmd.exe’ configapp
PS C:depot> certutil -p 2pwd12Apass -importPFX wildcard_export_1_20_14.pfx
Certificate “stargladinet” added to store.
CertUtil: -importPFX command completed successfully.
PS C:depot> Import-Module WebAdministration
PS C:depot> cd IIS:SslBindings
PS IIS:SslBindings> del*.*
PS IIS:SslBindings> get-item cert:LocalMachineMyE88BC131D403B9EF5AA44DC520D3BABDB93E5886 |
New-Item 0.00.0!443
PS IIS:SslBindings>
Now reboot Worker Node #3 and it is ready. Now you can follow the same step as in worker node #1 and worker node #2 to add them to cluster and add them to load balancer. After reboot, you can also optionally pre-compile the ASP.NET pages. PS C:WindowsMicrosoft.NETframework64v4.0.30319> .aspnet_compiler.exe /v portal | Out-Null PS C:WindowsMicrosoft.NETframework64v4.0.30319> .aspnet_compiler.exe /v management | Out-Null