4 ways to configure adv. settings in CLI

There are a few CLI methods to configure advanced settings in ESXi Hosts. It depends on where you are (vMA/Linux, Windows Client, Console) and what you want to do (configure all hosts or just a specific host, …) which option fits best. Here I describe the options: native PowerCLI, esxcli (console), esxcli (get-esxcli), esxcli (get-esxcli -v2) to:

  • List
    • All settings
    • All settings in a specific Tree or Folder (eg.  /UserVars)
    • A specific option
    • All settings that differ from default settings (Delta)
  • Set
    • Integer
    • String.

Continue reading “4 ways to configure adv. settings in CLI”

4 ways to configure adv. settings in CLI

Public CA do not allow internal names and reserved IP address any more

With November 2015 public CAs do not issue new certificates that uses internal names or reserved IP addresses in subjectAltName or in commonName. Furthermore such certificates will be revoked on October 1st, 2016.

Internal names are hostnames that do not end with an Top Level Domain ending (.com, .de, …). For example: .local, .internal. Also NetBIOS names without any domain extension are affected.

Reserved IP addresses are defined by Internet Assigned Numbers Authority (IANA). You can look reservations for IPv4 here  (RFC 1918 range) and IPv6 here (RFC 4193 range).

If you are using an internal CA you are not affected. For more information about this change of public CAs click here. For more information about VMware products click here.

Public CA do not allow internal names and reserved IP address any more

Configure HP iLO in ESXi console

To configure a HP iLO board you can use a web browser of course. But how to access iLO when you did not set a correct IP address or Administrator password in BIOS using F8 key? Of course you can reboot and enter F8 at boot. But to restart a ESXi host just to enter a iLO IP address is not very elegant. Here I will explain how to configure iLO in ESXi shell.

Continue reading “Configure HP iLO in ESXi console”

Configure HP iLO in ESXi console

Update host without Update Manager by using esxcli

This blog post describes how to update respectively install VIBs on hosts without using VMware Update Manager (VUM). Instead of VUM we will use esxcli. esxcli software is a really powerful framework which you can use to keep your hosts up-to-date, install and remove bundles. The commands below are using real repositories and vSphere Installation Bundles (VIBs). These examples should work fine for ESXi 5.x. Do not forget to set maintenance mode before updating a host.

Some words for HP VIBs
These days there are strange behavours when updating HP VIBs. So I could not update the VIB for HP-AMS using the command to update all HP VIBs on the host:

esxcli software vib update -d http://vibsdepot.hp.com/index.xml

I got an [VibDownloadError]-error. Coping the vib locally and running the command to install VIBs, previous copied to local disk

esxcli software vib update --viburl /tmp/hp-vib/hp-ams-550.10.0.1-07.1198610.vib

works fine. After this, esxcli software vib update -d http://vibsdepot.hp.com/index.xml works without any problems.

Update host without Update Manager by using esxcli

configure Smart Array Controller by use of esxcli

The following commands show how to configure an HP Smart Array Controller by use of command line utility esxcli. Some time ago, ACU is replaced by Smart Storage Administrator (SSA). So if the command hpacucli doesn´t work for you any more, replace it by hpssacli.

To be able to do this, HP offline bundle must be installed on the host.

Continue reading “configure Smart Array Controller by use of esxcli”

configure Smart Array Controller by use of esxcli