Sticky Bit Configuration Files

You can use ESXCLI and the
ESXi
Configuration Store CLI to manage configuration settings that were part of sticky bit configuration files before
ESXi
7.0 Update 3.
The following table contains the file paths to sticky bit files that were used before
ESXi
7.0 Update 3, the configuration area of each file, and the commands you can use to manage the corresponding configuration settings.
Configuration Area
File Path
Commands
Hostd
/etc/vmware/hostd/config.xml
/etc/vmware/hostd/probe-config.xml
/etc/vmware/cpservices/esxtoken/config.xml
You can run the following
ESXi
Configuration Store CLI commands in the
ESXi Shell
.
/bin/configstorecli config current get -c esx -g services -k hostd -outfile tmp.json
/bin/configstorecli config current set -c esx -g services -k hostd -infile tmp.json
/bin/configstorecli config current get -c esx -g services -k hostd_probe -outfile tmp.json
/bin/configstorecli config current set -c esx -g services -k hostd_probe -infile tmp.json
/bin/configstorecli config current get -c esx -g services -k esx_tokend -outfile tmp.json
/bin/configstorecli config current set -c esx -g services -k esx_tokend -infile tmp.json
You must restart the service after running the commands.
You can check all possible
Hostd
settings by providing the configuration store schema in JSON format by running the following command.
/bin/configstorecli schema get -c esx -g services -k hostd
Hostd
/etc/passwd
/etc/shadow
/etc/group
You can modify local accounts by using
esxcli system account
commands.
Hostd
/etc/vmware/lockdown.conf
/etc/vmware/hostd/authorization.xml
You can modify permissions by using
esxcli system permission
commands.
vpxa
etc/vmware/vpxa/vpxa.cfg
You can retrieve the current configuration by running the following
ESXi
Configuration Store CLI command.
configstorecli config current get -c esx -g services -k vpxa -outfile a.json
If you do not specify the
outfile
parameter, the result is written to standard output.
You can modify the current configuration by performing the following steps.
  1. Retrieve the
    a.json
    file.
    configstorecli config current get -c esx -g services -k vpxa -outfile a.json
  2. Edit the
    a.json
    file to modify the values of the properties you want to update.
  3. Update the
    a.json
    file.
    configstorecli config current set -c esx -g services -k vpxa -infile a.json
  4. Restart the
    vpxa
    service.
    /etc/init.d/vpxa restart
ntp
/etc/ntp.conf
esxcli system ntp config get
esxcli system ntp set
ptp
/etc/ptp.conf
esxcli system ptp get
esxcli system ptp set
esxcli network ip interface tag add
networking
/etc/hosts
esxcli network ip hosts list
esxcli network ip hosts add
esxcli network ip hosts list remove
networking
/etc/resolv.conf
You can access DNS information by using
esxcli network ip dns
commands.