Category: Virtualization

Home / Category: Virtualization

Hello readers,

This is part two on my multi-part series of posts where I explain how I deploy my Horizon Lab. You can view part one here.

In the last part, we finished with my working PowerCLI script to deploy three ESXi VMs. Now, we will install the three VMs.

We start by booting it up until we are given the welcome screen:

We press F11 to accept the End User License Agreement.

Select the drive that you want to install ESXi on, and press enter to continue.

Select your keyboard layout and press enter.

Type in a password to use for the root user.

You may get this screen when running on older hardware.

You may get this screen. I do, since I am running this on older hardware. This error means that in future versions, your current CPU may not be supported. Press enter to continue.

Press F11 to install and wait for the installation to finish.

The installation is finished! Press enter to reboot, and depending on how many other VMs there are left to install, you will have to do this a few more times. (in my case two more times)

After repeating it two more times, we can now mount our vCenter Server Appliance ISO and go through the deployment steps.

On a sidenote, if you are doing this nested like I do, please make sure to double check the security settings of the vPortGroup or dvPortGroup:

We start by mounting our vCenter ISO. After that (On Windows), start with installer by going to the vcsa-ui-installer folder and then open the win32 folder, and run installer.exe

We are greeted with this screen. In our case, we want to install the appliance, so we click on install.

On the deployment type, go with “vCenter Server with an Embedded Platform Services Controller.”

Fill in the information of the ESXi machine that you want to install vCenter on. In this case, I have chosen for the first VM of my Horizon lab.

You will get a pop-up, click yes to accept the certificate.

Give the virtual machine a name, and give it a root password.

Select the deployment size. For this lab, Tiny will be sufficient.

Select the datastore that you want to use, and enable Tiny Disk Mode. This will allow you to install the appliance on a datastore that does not have enough space for the 300GB thick provisioned drive.

In here, select what network you want the virtual machine to be on. Also, select if you want to use IPv4 or IPv6 and give it a static IP, or choose to let a DHCP server assign it an IP.

Review the information that you have filled in. If you are happy with it, press Finish to start the first stage of the installation.

Now that the installation is done, we can continue and configure vCenter. Let’s do that next shall we?

You can manually visit vCenter in your webbrowser (https://ip-or-fqdn:5480/) or do this directly from the installer. Click on set-up and login with your root username and password that you set during the installation.

Click on next to start the configuration.

In here, you can configure networking, time synchronization and SSH access. In my case, all settings are what I want.

Here you configure the SSO domain. This is the vCenter domain that will be used to login. The default is vsphere.local (later you can configure AD authentication if you wish.)

In this screen, you can opt-in or opt-out of VMware’s Customer Experience Improvement Program.

Verify your settings and click on finish to start the configuration process. Please do keep in mind that this takes a while.

That was it! Part two of the series is finished, we successfully installed the ESXi hosts and deployed vCenter. In the next part, we will be deploying the virtual machines for Horizon.

Thank you for reading and see you next time.

Hello readers,

In this first part of my blog post series, where I will be talking about setting up my Horizon Lab, which is creating the Virtual Machines and the sub network.

I started by calculating on what I will need, this is what I was thinking:

  • 6 cores/18GB RAM/200GB Space –> ESXi 1
  • 6 cores/18GB RAM/200GB Space –> ESXi 2
  • 6 cores/18GB RAM/200GB Space –> ESXi 3
  • 1 core/512MB RAM/2GB Space –> NSX Edge

First, I set-up a Logical Switch and a NSX Edge, like so:

After that, I started to create the virual machines. When I had the idea of just manually creating three VMs, I thought to myself: “This is an advanced platform. We can do better than this.” So, I made one virtual machine, configured the hardware like it should be, and then I turned it into a template:

After that, I fired up PowerShell and wrote this PowerCLI script:

New-VM -vmhost -Name ESXi01 -Template "VMware ESXi" -Datastore "HDD 2"
New-VM -vmhost -Name ESXi02 -Template "VMware ESXi" -Datastore "HDD 2"
New-VM -vmhost -Name ESXi03 -Template "VMware ESXi" -Datastore "HDD 2"

It worked great, in part two I will be installing the VMs and deploying vCenter.

Thank you for reading this and I will see you in part two.

My server

June 22, 2019 | Networking, Virtualization, VMware | No Comments

Hi readers!
Welcome to my first real blog post! In this post, I will be explaining my current server, my trusty HP ProLiant DL380G6.

It’s armed with two Intel Xeon X5650s, which each have 6 core and 12 threads, making it a total of 12 cores and 24 threads. It has 144 GB (18x 8GB) of ECC RAM, and it currently have two 500GB SSDs, along with a single 320GB HDD.
Here is a picture:

Not the sharpest picture, because it was made from quite a distance with my Galaxy J7.

It runs VMware ESXi 6.7 on it, along with a vCenter Server Appliance and NSX. Here is a screenshot of the VM view in vCenter:

I run my firewall on it, which is OPNSense. I previously used pfSense, however it was being buggy with my BGP tunnel for IPv6 (more about that in this post.)

Other than that, I run WDS and MDT on it, so I can easily install Windows over the network. I have my GNS3 VM on it, so I can have it running 24/7 and can access it from anywhere, I use it to learn networking. (More about that in this post.)

I have a Discord Bash bot VM on it, it’s just a python bot that I’m making, to leanr python. Next to that I have a Linux and Windows Workstation VM, that I can login to when I’m not home. ix90 is a bit of a weird project that I’m going into more detail off here.

Everything connects to an Ubiquiti EdgeSwitch 24 Lite. My parents their network runs on a UniFi Security Gateway and a UniFi 8 port POE switch. The EdgeRouter X is just there for me so I can test things with it. Here are some pictures:

That’s a quick overview of my basic networking setup, this post will later be updated with everything about NSX when I have that working.