<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Procedures_%28ESX%29</id>
	<title>Procedures (ESX) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Procedures_%28ESX%29"/>
	<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;action=history"/>
	<updated>2026-05-20T05:35:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;diff=2180&amp;oldid=prev</id>
		<title>Sstrutt: /* NIC Operations */ Added &quot;Display ARP Cache&quot;</title>
		<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;diff=2180&amp;oldid=prev"/>
		<updated>2012-10-16T10:11:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;NIC Operations: &lt;/span&gt; Added &amp;quot;Display ARP Cache&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:11, 16 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l155&quot;&gt;Line 155:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 155:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;code&amp;gt; vsish -e get net/pNics/vmnic&amp;lt;no&amp;gt;/properties&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** &amp;lt;code&amp;gt; vsish -e get net/pNics/vmnic&amp;lt;no&amp;gt;/properties&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Where &amp;lt;code&amp;gt;&amp;lt;no&amp;gt;&amp;lt;/code&amp;gt; is your NIC no, eg &amp;lt;code&amp;gt; vsish -e get net/pNics/vmnic1/properties &amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Where &amp;lt;code&amp;gt;&amp;lt;no&amp;gt;&amp;lt;/code&amp;gt; is your NIC no, eg &amp;lt;code&amp;gt; vsish -e get net/pNics/vmnic1/properties &amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Display ARP Cache ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;ESX&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &amp;lt;code&amp;gt; arp -a &amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &#039;&#039;&#039;ESXi&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** &amp;lt;code&amp;gt; esxcli network neighbor list &amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= HBA and SAN Operations =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= HBA and SAN Operations =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sstrutt</name></author>
	</entry>
	<entry>
		<id>http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;diff=1772&amp;oldid=prev</id>
		<title>Sstrutt: Minor reformatting, page needs major revision</title>
		<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;diff=1772&amp;oldid=prev"/>
		<updated>2012-03-13T14:34:15Z</updated>

		<summary type="html">&lt;p&gt;Minor reformatting, page needs major revision&lt;/p&gt;
&lt;a href=&quot;http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;amp;diff=1772&amp;amp;oldid=1520&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Sstrutt</name></author>
	</entry>
	<entry>
		<id>http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;diff=1520&amp;oldid=prev</id>
		<title>Sstrutt: Export from original ESX page</title>
		<link rel="alternate" type="text/html" href="http://vwiki.co.uk/index.php?title=Procedures_(ESX)&amp;diff=1520&amp;oldid=prev"/>
		<updated>2011-11-08T08:30:35Z</updated>

		<summary type="html">&lt;p&gt;Export from original ESX page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Procedures =&lt;br /&gt;
