The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘VMware ESXi’ Category

7zip on ESXi through p7zip – redux

Posted by jpluimers on 2019/03/12

Steps to get it working on ESXi 6.x with p7zip 16.02:

  1. Copy the output of https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_x86_linux_bin.tar.bz2/download to a place where you can reach it through http (as wget on ESXi does not understand https)
  2. Follow the script below

mkdir -p /local/bin
cd /local bin
wget http://192.168.71.62/esxi/netcologne.dl.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_x86_linux_bin.tar.bz2
bzip2 -d p7zip_16.02_x86_linux_bin.tar.bz2
mv p7zip_16.02/bin/7z* .
chmod 755 7z 7za 7zra

Based on much longer steps involving Windows and an older version of p7zip: 7zip on ESXi through p7zip.

–jeroen

Posted in 7zip, Compression, ESXi4, ESXi6, ESXi6.5, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

ESXi 6.5: change the host name in the “new” vSphere HTML5 Web Client, or using DHCP option 12

Posted by jpluimers on 2019/03/06

With the removal of the C# based Windows vSphere Client in ESXi 6.5, the vSphere HTML5 Web Client is the way to go.

It doesn’t cover all functionality yet, and some functionality is in different places in the UI, so below the steps to change the hostname.

Since I prefer a central location of name and address management, I’ve also documented on how to do this with DHCP option 12.

Oh: I’m not alone in finding the changed place

Before I begin, some background reading on DHCP Options as I plan to do more with that in the future:

Read the rest of this entry »

Posted in Development, ESXi6.5, Power User, RouterOS, Scripting, Software Development, Virtualization, VMware, VMware ESXi | Leave a Comment »

Creating a bootable USB installer for ESXi and use it to create a bootable ESXi installation

Posted by jpluimers on 2019/03/05

VMware and USB sticks have two aspects:

  1. Creating an installable USB stick
  2. Boot from it and install on another USB stick

Some motherboard and servers offer an internal USB socket to plug in the second stick.

If not, search for “usb 3” motherboard header adapter “usb a”.

