Installing and Configuring VMware ESXi Virtualization Environment

Scenario: You want to install and configure VMware ESXi for running Desigo CC in virtual machines.

 

Reference: This page refers to ESXi V6.7. For more information, see the ESXi documentation. For example, http://masteringvmware.com/how-to-install-esxi-6-7-step-by-step/.
ESXi V7.0 has a similar installation procedure, see https://docs.vmware.com/en/VMware-vSphere/7.0/vsphere-esxi-70-installation-setup-guide.pdf

 

Workflow diagram:

 

Prerequisites:

  • You have a category C or D computer on which to run VMware ESXi V6.7 or V7.0.
  • You have a software utility to create a bootable USB drive, for example Rufus (see https://rufus.ie).
  • You have a VMware ESXi license and you have downloaded the VMware vSphere Hypervisor V6.7 (or V7.0) ISO disk-image file from the VMware website.
  • You have a Windows license for the virtual stations you intend to create.
  • You have a Windows ISO disk-image file for all editions you need to install.
  • You have a USB drive stick with at least 4 GB capacity.

 

Steps:

1 – Prepare the bootable USB drive

On a service PC, prepare the bootable USB drive based on the VMware ISO file.

  • The Rufus utility (or equivalent) is installed or can be run as a portable application.
  • The VMware vSphere Hypervisor ISO disk-image file is available on the local disk or on the local network.
  1. Insert the memory stick into a USB connection port.
  1. Start Rufus.
  • The Rufus window displays
  1. Set the following parameters:
  • In Device, select the USB drive
  • In Boot selection, select the VMware ISO file
  • In Image option, select Standard Windows installation
  • In Partition scheme, select GPT
  • In Target system, select BIOS (or UEFI-CSM)
  • In Volume label, enter a label text such as VMware_vSphere_Hypervisor_6.7_boot
  • In File system, select FAT32 (Default)
  • In Cluster Size, select 4096 bytes
  1. Click Start.
  • The ISO USB drive stick gets loaded.

 

2 – Start and Configure the VMware Server

On the VMware server computer, run a bootstrap from the USB drive:

  1. Insert the memory stick into a USB connection port.
  1. Switch on (or reset) the computer.
  • The ESXi boot menu displays.

  1. Select the ESXi ISO disk image, for example ESXi-6.7.0-<nnnnnn>-standard Installer, and press ENTER.
  • The ESXi installation welcome page displays.

  1. Press ENTER.
  • The End User License Agreement page displays.

  1. Press F11 Accept and Continue.
  1. Follow the installation steps to set the following:

  • Select the physical disk on which to install ESXi and press ENTER.

  • Select the keyboard layout and press ENTER.

  • Enter and confirm the Root password and press ENTER.
    NOTE: You will need this password in the next steps.
  1. After that, confirm the reboot to let the VMware ESXi software start.
  • The ESXi start page displays.

  1. Press F2 from keyboard for customization.
  • The Authentication Required page displays.

  1. Enter the root password that you set during the installation steps above.
  • The System Customization page displays.

  1. Using the up/down keys, select Configure Management Network and press ENTER, then select Network Adapters and press ENTER.
  1. The IPv4 Configuration page displays.

  1. Select the network adapter, press Spacebar, then press ENTER.
    NOTE:
    Press D to view the network adapter details and then ENTER to go back.
  1. Back in Configure Management Network, select IPv4 Configuration and press ENTER.
  • The IPv4 Configuration page displays.

  1. Select Set static IPv4 address and network configuration and press SPACE, then set the IP address you want to use, and press ENTER.
  1. Press ESC to exit the console.
  • The system restarts to apply the configuration changes.

 

3 – Configure the Virtual Stations

On a networked client computer, from a browser, configure the virtual machine (VM) for the Desigo CC server station.
NOTE: ESXI V6.7 update 2 (ESXi-6.7.0-20190401001s) has a bug that prevents you from sending CTRL+ALT+DEL to the VM when using Chrome or Firefox. It works from Microsoft Edge.
Check for new ESXI V6.7 releases and compatibility issues at VMware website.

3a – Enter the VMware ESXi license

  1. In the address line, enter to the IPv4 address of the ESXi computer.
  • The ESXi login page displays.

  1. Login using the root password.
  • VMware ESXi window displays.
  1. Enter the VMware ESXi license:

  • In the Navigator pane on the left-hand side, select Manage.
  • Select the Licensing tab.
  • Select Assign license, enter your license key and click Check License.

3b – Configure the VM Network

  1. In the Navigator pane on the left-hand side, select Networking.

  1. Click the Virtual switches tab, select Switch 0 and click Edit Settings.
  • The Edit standard virtual switch dialog box displays.

  1. In Uplink1, select the Network Interface Controller (NIC) for the VM and click Save.

3c – Create the VM

  1. Select Virtual Machines and then Create / Register VM.
  • The New virtual machine window displays.

  1. In page 1 Select creation type, choose Create a new virtual machine and click Next.
  1. In page 2 Select a name and guest OS, enter the name of the virtual machine, for example ManagementSystemServer01, and set the following parameters:
  • Compatibility = ESXi 6.7 or 7.0 virtual machine
  • Guest OS family = Windows
  • Guest OS version = For example, Microsoft Windows 10 (64-bit)
  1. Click Next
  1. In page 3 Select storage, select the datastore and click Next.

  1. In page 4 Customize settings, set the following parameters as minimal requirements (to be increased depending on your system size, contact technical support in case of performance problems):
  • CPU: 4 for Server and 2 for Client/FEP
  • Memory: 16 GB for Server and 8 GB for Client/FEP
  • Hard disk: 100 GB or more
  • Network Adapter 1: VM Network
  • CD DVD Drive 1: Depending on your Windows installation media, select Datastore ISO file and browse to select the file, or select Host device to use the Windows DVD
  • Video Card: Default settings

  • Comark cards (two cards on the Desigo CC server): select Add other device > USB Device, and then select Microchip CDC RS-232 Emulation
  • SNC cards (as necessary): select Add other device > USB Device, and then select Future Devices FT232R USB UART
    NOTE: Comark and SNC cards can be added only if actually installed and available (not configured in other VMs).
  1. Click Next.
  1. In page 5 Ready to complete, check the configuration and click Finish.
    NOTE: You can click Back and go to previous pages to correct any settings.

3d – Start the VM

  1. Select Virtual Machines, and then select the [newly created virtual machine]

  1. Click Play to run it and then follow the procedure to install Windows.

3e – Install VMware Tools

  • In Windows, install the VMware Tools. Proceed as follows:
  • Log in to the virtual machine as a user with Administrative privileges.
  • When the desktop is loaded, click Actions > Guest OS > Install/Upgrade VMware Tools and click OK.
  • In Windows Explorer, you can see the VMware Tools mounted as a virtual DVD drive

  • Right-click the drive and select Install or run program from your media (or double-click the drive), and then follow the steps in the wizard to complete the VMware Tools installation. Select the Typical installation option.
  • When the VMware Tools installation has finished, restart the virtual machine for the changes to take effect.

3f - Configure IP Network and Remote Access

  1. In the virtual network adapter properties, configure the static IPv4 address of the VM.
  1. In the computer properties of the VM, configure the Remote Desktop Settings to connect via Remote Desktop from the selected users. To start, in the VM, click the Start button and enter Remote Desktop Settings.

3g - Set the Host Computer to Auto-restart after Power Outage

  1. Login to the VSphere Web client.
  1. In the Navigator pane, select Host, expand it, and select Manage.
  1. In the System tab, select Autostart, and then select Edit Settings.
  • The Change autostart configuration dialog box displays.
  1. Configure the host autostart as follows:
    - Set Enabled to Yes
    - Set Start Delay and Stop Delay to 120s (default value)
    - Set Stop Action to Power Off
    - Set Wait for heartbeat to No
  1. Click Save.

 

3h - Set the Virtual Machines to Auto-restart after Power Outage

  1. In the VSphere Web client, in the Navigator pane, select Virtual Machines, expand it, and select your first <Virtual Machine>.
  1. In the Actions tab, select Autostart, and then select Enable.


  1. Select again the <Virtual Machine>, and in the Actions tab, select Configuration.
  • The Configure autostart <Virtual Machine> dialog box displays.
  1. Configure the virtual machine autostart as follows:
    - Set Start Delay and Stop Delay to 120s (default value)
    - Set Stop Action to System Default
    - Set Wait for heartbeat to System Default

  1. Click Save.
  1. Repeat the steps above for all other virtual machines.
  1. Finally, set the order in which the virtual machines start:
    - In the Navigator pane, select Host, and then select Manage
    - In the System tab, in Autostart, select a virtual machine in the list and click Start Earlier to move it earlier in the startup sequence.

NOTE: Set the startup order of the virtual machines to start the Desigo CC server first, then the FEP stations, and finally the client stations.

For more general information, refer to the VMware website:
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-5FE08AC7-4486-438E-AF88-80D6C7928810.html