VMware vSphere Best Practices

VMware vSphere Best Practices
...

Simplilearn

Last updated October 12, 2017


  • 1206 Views
It is worth noting that when discussing VMware vSphere Best Practices, these practices are usually categorized depending on which facet of the software you are keen on improving. There are thus a variety of best practices such as Performance Best Practices, High Availability (HA) Performance Best Practices, and Auto Deploy Best Practices amongst a host of other available best practice guidelines.
 
Performance Best Practice:
 
For performance best practice guidelines, it is important to first start by ensuring that:
  • All the hardware you use in the system is in the hardware compatibility list for that specific version of VMware Software.
  • Make sure that the hardware of choice does meet the minimum configuration requirements that’s supported by the VMware software.
  • It is also considered as a best practice to test system memory for 72 hours so as to allow you to check for any hardware errors.
  • When considering the CPU, it is important to get a CPU that’s compatible with VMware vMotion requirements which have a direct bearing on the DRS (Distributed Resource Scheduler).
  • You should also consider the compatibility of the CPU with the associated VMware Fault tolerance.

In terms of processors, most recent processors from both AMD and Intel do include specific hardware features that are geared towards assisting virtualization. Even though the first generation processors did introduce CPU virtualization, the VT-x from Intel and the AMD- V from AMD, things have since changed. For best performance, you are well advised to use the second generation processors which have an additional Memory Management Unit (MMU) virtualization. These include the AMD RVI (rapid virtualization indexing) processor and the Intel EPT (Extended page tables). 

It is worth noting that there is an even newer I/O memory management feature in current processors which allows virtual machines to have direct access to several input and output devices such as storage controllers and network cards. In Intel processors, this feature is known as VT-d (Virtualization Technology for Directed input /output). In AMD processors this feature is called IOMMU or AMD-Vi (AMD I/O Virtualization).

Back end storage configuration has been known to greatly affect performance and most of the times; instances of lower than expected storage performance are usually as a result of configuration issues. Storage performance does depend on a variety of factors such as the workload, the cache size, the hardware, the vendor used, the stripe size and the RAID level amongst a host of other activities. Keeping in mind that many workloads are greatly sensitive to the latency of I/O operations, the importance of having storage devices configured correctly cannot be overemphasized. When choosing hardware for this purpose, it is advisable to choose storage hardware that supports VAAI (VMware vStorage APIs for Array integration) so as to offload some of the operations to the storage hardware rather than performing them in ESXi and improve storage scalability. 
 
High Availability (HA) Performance Best Practice:
 
This software does make it less expansive and simpler to provide higher levels of availability for very important and critical applications. It does allow organizations to very cost effectively increase the baseline level of availability provided for all the applications. One of the key best practices is to eliminate the single points of failure. This can be achieved by building redundancy at vulnerable points so as to help eliminate or reduce the downtime caused by hardware failures. These redundancies should be in these four layers, namely; server components such as host bus adapters and network adaptors, networking components, storage networking and storage arrays and servers including rack power supplies, blade chassis and blades. 

VMware HA

When deploying or building a vSphere High Availability (HA) cluster, it is normally considered best practice to build the cluster out of identical server hardware as this greatly simplifies the management and configuration of servers using available host profiles and also reduces resource fragmentation and increases ability to handle server failures. The use of drastically different hardware in a cluster does lead to an unbalanced cluster which makes the cluster less productive.

It is also important to take into consideration the overall size of the cluster. It is known that smaller sized clusters do require a larger relative percentage of all the available cluster resources set aside as reserve capacity so as to handle failures adequately. Always keep in mind that a cluster of only three nodes will require at least 33% of the cluster resources to be kept on reserve for fail over whereas a cluster of say ten nodes will only require 10% of cluster resources reserved for failover. It should be noted though that the complexity of the cluster does increase considerably.

For those users who are implementing earlier versions of vSphere, the use of secondary and primary hosts with a limit of five primary hosts should be implemented as part of the VMware vSphere best practices. The vSphere 5.0 though does do away with this requirement and introduces the master-slave relationship amongst the nodes of a cluster. One node must therefore be assigned the role of a master and incase it fails another node is selected in an election process.

When taking into consideration about the network design, it is important to note that the two main areas where best practice does come in sharp focus is on increasing the resiliency of the client side networking and increasing the resiliency of communication channels used by the HA itself. If the switches in the physical network that connect the servers support PortFast or an equivalent setting, then this should be enabled. This allows the host to quickly regain connectivity after booting. It is also recommended that host monitoring is disabled anytime some network maintenance capable of disabling heart beat paths between hosts in that particular cluster since this can trigger an isolation response.

It is also important to ensure that the TCP/UDP port 8182 is always open for all firewalls and network switches which are used by the hosts for any inter-hosts communication. It should be noted that even though vSphere HA will automatically open these ports when enabled and close them when disabled, user action is normally required if firewalls exist between hosts in a cluster such as in what is known as a stretched cluster configuration.

In environments where both IPv4 and IPv6 protocols are in use, it is considered VMware vSphere Best Practice to configure the distributed switches on all the hosts so as to enable access to both networks when required. This does prevent the possibility of encountering network partition issues which may be caused due to host failure or loss of a single IP networking stack.

To enhance overall network availability, it is advisable to configure along heartbeat data stores the redundant management networking from ESXi hosts to other networking switching hardware. The use of network adaptor teaming is also preferable. 

 

About the Author

Founded in 2009, Simplilearn is one of the world’s leading providers of online training for Digital Marketing, Cloud Computing, Project Management, Data Science, IT, Software Development, and many other emerging technologies. Based in San Francisco, California, and Bangalore, India, Simplilearn has helped more than 500,000 students, professionals and companies across 200 countries get trained, upskilled, and acquire certifications.


{{detail.h1_tag}}

{{detail.display_name}}
... ...

{{author.author_name}}

{{detail.full_name}}

Published on {{detail.created_at| date}} {{detail.duration}}

  • {{detail.date}}
  • Views {{detail.downloads}}
  • {{detail.time}} {{detail.time_zone_code}}

Registrants:{{detail.downloads}}

Downloaded:{{detail.downloads}}

About the On-Demand Webinar

About the Webinar

Hosted By

...

{{author.author_name}}

{{author.author_name}}

{{author.about_author}}

About the E-book

View On-Demand Webinar

Register Now!

First Name*
Last Name*
Email*
Company*
Phone Number*

View On-Demand Webinar

Register Now!

Webinar Expired

Download the Ebook

Email
{{ queryPhoneCode }}
Phone Number {{ detail.getCourseAgree?'*':'(optional)'}}

Show full article video

About the Author

{{detail.author_biography}}

About the Author

{{author.about_author}}