How to configure a web server for LCM Dark Site on a Windows Server

  • 4 August 2020
  • 0 replies
  • 11050 views

Userlevel 4
Badge +5

If your cluster has no direct access to the internet, you can use the Dark Site LCM bundle, which you can put on a local web server and use it as a source for the LCM downloads.

The web server can be a virtual machine on the same Nutanix cluster that you want to upgrade or any other machine that the cluster will have access to.

 

In this topic we will be creating a web server on a Windows machine and we will be using Microsoft IIS (Internet Information Services), so you will not need to download and install any third party software. Note that this guide is for absolute beginners, so you will not need any prior experience with this technology.

 

So, first, we need to enable the IIS. Type the “Server Manager” in the Windows search and launch it.

In the Server Manager click Manage in the top right corner and select “Add Roles and Features”. Click Next until you get to the Server Roles. In the list of Server Roles, select Web Server and click Next. The default options are sufficient. Click Next until the installation is completed.

Now, we need to decide where we want to keep the Dark Site bundle. You can select any place you want. I will use C:\Nutanix\LCM in my example. Just make sure that you have enough space on disk to put the bundle.

Let’s create a folder “release” in the C:\Nutanix\LCM.

Now, let’s download the latest LCM bundle from the Nutanix support portal and we will unpack it to our folder C:\Nutanix\LCM\release. You can download the bundle here: https://portal.nutanix.com/page/downloads?product=lcm

You will need to download 2 files - the LCM Dark Site Bundle and the firmware bundle that is specific for your hardware. My cluster is running on NX hardware, so i will download the LCM Dark Site NX Firmware Bundle. 

First, unpack the LCM Dark Site Bundle and put the contents into C:\Nutanix\LCM\release

Then, unpack the hardware-specific firmware bundle and put it to C:\Nutanix\LCM\release\builds. 

Here is how the C:\Nutanix\LCM\release folder should look like:

3IxbQKsvMdDJnm4g05RjZ6WqPEuxyHLsTtzFHNp-EMdzq3aYLZ3uP_Ht_hV_fbKPvzBo7TRhk_T7_ZtNOzidGdi2a3OdVmi3sgv485EO4qIf2KZXnF93OebDutoE-FvcvpnPcYhV

 

And here is how should look the C:\Nutanix\LCM\release\builds:

ACoSWOGmtx-kYpRsFUiVS8bhswKw8U-SFIpWd0wYopitOblFWyQeY1NDChq6ltJrWuD1NepwckyKV0wPxUZIEarYxNEbPj9v4AExakvt69DzY4oQWJMKVj29HYaOCCUzVDUiRcUq

 

The next step is to create the virtual directory called “release” in the IIS Web Server settings. 

Type in the Windows search - IIS and start the IIS Manager.

In Sites, right click the Default Web Site and select Add Virtual Directory:

5r-nt6tigDgzZgEd-gZdWMCmAuIU407KtRpAEM3MTPJxsTXsVPFV-Tts_Sviutf9zfE5ldTXlhoiAcRFYMGzrECSSb1kPvlbto-h5lyiGj9zHWHiD2aLHp_J4HyI85ZV3VvKzWoT

 

Create the virtual directory like in the screenshot below:

KGaGHXXXWe9y6U3nV4Jm_XkLMPoNeck4SkQV06uJEzlynqYNneGVkLhsh0_hnc38lBv5lun0DyKVWtTVIYHXLQmwyzptCqyJp2Zui33Wy40Qvx2SrfVKuomTlVI1Mc6Vs3l4zKhm

 

Now, find the “Directory Browsing” and double click it:

a9P5YwpkFEqYR0-VcNjrozqwWhxhVJWgQcI8X0RWaLVb1HmmNCLKEcgXZL-jdVDss3NWO3mSzCcK5EkcCUJoBcc7BbvrrCDrrbytsj9ZWS0fkoI4Og3WQNSiM8TtCWksF5sMSU9n

 

On the right side, in the Actions tab, click Enable.

Then, on the same page where you clicked Directory Browsing, double click the MIME Types. In the Actions click Add. Add the following extensions: .sign, .json and .iso with the MIME type: text/plain

Add the following extensions: .BD, .bin, .csv, .exe, .frm, .lod, .md, .std, .tgz with the MIME type: application/x-iso9660-image

Some of them will already be present, but it is good to verify that they all exist.

 

Now, the web server is ready. You can go to the Prism Element Web Interface of the Nutanix cluster, go to LCM - Inventory - Settings. In the source, select Local Web Server (Dark site). In the URL put the following: http://<your_web_server_IP>/release

Now, the setup is complete and you can perform the inventory and do the firmware upgrades via LCM.



 


This topic has been closed for comments