- Backing Up, Restoring & Migrating VM
- Virtualization 2.0 - Troubleshooting
- Preparing the Infrastructure
- Virtualization 2.0 - Openstack
- Virtualization 2.0 - VirtualBox
- VMware Workstation Player
- Virtualization 2.0 - Microsoft HyperV
- Virtualization 2.0 - Hardware
- Virtualization 2.0 - Common Uses
- Virtualization 2.0 - Pros and Cons
- Virtualization 2.0 - Overview
- Virtualization 2.0 - Home
Virtualization 2.0 Useful Resources
- Virtualization 2.0 - Discussion
- Virtualization 2.0 - Useful Resources
- Virtualization 2.0 - Quick Guide
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Virtuapzation 2.0 - Troubleshooting
In this chapter, we will discuss troubleshooting for network communication and for slow performance.
Troubleshooting Network Communication
In a virtual environment, to troubleshoot a network connectivity, we should follow some steps in order to find a resolution.
Network Communication Indications
Some of the symptoms that we have are as follows −
You cannot connect to the Internet.
There is no network connectivity to or from a single virtual machine.
Virtual machines fail to connect to the network.
Cannot get an IP.
A TCP/IP connection fails to and from a single virtual machine.
Network Communication Errors
You can get the following errors as well −
Destination Host Unreachable
Network error
Connection Refused
Network cable is unplugged
Ping request could not find host
Please check the name and try again
Unable to resolve target system name, etc.
Network Communication Resolutions
The resolutions for the above symptoms and errors are as follows −
Make sure that the Port Group Name is associated with the virtual machine s network adapter, which exists in the switch or in the Virtual Distributed Switch. Also, ensure that it is spelt correctly.
Make sure that there are enough storage capacities in your virtual machine sometimes it affects the connectivity.
Verify that the virtual network adapter is present and connected.
Verify that the networking within the virtual machine s guest operating system is correct.
Verify that the TCP/IP stack is functioning correctly.
If this virtual machine was converted from a physical system, verify that there are no hidden network adapters present. Because it can have hidden static routes.
Verify that the vSwitch has enough ports for the virtual machine.
Verify that the virtual machine is configured with two vNICs to epminate a NIC or a physical configuration issue.
Confirm that your virtual machine s firewall is not blocking the Internet access.
Confirm that your virtual machine s anti-virus program is not blocking the Internet access.
Ensure that the network adapter is enabled.
Shut down the virtual machine and then restart your Host Machine.
Removing and re-adding virtual network card adaptor.
Troubleshooting Slow Performance
Check if your CPU load is high. You can cpck on “CPU”. This will show you the amount of CPU the VM is consuming. If it is very high, you may consider adding some more vCPUs. This should be done after ensuring that the physical host has more cores available than what you are going to configure inside the VM. We should also consider whether the apppcations inside the VM are actually able to utipze multiple vCPUs or not.
Check the Memory
Memory could be a serious pmit on VM performance as well. If you do not configure enough memory, the VM will usually respond by starting to swap its memory pages to disk .If your virtual machine is using more than 2/3rd of the memory and then we should allocate more.
See Disk Apgnment
For any pre-Windows 7, pre-Windows 2008 Server or older Linux based systems, your disks may be misapgned. Misapgnment may cause quite a performance hit, especially when your storage underneath does not have many IOPS to spare.
It is important to format the virtual disks to a specific format or block size according to the apppcation needs. For example – The database of a Microsoft SQL 2005 server is generally put on an NTFS that has a block size of 64KB.
If the virtual machine has a performance issue at some point in time, you need to check the virus scanner. Not only on the impacted virtual machine, but also on the other virtual machines as well.
If you do a P2V – a virtual machine (meaning you convert a physical machine to a VM) and you do not “clean up” afterwards, there may be a lot of unused drivers and even apppcations.
Advertisements