Script to automatically setup of IIS role in order to install Indeed EMC/Indeed CM properly
Posted by Mikhail Yakovlev, Last modified by Mikhail Yakovlev on 11 March 2019 12:05 PM

It is required to deploy Internet Information Services role with a certain set of modules on the server before installing Indeed Enterprise Management Console and Indeed Certificate Manager. Microsoft .NET is to be installed as well. Sequence of installation operations is also of importance.

Here is an abstract from the Indeed EMC/Indeed CM installation manual:

● Internet Information Services 7.0 and higher with the following modules:

  • Static Content
  • HTTP Redirection
  • ASP.NET
  • .NET Extensibility
  • ISAPI Extensions
  • ISAPI Filters
  • Basic Authentication
  • Windows Authentication
  • IIS Management Console

● Microsoft .NET 4.5 and higher (Microsoft .NET 4.5 is to be installed after IIS component installation and configuration when deploying an Indeed EMC/Indeed CM server).

As our experience suggests, there is a significant chance of error when performing preliminary operations (IIS and Microsoft .NET installation) in manual mode. An error can be made in module selection or in sequence of installation operations. This results in incorrect operation of Indeed web application and time-consuming error elimination.

To avoid these problems, we have developed a set of MS PowerShell scripts that allow to perform Internet Information Services role installation and configuration in automatic mode in compliance with requirements for correct operation of Indeed web applications.

The archive with scripts can be downloaded here.

The archive contains two scripts:

  1. Script to deploy the IIS on Windows Server 2008/2008R2 (Indeed.EMC.CM.IIS.Install.MSServer2008.ps1 file in Server2008 folder).
  2. Script to deploy the IIS on Windows Server 2012/2012R2/2016 (Indeed.EMC.CM.IIS.Install.MSServer2012.ps1 file in Server2012-2016 folder)

It is necessary to allow script execution on server to run the scripts. For explanation of how to do this please refer to: Using PowerShell scripts.

The script for 2008/2008R2 server installs Microsoft .NET 4.5 as well (the installation package of the component resides in the script folder).

Script execution format is as follows:

  • Script to deploy the IIS on Windows Server 2008/2008R2:

          .\Indeed.EMC.CM.IIS.Install.MSServer2008.ps1

  • Script to deploy the IIS on Windows Server 2012/2012R2/2016:

          .\Indeed.EMC.CM.IIS.Install.MSServer2012.ps1

Example of script execution on Windows Server 2012

Immediately after starting

During operation

The script has finished operating

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: