VCF 9 – How to migrate your Content Library to a different Data Store

I wasn’t aware that you couldn’t migrate your vSphere content library to a different data store. At least not just like you would migrate a virtual machine. It was a feature that I wasn’t missing much in my homelab, and in production (at my employer or my customers), content libraries weren’t a thing anyway. Back in the days, the only possible way to “migrate” the content library from one data store to another was to export everything from the “old” content library, create a new one, and import everything into the new content library.

When I was driving to a customer beginning this week for a project meeting, I thought, “let’s listen to some tech podcasts”. Long story short, I looked up the Virtually Speaking Podcast on Spotify. During the drive, I heard that you can now migrate a content library to a different data store! I didn’t memorize the title of this podcast, so I had to go through many podcasts again back at home to find the one. And here it is, not on Spotify but on YouTube: What’s New with vSphere in VCF 9.0 – (YouTube.com) at around 37:28 in the video.

What is a content library?

Just in case you’re not aware of this great thing called a content library, I’ll just add some explanations here. A vSphere content library is a centralized repository within VMware vSphere used to store and manage various types of files, including VM templates, vApp templates, ISO images, and other files, enabling efficient sharing and deployment across multiple vCenter Server instances. It simplifies the management of virtual machine resources by providing a single source for templates and other files, eliminating the need to manually update and copy them across different environments. So, a pretty nice thing, isn’t it?

Why would you migrate a content library?

There are multiple reasons, I’ll just name a few. Every content library has a specific data store configured. You may want to migrate the content library because you’re running out of disk space.  Space contention may happen. Or your storage system is undergoing maintenance, or is going to be replaced, or you want to store all these VM templates, ISO files, etc., on a “cheaper” data store. The use case is up to you.

How do you migrate a content library?

The following steps should guide you through the process. It is pretty easy, but it comes with one downside. The migration workflow doesn’t support the migration of VM templates. But I think you don’t have to worry much. At least I didn’t have any issues during setting up a content library and also the migration from one data store to another worked just fine.

What did I store in the content library for the test?

  • An ISO file
  • A VM template (traditional, right-click a VM, convert to template, right-click the template, clone to library)
  • A VM template (imported from an OVA file)

So nothing special, for sure, but I’m not sure what exactly is meant by “The workflow doesn’t support the migration of VM templates”. I didn’t test the migration with versioned VM templates, but I may update this blog post at a later time.

So let’s get started now.

Two ways to initiate the migration

You can initiate the migration of your content library in two ways:

  1. You can right-click the content library and select “Migrate”
  2. Or you go into the content library, and select from the actions menu “ACTIONS => Migrate”.
  3. Next, the migration assistant will start.

    NOTICE: You can see the yellow warning, stating that “The workflow doesn’t support the migration of VM templates”
  4. Next, select the storage where you want to migrate the content library to
  5. Check once if everything is correct, then click “FINISH”
  6. In the Tasks view below, you can see the migration progress

And that’s it. Not that complicated. The duration of the content library migration depends on the amount of data as well as the performance of the network and storage.

 

Using the VCF Download Tool on Windows Subsystem for Linux to download VCF 9 binaries

You may have read it here first, but I recently started a new job. And I’m going deep down the rabbit hole, the VMware Cloud Foundation rabbit hole. I recently sat my first VMware Cloud Foundation exam (VCF-VCP administrator) and passed. The needle for this had been in the arm for a long time if one can put it that way.

VCF version 9 has just been released recently too, and many people are trying to get it up and running in their homelab. And I’m no exception. Getting the stuff done is not as easy as it was back in the days with setting up the ESXi hosts, installing vCenter, and then configuring the vSphere environment as it should be (storage, vSAN, distributed virtual switches, etc.).

I’m also not yet quite sure if my whole homelab infrastructure (talking about the Supermicro servers here, and the HP workstation here) has enough resources. It should be enough when doing the math in terms of CPU cores, amount of memory, and storage. But when going deep technical, with CPU specs, etc., that might be a killer. We will see.

Installing the new VMware Cloud Foundation (VCF) version 9 has been simplified somewhat compared to version 5. There is now an installer available to be deployed as an OVA file, which then pulls all the required files (like ESXi installers, vCenter ISO, and all that stuff) automatically, either from an online depot or an offline depot. No matter which way you go, a valid download token is required to pull the installer files.

A quick word on the VCF download tool

The following guide should help you download the binaries from Broadcom through the VCF download tool, running in Windows Subsystem for Linux (WSL). I’m assuming that you have already a WSL environment with a supported Linux version set up and running on your computer. The VCF download tool is designed to run on Linux. The only way to get it working on Windows is to use the WSL environment. Some information (not much, to be honest) is available here on the Broadcom support website: VCF Download Tool under Windows OS (broadcom.com).

A sidenote on the offline depot

One cool thing I stumbled across during my first steps is a blog post from William Lam, where he is setting up a Synology NAS as an offline depot. You may check this out if you have a Synology NAS, that would be a great fit for having the VCF 9 installer configured with this: VCF 9.0 Offline Depot using Synology (williamlam.com).

How to download the binaries with the VCF download tool

Let’s download the binaries with the VCF download tool within WSL.

  1. First, download the VCF download tool from the Broadcom support website. It’s packed as a tar.gz file.
  2. Upload the package to your WSL environment (if your WSL is running, you should see the mounted disk in Windows Explorer. Nice, isn’t it?).
  3. Next, switch to your WSL command line and extract the package to a folder somewhere on the disk.
    Notice: You may have to create a folder first

    tar -xvf vcf-download-tool-9.0.0.0.24703747.tar.gz -C /path/to/folder/
  4. Now, navigate to the /bin subfolder within the extracted folder
    cd /path/to/folder/bin
  5. As mentioned earlier, a valid download token is required to download the binaries. Create a text document (downloadtoken.txt) somewhere on the disk and put your download token in one line. Only the token itself, nothing else. We will reference that file when issuing the download command.
  6. You may create a specific folder where the binaries will be stored, at least I’m referencing to such a folder in this guide.
    Notice: Make sure you have enough free disk space on your Windows computer.
  7. Next, still in the /bin subfolder of the extracted VCF download tool, execute the following command to start the download of the binaries:
    ./vcf-download-tool binaries download --vcf-version 9.0.0 --automated-install -d /path/to/downloadfolder/offline-bundles --depot-download-token-file /path/to/downloadtoken.txt
  8. If everything is configured correctly, you should get a notification to either enable or not the customer experience program. After that, the download should start automatically.
    It should look somewhat like the screenshot below:

When I was downloading the binaries, something went wrong, and four downloads have failed. No worries if something like this happens. Just executed the same command again. The VCF download tool will start again, check what’s already downloaded, and also notice what failed to download. Only these binaries will be downloaded again:

After executing the download command again, all was fine:

One word to disk space. Shortly before the download starts, the VCF download tool will tell you how much disk space is needed, and will then immediately start downloading the binaries. So, really make sure you have enough “physical” disk space on your Windows computer, so that the WSL disk can automatically grow as needed.

Next, I’m going to prepare my Synology NAS as an offline depot and upload all the binaries to it. The ESXi hosts have been reinstalled from scratch already with ESXi 9, but have no configuration yet (except the DHCP IP address).

Bye for now 🙂

An ode to joy – or why you don’t have to mourn the free ESXi

An ode to joy, or why you don’t have to mourn the free ESXi. An obituary.

But before I go into depth here, I would like to declare the following:

This blog post is reflecting my personal opinion. Based on my knowledge and experience, as well as the things I have read on the internet and heard from people directly and discussed with them, I have written this blog post.

The title of this blog post says a lot. At least I think so. And I’m glad you stumbled across this blog post or clicked the link wherever it has been posted. In the last few days, there has been a lot of reading about the fact that VMware by Broadcom has canceled the free ESXi hypervisor. And yes, that may not be the fine English way to mash such a product. I don’t even know if there is a “good” way to do something like that.

Yes. It’s bad that the “free ESXi” has been canceled. At least according to what I read about on X (Twitter) and some IT news portals. People were (and still are) angry about this move of thinning out the product portfolio. I never used this free version, and I wasn’t even aware that this was such a big thing. But that doesn’t count here.

Yes. There are alternative hypervisors, like Hyper-V, Proxmox, and others, and they are free. You can run virtual machines even on storage systems like TrueNAS or Unraid (the last one does cost some bucks). And a free hypervisor, I don’t care about the flavor, might be just enough for some people. They may run a homelab with some VMs, maybe some production services for their home network like Pi-Hole, to name one.

But this is it.

Read more

vExpert Applications are open

The vExpert applications for 2024 are open now. Nice! But what is this?

Some vendors have special programs for the IT folks around the world. These programs are designed for ambassadors and evangelists. Microsoft with its MVP, Veeam with the Vanguards, and many more.

As benefits, you may get early access to beta versions, marketing information, they help you promote your blog posts and many other great things. The VMware vExpert program is VMware’s global evangelism and advocacy program.

There is no certification exam for becoming a vExpert, no course requirement. It is kind of an award or an accreditation. You have to apply for the vExpert program, and a committee will review your application, and then accept your application or reject it.

Do I have what it takes?

Yes! The vExpert program is about “giving back”. You work in your job, you do great things, and help your users and customers. You’ve got experience in IT technology and working for some years already in that area. You may work at VMware, at a partner, or you may be a VMware customer.

Giving back means sharing your knowledge. Did you fix a problem? Blog about it! Did you set up a new solution for a customer? You may speak about it at VMworld! If you’re not a writer, then there are various groups on social media, or you can find forums like the VMTN (and many other non VMware related forums). There are a lot of users, both partners, and customers, asking for help. Help them with your experience and knowledge! You may have written a book about VMware solutions, or you’re focusing on a specific VMware product. Maybe you are a public speaker or a VMUG leader. You have the knowledge, you have experience, share it!

