What is the objective of this? Simple because creating virtual machines is quick and easy and after a few months they can become hundreds or even thousands. Once you create a virtual machine you normally have some information concerning its use and lifecycle: how long it is going to run? Or when is it going to be deleted? but within a few days of working in other projects it is likely that you will forget about this and the virtual machine will keep running in your infrastructure for ever. In some cases, this happens with hundreds of virtual machines that remain in your infrastructure making use of resources, limiting the performance of the servers and forcing to buy new equipment. Usually, at this point is when we start to think about which virtual machines are really being used and due to the lack of information, the question that we make is: How can we identify the useless virtual machines in the infrastructure? You can answer this question from different perspectives, lets check some of them:
- Contact the virtual machine manager and ask him if the virtual machine is still in use.
- Search for the records that we have about the virtual machine: the life cycle.
- Check the consumption performance of the virtual machine and we will know if it is being used.
- Reduce the allocation rates vCPU/VRAM in the ESX.
- Gain in stockage (virtual machine sizing, swap, logs)
- Improve the visibility over the virtual machines in your infrastructure.
Now you have the information, you just need to download DC Scope® to start an audit of your infrastructure, delete all the useless virtual machines and recover all those wasted resources!Here you have a few useful tips:
- Try to be informed concerning the creation and end-of-life of each virtual machine.
- Analyze all the ghost virtual machines as a priority. They could had been there for a long time.
- When checking the idle virtual machines, start by those with the lower activity threshold during longer periods of time.