Installing VMware vShield 5 Endpoint Driver on vSphere 5 VM’s

In this blog post written yesterday I explained how to install the VMware vShield 1.0 Endpoint driver on VM’s in a vSphere 4.x environment. VMware made the process to install the driver a lot easier (at least the way to find the installation file ;-)) through adding the installation file to the VMtools installation procedure.

Make sure not to install the vShield 5 installations on a vSphere 4.x environment. The API’s changed to much to get Trend Micro up Deep Security and running when you do this.

To install the vShield 5 Endpoint Driver perform the following steps:

  • To install the vShield 5 Endpoint Driver you need to make sure the VMtools CD is connected:
  • Slide2
  • After you’ve connected the VMtools CD choose the Interactive Tools Upgrade option and press OK:
  • Slide3
  • In the AutoPlay screen press Run setup64.exe:
  • Slide4
  • In the VMware Tools Welcome screen press Next:
  • Slide5
  • In the Program Maintenance screen select Modify and press Next:
  • Slide6
  • In the Custom Setup screen press the + sign VMware Device Drivers:
  • Slide7
  • Scroll down and press the WMCI Driver +, press on the vShield driver Icon and select “this feature will be installed on local hard drive”. After this selection click Next.
  • Slide8
  • In the Ready to Modify the Program screen press modify to install the driver:
  • Slide9

You can check if the installation went well by doing the following steps:

  • Log in to the VMware vShield Manger server via a webbrowser (default user: admin / default password: default):
  • slide10
  • Open the Datacenters Tab, the Cluster Tab and select the ESX host that contains the VM. Open the Endpoint Tab in the right screen and if everything went well the VM will show up in the protected state (if not restart the VM)
  • slide11

That’s it! If you have a question, just ask 😉

vShield Endpoint Driver installation on vSphere 4.x

Implementing a Proof of Concept (PoC) with VMware vSphere 4.1, VMware vShield and Trend Micro Deep security I found out a couple of things the hard way. To make sure you don’t get in the same trouble I had, I will only show the installation of the vShield Endpoint Driver installation.

Very important advice: Don’t install vShield v5 in an vSphere 4.x environment

There are two ways to install the driver into a VM:

  1. Download the latest VMware Endpoint Driver (version 1.0.0 Update 2) and install the driver
  2. Download and connect the latest vSphere 4.1 VMtools ISO and install the driver

This post will be based on the second choice, so make sure to download the the latest VMtools ISO here (download the 32 an 64 bits versions)

  • First we need to make sure the ISO is connected to the VM:

slide1

  • In the screen that will popup go to the datastore that contains the ISO files. Selct the ISO and press OK:

slide2

  • Open windows explorer and go to the VMware-vShield-Endpoint-Driver on the CD:

slide3

  • In the popup screen accept the license agreement and click install:

slide4

  • After the install click Finish and restart the VM:

slide5

  • Restart the computer

You’re now done with installing the vShield Endpoint Driver installation for VMware vSphere 4.x.

Let me know if you’ve any question.

VMware Fusion and Windows Server 8 Beta with Hyper-V 3.0

It’s been a couple of days since Microsoft announced it’s customer preview of it’s upcoming Windows 8. In the shades of it’s customer preview Microsoft also presented it’s new server product: Windows Server 8 beta.

As a VMware (virtualization) junkie I think you should always look at what the competition is offering. So I downloaded the Server 8 beta (Download here) and wanted to get it working within a VM in VMware Fusion on my Mac Book Pro (MBP).

I’ll do a step by step guide getting everything up and running.

First you’ll have to make sure you have the windows server 8 beta ISO on your MBP, as well as VMware Fusion (download a 30-day trial here). I will not do the Fusion install, but this is a straight forward process so you should be able to get it up and running in no time.

So let’s start with installing Windows server 8:

First of all open VMware fusion and Select the Create New VM:

Create New

In the Introduction screen press continue:

Snap 2012 03 03 at 22 31 39

In the installation media screen select the choose a disc or disc image:

Choose a disc

In the Choose a disc or Image window select the Windows server 8 Beta ISO and press open:

Choose iso

In the Choose operating System screen select Microsoft Windows as OS and Windows Server 2008 R2 x64 as Version and Press Continue:

OS Choose

At the Finish screen press Customize Settings:

Customize Settings

There will be a pop-up to save the VM. Choose a VM Name (step 1) the VM location (step 2) and press Save (step 3)

Save as VM

In the Settings screen press Processors and Memory to give your VM extra resources:

Processorandmem

In the Processor and Memory screen edit the settings as you wish (2 CPU and 4096 MB RAM in my case) After that press close:

ProcessorandMem1

Now we’ll start the Windows Server 8 Beta installation. Press the big Play button:

StartInstall

The Installation process starts and the first screen is the language settings. Choose your settings and press Next:

Choose settings

In the next screen press the Install Now button:

Install Now

In the select the OS you want to install screen select the Server with a GUI option, and press the Next button:

Select right OS

In the which type of installation do you want screen press on Custom:

Custom Install

In the where do you want to install windows screen, select the right drive (if needed) and press Next:

Drive Selection

After the installation is finished enter the administrator password (twice) and press finish:

Finish install

The next screen will ask you to do a Ctrl+Alt+Del, with no del key on a MBP you have two options. Option 1 is explained in the screenshot below. The other one is to press the fn+ctrl+alt+backspace keys at once:

SendCRTLALTDEL

In the following screen enter your password and press enter:

Enter password

Accept the Windows error Reporting Privacy Statement:

ErrorReporting

After this it’s time to setup Hyper-V. In the Server Manager Dashboard (startup screen) choose the local server and from the Manage drop down menu choose Add Roles and Features:

AddRoles1

In the before you begin window check the “Skip this by default” box and press next:

AddRoles2

In the installation type window, choose role-based or feature-based installation and click Next:

AddRoles3

In the Server Selection Screen select your server and Click Next:

AddRoles4

In the Server Roles screen Check the Hyper-V box:

Addroles5

In the Hyper-V pop-up screen check the “include management tools” box and click Add Features:

AddRoles6

There will be another pop-up saying Hyper-V can’t be installed because a hypervisor is already installed:

AddRoles7

To solve this problem we have to edit the vmx file, and do some additional settings. To shutdown the press Fn+Ctrl+Alt+Backspace, then press the power button and shut down:

Shutdown

After the VM is shutdown we need to open the VMX file. Go to the VM in the VM Library and enter the Server 8 VM’s Menu. Hold the Alt key and press “open config file in editor”:

Virtual Machine Library

In the VMX file add the following lines:

vhv.enable = “TRUE”
hypervisor.cpuid.v0 = “FALSE”
mce.enable = “TRUE”

VMXaddlines

Close the file and Right click the VM again and press settings:

SettingsIntel

In the setting screen press advanced:

ClickAdvanced

IN the Advanced screen select “Intel VT-x with EPT” from the Preferred virtualization engine and press close:

Select VM engine

Close all windows and restart the VM. After the restart re-open the Add Roles installation and check the Hyper-V box again:

Select HyperV role

In the Virtual Switches box check one (or more) network adapter boxes and press Next:

Create Virtual Switches

In the Confirmation screen Check the restart option box, confirm yes in the pop-up and click finish to install the Hyper-V role:

InstallScreen

After the installation and restart open the hyper-V manager and create a new VM:

The End

That’s it, you’re done! Good luck running Hyper-V within a Fusion VM. If you’ve any question, just leave a message.