Pages

Sunday, December 2, 2018

ESXi update over internet

Sources:
http://www.virtubytes.com/2017/07/10/online-upgrade-esxi-6-5-using-esxcli/
https://cloudhat.eu/update-esxi-6-5-command-line/


esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -
i ESXi-6.5 | grep 201811

ESXi-6.5.0-20181104001-standard   VMware, Inc.  PartnerSupported  2018-11-30T06:47:01  2018-11-30T06:47:01
ESXi-6.5.0-20181104001-no-tools   VMware, Inc.  PartnerSupported  2018-11-30T06:47:00  2018-11-30T06:47:00
ESXi-6.5.0-20181101001s-no-tools  VMware, Inc.  PartnerSupported  2018-11-30T06:47:00  2018-11-30T06:47:00
ESXi-6.5.0-20181103001-standard   VMware, Inc.  PartnerSupported  2018-11-30T06:47:00  2018-11-30T06:47:00
ESXi-6.5.0-20181101001s-standard  VMware, Inc.  PartnerSupported  2018-11-30T06:47:00  2018-11-30T06:47:00
ESXi-6.5.0-20181103001-no-tools   VMware, Inc.  PartnerSupported  2018-11-30T06:47:00  2018-11-30T06:47:00


esxcli software profile update -p ESXi-6.5.0-20181104001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml




Thursday, November 29, 2018

ESXi NIC information

Run this command to check if the legacy driver "ixgbe" has been loaded for 10 Gigabit Network card: /usr/lib/vmware/vm-support/bin/nicinfo.sh | less

You see output:

NIC: vmnic4

NICInfo:
Advertised Auto Negotiation: false
Advertised Link Modes: 10000BaseX/Full
Auto Negotiation: false
Cable Type: FIBRE
Current Message Level: -1
Driver Info:
NICDriverInfo:
Bus Info: 0000:04:00:0
Driver: ixgbe (or similar)
Firmware Version: 0x80000838
Version: 1.0.0.0

Tuesday, November 6, 2018

Skyline - collected data

Before sending collected data to VAC, Skyline Collector (ccf-collector) store cache files to local.
These cache files (formatted by JSON) are located under "/usr/local/skyline/ccf/output" directory. These cache files are compressed in gzip format.
For example, output_<TIMESTAMP>_Topology.json.gz is a full topology data of endpoints.
These files are retained until the number of total files reaches 1000 OR the size of total files reaches 500 MB.


Friday, September 21, 2018

Password expires in X days notification in web client


This is configurable as part of the vSphere Web (Flex) / H5 (HTML) Client configuration

Web Client - /etc/vmware/vsphere-client/webclient.properties
H5 Client - /etc/vmware/vsphere-ui/webclient.properties

The default is 30 days

# The number of days before the notification about expiring password appears.
sso.pending.password.expiration.notification.days = 30


You'll probably need to restart the service for the change to take affect

Thursday, May 24, 2018

MultiNIC vMotion

Posílám info k MultiNIC

AdvSystemSettings
Default
Tunning
Desc
Migrate.VMotionStreamHelpers
0
8
Number of helpers to allocate for VMotion streams
Net.NetNetqTxPackKpps
300
600
Max TX queue load (in thousand packet per second) to allow packing on the corresponding RX queue
Net.NetNetqTxUnpackKpps
600
1200
Threshold (in thousand packet per second) for TX queue load to trigger unpacking of the corresponding RX queue
Net.MaxNetifTxQueueLen
2000
10000
Maximum length of the Tx queue for the physical NICs 

Friday, April 27, 2018

MySQL Administration

HOW TO RESET  MYSQL ROOT PASSWORD

  # start MySQL without permissions
  /usr/local/bin/mysqld_safe --skip-grant-tables &

  # login to mysql as root without password
  mysql -uroot

  # flush privileges
  flush privileges;

  # change root password
  set password for 'root'@'localhost' = PASSWORD('new-password');


OTHER COMMANDS

# show version
select version();

# change root password
set password for 'root'@'localhost' = PASSWORD('new-password');