Month: January 2020

Home / Month: January 2020

Hello readers,

This is part two of my VMware Cloud Foundation series. In this part, we will be upgrading all components to the latest version. At the time of writing 3.9 is the latest version and currently I am running 3.8.

In part one, we have done a bring-up on our SDDC, creating and deploying the management Workload Domain (WLD).

First what you need to do, is to connect a My VMware account, so it can download the upgrade bundles.

Go to Repository Settings under Administration, and log in with your MyVMware credentials. Once that has been done, the SDDC Manager will look for updates and after a while, under Repository –> Bundles, it will show the available downloads.

I let it download “VMware Cloud Foundation Update 3.8.1.0”. After this is done, which will take a while, I went to Workload Domains under Inventory. Clicked on details of VI, and the on the MGMT domain. Under update/patches, an update is shown. I ran the prechecks, and it failed under a few parts:

vSAN failed with the HCL check, which is understandable seen that this is run nested. I ignored that. VRLI VRSLCM checks also failed, this is because I do not have VRSLCM deployed yet.

After applying the update, I’ve also applied the configuration bundle.

Unfortunately, it is here that the series on Cloud Foundation ends abruptly, as I do not have access to my Cloud Foundation lab server anymore.

If anyone happens to know a place where I could tempiraily get access to one, or anything like that, please email me at michael-at-masterwayz-dot-nl.

For the people who contacted me asked if there is a way to work with Cloud Foundation without the need of a lab server, yes there is. Through VMware Hands on Labs, which allows you to try out VMware products on your browser, there are two labs that you can use to use Cloud Foundation and learn how it works. There is HOL-2044-01-ISM – Modernizing Your Data Center with VMware Cloud Foundation (which is an Interactive Simulation lab as indicated by ISM in the title), and there is a regular lab, HOL-2046-01-HCI- VMware Cloud Foundation – Getting Started.

Thank you for following the series and see you in the next series, which will be about setting up a nested ESXi Lab template.

Highlighting PowerVCF

January 19, 2020 | Cloud Foundation, PowerVCF, VMware | No Comments

Hi readers,

This will be a short post. However, I want to take my time now and highlight a new creation from Gary Blake, Giuliano Bertello and Brandon Willmott called PowerVCF.

PowerVCF is, as from their GitHub page: “PowerVCF is a PowerShell Module for interacting with the VMware Cloud Foundation (SDDC Manager) public API.”

It has been tested with PowerShell 5.x and PowerShell Core 6.x
To install the module, open PowerShell as an Administrator and run:
Install-Module -Name PowerVCF
Or, alternatively, you can install the module download from the zip file in th GitHub repo:
Import-Module .\PowerVCF

To get started, you need to authenticate with the SDDC Manager. To do this, run:
Connect-VCFManager -fqdn sddc-manager.lab.local -username admin -password VMware1!

Note that not all cmdlets work with VMware Cloud Foundation on VxRail. Please see the GitHub page for what is not supported.

Currently I do not have a lab envirounment that I can further test this with, so this post ends here. However, please give them a thank you for creating it and try it out for yourself, I think that it can be very useful for automation, for example.

Note that this cmdlet is NOT supported by VMware.

Thank you for reading this post and I hope to see you in the next one.

VMware Hands on Labs: what is it?

January 14, 2020 | Hands on Labs, VMware | No Comments

Hi everyone,

You may have heard me mention VMware Hands on Labs a few times, but what exactly is it?

VMware Hands on Labs allows you to test drive products within your browser, at no cost. With HOL, you can evaluate the features and functionality of VMware products without the need to have your own physical lab hardware.

If you browse through the catalog you will see that there is plenty of choices. Ranging from Getting Started with vSphere, to VMC on AWS, Cloud Foundation, PKS and even challenge and Odyssey labs. (Odyssey labs deserve their own blog post that will be posted later)

Now, you might think that they offer a lot in their lab catalogs, and they do! And I personally think that it’s great that they do so. You may be wondering how this all works on the backend. For this, a special blog post will be made later which I will link here once it’s up.

I hope that you will all give HOL a go, you can learn a lot from it and the contents it has.

Thank you for reading and I hope to see you in the next post.

vExpert 2020 Applications

January 9, 2020 | vExpert, VMware | No Comments

Hi everyone,

EDIT: The vExpert 2020 first half applications are now closed!

Don’t forget to apply for vExpert if you haven’t already! According to Twitter, the closing date has moved to 1/13 at 10 AM MT.

Apply here with your blog posts, VMUG events, other events, talks, and much more. There are also more paths, like customer path, VCDX path and more!

Be sure to give it a go, I have too! On my Twitter, I replied to VMware’s tweet saying that I applied as well, and that I’ve applied again and that hopefully third time’s a charm. Well, to my surprise, one of the VMware people replied to me:

