Differance between Guest OS metrics and Host OS metrics in Azure VMSS

Solution 1:

What's the difference between Host and Guest metrics.

  • A host operating system is a software that is installed on a computer and communicates with the hardware. A guest OS, on the other hand, is software that is installed in a virtual machine.
  • The host OS runs on the hardware directly. The guest OS, on the other hand, runs on a virtual machine.
  • It's possible that the host Operating System may be single . The guest OS, on the other hand, can be single or numerous.
  • The host operating system interacts with the hardware. The guest operating system interacts with the virtual machine.

Which ones to choose for more accurate scaling of tomcat.

  • We can scale up or down using host-level metrics, but we won't be able to do that with guest-level metrics.
  • Guest OS metrics include Performance counters which monitor guest CPU % or memory consumption, which are commonly used for autoscaling.

Is there a more efficient way to scale tomcat in Azure VMSS, like system memory.

  • You may use Azure Monitor for VMs to automate the collection of essential CPU, memory, disks, and network performance counters from the VMs in your scale set. It also comes with additional monitoring features and pre-built visualisations to help you focus on the performance and reliability of your scale sets.

For more information please refer these links : What are virtual machine scale sets , Guest OS and host OS metrics , Overview of autoscale with Azure virtual machine scale sets