To configure IIS, you must run IISConfiguartion.psi in PowerShell using parameters shown in the example scripts below.
-
PowerShell must be run in Administration mode.
-
Values shown in italics should be replaced by your own values.
-
The SEM application pool and application parameters are optional in both the scripts. If omitted, the default values will be used.
Configure IIS for SEM Web API
Do one of the following:
-
Run the following PowerShell script to configure IIS using your custom application pool and application parameters:
powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_WebAPI" -username "MyDomain\DomainUser" -password "MyPassword123" -webApiAppPool "MySEMWebAPIAppPool" -webApiAppName "Mywebapi3.0" -Verbose
-
Run the following script to use the default application pool and application parameters:
powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_WebAPI" -username "MyDomain\DomainUser" -password "MyPassword123" -Verbose
This script creates 1 application pool and 1 application.
Configure IIS for SEM Client Backend and SEM Client
-
Run the following PowerShell script to configure IIS using your custom application pool and application parameters:
powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_Client" -clientAppPool "MySEMClientAppPool" -clientBEAppPool "MySEMClientBEAppPool" -clientAppName "Mysem3.0" -clientBackendApiAppName "Mywebapibe3.0" -Verbose
-
Run the following script to use the default application pool and application parameters:
powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_Client" -Verbose
This script creates 2 application pools and 2 applications (for Client Backend API and Client).
Mandatory parameters
Parameter |
Details / Accepted Values |
installationType |
Enter "SEM_WebAPI" or "SEM_Client". |
username |
Enter the domain username for the SEM Web API application pool custom account, for example: MyDomain.com\my-semweb-account The domain user must have read-write access to the shared folder of the SEM sites. |
password |
Enter the password of the domain user for the SEM Web API application. |
Optional parameters
In addition, you can define optional parameters for the application pools and applications. If you choose not to define these, the default values are used as follows:
Parameter |
Default Value |
Description |
webApiAppPool |
"SEMWebAPIAppPool" |
Web API application pool name |
webApiAppName |
"webapi3.0" |
Web API application name |
clientAppPool |
"SEMClientAppPool" |
Client application pool name |
clientAppName |
"sem3.0" |
Client application name |
clientBEAppPool |
"SEMClientBEAppPool" |
Client Backend API application pool name |
clientBackendApiAppName |
"webapibe3.0" |
Client Backend API application name |
Test the IIS configuration results
-
To view the added application pools and applications, refresh IIS.
Each application is bound to an application pool and is assigned a physical path pointing to the folder where the software is installed on the server, as shown in this example: