Whilst it is a requirement for a cluster based on Nutanix Community Edition to have internet access to enable cluster login, it is not a set requirement for Nutanix enterprise clusters to have internet access.
In such cases to allow for cluster patching, updates, application deployments and add-ons, these clients can leverage what is called a Dark Site server. This server typically takes the form of a web server located on the client network that the Nutanix infrastructure can reference via Life Cycle Manager (LCM).
The web server can be Linux or Windows based with the details of the the configuration required to deploy such a web server can be found in the Preparing Your Cluster Using a Local Web Server section of the Life Cycle Manager Dark Site Guide documentation.
As you will see from the Setting Up a Local Web Server (Windows) section of the documentation, there is a moderate amount of configuration required to prepare a Windows Internet Information Services (IIS) server to become a dark site web server:
Add Windows Firewall Rule for port 80 (http)
Install IIS
Create IIS Mime types
Create release and builds folders
Enable IIS Directory browsing
Extract LCM Framework Bundle from supplied file
Sure, whilst configuring IIS is super fun (not), I can think of more exciting things to be doing with my time. What we need here is a script to complete the end-to-end IIS configuration for us.
It just so happens that I’ve created a script that will take a newly deployed Windows 2022 VM and apply all the configuration required.
Let’s take a look at the New-Darksite.ps1 script:
As detailed in the script, it has been fully tested on Windows Server 2022 (21H2), an evaluation version of which can be downloaded direct from Microsoft here: