Managing dynamic memory VI: Controlling pressure
SP1 de SCVM R2, de momento la RC no incorpora a sus management packs de SCOM la información que necesitamos para tener contralada la presión de memoria en nuestras VMs una vez activemos la memoria dinámica en ellas. SCVM R2 SP1, so far the RC does not incorporate their management packs for SCOM the information we need to have contralateral memory pressure on our VMs once activated dynamic memory in them.
Cuando una VM está usando la memoria máxima configurada en la memoria dinámica, decimos que su presión de memoria es un 100% a partir de ese valor estaremos de seguro paginando en disco. When a VM is configured using the maximum memory in dynamic memory, say your memory pressure is 100% from that value insurance will be paged to disk.
Para que el balanceador de memoria de Hyper-V pueda jugar con la memoria es necesario que o bien tenga memoria libre o bien se la pueda quitar a VMs que no estén usando toda su memoria y que tengan activada la memoria dinámica. For the memory balancer Hyper-V can play with memory is necessary that either have free memory can either remove the VMs that are not using all their memory and have enabled the dynamic memory.
Por tanto si yo tuviera que administrar una plataforma de virtualización con memoria dinámica querría ser informado si alguna VM está por encima del 100%, además me gustaría tener una visión a largo plazo de cómo está evolucionando la presión en las VMs y la cantidad de memoria con la que puede jugar el host. So if I had to manage a virtualization platform with dynamic memory would be informed if a VM is above 100%, and I would have a long-term vision of how it is evolving the pressure in the VMs and the amount of memory with which you can play the host.
Para conseguir estos objetivos vamos a usar como es lógico System Center Operations Manager, recalcar que previamente deberíamos haber instalado el management pack de Hyper-V. To achieve these objectives we will of course use System Center Operations Manager, emphasized that we should have previously installed the management pack for Hyper-V.
Quiero comentaros que lo que vamos a hacer es algo muy rápido y que se puede hacer mucho mejor con un poquito de tiempo, sin embargo lo hago de esta forma pensando que en breve tendremos los management packs definitivos que incluirán todo lo necesario. I tell you that what we do is very fast and can do much better with a little time, however I do it this way thinking that we will soon have the definitive management packs contain everything you need.
Lo primero que haremos es crear un nuevo management pack First thing we do is create a new management pack
Bien ahora desde la consola en el apartado de “authoring” generaremos 3 reglas con las configuraciones que se muestran a continuación. Well now from the console under "authoring" 3 rules to generate the configurations shown below.
La primera de ellas recolectara los datos de rendimiento relativos a la presión actual en cada VM The first collect performance data on the actual pressure in each VM
La segunda guardara la presión media, si lo configuramos con algo más de tiempo que la anterior será más fácil detectar variaciones bruscas. Keep the pressure the second half, if configured with more time than the previous one will be easier to detect abrupt changes.
La tercera nos permitirá saber con cuanta memoria cuenta el host para balancear y atender las peticiones de las VMs The third will allow us to know how much memory the host has to balance and meet the requests of the VMs
Ahora que ya guardamos los datos es momento de configurar las alertas, para ello creamos un monitor de doble estado con la configuración que veis a continuación. Now that you store the data is time to set up alerts, for it created a dual monitor configuration state that you see below.
Y aquí ya os puedo explicar por qué digo que se puede hacer mejor, sin usar las herramientas de authoring no podemos evitar que este monitor evalué todas las instancias de VM como un todo, esto significa que si una VM tiene la presión por encima de 100 el monitor se pondrá rojo, pero en la siguiente evaluación si otra VM está por debajo de 100 el monitor se pondrá verde y la alerta se resolvería sola y nunca la veríamos, por esa razón como veis he quitado la opción de resolver automáticamente la alerta si el monitor vuelve a verde. And here you and I can explain why I say you can do better, without using authoring tools can not prevent this monitor I tested all instances of VM as a whole, this means that if a VM is the pressure above 100 The monitor will turn red, but the next evaluation if other VM is below 100, the monitor will turn green and the alert is resolved one and never would see, for that reason as you see I have removed the option to automatically resolve the alert if the monitor turns green. Como digo esto lo podemos resolver haciendo el management pack con algo más de tiempo y las herramientas adecuadas. As I say this can be resolved by the management pack with more time and the right tools.
Ahora ya será cuestión de hacernos unas sencillas vistas para ver la presión de las VMs y estresarlas para ver si sale la alerta Now let us be a simple matter of sights to see pressure and stress for the VMs to see if the alert comes
Si vemos el explorador de salud del host veremos lo siguiente: If we see the health of the host browser will see the following:
En el siguiente post os explico como sacar un informe de la presión de memoria de las VMs. In the next post I will explain how to get a report from the memory pressure of the VMs.
Un saludo a todos. Greetings to everyone.
Cuando una VM está usando la memoria máxima configurada en la memoria dinámica, decimos que su presión de memoria es un 100% a partir de ese valor estaremos de seguro paginando en disco. When a VM is configured using the maximum memory in dynamic memory, say your memory pressure is 100% from that value insurance will be paged to disk.
Para que el balanceador de memoria de Hyper-V pueda jugar con la memoria es necesario que o bien tenga memoria libre o bien se la pueda quitar a VMs que no estén usando toda su memoria y que tengan activada la memoria dinámica. For the memory balancer Hyper-V can play with memory is necessary that either have free memory can either remove the VMs that are not using all their memory and have enabled the dynamic memory.
Por tanto si yo tuviera que administrar una plataforma de virtualización con memoria dinámica querría ser informado si alguna VM está por encima del 100%, además me gustaría tener una visión a largo plazo de cómo está evolucionando la presión en las VMs y la cantidad de memoria con la que puede jugar el host. So if I had to manage a virtualization platform with dynamic memory would be informed if a VM is above 100%, and I would have a long-term vision of how it is evolving the pressure in the VMs and the amount of memory with which you can play the host.
Para conseguir estos objetivos vamos a usar como es lógico System Center Operations Manager, recalcar que previamente deberíamos haber instalado el management pack de Hyper-V. To achieve these objectives we will of course use System Center Operations Manager, emphasized that we should have previously installed the management pack for Hyper-V.
Quiero comentaros que lo que vamos a hacer es algo muy rápido y que se puede hacer mucho mejor con un poquito de tiempo, sin embargo lo hago de esta forma pensando que en breve tendremos los management packs definitivos que incluirán todo lo necesario. I tell you that what we do is very fast and can do much better with a little time, however I do it this way thinking that we will soon have the definitive management packs contain everything you need.
Lo primero que haremos es crear un nuevo management pack First thing we do is create a new management pack
Bien ahora desde la consola en el apartado de “authoring” generaremos 3 reglas con las configuraciones que se muestran a continuación. Well now from the console under "authoring" 3 rules to generate the configurations shown below.
La primera de ellas recolectara los datos de rendimiento relativos a la presión actual en cada VM The first collect performance data on the actual pressure in each VM
La segunda guardara la presión media, si lo configuramos con algo más de tiempo que la anterior será más fácil detectar variaciones bruscas. Keep the pressure the second half, if configured with more time than the previous one will be easier to detect abrupt changes.
La tercera nos permitirá saber con cuanta memoria cuenta el host para balancear y atender las peticiones de las VMs The third will allow us to know how much memory the host has to balance and meet the requests of the VMs
Ahora que ya guardamos los datos es momento de configurar las alertas, para ello creamos un monitor de doble estado con la configuración que veis a continuación. Now that you store the data is time to set up alerts, for it created a dual monitor configuration state that you see below.
Y aquí ya os puedo explicar por qué digo que se puede hacer mejor, sin usar las herramientas de authoring no podemos evitar que este monitor evalué todas las instancias de VM como un todo, esto significa que si una VM tiene la presión por encima de 100 el monitor se pondrá rojo, pero en la siguiente evaluación si otra VM está por debajo de 100 el monitor se pondrá verde y la alerta se resolvería sola y nunca la veríamos, por esa razón como veis he quitado la opción de resolver automáticamente la alerta si el monitor vuelve a verde. And here you and I can explain why I say you can do better, without using authoring tools can not prevent this monitor I tested all instances of VM as a whole, this means that if a VM is the pressure above 100 The monitor will turn red, but the next evaluation if other VM is below 100, the monitor will turn green and the alert is resolved one and never would see, for that reason as you see I have removed the option to automatically resolve the alert if the monitor turns green. Como digo esto lo podemos resolver haciendo el management pack con algo más de tiempo y las herramientas adecuadas. As I say this can be resolved by the management pack with more time and the right tools.
Ahora ya será cuestión de hacernos unas sencillas vistas para ver la presión de las VMs y estresarlas para ver si sale la alerta Now let us be a simple matter of sights to see pressure and stress for the VMs to see if the alert comes
Si vemos el explorador de salud del host veremos lo siguiente: If we see the health of the host browser will see the following:
En el siguiente post os explico como sacar un informe de la presión de memoria de las VMs. In the next post I will explain how to get a report from the memory pressure of the VMs.
Un saludo a todos. Greetings to everyone.
No comments:
Post a Comment