If you don’t know what vExpert is, you are missing out on a lot, quoting from the site:
“The VMware vExpert program is VMware’s global evangelism and advocacy program. The program is designed to put VMware’s marketing resources towards your advocacy efforts. Promotion of your articles, exposure at our global events, co-op advertising, traffic analysis, and early access to beta programs and VMware’s roadmap. The awards are for individuals, not companies, and last for one year. Employees of both customers and partners can receive the awards. In the application, we consider various community activities from the previous year as well as the current year’s (only for 2nd half applications) activities in determining who gets awards. We look to see that not only were you active but are still active in the path you chose to apply for. “

Good luck to all vExpert applicants and we will see who gets picked!

Thank you for reading this post and I hope to see you in the next one.

Hello readers,

In this part, we will be deploying VMware Cloud Foundation in a nested environment using vCF Lab Constructor, which you can read more about here. TLDR: it is a PowerShell script designed to automatically deploy vCF along with the management Workload Domain (WLD).

VCF Lab Constructor (aka VLC) is a great PowerShell tool created by Ben Sier and Heath Johnson working at VMware in the Technical Marketing team. A big thank you for them for making this amazing script!
Quoting from a blog post (which is how I learned about it), found here:
“It’s the easiest way to essentially deploy a Cloud Foundation nested environment, without having to manually install ESXi, Cloud Builder as well as doing lots of validation on your own.”

But what is VMware Cloud Foundation? Quoting from VMware: “VMware Cloud Foundation makes it easy to deploy and run a hybrid cloud. VMware Cloud Foundation provides integrated cloud infrastructure (compute, storage, networking, and security) and cloud management services to run enterprise applications in both private and public environments.”

The requirements for the lab, is to have a server with at least 192 GB of memory, 8 cores or more, and preferably SSDs. In the default configuration, it will deploy the following VMs:

  • Cloud Builder (4 cores, 8GB RAM, 350GB disk space)
  • ESX01 (8 cores, 64GB RAM, 551GB disk space)
  • ESX02 (8 cores, 64GB RAM, 476GB disk space)
  • ESX03 (8 cores, 64GB RAM, 476GB disk space)
  • ESX04 (8 cores, 32GB RAM, 176GB disk space)

Within the ESXi hosts, the following will be deployed for the management Workload Domain:

  • 2 Platform Services Controllers
  • 1 vCenter
  • 1 NSX Manager
  • 1 SDDC Manager
  • 3 NSX Controllers
  • 3 vRealize Log Insight nodes (1 master, 2 workers)

What I would recommend is to enable TPS with salting, for which you can find more info in the blog post here.

VLC comes with a guide that explains how the program works and how to use it. Here are some screenshots of my deployment:

To deploy using this script, you have to choices. You can either use your own DNS and NTP server, or you let the script run DNS and NTP on the CloudBuilder virtual machine. You do this my checking the “internal svcs” checkbox, which will install and configure maradns on the CloudBuilder virtual machine.

Some things to note before deployment: it will take a few hours. Especially on older hardware or HDDs. Also note that you can only access the Cloud Builder through its IP address and not through the hostname. Plus that if you want to see the deployment status from the Cloud Builder, and if you have selected that the script does the bring-up, you will need to upload a bogus JSON file (such as the one used for the script), followed by cancelling and then going to https://cloudbuilder-ip/bringup-result

Another thing to note: when deploying the using the script, be sure to use a ESXi version that is compatible with your Cloud Builder version! For Cloud Builder 2.1.0.0, this is ESXi 6.7 13981272. If you do not do this, you may get weird errors with vSAN or other weird issues. The correct ESXi ISO is located on the Cloud Builder itself, at:
/mnt/iso/sddc-foundation-bundle-xxxx/esx_iso

Have fun deploying VMware Cloud Foundation! In the upcoming parts I will be upgrading, adding workload domains and more!

Have a great day and see you in the next post.

Hi everyone,

This post will be about a nice trick I learned to get the maximum out of your VMware Homelab.

TPS, or Transparent Page Sharing, is a function where, in short, multiple identical virtual memory pages are pointing to the same page within the memory of the host. Here is a whitepaper that goes more in-depth.

It used to be on by default, but I believe that it was turned off due to security concerns (KB). However, it’s still easy to turn on.

I won’t go into full detail, for more information check out the above mentioned links, along with these two posts about TPS.

For my homelab, the security does not need to be that strict that I can’t have shared memory, and the performance decrease is acceptable as well (due to higher memory access times.)

To enable TPS, go into the advanced settings of your ESXi host, and set:
Mem.AllocGuestLargePage to 0 and set Mem.ShareForceSalting to 0 as well.

It may take a few hours before your memory usage decreases, but for the best performance I would recommend restarting all virtual machines. This, for me, decreased the memory usage on my server from 109GB to 89GB.

Have fun with your lab and I hope that this was useful to you!

See you next time, have a nice day.

Happy New Year!

January 1, 2020 | IRL | No Comments

Hello readers,

Happy New Year!

I wish all of you the best in 2020 and I hope to see you again in 2020!