RAVI IT BLOG.COM

My Virtualization collections and encounters..

Month: October 2012

How to patch vSphere hosts with VMware Update Manager

Please go through this great article which lists out complete steps involved in patching an ESXi host right from scratch. 🙂

PsPing

PsPing is a command-line utility for measuring network performance. In addition to standard ICMP ping functionality, it can report the latency of connecting to TCP ports, the latency of TCP round-trip communication between systems, and the TCP bandwidth available to a connection between systems. Besides obtaining min, max, and average values in 0.01ms resolution, you can also use PsPing to generate histograms of the results that are easy to import into spreadsheets.

The Tool supports:

  • Client: Windows Vista and higher.
  • Server: Windows Server 2008 and higher.

Download

Cool Tool – PingInfoView

PingInfoView is a small utility that allows you to easily ping multiple host names and IP addresses, and watch the result in one table. It automatically ping to all hosts every number of seconds that you specify, and displays the number of succeed and failed pings, as well as the average ping time. You can also save the ping result into text/html/xml file, or copy it to the clipboard. It is very useful in a HA situation… 🙂

Download

How to install VMware tools in Ubuntu Server or Linux with a command line Interface.

This article provides the steps to install VMware Tools in an Ubuntu virtual machine.

1. Mount the corresponding ISO file and login to the virtual machine using administrator or root credentials.
2.  In the VM console, select VM-> Guest -> Install/Upgrade VMware tools.

3. In the Ubuntu guest, run these commands:   sudo mkdir /mnt/cdrom
4.  Note: For security reasons, the typed password is not displayed. You do not need to enter your password again for the next five minutes.

sudo mount /dev/cdrom /mnt/cdrom or sudo mount /dev/sr0 /mnt/cdrom
5.  The file name of the VMware Tools bundle varies depending on your version of the VMware product. Run this command to find the exact name: ls /mnt/cdrom

Note: x.x.x-xxxx is the version discovered in the previous step.
6.  Type this command tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/ to unzip the gz file in /tmp directory.
7. Navigate to  cd /tmp/vmware-tools-distrib/ and execute this command  sudo ./vmware-install.pl -d to install the vmware tools.

How to install VMware tools in Ubuntu or Ubuntu Server with a Graphical User Interface

This article provides the steps to install VMware Tools in an Ubuntu virtual machine.

1. Mount the corresponding ISO file and login to the virtual machine using administrator or root credentials.
2.  In the VM console, select VM-> Guest -> Install/Upgrade VMware tools.
3.  A pop-up windows would be triggered on the Ubuntu desktop with the files similar to VMwareTools.x.x.x-xxxx.tar.gz.
4.  Click Extract to, and select the Ubuntu Desktop to save the extracted contents. The vmware-tools-distrib folder is extracted to the Ubuntu Desktop.
5.  To install VMware Tools in Ubuntu: Go to Applications > Accessories > Terminal.  In Terminal, run this command to navigate to the vmware-tools-distrib folder.
6.  Run this command to install VMware Tools:

sudo ./vmware-install.pl -d
Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers.

7. Enter your Ubuntu password.  Restart the Ubuntu virtual machine after the VMware Tools installation completes.

How to recover the “host currently has no management network redundancy” warning from HA enabled ESXi cluster

When you complete building your ESXi cluster, you might see a warning sign at the host level. It will tell you the management network has no redundancy. This is probably correct because the host clusters usually don’t have 2 NIC’s for the management network (at least in my home lab setup). The below recommendation is only a bypassing of the error message and of course if you want to fix it, you need to add in a redundant vmnic to the vswitch. 🙂

The below picture clearly show the host has only one NIC for all port group traffic. As my ESXi is running on a VMware Workstation and physical box has only one NIC interface.

To bypass this warning message do the following.

  1. Go to the properties of your cluster
  2. Select HA from the left pane
  3. Click the ‘Advanced Options’ button

4. Fill in the first column of the first row by double clicking and typing the value ‘das.ignoreRedundantNetWarning

5. Fill in the second column of the same row by double clicking and typing the value ‘True’
6. Close the Advanced Options window.
7. Now deselect the option ‘Enable HA’ and press OK.
8. HA will be disabled, this will take some time.
9. Go back to the options and select ‘Enable HA’ and press OK.
10. HA will be enabled and the warning will be gone

Super Tool : RVTools 3.4 (Updated over 3.3)

RVTools is in my opinion the best free and independent tool out there for vSphere environment.

  • Overall performance improvements and better end user experience
  • VI SDK reference changed from 4.0 to 5.0
  • Added reference to Log4net (Apache Logging Framework) for debugging purpose
  • Fixed a SSO problem
  • CSV export trailing separator removed to fix PowerShell read problem
  • On vDisk tabpage new fields: Eagerly Scrub and Write Through
  • On vHost tabpage new field: vRAM = total amount of virtual RAM allocated to all running VMs
  • On vHost tabpage new fields: Used memory by VMs, Swapped memory by VMs and Ballooned memory by VMs
  • Bugfix: Snapshot size was displayed as zero when smaller than 1 MM
  • Added a new preferences screen. Here you can disable / enable some performance killers. By default they are disabled

Download

© 2018 RAVI IT BLOG.COM

Theme by Anders NorenUp ↑