Posts

Showing posts from October, 2022

How to get llama 2 up and running , in a VM, with no GPU, and limited memory on Ubuntu

Image
OK I decided to write this up after unsuccessfully being able to find all the required info I needed in one place. In this setup we will be using Ubuntu Server 22.04.2 LTS as the OS. I have this running on a home lab ESXi server 8, on a HP Compaq Pro 6300 SFF CPU = Intel Core i7-3770 Installed Memory 16 GB I have some 10K SAS drives installed for the VM's If you have not already, navigate to  Get Ubuntu Server | Download | Ubuntu and download the 22.04.2 LTS ISO Next Lets create our VM that we are going to run this in. *Note Im using ESXi however you can probably do this in Workstation, Fusion, VirtualBox etc The main things to note on the VM creation. Set Ubuntu 64 bit as the guest OS Set your CPU relevant to the physicals CPU, I will be starting with 4 VCPU Set your Memory to as much as you can tolerate, I will be using 12 Disk Space - we are creating a 100G swap file, and the rest of the file can take up some room , so more is better if you can afford it Dont forget to add the U...

vCenter Services Dependency tree

 The other day I needed a list of dependency's for the vCenter services. Found out you can do this with service-control --list-dependencies <service name> Version 7.0.3U3h So I started with service-control --status --all, created a list. I started to do this one by one, but of course its more fun to script it so I put all of them and ran a FOR LOOP on it for SERV in $(cat ./serv.txt); do echo $SERV "--" && service-control --list-dependencies $SERV; done >> ServiceDepend.txt applmgmt -- statsmonitor lookupsvc -- rhttpproxy vmware-vpostgres lwsmd -- observability -- observability-vapi -- lookupsvc vpxd-svcs pschealth -- vpxd vlcm -- lookupsvc vmware-vpostgres vpxd vmafdd -- lwsmd vmcad -- vmafdd vmdird vmdird -- vmafdd vmonapi -- lookupsvc sts vmware-analytics -- envoy lookupsvc vmafdd vpxd vmware-certificateauthority -- lookupsvc sts vpxd-svcs vmware-certificatemanagement -- lookupsvc sts vpxd-svcs vmware-cis-license -- envoy lookupsvc sts vmware-conten...

Upgrading to vSphere 8 on unsupported hardware

 So im still running unsupported hardware, but perhaps this workaround will let me hold on to my lab hardware just a couple more years longer. Enable SSH into the ESXi host This is what i did that so far is working vi /bootbank/boot.cfg **add in allowLegacyCPU=true to kernelopt vi /altbootbank/boot.cfg **add in allowLegacyCPU=true to kernelopt esxcli software vib remove -n synology-nfs-vaai-plugin ** this vib comes up in the pre-check so it had to be removed reboot cat /bootbank/boot.cfg cat /altbootbank/boot.cfg **Make sure the allowLegacyCPU=true is still there esxcli software profile update -p ESXi-8.0.0-20513097-standard -d /vmfs/volumes/340ffc1d-98386c9a/VMware/vSphere/8.x/VMware-ESXi-8.0-20513097-depot.zip --no-hardware-warning cat /bootbank/boot.cfg cat /altbootbank/boot.cfg **Make sure the allowLegacyCPU=true is still there reboot cat /bootbank/boot.cfg cat /altbootbank/boot.cfg **Make sure the allowLegacyCPU=true is still there reboot **reboot one more time just to be sure...