Getting the ISO installer on a USB stick to install from

  1. Download Rufus (I’ve used the portable version from)
  2. Run Rufus, select ISO image type
  3. Choose the image (the button on the right of the image type), in my case VMware-VMvisor-Installer-201701001-4887370.x86_64.iso from https://my.vmware.com/group/vmware/evalcenter?p=free-esxi6 which Rufus recognises as ESXI-6.5.0-20170104001-STANDARD:
  4. Confirm the menu file replacement (note they forgot to translate the Ja button to Yes and Nee to No):

    ---------------------------
    Replace menu.c32?
    ---------------------------
    This ISO image seems to use an obsolete version of 'menu.c32'.
    Boot menus may not display properly because of this.
    
    A newer version can be downloaded by Rufus to fix this issue:
    - Choose 'Yes' to connect to the internet and download the file
    - Choose 'No' to leave the existing ISO file unmodified
    If you don't know what to do, you should select 'Yes'.
    
    Note: The new file will be downloaded in the current directory and once a 'menu.c32' exists there, it will be reused automatically.
    ---------------------------
    Ja Nee
    ---------------------------
  5. If you get this, then just choose No in the previous dialog:

    ---------------------------
    File download
    ---------------------------
    Unknown internet error 0x00002F0D
    ---------------------------
    OK
    ---------------------------
  6. Confirm erasure of the USB device data (here the Cancel button is still Dutch Annuleren:

    ---------------------------
    Rufus
    ---------------------------
    WARNING: ALL DATA ON DEVICE 'NO_LABEL (F:) [4.1GB]' WILL BE DESTROYED.
    To continue with this operation, click OK. To quit click CANCEL.
    ---------------------------
    OK Annuleren
    ---------------------------

Installing from the USB based installer onto another target USB stick

Yes, you need a second USB to install onto. Which means that it’s best if the two sticks are different models or different brands so it is easier to set them apart.

  1. Insert both sticks in your machine
  2. Power on the  machine and go into BIOS settings
  3. Boot from the first

Posted in ESXi6, ESXi6.5, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

Supermicro | Products | Motherboards | Xeon® Boards | X10SRH-CF

Posted by jpluimers on 2019/03/01

I still like this board: [WayBackSupermicro | Products | Motherboards | Xeon® Boards | X10SRH-CF.

It’s in my main virtualisation workhorse, uses little power, has loads of disk (SAS/SATA) ports, IPMI, two network connections and enough slots for memory and I/O to be extensible.

I use it for most of my software development even when on the road: VPN home over one of the fiber connections and it screams.

Some links, as SuperMicro tends to hide them behind POST requests:

–jeroen

Posted in Development, ESXi6.5, Hardware, Mainboards, Power User, Software Development, SuperMicro, Virtualization, VMware, VMware ESXi, X10SRH-CF | Leave a Comment »

airbus-seclab/crashos

Posted by jpluimers on 2018/10/30

Cool repository, but contact your cloud provider before trying…: [WayBackairbus-seclab/crashos.

via:

–jeroen

Posted in Fusion, Hyper-V, KVM Kernel-based Virtual Machine, Power User, Proxmox, View, VirtualBox, Virtualization, VMware, VMware ESXi, VMware Workstation | Leave a Comment »

Check If A Linux System Is Physical Or Virtual Machine

Posted by jpluimers on 2018/10/08

One day I am going to try to extend this for a few other virtualisation environments and Linux distributions: [WayBack] Check If A Linux System Is Physical Or Virtual Machine

Via: [WayBack] Check If A Linux System Is Physical Or Virtual Machine #Linux – Joe C. Hecht – Google+

–jeroen

Posted in *nix, *nix-tools, Fusion, Hyper-V, KVM Kernel-based Virtual Machine, Power User, Proxmox, View, VirtualBox, Virtualization, VMware, VMware ESXi, VMware Workstation | Leave a Comment »

Is memory ballooning a thing from the past or still current?

Posted by jpluimers on 2018/02/02

I wonder with the current memory pricing and amounts of memory that host machines have: is memory ballooning a thing from the past?

–jeroen

[Archive.isVirtualization: What is memory ballooning? – Quora

Posted in Hyper-V, Power User, Proxmox, Virtualization, VMware, VMware ESXi | 1 Comment »

Intel Sightings in ESXi Bundled Microcode Patches for VMSA-2018-0004 (52345)

Posted by jpluimers on 2018/01/15

If you’ve installed this patch [WayBack] Intel Sightings in ESXi Bundled Microcode Patches for VMSA-2018-0004 (52345), then please read the article if your processor is affected by microcode updates in it.

To inspect which processor is in your machine, please see:

On my system, this was enough:

vim-cmd hostsvc/hostsummary | grep cpuModel
vim-cmd hostsvc/hosthardware | grep -w -A7 "cpuPkg\|cpuFeature" | grep "description\|eax\|ebx\|ecx\|edx\|vendor"

The above statements are based on:

I was lucky, but for now, ESXi has retracted it.

So please disregard my previous post VMware ESXi 6.5.0 Patch History.

–jeroen

Posted in ESXi6, ESXi6.5, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

SexiLog – better insight in VMware vSphere/ESXi logs

Posted by jpluimers on 2018/01/15

On my watch list. Hopefully by now they have more recent Kibana support:

[WayBackAny plans for Kibana 5 support? · Issue #43 · sexibytes/sexilog · GitHub

–jeroen

via: Matthijs ter Woord

Posted in Power User, VMware, VMware ESXi | Leave a Comment »

VMware ESXi 6.5.0 Patch History

Posted by jpluimers on 2018/01/13

Please do not install the below patches: they have been pulled because of an Intel Microcode problem.

See:

[WayBack] Intel Sightings in ESXi Bundled Microcode Patches for VMSA-2018-0004 (52345)

In case you have not installed this yet: hurry, as it contains the Spectre/Meltdown patches [WayBackVMware ESXi 6.5, Patch Release ESXi650-201801401-BG: Updates esx-base, esx-tboot, vsan, and vsanhealth VIBs (52198) containing [WayBack] CVE – CVE-2017-5715.

[WayBackVMware ESXi 6.5.0 Patch History: Keep track of VMware ESXi patches, subscribe by RSS, Twitter and E-Mail! – Brought to you by @VFrontDe

# Cut and paste these commands into an ESXi shell to update your host with this Imageprofile
# See the Help page for more instructions
#
esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile update -p ESXi-6.5.0-20180104001-standard \
-d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli network firewall ruleset set -e false -r httpClient
#
# Reboot to complete the upgrade

–jeroen

Posted in ESXi6.5, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »