Network Virtualization

Subscribe to Network Virtualization: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get Network Virtualization: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


netvirt Authors: Daniel Gordon, Pat Romanski, John Walsh, Sven Olav Lund, Elizabeth White

Related Topics: Virtualization Magazine, Network Virtualization, SDN Journal

Blog Post

Five Best Practices in Real-Time Virtualization [#SDN #Virtualization]

Virtualization is a critical infrastructure component in most modern data centers

Virtualization technology has matured and is a critical infrastructure component in most modern data centers, especially as a trusted part of production environments. As our use of, and reliance on, virtualization technology continues to grow it is important that we are managing the technology  following best practices. Here are five best practice areas of focus to help ensure success in leveraging virtualization technology.

1. Monitor the Entire Infrastructure Stack.
Virtualization touches almost all aspects of the data center including servers, storage and networking.  While most of the virtualization vendors provide tools to monitor and manage their technology, they rarely give an IT organization a comprehensive view into the entire stack of technology that virtualization touches. For example, understanding network traffic at a physical port, or being alerted to drive failures on a SAN, might be important to the performance of your virtualized environment.  These are a just a couple examples of things that impact the full virtualization stack but are typically outside the purview of dedicated virtualization monitoring tools. Ensure your tooling provides you visibility into all parts of your infrastructure stack.

2. Monitor Inside Virtual Machines
Understanding the performance of a VM in terms of the physical resources it is consuming is critical. However, it is just as critical to monitor what is happening inside the VM itself. In particular, monitoring the applications inside the VMs is the only way to really understand if everything is running as expected. To provide a good end-user experience you need to understand when critical services have stopped or a database can't keep up with the volume of data being read and written. Remember that the VM being healthy is a means to an end; it's more important to know if services and applications are being delivered.

3. Use the Right Metrics
Hypervisor vendors have learned they need to do a good job helping users figure how to measure performance in the right dimensions. To that end they publish papers that help us identify the key metrics that will point to performance issues Many of the metrics are those that we have used for years - CPU usage, memory usage, disk IOPS, network IOPS, etc.  Watching these standard metrics on both physical servers and VMs is a must.

In addition to the standard metrics we have used for years there are also virtualization specific metrics that can help us hone in on issues specifically related to virtualization. VMware, in particular, does a good job of surfacing metrics that point to specific issues.  Some of VMware's key metrics are CPU Ready, Memory Ballooning, and CPU Co-stop. For example, CPU Ready indicates whether a physical host is able to keep up with the CPU demand from the virtual machines running on it.  Include these metrics in your monitoring strategy as well.

4. Keep an Eye on the Future
Virtualization has greatly increased our agility in the data center. In many environments the time it takes to provide requested resources to satisfy project demand has decreased from months to minutes. A side effect of this agility is that we are running many more workloads (operating systems) today than we were prior to the use of virtualization. The positive side of this is companies can quickly execute on new projects. The negative is companies are consuming more and more compute, storage, and networking resources. Today's IT organizations are being asked to run as lean and agile as possible while still providing enough resources to execute on future demands.  Purchasing too much resources means waste and contradicts the desire to be agile, supplying too little resource means either a decrease in the ability to execute on new projects or it can manifest itself into an IT environment that is less reliable or stable.

To the extent that past trends can help predict the future, they can be used to help guide a company in terms of their hardware requirements for the future. There are four primary metrics that companies should be planning around - CPU utilization, memory utilization, disk utilization, and disk IOPS. By projecting forward the past usage of these key metrics against the capacity available for each company, you can ballpark when they will need to purchase more hardware to satisfy future demand.  Having a detailed understanding of utilization versus capacity can also help an organization keep these resources in balance.

There is another related side effect of virtualization - waste. IT organizations need ways to track this waste so they can reclaim resources when they are no longer being used. For IT organizations operating as private clouds, a second technique to control waste should be evaluated - over-subscription. While most of us don't appreciate the over-subscription practices of the airlines, car rental companies or even our doctors they do help those organizations drive down costs.

5. Take Advantage of All the Virtualization Technology
Virtualization technology has evolved beyond just the hypervisor. Most virtualization vendors are building software-defined storage and software-defined network technologies. These technologies create a similar layer of abstraction that the hypervisor provides from the server. These abstractions provide similar opportunities to improve the management, utilization and the cost effectiveness of storage and networking. The investments made in learning, understanding and using these new technologies will almost certainly provide benefits in the long run.

In addition to technologies that abstract hardware from applications, virtualization vendors have created new technologies that can make the datacenter much more efficient and reliable. One of the key challenges with virtualization stems from multiple VMs running on a single physical system. Virtualization vendors provide technology to recover VMs on other hosts if the current hosts fails. They provide technology that can automatically balance resources, including powering off unused resources.  There are many other ancillary technologies that can complement virtualization, including new improved approaches to managing disaster recovery and backups, to running and managing desktops.

Virtualization revolutionized the data center. Data centers today are more agile, cost effective and better utilized. By focusing on these five best practices we can leverage virtualization to its full potential.

More Stories By Peter Dyer

Peter Dyer, product manager for Uptime Software, has been involved in the IT industry for more than 15 years. His roles have ranged from Software Engineer to Product Manager. His work has been centered around software solutions designed to work with virtualization for both small and large companies.

Peter holds a degree in Electrical Engineering along with an MBA from Dalhousie University.