How can I apply?

It is very easy to apply. There are two applications per year. One is starting during the summertime, and one is starting in early December. Both application windows are open for some days. After this period, the committee will close the applications and start their voting. This may take some time too. The results for the December applications are usually announced in February, the summer application will be announced somewhen in August.

If you’re already a vExpert or even a VCDX, you have to reapply. There are also vExpert sub-programs, like Application Modernization, HCX, Cloud Management, and many others, that you can apply for if you’ve been awarded a vExpert.

The December vExpert applications are open now, and the results will be announced in February 2024 (my guess). And it might be one of the most eagerly awaited emails, at least if you read about it on some blogs, or see it popping up on Twitter.

Click here to apply for vExpert 2024!

Can I get help?

Yes! VMware announced the vExpert PRO program. There are more than 100 vExpert PROs around the world that are helping you. They can help you with mentoring, tell you what you have to do, and outline the process of the applications. Just reach out to the vExpert PRO close to your area!

What benefits can I get from the vExpert program?

If you check the list on the vExpert website, you can see that there are a lot of benefits. I’m not listing every point here, but I’d like to mention at least some of them.

You will be part of a global network roughly 1600 other vExperts. They are on social media, Twitter, active on blogs and forums. There is also a Slack channel for vExperts. You’ll get a certificate signed by the VMware CEO. One of my personal favorites is the access to 365 day eval licenses for most of the VMware products, like vSphere, vSAN, etc. Throughout the year, you got the opportunity to join private webinars with VMware partners. You will be featured on the vExpert Directory. Also before VMware Explorer (former VMworld), there are pre-launch briefings for bloggers, which means that you may get a sneak peek at some products or announcements. Also, at the VMware Explore event, there will be vExpert parties both in the US and Europe locations. And I tell you, these parties are awesome!

My personal view

I’m working for about 23 years in IT now, including my apprenticeship. I learned many things, and I’m still learning. I had the chance to gain insights into different industries during my work. When I was awarded a vExpert for the first time, I felt honored. It meant a lot to me to be one of only a few hundred to receive such an award. It showed also that my efforts are worth it, and that they have been noticed. I was working on a partner level for many years, helped my customers to build their infrastructure, helped them with troubleshooting. Now, I’m working at a customer, fighting with daily business problems, architecting data centers, migrating workloads, and designing cloud concepts. I just recently applied to a new job and switched my focus from managing datacenters to managing VMware Horizon VDI workloads. But I still have strong bounds to the datacenter, as I am an infrastrucutre guy, and will ever be an infrastructure guy.

Some people kept smiling at my vExpert status because they didn’t believe in certifications, accreditations, etc. But that didn’t bother me. I did my thing. I wrote blog posts, and I still write (even if not as often or regularly as I want). I’m active in forums and help people with troubleshooting. And I’ve always stood up for one thing. I’m grateful for becoming a vExpert, it meant a lot to me, and it still does.

Personally, I have the feeling that, especially in contact with technical support, it enables a different level of communication if the other person recognizes my status as vExpert. A problem may escalate upwards faster, and you may have faster access to 3rd level support. Things like this. But also during projects, when I’m in contact with internal customers and external consultants, they recognize my status and see that I’m not just some random IT technician or IT dude. I know some stuff, I’m experienced, and someone voted for me so I could become a vExpert. As mentioned, it’s not a certification exam you can learn for. It is the personal commitment that shines through here.

Welcome and Goodbye – New Job!

The last few weeks, and probably months, it was very quiet on my blog. I hadn’t much time to investigate, test, try, and write things down. I had a more important focus over the past few months. And I usually don’t bring up personal things on my blog. But beginning with the 1st of December 2023, I’ll explore new horizons. No, I’m not going on a world tour, or a long holiday voyage. I’m switching my job.

The past

I worked for nearly six years for a company in the high-tech area, started there as an ICT systems specialist, and made it up to ICT systems engineering through the years, with lots of learning, certification, and dedication. My last employer was a company in the high-tech area, with surface treatments, coatings, filaments, etc. The last few months I’ve spent with different projects, documentation work, teaching our internal service and support people, and also handing over things to my team properly. I’m feeling confident that everything is fine and my former coworkers can get over “the loss”. Now it’s time for me to explore new horizons.

The future

The company which hired me is located in the healthcare branch. During the past few months, this company grew to the largest rehabilitation provider in Switzerland: they operate more than 800 beds and employ around 2,100 people. I’ll be working in the IT team (who would have thought) and will take over the responsibility for their VMware Horizon VDI infrastructure. What a great new challenge!

It’s not easy to quit a job and start something new. Everyone who did that probably knows what I’m talking about. And the fact that my last employer and I had a good relationship didn’t make it any easier.

Thank you

The last nearly six years have been very interesting, instructive, and challenging. I’ve met so many great people with in-depth knowledge and a sense for the business. I have to thank my boss for the many years and the trust he gave me. Also many thanks to my team and coworkers for all the support I received when I needed it. You did a great job folks!