Useful cmds for troubleshooting ISCSI on ESXI Shell

Just a quick post showing a few commands that are great for troubleshooting issues with ISCSI on  ESXI host: Netcat: the following cmd verifies that you can reach the TCP ISCSI port (2360) on the storage array from the host. nc -z target_ip 3260 vmkping: To test the san and switch configuration you can use the following... Continue Reading →

Networking Configuration on a ESXI Host using Shell

Useful network commands on ESXI Shell: esxcfg-nics cmd allows you to set the speed, duplex or list physical nics. esxcfg-nics -h shows the list of cmd available esxcfg-vswitch cmd allows you to administer vSwitchs. to list the switches: esxcfg-vswitch -l      # list current vswitch configuration esxcfg-vmknic -l       # list vmkernel interfaces and their configuration esxcfg-nics... Continue Reading →

Configuring Routing on ESXI Shell

A quick post to show how to create and view routes on a ESXI Host: The following cmd shows the list of options: esxcfg-route -h To set the VMkernel  default gateway: esxcfg-route -a default <IP address> or esxcfg-route <IP Address> To view the arp table: esxcfg-route -n To add a route:  esxcfg-route -a 192.168.100.0 255.255.255.0... Continue Reading →

Powering off a VMware Virtual Machine in ESXI Shell

I recently had a issue with a VM failing to shut down via the client and web console. I found the best way to resolve this would be to force a shutdown via the ESXI shell. Connect to the ESXI Shell using Putty or other terminal console using SSH. You would first need to get... Continue Reading →

Investigating a locked VM using ESXI Shell.

When you try to power on a machine you will receive a message "Unable to access a file since it is locked"  I found the best way to fix this is to migrate the VM to another host. To investigate whether the VM  is locked you would need to open a shell session to the... Continue Reading →

Configuring vSphere HA Isolation Responces 5.1

When carrying out maintenance on Vcenter it is important to disable Enable Host Monitoring. You can also configure advanced isolation response address's.  for more information, please see VMware's support document : http://kb.vmware.com/selfservice/documentLinkInt.do?micrositeID=&popup=true&languageId=&externalID=2033250

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: