unhide recovery partition
Dump Collector

ESXCLI Basics: Configure Dump Collector Host

Another basic command, but may be useful in stateless environments with no local disk usable for a diagnostic partition. Here is a quick how-to. Connect to your host through SSH or open the DCUI. Setup the VMkernel interface, remote server IP address and port: # esxcli system coredump network set -v vmk0 -i 10.10.10.10 -o 6500 Enable the remote dump collector host: # esxcli system coredump network set -e true Verify the settings: # esxcli […]

unhide recovery partition
ESXCLI

ESXCLI Basics: Configure Syslog Host

Another basic command, but essential for health monitoring of your hosts when using a Syslog Server. Here is a quick how-to. Connect to your host through SSH or open the DCUI. Setup the target Syslog Server and place logs in an unique subdirectory: # esxcli system syslog config set –logdir-unique true –loghost=udp://10.10.10.10:514 Open the ports for Syslog on the firewall: # esxcli network firewall ruleset set –e true –r syslog Apply the configuration with: # […]

unhide recovery partition
ESXCLI

ESXCLI Basics: Setup SNMP on ESXi 5.x

This is really basics stuff, but here is a quick how to. Connect to your host through SSH or open the DCUI. Setup the target SNMP server, port and community string: # esxcli system snmp set –t <ip_or_fqdn>@/<community_string> Enable SNMP: # esxcli system snmp set –e yes Logout. Done! 🙂 Verify the snmpd service is running and check if the ports are open on the host though vSphere Client or vSphere Web Client. Please note […]

unhide recovery partition
ESXCLI

ESXCLI Basics: Troubleshooting Management Network Connection on ESXi 5.x

Another quick post about ESXCLI basics. Here is a procedure how to quickly recover the Management Network functionality on your ESXi host. First, login through iLO or iDRAC or iRMC, whatever remote management solution your server is equipped with. Press F2 on Direct Console UI, provide the root password and enable ESXi Shell via Troubleshooting Options. Press ALT+F1 and log in. List vmkernel interfaces: # esxcli network ip interface list Remove vmkernel interface(s): # esxcli […]

unhide recovery partition
ESXCLI

ESXCLI Basics: Installing a custom CIM provider on ESXi 5.x

A quick blog post on how to install a custom CIM provider on an ESXi 5.x host. Command reference can be found here. In this example I will use an Emulex vib CIM provider for ESXi which is necessary if you using Emulex OneCommand vCenter plug-in in your environment. Install custom CIM provider First, enable SSH on the host. Upload the vib to the tmp directory on the ESXi host. Login to host via SSH […]