Mostrando las entradas con la etiqueta VC. Mostrar todas las entradas
Mostrando las entradas con la etiqueta VC. Mostrar todas las entradas

martes, 7 de octubre de 2008

Configurar las Alarmas de VMware VI3 (ESX)

Algo que nos ofrece VI3 y que merece la pena pasarse diez minutos en configurar son las alarmas. VI3 nos ofrece la posibilidad de reaccionar (por medio de un script) o ser avisados (por mail, por SNMP) de los cambios en determinados parametros de nuestras VMs.


Las alarmas indican el estado de los objetos, estos objetos pueden ser: carpetas, datacenters, clusters, resource pools, hosts y VMs. De hecho, en el lado izquierdo del VIC podemos ver estos objetos y su jerarquia.

Lo primero que tenemos que ver es a qué nivel queremos poner la alarma que vamos a configurar. A mí me resulta muy comodo hacerlo a la altura (jerarquica) mayor: la de Hosts & Clusters, de esta forma con configurar un par de alarmas me vale para todas las VMs que hay colgando. Si me interesa alguna VM en concreto, algun parametro en concreto que no esté monitorizando con las anteriormente mencionadas alarmas configuro una alarma especifica para ello, que no suele ser el caso.

Las alarmas que suelo poner a nivel de Hosts&Clusters son dos solamente, una de tipo Alarma Host y otra de tipo Alarma VM, de esta forma me entero de lo que ocurre a los Hosts y a las VMs que tengo en mi infraestructura virtual.


Por ejemplo, añado la alama de tipo Host, marco los triggers que quiero (Remarcar que en cada campo si pinchamos hay una lista desplegable):



Y pongo las notificaciones que quiero. En general por mail, para lo cual hay que definir primero el servidor SMTP. (En el VIC, Menu Administration, Virtual Center Management Server, Configuration, Mail)

Ejemplo de mail que llega, en este caso por uso de CPU excesivo:
Target: VirtualMachine1
Old Status: Green
New Status: Yellow

Current value:
Alarma Virtual Machine - (Metric CPU Usage (Average/Rate) = 76% OR Metric Memory Usage (Average/Absolute) = 12% OR Metric Network Usage (Average/Rate) = 0% OR Metric Disk Usage (Average/Rate) = 0% OR State = Powered On)

Alarm: Alarma Virtual Machine
([Yellow Metric Is Above 75%; Red Metric Is Above 90%] OR [Yellow Metric Is Above 75%; Red Metric Is Above 90%] OR [Yellow Metric Is Above 75%; Red Metric Is Above 90%] OR [Yellow Metric Is Above 75%; Red Metric Is Above 90%] OR [Yellow State Is Equal To suspended; Red State Is Equal To poweredOff])

Description:
Alarm Alarma Virtual Machine on VirtualMachine1 changed from Green to Yellow

Detalle Importante:
En los triggers, asi como en la CPU y Memoria se establece el umbral en %.
En los indicadores de uso de disco y red hay un bug (Al menos en la 3.0.2). No se expresan en %, el numero que ponemos son los "kiloBytesPerSecond" en lo que se refiere a disco y "kiloBitsPerSecond" en lo que se refiere a red.

This is a bug in the displayed units of the VI Client.
Disk metric monitored by alarms is "kiloBytesPerSecond", not "percent".
Network metric monitored by alarms is "kiloBitsPerSecond", not "percent"

http://communities.vmware.com/message/586823#586823

martes, 13 de mayo de 2008

Essential ESX 3.5 & VC 2.5 links


Eric Siebert (VMware Communities User Moderator) ha publicado (en forma de post sticky) una recopilacion de enlaces muy muy utiles para ESX 3.5 y V.C 2.5. La tenemos aqui.

Abarca una gran cantidad de puntos:

Compatibility & Version Info:
VI3 Key Features & Benefits Summary by Version - http://www.vmware.com/files/pdf/key_features_35.pdf
VMware Infrastructure Compatibility Matrixes - http://vmware.com/pdf//vi3_35/esx_3/r35/vi3_35_25_compat_matrix.pdf
Details of What's New and Improved In VI3 Version 3.5 - http://www.vmware.com/support/vi3/doc/whatsnew_esx35_vc25.html

Must Read:
RTFM Upgrade guide for ESX 3.5 and VirtualCenter 2.5 - http://tinyurl.com/3722dz


Release Notes/Install, Upgrade and Patch Guide:
ESX Server 3.5 and VirtualCenter 2.5 Release Notes - http://www.vmware.com/support/vi3/doc/vi3_esx35_vc25_rel_notes.html
ESX Server 3 Installation Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_installation_guide.pdf
Upgrade Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_upgrade_guide.pdf
ESX Server 3 Patch Management Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_esxupdate.pdf


Additional documentation:
Configuration Maximums for VMware Infrastructure 3 - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_config_max.pdf
Quick Start Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_quickstart.pdf
Basic System Administration - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_admin_guide.pdf
Virtual Infrastructure Web Access Administrator's Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_web_access.pdf
ESX Server 3 Configuration Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_3_server_config.pdf
Resource Management Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_resource_mgmt.pdf
Fibre Channel SAN Configuration Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_san_cfg.pdf
iSCSI SAN Configuration Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_iscsi_san_cfg.pdf
Virtual Machine Backup Guide - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_vm_backup.pdf
VMware Infrastructure 3 Primer - http://vmware.com/pdf/vi3_35/esx_3/r35/vi3_35_25_prim.pdf


Additional downloads:
Remote CLI Download - http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI
License Server for ESX 3.5 - http://download3.vmware.com/software/vi/VMware-licenseserver-64192.exe
CPU Compatibility Tool for ESX 3.5 - http://download3.vmware.com/software/vi/CPU_Compatibility-64557.zip


Converter:
VMware Converter Enterprise for VirtualCenter 2.5 Admin Guide - http://vmware.com/pdf/vi3_vec_10_admin_guide.pdf
VMware Converter Enterprise for VirtualCenter 2.5 Release Notes - http://vmware.com/support/vi3/doc/vi3_vec_10_rel_notes.html


Update Manager:
VMware Update Manager Release Notes - http://vmware.com/support/vi3/doc/vi3_vum_10_rel_notes.html
VMware Update Manager Admin Guide - http://www.vmware.com/pdf/vi3_vum_10_admin_guide.pdf
VMware Update Manager Sizing Estimator - http://vmware.com/support/vi3/doc/vi3_vum_10_sizing_estimator.xls


Latest Hardware Compatibility Guides:
Systems - http://vmware.com/pdf/vi3_systems_guide.pdf
I/O - http://vmware.com/pdf/vi3_io_guide.pdf
Storage/SAN - http://vmware.com/pdf/vi3_san_guide.pdf
Backup Software - http://vmware.com/pdf/vi3_backup_guide.pdf


Blog & News Articles:
VMware ESX 3.5 goes live with key new features - http://searchservervirtualization.techtarget.com/originalContent/0,289142,sid94_gci1285629,00.html
What's new in ESX 3.5 & VC 2.5? -
http://virtualgabe.wordpress.com/2007/12/08/what%e2%80%99s-new-in-esx-35-vc-25-part-2/
http://virtualgabe.wordpress.com/2007/12/08/what%e2%80%99s-new-in-esx-35-vc-25-part-3/
http://virtualgabe.wordpress.com/2007/12/08/what%e2%80%99s-new-in-esx-35-vc-25-part-4/
VMware VI Client 2.5 does not support 64-bit workstations - http://www.dabcc.com/article.aspx?id=6674


Relevant KB Articles:
Licensing:
Updates to your VMware VI3 Starter Licenses - http://kb.vmware.com/kb/1003299
Changes in licensing for VI3 Standard Edition When upgrading to VI 3.5 - http://kb.vmware.com/kb/1003301
Understanding VI 3.5 Licensing: Server and Host-based Licensing Models - http://kb.vmware.com/kb/1003295


