How to recognize between a virtual machine, a virtual server and a virtual network

virtual machinesWhat is what: virtual servers, machines and networks

When you start discovering what virtualization is, you will find concepts such as virtual servers, virtual networks, etc. If you do not have basic knowledge on this topic, trying to understand the elements that make up the architecture of virtualization can be a bit confusing. With this easy introduction, we help you to identify the differences and characteristics of the main resources that make up a virtualization scheme: machines, networks, and virtual servers.

What is a Virtual server

The use of network servers was very common among large companies for many years. However, the costs were very high and the servers were not so efficient. Normally, a server was devoted to a single function, for example, one to host a database, another one for the e-mail client, etc.

Due to the technological evolution of the servers and the increase of their power, nowadays using a server for a single function as it was before is inefficient. Think how it would be to be able to use only 15% of the power of a Ferrari and never be able to experience even 60% of its horsepower.

The solution to this problem is called virtualization. To imagine how virtualization works, think of a cake that you divide into several slices to share with your guests. The complete cake is your server, but when you divide it, each slice becomes a virtual machine that can have its own operating system and applications to be used in different functions. In this way now you have a virtual server whose capacity is used up to 70 or 80%.

How virtual server is created?

To create a virtual server we need an abstraction layer (virtualization software) between the hardware and the software of the physical server. When doing so, the physical server translates it into one or more virtual machines and each one is assigned a certain amount of hardware resources (memory, CPU, storage etc) according to the capacity of the physical server.

In this way, instead of using a lot of physical servers to run separately an email system, a database etc, all those applications can be virtualized in a single server.

Another advantage that a virtualized server has is its flexibility to migrate virtual machines. What does this mean? That you can move one or more VMs from one server to another without experiencing hardware problems since the VM can be adapted to the new virtualized server resources. There are cases in which you can even copy the virtual machines into USB drivers to move them to other locations.

Among the most popular virtualization software is VMWare, Microsoft Virtual Server or Xen Server. To virtualize servers, a multiprocessor system with 16GB of RAM is usually required in addition to several network connections and storage connectivity.

How many virtual machines can a server host?

Some computer experts such as Gordon Haff from Illuminata, think is difficult to predict how many virtual machines a server can host since there are cases in which virtual machines extract more cache from a processor than a physical server.

In addition, each processor has a different capacity to manage applications and hypervisors. On the other hand, Massimo Re Ferre, senior IT architect at IBM, recommends buying extra power for the server and making it work well at 70% of its capacity instead of exploiting it at 95%.

What is a Virtual Machine?

First of all, we must say that the term Virtual Machine is often used in many contexts. However, in this case, we will talk about the virtualization technology that allows the creation of independent environments for the execution of different OSs and applications that normally could not work at the same time in a Server or PC client.

In simple terms, a Virtual Machine is an operating system or an application environment that is installed in a software that emules a dedicated hardware. Then, the user doesn´t need the resources of a server or computer exclusively dedicated to run a single OS. What does this mean?

For instance, imagine that you could run Linux while working on Windows without being affected or interrupted by the simultaneous operation of both. Everything seems as if you open a new window in your primary OS to work in another program.

virtualization technology
The basic architecture of Virtual Server’s virtual machine technology.

How does a Virtual Machine works?

A VM needs something called hypervisor. This special software is capable of full emulation of a PC client and all its hardware resources such as memory, hard disk etc. This technique allows several virtual machines to share resources.

In order for a VM to be able to run Linux and Windows server OSs on the same physical host, the hypervisor must emulate several virtual hardware platforms that should remain isolated from each other to allow every VM to use them independently without operational conflicts.

One of the biggest advantages of using a VM is that the hardware is used with greater efficiency. However, working in virtualization environments requires more bandwidth, storage, and memory consumption.

Because each VM can consume different amounts of resources, the intervention of an IT professional is needed to balance the demand for each VM.

Memory matters

One of the most important aspects to keep in mind when configuring a virtual machine is the amount of memory it will allocate. Each VM needs a sufficient amount of memory to run the operating system and the applications, in addition to having at least 32 MB of RAM for emulated video and code cache.

The amount of memory that will be allocated will depend on the user when creating the VM. That amount will be the maximum that the VM will have at its disposal. To set up again the amount of memory allocated, the virtual machine must be turned off, since it only consumes memory when it is running or paused. When the memory is not enough, the MV simply will not start.

Virtual network

A virtual network works basically under the same concept of virtualization that we saw in the previous examples.

Suppose you have a customer who needs to separate their traffic. Normally that would require a costly investment in the creation of a new physical network. Nowadays, thanks to virtualization technology, you can create and configure a virtual network using the same physical hardware.

As it happens with a VM, a virtual network needs to be isolated from other virtual networks even though they share the same physical resources such as cables, routers, and switches.

In summary, the flexibility offered by the virtualization of a network allows combining different physical networks in a single virtual network but or divide a physical network into several virtual networks.

How does a virtual network work?

The purpose of a virtual network is to establish an adequate and efficient network structure for all the applications it hosts. A virtual network must be flexible to change its structure through the software according to the service on demand. 

While a physical network requires switches, routers, load balancers, and firewalls in its various layers, in addition to a network adapter, in a virtual network all these technical needs are covered with network software. This is called decoupling virtualization, which means that the function of the network software is separated from the hardware that hosts it to be used in any other standard hardware.

There are two types of virtual networks: VPN (virtual private network) and VLAN. A VPN network can create a virtual address space that technically encrypts all the traffic it sends to make it private. On the other hand, the VLAN (virtual local area network) allows the devices to communicate with each other without the need to establish routing. This is possible because the devices reside within a so-called collision domain, which gives the hem the possibility to receive the same packet several times.


The right place for your data