Full guide to MED-V server settings

This post describes how to install and configure MED-V server and IIS server (ver. 7.0) for Microsoft Server 2008.

1. Configuration of Internet Information Services (IIS)

1.1 IIS Installation

  1. Verify that the Host Server is logged onto the Domain

  2. Go to:
    Control Panel => Programs and features=> Turn Windows features on or off

    The following screen should open:

    clip_image002[8]

  3. Scroll down and click Add Feature.

  4. The following screen should open:

    clip_image004[8]

  5. Select .NET Framework 3.0 Features.

  6. Click Add requires role services.

  7. Click BITS Server Extensions.

  8. Click Next.

  9. Click Next.

  10. The following screen should open:

    clip_image006[4]

  11. Click Install.

  12. Click Close once the installation has been completed.

1.2 IIS Virtual Directory configuration

1.2.1 Add virtual directory
  1. Open IIS Manager.

  2. Expend <SERVER NAME> until you find Default Web Site.

    clip_image008[4]

  3. Right-click Default Web Site.

  4. Select Add Virtual Directory.

  5. The following screen should open:

    clip_image010[4]

  6. In the Alias box type your Virtual Directory name, and in the Physical path box type the actual folder where MED-V images are saved (Default: c:\MED-V Server Images).

  7. Click OK. (The new Virtual Directory entry will be added under Default Web Site).

1.2.2 Bind http to desired port number
  1. Click Default Web Site (on the left pane as shown in the image below).

    clip_image012[4]

  2. Click Bindings.

  3. The following screen should open:

    clip_image014[4]

  4. Click type http and then click Edit.

  5. The following screen should open:

    clip_image016[4]

  6. Change the port to desired port number (for example port 8051).

  7. Click OK.

1.2.3 Enable Directory Browsing
  1. Click medv Virtual Directory (below Default Web Site).

  2. Click Features View.

  3. Set the window to be "Grouped by: Area", scroll to locate Directory Browsing under the IIS section (as shown in the image below).

    clip_image018[4]

  4. The following screen should open:

    clip_image020[4]

  5. Click Enable on the right pane.

  6. Verify that Time, Size, Extension and Date checkboxes are selected.

  7. Click Apply.

1.2.4 Configure “MIME Type”
  1. Click medv Virtual Directory (below Default Web Site).

  2. Click Features View.

  3. Set the window to be "Grouped by: Area", scroll and locate MIME Types under the IIS section (as shown in the image below).

    clip_image022[4]

  4. Double-click MIME Types.

  5. The following screen should open:

    clip_image024[4]

  6. Click Add on the left pane.

  7. The following screen should open:

    clip_image026[4]

  8. Under File name extension type “.ckm” (must be done for .index too)

  9. Under MIME Type type application/octet-stream (must be done for .index too)

  10. Click OK.

1.2.5 Configure BITS
  1. Click medv Virtual Directory (below Default Web Site).

  2. Click Features View.

  3. Set the window to be "Grouped by: Area", scroll and locate BITS Uploads under the Other section (as shown in the image below).

    clip_image028[4]

  4. Double-click BITS Uploads.

  5. The following screen should open:

    clip_image030[4]

  6. Select the Allow clients to upload files check box.

  7. Select Use default settings from parent.

  8. Click Apply on the right pane.

2. Firewall configuration

2.1 Configure firewall to allow connections through configured port (in the following example 8051)

  1. Open Server Manager and expand the Configuration list.

  2. Expand the Windows Firewall with Advanced Security” list.

  3. Click Inbound Rules.

  4. The following screen should open:

    clip_image032[4]

  5. Click New Rule on the right pane.

  6. The following screen should open:

    clip_image034[4]

  7. Select Port and then click Next.

  8. The following screen should open:

    clip_image036[4]

  9. Select TCP.

  10. Select Specify local port and type port number (8051).

  11. Click Next.

  12. The following screen should open:

    clip_image038[4]

  13. Select Allow the connection.

  14. Click Next.

  15. The following screen should open:

    clip_image040[4]

  16. Select all the check boxes.

  17. Click Next.

  18. The following screen should open:

    clip_image042[4]

  19. Give a unique name to your rule.

  20. Repeat steps 4-13 only this time selecting UDP on step 6.

  21. Repeat steps 2-14 only this time selecting Outbound Rules on step 3.

3. Med-V Server Configuration

3.1 Med-V Server installation

  1. Run the MED-V Server .MSI and follow the on screen instructions.

3.2 MED-V Server Configuration

  1. Run Med-V Server Configuration Manager

  2. The following screen should open:

    clip_image044[4]

  3. Click the Connections tab and verify that the unencrypted connections port is set at 80.

  4. Click the Images.

  5. The following screen should open:

    clip_image046[4]

  6. The VMs Directory should be the physical folder on the server where Med-V images will be uploading to.

  7. The VMs URL should be: https://<Server Name>:8051/<Virtual Directory Alias>

  8. Click the Permissions tab.

  9. The following screen should open:

    clip_image048[4]

  10. Click Add or Remove if you want to modify the permissions.

  11. Click OK.