ESX 3.5:
Installing ESX Server throws an "Anaconda Error" in the Partitioning Options screen - http://kb.vmware.com/kb/1003217
VMFS Partition cannot be created for "Typical" ESX Server Installation if Prior installation is detected - http://kb.vmware.com/kb/1003309
IBM System x3850 M2 and System x3950 M2 Servers fail to connect to 100Mbps Networks - http://kb.vmware.com/kb/1003226
Installing the Tivoli Storage Manager Client on the Service Console results in an error - http://kb.vmware.com/kb/1003142
Virtual Machine on a RDM Shared Storage becomes invalid after migration from ESX Server 2.5.x to ESX Server 3.5 or 3i - http://kb.vmware.com/kb/1003092
Vmotion is disabled after ESX Server upgrade - http://kb.vmware.com/kb/1003060
Certain Special Characters cause software iSCSI Initiator CHAP Configuration corruption - http://kb.vmware.com/kb/1003095
Connection to ESX Server host through VI Client is lost if you attempt to delete several VM's at once from the Datastore Browser - http://kb.vmware.com/kb/1003250
Storage Devices connected to McData FC Switch through Qlogic adapters occasionally do not re-appear after reboot - http://kb.vmware.com/kb/1003250
Snapshot operations submitted directly to an ESX Server Host during Storage vMotion corrupts Virtual Machine data - http://kb.vmware.com/kb/1003114
Storage vMotion on a VM with I/O intensive workload may result incorrectly in a timeout error - http://kb.vmware.com/kb/1003276
Upgrading to ESX Server 3.5 when the Root Parition is nearly full might cause Incomplete System Configuration - http://kb.vmware.com/kb/1003311
Restarting Hostd (mgmt-vmware) on ESX Server hosts restarts Hosted Virtual Machines where VM Auto Startup/Shutdown is enabled - http://kb.vmware.com/kb/1003312
ESX Server becomes temporarily unresponsive under a Heavy I/O load - http://kb.vmware.com/kb/1003039
Consolidation of Large or Deeply Nested Snapshots using VirtualCenter, SDK or VCB might take longer on ESX Server 3.5 than on ESX Server 3.0.x - http://kb.vmware.com/kb/1003308


Consolidated Backup 1.1:
Upgrading Consolidated Backup version 1.0.x to 1.1 causes the installer to hang - http://kb.vmware.com/kb/1003045
Consolidated Backup cannot create Quiesced Snapshots of VM's running Windows Vista - http://kb.vmware.com/kb/1003074
VCB 1.1 Command Line utility connection to port 902 causes an error message - http://kb.vmware.com/kb/1003088


VC 2.5:
When you install SQL Server Express on a System where SQL Native Client is present the installation might fail with error - http://kb.vmware.com/kb/1003076
VirtualCenter Server Fails to Start after your replace Default SSL Ceritifcates with Custom Certificates - http://kb.vmware.com/kb/1003070
Error Message During Installation: error 1603: error installing Windows installer engine - http://kb.vmware.com/kb/1003036
Administrative Credentials are Required for Oracle and SQL Database when Installing or Upgrading VirtualCenter - http://kb.vmware.com/kb/1003052
Client-side CD-ROM or Floppy can become disconnected - http://kb.vmware.com/kb/1003118
VirtualCenter Server does not detect changes in Host IP Address unless SSL Certificate Verification has been enabled - http://kb.vmware.com/kb/1003066
Permission problem if host had been in lockdown mode - http://kb.vmware.com/kb/1003117
Virtual Machines might lose Network Connectivity when moved to a different Port Group - http://kb.vmware.com/kb/1003061
Powering on Virtual Machines with multiple PCI Devices might fail - http://kb.vmware.com/kb/1003048
Incorrect Device Paths for LUNs displayed in Storage Summary - http://kb.vmware.com/kb/1003064
VirtualCenter Consolidation service Usernames and Passwords must use only ASCII characters - http://kb.vmware.com/kb/1003096
VI Client installation fails on Windows Vista Business Edition with enabled Anti-virus software - http://kb.vmware.com/kb/1003079
VirtualCenter Server might crash in a cluster with Manual or Partially Automatic DRS and Automatic DPM - http://kb.vmware.com/kb/1003027
Deleting Snapshots of VM's with Heavy disk I/O might cause host to be Disconnected from VirtualCenter - http://kb.vmware.com/kb/1003024
Paravirtualization option is not Disabled for Unsupported Operating Systems - http://kb.vmware.com/kb/1003008
VirtualCenter Server installation fails or results in an error if your system does not have MDAC 2.8 SP1 or later installed - http://kb.vmware.com/kb/1003160
Installing Update Manager with Unified Installer might faile if Disparate Databases are used - http://kb.vmware.com/kb/1003277
Some Alarms may disappear after upgrading to VirtualCenter 2.5 - http://kb.vmware.com/selfservicekb/1003072
VirtualCenter Database upgrade fails with an exception when a Password that contains Apostrophes or Double Quotes is used - http://kb.vmware.com/kb/1003049
The VirtualCenter Server might Crash when using an older ODBC driver with Oracle 9i - http://kb.vmware.com/kb/1003049
Guest Operating System Standby feature removed in VirtualCenter Server 2.5 - http://kb.vmware.com/kb/1002414
Cannot specify Destination Folder on Non-default Datacenter when Cloning Virtual Machines - http://kb.vmware.com/kb/1003075
VirtualCenter Service will not start on a machine with non-Ascii characters in it's Machine Name - http://kb.vmware.com/kb/1003075
vMotion from ESX Server 3.5 hosts to ESX Server 3.0.x hosts causes the console sessions of the migrated VM's to become blank - http://kb.vmware.com/kb/1003038
Automatic VMware Tools upgrade does not upgrade to the latest version on VM's with Insufficient space in the Root parition - http://kb.vmware.com/kb/1003051

Forum Threads:

3.5 Install Notes: http://communities.vmware.com/message/820473
VC 2.5 SQL Server 2000 permission configuration needs - http://communities.vmware.com/message/820079
VC 2.5 Upgrade - Wiped my Database - http://communities.vmware.com/message/820174
New Features - What Have You Noticed? - http://communities.vmware.com/thread/117565?tstart=50
VMware 3.5 Disappointing News - http://communities.vmware.com/thread/116816?tstart=100
Upgrade of 3.0.2 or Fresh Install? - http://communities.vmware.com/thread/116907?tstart=100
VI Client 2.5 only supports 32-bit OS - http://communities.vmware.com/thread/116881?tstart=150
VC 2.5 Database Upgrade - Space required by Upgrade Wizard - http://communities.vmware.com/thread/117001?tstart=150
Update Manager - Changing the Default Location of the Patch Repository - http://communities.vmware.com/thread/117426?tstart=150
ESX 3.5 Time Configuration Error "Failed to Change Host Configuration" - http://communities.vmware.com/thread/117349?tstart=200
VirtualCenter 2.5 Components won't install - http://communities.vmware.com/thread/116964?tstart=250


Other:
Technote: Round-Robin Load Balancing - http://www.vmware.com/pdf/vi3_35_25_roundrobin.pdf
Technote: Enabling Netflow on Virtual Switches - http://www.vmware.com/pdf/vi3_35_25_netflow.pdf
Technote: Configuring and Troubleshooting N-Port ID Virtualization - http://www.vmware.com/pdf/vi3_35_25_npiv_config.pdf
Technote: Virtual Machine Failure Monitoring - http://www.vmware.com/pdf/vi3_35_25_vmha.pdf
ESX 3.5 Installation Video (You Tube) - http://ca.youtube.com/watch?v=qobhariBEec


Blog & News Articles:
Review: VMware Infrastructure 3.5 builds on the base - http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9053158


Relevant KB Articles:

VC 2.5:

For SQL Server 2000, Do Not Grant or Revoke the System Administrators Role to Satisfy the Database Permission Requirements When Upgrading to VirtualCenter 2.5 - http://kb.vmware.com/kb/1003346