Code Monkey home page Code Monkey logo

vcsa_on_kvm's Introduction

vcsa_on_kvm

VMware-vCenter-Server-Appliance 8.0 U2 on KVM Install / Ansible Playbook

I found most of this at the link below and adapted it in a quick and dirty manner for the sole purpose of getting VCSA running under KVM as quickly as I could.

https://gist.github.com/infernix/0377af0bc9012e3d5e5e

Original link handled 6.0, so some changes for 6.5 were necessary: an extra disk, different sizes, more RAM, and a different post install mechanism, which I ended up just avoiding from an automation perspective because it seems to have totally changed from 6.0 to 6.5. Once the appliance installs, you can configure it on the console initially, then via the vcsa administrator web interface on port 5480 by default.

I have since updated to use 6.7 borrowing some efforts from Dr-Shadow's fork.

Note that it can take a while for the appliance to come up to the blue screen where you can do the initial configuration. After it comes up, it may still be installing packages. If you configure the management network and disable IPv6, it will reboot the host potentially halting the install in the background. If this happens the Administrator UI will say installing RPMs indefinitely.

You may want to enable ssh and shell and login and check the contents of /var/log/firstboot/rpmInstall.json before proceeding (assuming you have DHCP running and/or IPv6 operational). Speaking of DHCP it seems like the initial install will fail if DHCP isn't available. Also, the console will show localhost for a while even after it's requested a DHCP address, after a while the DHCP address should get displayed.

Note also that valid reverse DNS is supposed to be important when configuring the management network for the appliance.

For setting up ESXi 6.5 under KVM, the following settings may help on your host, probably want to reboot after:

# cat /etc/modprobe.d/kvm-intel.conf
options kvm ignore_msrs=1
options kvm-intel nested=y ept=y

Also when setting up the ESX VM in KVM, choose "Copy host CPU configuration" under CPU and e1000 may be your best choice for NIC model. ESXi 6.5 seems to require a minimum of 4 GB to run, or at least to install. I'm using an IDE drive with it.

UPDATE:

January 10, 2024

Updated for VCSA 8.0 U2.

Using SATA disks for ESXi now.

Using e1000e for all nics now.

Sort of cleaned it up just ever so slightly. At least it's a touch easier to read now.

Failed firstboot install with 16 GB RAM. Switched to 24 GB and it worked. Thinking 20 GB might be enough.

I was not able to get the vCLS VM to run nested. I disabled it following https://kb.vmware.com/s/article/91890.

vcsa_on_kvm's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.