RAVI IT BLOG.COM

My Virtualization collections and encounters..

Category: Troubleshooting (page 1 of 2)

VMware WEBCAST : VMware SRM Troubleshooting Tools, Tips and Tricks

Learn tips and tricks on how to identify and troubleshoot common issues encountered with VMware Site Recovery Manager. Topics will include

  • Deployment issues
  • Site pairing
  • IP Customization
  • SRA/Storage issues

You will also learn how Site Recovery Manger authenticates with the Platform Services Controller and vCenter Server.

Speaker Bio:

James Doyle is a Staff Technical Support Training Specialist with VMware’s Technical Support University. He has worked with VMware for 6 years, starting in their support teams taking cases on vSphere Storage & Networking, VMware Site Recovery Manager and VMware Data Protection. After moving to the training teams, James continued to focus on training development and delivery on VMware Site Recovery Manager, vSphere and vSAN.

REGISTER NOW>>

Cool Tool : RVTools version 3.8 is now available for download

Thanks to Rob de Veij (@rvtools) for developing RVTools and sharing with the community for free of cost. This tool does a great job of fetching loads of information from the Virtual Infrastructure and saves lot of time for the VI administrator, otherwise we need to run multiple script to fetch similar data.

RVTools is a windows .NET 2.0 application which uses the VI SDK to display information about your virtual machines and ESX hosts. Interacting with virtual center. RVTools is able to list information about VMs, CPU, Memory, Disks, Partitions, Network, Floppy drives, CD drives, Snapshots, VMware tools, Resource pools, Clusters, ESX hosts, HBAs, Nics, Switches, Ports, Distributed Switches, Distributed Ports, Service consoles, VM Kernels, Datastores, Multipath info and health checks. With RVTools you can disconnect the cd-rom or floppy drives from the virtual machines and RVTools is able to update the VMware Tools installed inside each virtual machine to the latest version.

Version 3.8 (March, 2016)
•VI SDK reference changed from 5.5 to 6.0
•on vInfo tab page new field: ChangeVersion unique identifier for a given version of the configuration
•on vInfo tab page new field: HA VM Monitoring status
•on vInfo tab page new fields: Number of supported monitors and Video RAM in KB.
•on vInfo tab page new field: Config status.
•Config issues are visible on the vHealth tab page
•on vInfo tab page new field: OS according to the VMware Tools
•on vTools tab page new fields: App state, App heartbeat status and Kernel crash state
•on vTools tab page new fields: Operations availability, State change support and
•Interactive Guest Operations availability
•on vHost tab page new field: NTPD running state.
•NTP issues are visible on the vHealth tab page
•on vHost tab page new field: Config status.
•Config issues are visible on the vHealth tab page
•on vCluster tab page new field: Config status.
•Config issues are visible on the vHealth tab page
•on vDatastore tab page new field: Config status.
•Config issues are visible on the vHealth tab page
•on vSC+VMK tab page new fields: IP 6 Address and IP 6 Gateway
•all VM related tab pages now have a VM Object ID and VM UUID columnsall VM related tab pages now have powerstate and template columns
•all tab pages. Now have a vCenter UUID column (= unique identifier for a vCenterServer)
•all VM related tab pages. The Custom Attributes columns are now ordered alphabetically
•all tab pages. A select is now a full row select so it is easier to follow the information across many columns
•bug fix: Refresh data issue on vRP and vCluster tab pages solved
•bug fix: Filter issue on vCluster tab page solved
•bug fix: On vInfo tab page the HA information was not filled with cluster default values
•bug fix: Content Libraries vmdk files are no longer reported as possible zombie files
•bug fix: msi installer sometimes installs RVTools in root of c:\ drive. This is solved now.

Download link : RVTools version 3.8 | Documentation

ESXi 5.5 host error “vim.fault.NoHost” during rescan.

Summary : During my preparation for the VCAP DCA exam and upon a rescan activity on the host it error out “vim.fault.NoHost”. I had not seen this error before in my lab nor in production.

Solution: I googled and found few useful links, they have occurred interestingly in the older version of ESX and also during an Host upgrade activity. A simple reboot did not fix the problem for me, so the solution is to get the host in to maintenance mode, disconnect and re-connect the host to the cluster, remember this is my lab host so I can play around it with it. This fixed the issue for me, if you still face the same issue. Remove the host from the cluster and add it back to the cluster, remember that by removing the host from cluster you would lose the inventory stored for the ESXi host. 🙂

vim.fault.NoHost

Troubleshooting VMware vSphere [V5.5] Webinar

Listen and learn how to increase your skill and competency using the VMware vSphere Command-Line Interface (vCLI) to analyze problems. The webinar discusses best practices using products VMware ESXi 5.5, VMware vCenter Server 5.5, and vCloud Director. You’ll gain knowledge on specific troubleshooting issue techniques for:

  • SSL certificates
  • Networking
  • Storage
  • VMware vCenter™ Single Sign-On
  • VMware vCenter Server
  • VMware ESXi host
  • VMware vSphere Cluster
  • VMware vSphere vMotion
  • Virtual Machine

Register for Troubleshooting VMware vSphere [V5.5]

Training Video – VMware vCenter Log Insight

http://www.youtube.com/watch?feature=player_embedded&v=z3bBxH_fdQk

Manual Duron, Senior Systems Engineer, discusses and demonstrates VMware vCenter Log Insight and the challenges it solves, including changing business needs while focusing on maintaining service levels, efficient “root-cause analysis” for troubleshooting issues, and managing overwhelming amount of machine-generated log data.

Free e-learning course – VMware Log Insight Fundamentals

The Log Insight is a FREE self-paced course that provides information about the Log Insight solution and describes how it works, its architecture, installation, configuration, and how to use it for log analysis.

The course consists of the following self-paced modules:
  • Log Insight v1.5 Overview: This module provides an overview of Log Insight, including use cases and architecture.
  • Log Insight v1.5 Installation and Configuration: This module provides information the installation and configuration of Log Insight.
  • Log Insight v1.5 Analysis: This module provides information about how to use Log Insight for log analysis.

Register here

Exporting output to Excel from ESXi command line?

When troubleshooting I often had this problem while copy pasting stuff from command line on to excel, as the output just gets copied in to one cell instead of row and column format.  I recently figured out how to overcome this annoying time consumer..

This may not be a major tip but certainly gets the job done for me and hope you find it useful as well… Here it goes..

I have performed command “esxcfg-scsidevs -m”  and if I copy / paste it directly on to excel, it looks something like this…. Everything on to B which is what we don’t want.

To get the report in row / column format here is what you need to do..
1. Copy the data from command line.
2.  After pasting the content in to excel, you would see paste option button as shown below.  Select the second option “Use Text Import Wizard….”

3. In the wizard click next in the first screen and select Semicolon and Comma from the second. Click next and then finish.

You should now see a more readable form of the report which we extracted from command line, this is very useful when you are troubleshooting… 🙂

 

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

Older posts

© 2018 RAVI IT BLOG.COM

Theme by Anders NorenUp ↑