Links to VMware KB docs...&lt;br /&gt;
* [http://kb.vmware.com/kb/1026380 VMware KB1026380 - Committing snapshots on ESX/ESXi host from command line]&lt;br /&gt;
&lt;br /&gt;
== Quick commands ==&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; vmware -v &amp;lt;/code&amp;gt;                    || ESX3 software version and build&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; vmware -l &amp;lt;/code&amp;gt;                    || ESX4 software version and build&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; vm-support -x &amp;lt;/code&amp;gt;                || List running VM&amp;#039;s&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; vmware-cmd -l &amp;lt;/code&amp;gt;                || List config files of VM&amp;#039;s registered to ESX&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; esxcfg-rescan vmhba0 &amp;lt;/code&amp;gt;         || Perform LUN rescan on vmhba0&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; esxcfg-vmhbadevs &amp;lt;/code&amp;gt;             || List HBA LUN mappings&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; esxcfg-scsidevs --hbas &amp;lt;/code&amp;gt;       || List HBA devices&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt; esxcfg-mpath -l &amp;lt;/code&amp;gt;              || List all LUNS and their paths&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== ESX Shutdown / Reboot ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;ESX&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Shutdown a host ready for power off &lt;br /&gt;
** &amp;lt;code&amp;gt; shutdown -h now &amp;lt;/code&amp;gt;&lt;br /&gt;
* Restart a host &lt;br /&gt;
** &amp;lt;code&amp;gt; shutdown -r now &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;ESXi&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Shutdown a host ready for power off, either of&lt;br /&gt;
** &amp;lt;code&amp;gt; /bin/host_reboot.sh &amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt; reboot &amp;lt;/code&amp;gt;&lt;br /&gt;
* Restart a host &lt;br /&gt;
** &amp;lt;code&amp;gt; /bin/host_shutdown.sh &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== High Availability Stop/Start ==&lt;br /&gt;
* Stop HA...&lt;br /&gt;
** &amp;lt;code&amp;gt;  /etc/init.d/VMWAREAAM51_vmware stop  &amp;lt;/code&amp;gt;&lt;br /&gt;
* Start HA...&lt;br /&gt;
** &amp;lt;code&amp;gt;   /etc/init.d/VMWAREAAM51_vmware start  &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== VMware Management Agent Restart ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;ESX&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
service mgmt-vmware restart&lt;br /&gt;
Stopping VMware ESX Server Management services:&lt;br /&gt;
  VMware ESX Server Host Agent Services                   [  OK  ]&lt;br /&gt;
  VMware ESX Server Host Agent Watchdog                   [  OK  ]&lt;br /&gt;
  VMware ESX Server Host Agent                            [  OK  ]&lt;br /&gt;
Starting VMware ESX Server Management services:&lt;br /&gt;
  VMware ESX Server Host Agent (background)               [  OK  ]&lt;br /&gt;
  Availability report startup (background)                [  OK  ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this fails to stop the service, you can try to manually kill the processes. &lt;br /&gt;
# Determine the PID&amp;#039;s of the processes&lt;br /&gt;
#* &amp;lt;code&amp;gt; ps -auxwww | grep vmware-hostd &amp;lt;/code&amp;gt;&lt;br /&gt;
#* which should give you something like, in which case the PID&amp;#039;s are 2807 and 2825... &lt;br /&gt;
#* &amp;lt;code&amp;gt; root      2807  0.0  0.3  4244  884 ?        S    Mar10   0:00 /bin/sh /usr/bin/vmware-watchdog -s hostd -u 60 -q 5 -c /usr/sbin/vmware-hostd-support /usr/sbin/vmware-hostd -u &amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt; root      2825  0.1 12.0 72304 32328 ?       S    Mar10   1:14 /usr/lib/vmware/hostd/vmware-hostd /etc/vmware/hostd/config.xml -u &amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt; root     13848  0.0  0.2  3696  556 pts/0    R    08:43   0:00 grep vmware-hostd &amp;lt;/code&amp;gt;&lt;br /&gt;
# Kill the PID&amp;#039;s using &amp;lt;code&amp;gt; kill -p pid &amp;lt;/code&amp;gt;&lt;br /&gt;
#* So, for example, &amp;lt;code&amp;gt; kill -9 2807 &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; kill -9 2825 &amp;lt;/code&amp;gt; &lt;br /&gt;
# Then reattempt the service restart&lt;br /&gt;
&lt;br /&gt;
To also restart the Virtual Centre Agent, use&lt;br /&gt;
 service vmware-vpxa restart&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;ESXi&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt; services.sh restart &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== VMware Web Access Restart ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
service vmware-webAccess restart&lt;br /&gt;
Stopping VMware ESX Server webAccess:&lt;br /&gt;
   VMware ESX Server webAccess                             [FAILED]&lt;br /&gt;
Starting VMware ESX Server webAccess:&lt;br /&gt;
   VMware ESX Server webAccess                             [  OK  ]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== VM Start ==&lt;br /&gt;
On the ESX that currently owns the VM...&lt;br /&gt;
# Get the VM&amp;#039;s config file path&lt;br /&gt;
#* &amp;lt;code&amp;gt; vmware-cmd -l | grep VM_Name &amp;lt;/code&amp;gt;&lt;br /&gt;
# Start the VM using the path found&lt;br /&gt;
#* &amp;lt;code&amp;gt; vmware-cmd \vm_path\VM_Name.vmx start &amp;lt;/code&amp;gt;&lt;br /&gt;
# Wait for start-up to complete, if start-up fails check the VM&amp;#039;s log&lt;br /&gt;
#* &amp;lt;code&amp;gt; less \vm_path\vmware.log &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Maintenance Mode ==&lt;br /&gt;
To put the ESX into maintenance mode with no access from the Infrastructure Client (VCP) use the following commands - use with caution&lt;br /&gt;
&lt;br /&gt;
Put esx into maintenance mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vimsh -n -e /hostsvc/maintenance_mode_enter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
check the esx is in maintenance mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vimsh -n -e /hostsvc/runtimeinfo | grep inMaintenanceMode | awk ‘{print $3}’&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
exit maintenance mode&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vimsh -n -e /hostsvc/maintenance_mode_exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== TCPDump Network Sniffer ==&lt;br /&gt;
Basic network sniffer available in Service Console&lt;br /&gt;
&lt;br /&gt;
[http://www.tcpdump.org/tcpdump_man.html TCPDump instruction manual]&lt;br /&gt;
&lt;br /&gt;
EG To sniff all traffic on the Service Console interface, vswif0, going to/from 159.104.227.40&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; tcpdump -i vswif0 host 159.104.224.70 &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
=== Password Complexity Override ===&lt;br /&gt;
In order to be able to change a user (or root) password to one that breaches password complexity checking&lt;br /&gt;
&lt;br /&gt;
# Disable PAM module&lt;br /&gt;
#* &amp;lt;code&amp;gt; esxcfg-auth --usepamqc -1 -1 -1 -1 -1 -1 &amp;lt;/code&amp;gt;&lt;br /&gt;
# Disable complexity checker&lt;br /&gt;
#* &amp;lt;code&amp;gt; esxcfg-auth --usecrack -1 -1 -1 -1 -1 -1 &amp;lt;/code&amp;gt;&lt;br /&gt;
# Change password&lt;br /&gt;
# Re-enable PAM module&lt;br /&gt;
#* &amp;lt;code&amp;gt; esxcfg-auth --usepamqc=-1 -1 -1 -1  8 8 &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Regenerate Certificate ===&lt;br /&gt;
You might need to regenerate certificates if&lt;br /&gt;
* Change ESX host name&lt;br /&gt;
* Accidentally delete the certificates&lt;br /&gt;
&lt;br /&gt;
To generate new Certificates for the ESX Server host...&lt;br /&gt;
# Change directories to /etc/vmware/ssl.&lt;br /&gt;
# Create backups of any existing certificates:&lt;br /&gt;
#* &amp;lt;code&amp;gt; mv rui.crt orig.rui.crt &amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt; mv rui.key orig.rui.key &amp;lt;/code&amp;gt;&lt;br /&gt;
# Rstart the vmware-hostd process:&lt;br /&gt;
#* &amp;lt;code&amp;gt; service mgmt-vmware restart &amp;lt;/code&amp;gt;&lt;br /&gt;
# Confirm that the ESX Server host generated new certificates by executing the following command comparing the time stamps of the new certificate files with orig.rui.crt and orig.rui.key&lt;br /&gt;
#* &amp;lt;code&amp;gt; ls -la &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NIC Operations ==&lt;br /&gt;
=== Get NIC Firmware/Driver versions ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ESX4&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt; ethtool -i vmnic&amp;lt;no&amp;gt; &amp;lt;/code&amp;gt;&lt;br /&gt;
** Where &amp;lt;code&amp;gt;&amp;lt;no&amp;gt;&amp;lt;/code&amp;gt; is your NIC no, eg &amp;lt;code&amp;gt; ethtool -i vmnic0 &amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ESX3i / ESX4i&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** &amp;lt;code&amp;gt; vsish -e get net/pNics/vmnic&amp;lt;no&amp;gt;/properties&amp;lt;/code&amp;gt;&lt;br /&gt;
** Where &amp;lt;code&amp;gt;&amp;lt;no&amp;gt;&amp;lt;/code&amp;gt; is your NIC no, eg &amp;lt;code&amp;gt; vsish -e get net/pNics/vmnic1/properties &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== HBA and SAN Operations ==&lt;br /&gt;
=== VMFS / LUN Addition ===&lt;br /&gt;
The new LUN needs to be carved up and presented to all ESX&amp;#039;s that should see it (normally all ESX&amp;#039;s from a particular cluster).  Once completed, follow the procedure below to add to the ESX&amp;#039;s...&lt;br /&gt;
# Pick ESX in cluster with lowest load&lt;br /&gt;
# Go to &amp;#039;&amp;#039;&amp;#039;Storage Adapters&amp;#039;&amp;#039;&amp;#039;, hit &amp;#039;&amp;#039;&amp;#039;Rescan...&amp;#039;&amp;#039;&amp;#039; and untick the &amp;#039;&amp;#039;Scan for New VMFS Volumes&amp;#039;&amp;#039;&lt;br /&gt;
# Once scan has complete, go to &amp;#039;&amp;#039;&amp;#039;Storage&amp;#039;&amp;#039;&amp;#039;, and hit &amp;#039;&amp;#039;&amp;#039;Add Storage...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Next &amp;gt;&amp;#039;&amp;#039;&amp;#039; to select &amp;#039;&amp;#039;Disk/LUN&amp;#039;&amp;#039; storage&lt;br /&gt;
# Select the appropriate device and click &amp;#039;&amp;#039;&amp;#039;Next &amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Check the current disk layout (ie its blank if its meant to be) and click &amp;#039;&amp;#039;&amp;#039;Next &amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Give the datastore an appropriate name, and click &amp;#039;&amp;#039;&amp;#039;Next &amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Select an approriate block size (this limits maximum VMDK size), and click &amp;#039;&amp;#039;&amp;#039;Next &amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Review config and click &amp;#039;&amp;#039;&amp;#039;Finish&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# On the remaining ESX&amp;#039;s, go to &amp;#039;&amp;#039;&amp;#039;Storage Adapters&amp;#039;&amp;#039;&amp;#039;, hit &amp;#039;&amp;#039;&amp;#039;Rescan...&amp;#039;&amp;#039;&amp;#039; (leave both boxes checked)&lt;br /&gt;
&lt;br /&gt;
=== SAN LUN ID ===&lt;br /&gt;
The SAN LUN ID is used by SAN admin&amp;#039;s to identify LUN&amp;#039;s.  It&amp;#039;s not readily available from the GUI and has to be extracted from the vml file...&lt;br /&gt;
&lt;br /&gt;
So from the following...&lt;br /&gt;
* &amp;lt;code&amp;gt; /vmfs/devices/disks/vml.020006000060060160c6931100cc319eea7adddd11524149442035 &amp;lt;/code&amp;gt;&lt;br /&gt;
you need to extract the mid characters from the vml name...&lt;br /&gt;
* &amp;lt;code&amp;gt; /vmfs/devices/disks/vml.0200060000&amp;#039;&amp;#039;&amp;#039;60060160c6931100cc319eea7adddd11&amp;#039;&amp;#039;&amp;#039;524149442035 &amp;lt;/code&amp;gt;&lt;br /&gt;
So the SAN LUN ID is &amp;lt;code&amp;gt; 60060160c6931100cc319eea7adddd11 &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emulex ===&lt;br /&gt;
==== Find Emulex HBA Driver and Firmware Version, and WWPN ====&lt;br /&gt;
Doesn&amp;#039;t require Emulex HBA utility to be installed&lt;br /&gt;
# &amp;lt;code&amp;gt; cd /proc/scsi/lpfc &amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;  more 1 &amp;lt;/code&amp;gt; for HBA 1&lt;br /&gt;
# &amp;lt;code&amp;gt;  more 2 &amp;lt;/code&amp;gt; for HBA 2&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt; Portname &amp;lt;/code&amp;gt; number is the WWPN number used to identify the HBA&amp;#039;s by the SAN.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@uklonesxp2 lpfc]# more 1&lt;br /&gt;
Emulex LightPulse FC SCSI 7.1.14_vmw1&lt;br /&gt;
Emulex LightPulse LP1050 2 Gigabit PCI Fibre Channel Adapter on PCI bus 0f devic&lt;br /&gt;
e 20 irq 121&lt;br /&gt;
SerialNum: BG70569148&lt;br /&gt;
Firmware Version: 1.91A1 (M2F1.91A1)&lt;br /&gt;
Hdw: 1001206d&lt;br /&gt;
VendorId: 0xf0a510df&lt;br /&gt;
Portname: 10:00:00:00:c9:61:73:de   Nodename: 20:00:00:00:c9:61:73:de&lt;br /&gt;
&lt;br /&gt;
Link Up - Ready:&lt;br /&gt;
   PortID 0x645213&lt;br /&gt;
   Fabric&lt;br /&gt;
   Current speed 2G&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install Emulex HBA Utility ====&lt;br /&gt;
Can be found at [http://www.emulex.com/vmware/support/index.jsp Emulex Lputil].&lt;br /&gt;
&lt;br /&gt;
To install lputil (uses example of lpfcutil-7.1.14;&lt;br /&gt;
# Put the downloaded tgz file on the ESX server&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; mkdir /var/updates/Emulex-lpfcutil-7.1.14 &amp;lt;/code&amp;gt;&lt;br /&gt;
# Go into folder and extract;&lt;br /&gt;
#* &amp;lt;code&amp;gt; cd /var/updates/Emulex-lpfcutil-7.1.14/ &amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt; tar -xvzf Emulex-lpfcutil-7.1.14.tgz &amp;lt;/code&amp;gt;&lt;br /&gt;
# Install;&lt;br /&gt;
#* &amp;lt;code&amp;gt; ./Install.sh &amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@uklonesxp2 Emulex-lpfcutil-7.1.14]# ./Install.sh&lt;br /&gt;
Installing Emulex HBAAPI libraries and applications...&lt;br /&gt;
Installation of Emulex HBAAPI libraries and utilities is completed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Start the utility (on startup it should detect one or more HBA&amp;#039;s);&lt;br /&gt;
* &amp;lt;code&amp;gt; /usr/sbin/lpfc/lputil &amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LightPulse Common Utility for Linux. Version 1.6a10 (10/7/2004).&lt;br /&gt;
Copyright (c) 2004, Emulex Network Systems, Inc.&lt;br /&gt;
&lt;br /&gt;
Emulex Fibre Channel Host Adapters Detected: 1&lt;br /&gt;
Host Adapter 0 (lpfc0) is an LP1050 (Ready Mode)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== HBAnywhere Installation ====&lt;br /&gt;
# Download the Driver and Application kit for VMware from [http://www.emulex.com/downloads/emulex/cnas-and-hbas/drivers/vmware/fc-74040-pkg.html Emulex&amp;#039;s website].&lt;br /&gt;
#* At time of writing the current version of package was &amp;lt;code&amp;gt;elxvmwarecorekit-esx35-4.0a45-1.i386.rpm&amp;lt;/code&amp;gt;&lt;br /&gt;
# Copy the package to the server&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; pscp -pw [password] elxvmwarecorekit-esx35-4.0a45-1.i386.rpm platadmn@dtcp-esxsvce01a:/home/platadmn&amp;lt;/code&amp;gt;&lt;br /&gt;
# Install the package&lt;br /&gt;
#* EG &amp;lt;code&amp;gt; rpm -ivh elxvmwarecorekit-2.1a42-1.i386.rpm &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Check Emulex HBA Firmware Version ====&lt;br /&gt;
Requires the HBA Utility to be installed 1st (see above)&lt;br /&gt;
&lt;br /&gt;
# Start the utility (on startup it should detect one or more HBA&amp;#039;s;&lt;br /&gt;
#* &amp;lt;code&amp;gt; /usr/sbin/lpfc/lputil &amp;lt;/code&amp;gt;&lt;br /&gt;
# From the Main menu, enter 2, &amp;#039;&amp;#039;&amp;#039;Adapter Revision Levels&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
#* Example shows version 1.91a5&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
                   BIU: 1001206D&lt;br /&gt;
      Sequence Manager: 00000000&lt;br /&gt;
                 Endec: 00000000&lt;br /&gt;
  Operational Firmware: SLI-2 Overlay&lt;br /&gt;
                Kernel: 1.40a3&lt;br /&gt;
      Initial Firmware: Initial Load 1.91a5 (MS1.91A5 )&lt;br /&gt;
                 SLI-1: SLI-1 Overlay 1.91a5 (M1F1.91A5 )&lt;br /&gt;
                 SLI-2: SLI-2 Overlay 1.91a5 (M2F1.91A5 )&lt;br /&gt;
 Highest FC-PH Version: 4.3&lt;br /&gt;
  Lowest FC-PH Version: 4.3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Update Emulex HBA Firmware ====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Using HBA Utility&amp;#039;&amp;#039;&amp;#039; (must be installed 1st - see above).  See the Emulex website for the latest version, eg [http://www.emulex.com/ts/downloads/lp1050/lp1050ex.jsp Emulex LP1050Ex]&lt;br /&gt;
&lt;br /&gt;
To update the firmware (example uses LP1050Ex-mf191a5)&lt;br /&gt;
# Put the downloaded zip file on the UKLONVCP1 NFS Share, and unzip to a folder, eg EmulexLP1050Ex-mf191a5&lt;br /&gt;
# Create folder in /var/updates;&lt;br /&gt;
#* &amp;lt;code&amp;gt; mkdir /var/updates/EmulexLP1050Ex-mf191a5 &amp;lt;/code&amp;gt;&lt;br /&gt;
# Copy the firmware update onto the ESX&lt;br /&gt;
#* &amp;lt;code&amp;gt; cp /vmfs/volumes/UKLONVCP1\ NFS\ Share/EmulexLP1050Ex-mf191a5/mf191a5.all /var/updates/EmulexLP1050Ex-mf191a5/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Start the utility (on startup it should detect one or more HBA&amp;#039;s;&lt;br /&gt;
#* &amp;lt;code&amp;gt; /usr/sbin/lpfc/lputil &amp;lt;/code&amp;gt;&lt;br /&gt;
# From the Main menu, enter 3, &amp;#039;&amp;#039;&amp;#039;Firmware Maintenance&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# If prompted, choose the HBA that is being updated.&lt;br /&gt;
# Enter 1, &amp;#039;&amp;#039;&amp;#039;Load Firmware Image&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Enter the full path to the firmware file, upgrade will then complete, eg&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Enter Image Filename =&amp;gt; /var/updates/EmulexLP1050Ex-mf191a5/mf191a5.all&lt;br /&gt;
Opening File...&lt;br /&gt;
End Of File&lt;br /&gt;
Checksum OK!!!&lt;br /&gt;
Reading AIF Header #1...&lt;br /&gt;
Validating Checksum...&lt;br /&gt;
Erasing Flash ROM Sectors...&lt;br /&gt;
100% complete&lt;br /&gt;
Loading Image...&lt;br /&gt;
First Download&lt;br /&gt;
100% complete&lt;br /&gt;
Image Successfully Downloaded...&lt;br /&gt;
Reading AIF Header #2...&lt;br /&gt;
Validating Checksum...&lt;br /&gt;
Erasing Flash ROM Sectors...&lt;br /&gt;
100% complete&lt;br /&gt;
Loading Image...&lt;br /&gt;
First Download&lt;br /&gt;
100% complete&lt;br /&gt;
Updating Wakeup Parameters...&lt;br /&gt;
Image Successfully Downloaded...&lt;br /&gt;
Reading AIF Header #3...&lt;br /&gt;
End Of File&lt;br /&gt;
Resetting Host Adapter...&lt;br /&gt;
Image Successfully Downloaded...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Using HBAnywhere&amp;#039;&amp;#039;&amp;#039; (must be installed 1st - see above)&lt;br /&gt;
# Download the correct firmware version from Emulex&amp;#039;s website&lt;br /&gt;
#* EG for [http://www.emulex.com/downloads/emulex/cnas-and-hbas/firmware-and-boot-code/lpe11002.html LPe11002&amp;#039;s]&lt;br /&gt;
# Extract, and copy file to server&lt;br /&gt;
# Find adapter&amp;#039;s WWPN&amp;#039;s&lt;br /&gt;
#* EG &amp;lt;code&amp;gt;/usr/sbin/hbanyware/hbacmd ListHBAs&amp;lt;/code&amp;gt;&lt;br /&gt;
# Download new firware version to each HBA&lt;br /&gt;
#* EG &amp;lt;code&amp;gt;/usr/sbin/hbanyware/hbacmd download 10:00:00:00:c9:82:97:9e zf280a4.all&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== EMCgrab Collection ====&lt;br /&gt;
# Download correct verion from EMC&amp;#039;s website&lt;br /&gt;
#* At time of writing the current version file was [ftp://ftp.emc.com/pub/emcgrab/ESX/Old_Releases/v1.1/ emcgrab_ESX_v1.1.tar]&lt;br /&gt;
# Copy to server&lt;br /&gt;
#* EG &amp;lt;code&amp;gt;pscp emcgrab_ESX_v1.1.tar platadmn@dtcp-esxsvce02a:/home/platadmn&amp;lt;/code&amp;gt;&lt;br /&gt;
# Uncompress the file&lt;br /&gt;
#* EG &amp;lt;code&amp;gt;tar -xvf emcgrab_ESX_v1.1.tar&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run grab (can take a few minutes, best done out of hours)&lt;br /&gt;
#* EG &amp;lt;code&amp;gt;./emcgrab.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
# Results can be found in &amp;lt;code&amp;gt;\emcgrab\outputs&amp;lt;/code&amp;gt; folder&lt;br /&gt;
&lt;br /&gt;
=== QLogic ===&lt;br /&gt;
==== Find QLogic HBA Driver and Firmware Version ====&lt;br /&gt;
# &amp;lt;code&amp;gt; cd /proc/scsi/qla2300 &amp;lt;/code&amp;gt;&lt;br /&gt;
# &amp;lt;code&amp;gt;  more 1 &amp;lt;/code&amp;gt; for HBA 1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@uklonesxp1 qla2300]# more 1&lt;br /&gt;
QLogic PCI to Fibre Channel Host Adapter for QLA2340 :&lt;br /&gt;
        Firmware version:  3.03.19, Driver version 7.07.04&lt;br /&gt;
Entry address = 0x7dc314&lt;br /&gt;
HBA: QLA2312 , Serial# E79916&lt;br /&gt;
Request Queue = 0x3f403000, Response Queue = 0x3f414000&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Install QLogic HBA Utility ====&lt;br /&gt;
Installation instructions for the SANsurfer utility&lt;br /&gt;
# Put the downloaded tgz file on the UKLONVCP1 NFS Share, eg scli-1.7.0-12.i386.rpm.gz&lt;br /&gt;
# Copy to folder /var/updates (create if it doesn&amp;#039;t exist)&lt;br /&gt;
#* &amp;lt;code&amp;gt; cp /vmfs/volumes/UKLONVCP1\ NFS\ Share/scli-1.7.0-12.i386.rpm.gz  /var/updates &amp;lt;/code&amp;gt;&lt;br /&gt;
# Uncompress the file with the following command;&lt;br /&gt;
#* &amp;lt;code&amp;gt; gunzip scli-1.7.0-12.i386.rpm.gz &amp;lt;/code&amp;gt;&lt;br /&gt;
# Enter the following commands to install the package, and then check its installed;&lt;br /&gt;
#* rpm -iv scli-1.7.0-12.i386.rpm&lt;br /&gt;
#* rpm -q scli&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@uklonesxp1 updates]# rpm -iv scli-1.7.0-12.i386.rpm&lt;br /&gt;
Preparing packages for installation...&lt;br /&gt;
scli-1.7.0-12&lt;br /&gt;
[root@uklonesxp1 updates]# rpm -q scli&lt;br /&gt;
scli-1.7.0-12&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Update QLogic HBA Firmware ====&lt;br /&gt;
See QLogic website for latest version, you must ensure the firmware version is compatible with the current running driver version.  Requires SANsurfer to be installed 1st (see above)&lt;br /&gt;
&lt;br /&gt;
# Put the downloaded tgz file on the UKLONVCP1 NFS Share, eg q231x_234x_bios147.zip, and unzip to folder&lt;br /&gt;
# Create a new folder for the update;&lt;br /&gt;
#* &amp;lt;code&amp;gt; mkdir /var/updates/q231x_234x_bios147&lt;br /&gt;
# Copy the firmware onto the ESX server;&lt;br /&gt;
#* &amp;lt;code&amp;gt; cp /vmfs/volumes/UKLONVCP1\ NFS\ Share/q231x_234x_bios147/QL23ROM.BIN /var/updates/q231x_234x_bios147/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Move to the folder containing the update;&lt;br /&gt;
#* &amp;lt;code&amp;gt; cd /var/updates/q231x_234x_bios147/ &amp;lt;/code&amp;gt;&lt;br /&gt;
# Start the SANsurfer utility&lt;br /&gt;
#* &amp;lt;code&amp;gt; scli &amp;lt;/code&amp;gt;&lt;br /&gt;
# Go into the &amp;#039;&amp;#039;&amp;#039;HBA Utilities&amp;#039;&amp;#039;&amp;#039; option&lt;br /&gt;
# Select the &amp;#039;&amp;#039;&amp;#039;Save Flash&amp;#039;&amp;#039; option&lt;br /&gt;
# Follow the prompts to save the flash to a backup file, eg BackupROM.bin&lt;br /&gt;
# Select the &amp;#039;&amp;#039;&amp;#039;Update Flash&amp;#039;&amp;#039;&amp;#039; option&lt;br /&gt;
# Follow the prompts to update the flash, using the file copied to the ESX, eg QL23ROM.BIN&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Enter a file name or Hit &amp;lt;RETURN&amp;gt; to abort: QL23ROM.BIN&lt;br /&gt;
Updating flash on HBA 0 - QLA2340 . Please wait...&lt;br /&gt;
Option ROM update complete. Changes have been saved to the HBA 0.&lt;br /&gt;
Please reboot the system for the changes to take effect.&lt;br /&gt;
Updating flash on HBA 1 - QLA2340 . Please wait...&lt;br /&gt;
Option ROM update complete. Changes have been saved to the HBA 1.&lt;br /&gt;
Please reboot the system for the changes to take effect.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== SAN Downtime ===&lt;br /&gt;
ESX&amp;#039;s don&amp;#039;t like to loose the SAN, to the extent that during the scheduled SAN downtime the following is recommended...&lt;br /&gt;
# Shutdown ESX&amp;#039;s (and hosted VM&amp;#039;s) connected to affected storage&lt;br /&gt;
# Perform SAN maintenance&lt;br /&gt;
# Restart ESX&amp;#039;s (and hosted VM&amp;#039;s)&lt;br /&gt;
If the above is not possible then its recommended that...&lt;br /&gt;
# Migrate away/shutdown VM&amp;#039;s that are hosted on affected storage&lt;br /&gt;
# Un-present LUN&amp;#039;s&lt;br /&gt;
# Resan LUN&amp;#039;s from ESX and confirm they disappear (any VM&amp;#039;s on extinct storage will become greyed-out)&lt;br /&gt;
# Perform SAN maintenance&lt;br /&gt;
# Re-present LUN&amp;#039;s&lt;br /&gt;
# Re-scan LUN&amp;#039;s from ESX and confirm that they re-appear (grey-ed out VM&amp;#039;s should &amp;#039;&amp;#039;reconnect&amp;#039;&amp;#039;)&lt;br /&gt;
# Restart / migrate VM&amp;#039;s&lt;br /&gt;
&lt;br /&gt;
== Netflow ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Netflow is available on ESX v3 only, and is an experimental feature.  Netflow v5 is sent.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;To start Netflow&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*# Load the module&lt;br /&gt;
*#* &amp;lt;code&amp;gt; vmkload_mod netflow &amp;lt;/code&amp;gt;&lt;br /&gt;
*# Configure monitoring of appropriate vSwitch&amp;#039;s to Netflow collector IP and port&lt;br /&gt;
*#* &amp;lt;code&amp;gt; /usr/lib/vmware/bin/vmkload_app -S -i vmktcp /usr/lib/vmware/bin/net-netflow -e vSwitch0,vSwitch1 10.20.255.31:2055 &amp;lt;/code&amp;gt;&lt;br /&gt;
** To reconfigure the Netflow module you must stop and restart the module&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;To confirm running&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*# Check the module is running...&lt;br /&gt;
*#* &amp;lt;code&amp;gt; [root@esx1 root]# vmkload_mod -l | grep netflow &amp;lt;/code&amp;gt;&lt;br /&gt;
*#* &amp;lt;code&amp;gt; netflow             0x9b4000          0x3000      0x298b640         0x1000        16 Yes &amp;lt;/code&amp;gt;&lt;br /&gt;
*# Check the correct config is running...&lt;br /&gt;
*#* &amp;lt;code&amp;gt; [root@esx1 root]# ps -ef | grep netflow &amp;lt;/code&amp;gt;&lt;br /&gt;
*#* &amp;lt;code&amp;gt; root      2413     1  0 Feb05 ?        00:00:00 /usr/lib/vmware/bin/vmkload_app -S -i vmktcp /usr/lib/vmware/bin/net-netflow -e vSwitch0,vSwitch1 10.20.255.31:2055 &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;To stop Netflow&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
*# &amp;lt;code&amp;gt; ps -ef | grep netflow &amp;lt;/code&amp;gt;&lt;br /&gt;
*# &amp;lt;code&amp;gt; kill &amp;lt;pid&amp;gt; &amp;lt;/code&amp;gt;&lt;br /&gt;
*# &amp;lt;code&amp;gt; vmkload_mod -u netflow &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change Service Console IP Information ==&lt;br /&gt;
Logged in as root use the esxcfg-vswif command &amp;lt;code&amp;gt;esxcfg-vswif &amp;lt;options&amp;gt; [vswif] &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Description: Creates and updates service console network settings. This command is used if you cannot manage the ESX Server host through the VI Client because of network configuration issues.&lt;br /&gt;
&lt;br /&gt;
Note that the -l command will display the names(s) of the virtual switches which must be specified on the other commands so the trailing [vswif] is not optional on most commands.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
&lt;br /&gt;
-a	 Add vswif, requires IP parameters. Automatically enables interface. 	&lt;br /&gt;
-d	 Delete vswif. 	&lt;br /&gt;
-l	 List configured vswifs. 	&lt;br /&gt;
-e	 Enable this vswif interface. 	&lt;br /&gt;
-s	 Disable this vswif interface. 	&lt;br /&gt;
-p	 Set the portgroup name of the vswif. 	&lt;br /&gt;
-i &amp;lt;x.x.x.x&amp;gt; or DHCP 	The IP address for this vswif or specify DHCP to use DHCP for this address. 	&lt;br /&gt;
-n &amp;lt;x.x.x.x&amp;gt; 	The IP netmask for this vswif. 	&lt;br /&gt;
-b &amp;lt;x.x.x.x&amp;gt; 	The IP broadcast address for this vswif. (not required if netmask and ip are set) 	&lt;br /&gt;
-c	 Check to see if a virtual NIC exists. Program outputs a 1 if the given vswif exists, 0 otherwise. 	&lt;br /&gt;
-D	 Disable all vswif interfaces. (WARNING: This may result in a loss of network connectivity to the Service Console) 	&lt;br /&gt;
-E	 Enable all vswif interfaces and bring them up. 	&lt;br /&gt;
-r	 Restore all vswifs from the configuration file. (Internal use only) 	&lt;br /&gt;
-h	 Displays command help. 	&lt;br /&gt;
&lt;br /&gt;
Note: You set the Service Console default gateway by editing the /etc/sysconfig/network file or through the VI Client under Configuration, DNS &amp;amp; Routing.&lt;br /&gt;
&lt;br /&gt;
Note: You set the Service Console VLAN (to 1234) using a similar command to:   &amp;lt;code&amp;gt;esxcfg-vswitch -v1234 -p&amp;quot;Service Console&amp;quot; vSwitch0&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Change Timezone ==&lt;br /&gt;
# Log into the ESX Server service console as root. &lt;br /&gt;
# Find the desired time zone under the directory /usr/share/zoneinfo&lt;br /&gt;
# Edit &amp;lt;code&amp;gt; /etc/sysconfig/clock &amp;lt;/code&amp;gt; Edit this file to show the relative path to the file representing the new time zone, and ensure that UTC and ARC are set as shown: &lt;br /&gt;
#* &amp;lt;code&amp;gt; ZONE=&amp;quot;Etc/GMT&amp;quot; &amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt; UTC=true &amp;lt;/code&amp;gt;&lt;br /&gt;
#* &amp;lt;code&amp;gt; ARC=false &amp;lt;/code&amp;gt;&lt;br /&gt;
# Copy the desired time zone file to /etc/localtime&lt;br /&gt;
#* &amp;lt;code&amp;gt; cp /usr/share/zoneinfo/GMT /etc/localtime &amp;lt;/code&amp;gt;&lt;br /&gt;
# Confirm that /etc/localtime has been updated with the correct zoneinfo data using the following steps: &lt;br /&gt;
# Reference the zoneinfo file used in step 2 and compare it to /etc/localtime, if the files are identical, your prompt will return without any output. &lt;br /&gt;
#* &amp;lt;code&amp;gt; diff /etc/localtime /usr/share/zoneinfo/GMT &amp;lt;/code&amp;gt;&lt;br /&gt;
# Confirm the system and hardware clocks are correct. Use the Linux date command to check and set the correct time if necessary. &lt;br /&gt;
#* Set the hardware clock to match the correct system time.&lt;br /&gt;
#* Set the system clock to the local date and time: \\\\ date MMDDhhmmYYYY &lt;br /&gt;
# Update the hardware clock with current time of the system clock;&lt;br /&gt;
#* &amp;lt;code&amp;gt; /sbin/hwclock --systohc &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:ESX]]&lt;/div&gt;</summary>
		<author><name>Sstrutt</name></author>
	</entry>
</feed>