Upload
mlaray2k
View
31
Download
4
Tags:
Embed Size (px)
Citation preview
TEMARIO de CURSO ICM
MODULE 1 Course Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .... 1
Importance ................................................. 2
Module Objectives ........................................... 3
Course Goals ............................................... 4
Course Outline .............................................. 5
Course Map ................................................ 6
What Is VMware vSphere? .................................... 7
VMware Certifications ....................................... 8
VMware Online Resources ................................... 10
vSphere Production Documentation ............................ 11
Key Points ................................................ 12
MODULE 2 Introduction to VMware Virtualization .......................... 13
You Are Here ............................................. 14
Importance ................................................ 15
Module Objectives .......................................... 16
What Is Virtualization? ...................................... 17
How Does Virtualization Work? .............................. 19
Comprender la virtualización de CPU y Memoria
Host Operating System-Based Virtualization ..................... 20
Virtualization Using a Bare-Metal Hypervisor .................... 21
What Is a Virtual Machine? .................................. 22
Why Use Virtual Machines? .................................. 23
Using vSphere ............................................. 24
Administering Your vSphere Environment ....................... 26
Module Summary .......................................... 28
Key Points ................................................ 29
MODULE 3 VMware ESX and ESXi ..................................... 31
You Are Here ............................................. 32
Importance ................................................ 33
Module Lessons ............................................ 34
Lesson 1: Overview of ESX/ESXi ............................. 35
Lesson Objectives .......................................... 36
ESXlESXi: Virtualization Platform ............................ 37
ESXi Installable, ESXi Embedded, and ESX ..................... 38
ESXlESXi Architecture ...................................... 39
Lesson Summary ........................................... 41
Lesson 2: Configuring ESXlESXi .............................. 42
Lesson Objectives ......................................... .43
Installing and Configuring ESXlESXi .......................... 44
Configuring ESXi .......................................... 45
Comando básicos de configuración manual de ESX/ESXi
Configuring ESXi: root Access ................................ 46
Configuring ESXi: Management Network ...................... .47
VMware vSphere 4.1: Install, Configure, Manage
Configuring ESXi: Other Settings .............................. 48
Connecting to an ESXlESXi Host .............................. 49
vSphere Client: Configuration Tab ............................. 50
Viewing Processor and Memory Configuration ................... 51
License Assignment Procedure ................................ 52
ESXlESXi as an NTP Client .................................. 53
Network Settings: DNS and Routing ........................... 54
Viewing ESXlESXi System Logs .............................. 55
Configurar un log centralizado de hosts ESXs.
Remote Access Settings: Security Profile ........................ 56
Managing ESXlESXi from the Command Prompt ................. 57
ESXlESXi User Account Best Practices ......................... 59
Uso de las herramientas de vSphere para monitorizar los hots ESX. Comando resxtop,…
Metodología y diagnóstico de problemas de desempeño relativos a CPU, memoria, red y almacenamiento.
Interpretación de las Alertas.
Lab 1 .................................................... 60
Lesson Summary ........................................... 61
Key Points ................................................ 62
MODULE 4 VMware vCenter Server ..................................... 63
You Are Here ............................................. 64
Importance ................................................ 65
Module Lessons ............................................ 66
Lesson 1: Installing vCenter Server ............................ 67
Lesson Objectives .......................................... 68
vCenter Server: Management Platform .......................... 69
vCenter Architecture ........................................ 70
vCenter Server Components .................................. 71
Additional vCenter Server Modules ............................ 72
vCenter Server: Physical or Virtual Machine ..................... 73
vCenter Server Hardware and Software Requirements .............. 74
vCenter Database Requirements ............................... 75
Calculating the Database Size ................................. 76
Before Installing vCenter Server ............................... 77
Installing vCenter Server and Its Components .................... 78
vCenter Server Installation Wizard ............................. 79
vCenter Server Services ..................................... 81
Installing the vSphere Client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 82
Logging In to the vSphere Client .............................. 83
Default vCenter Server Plug-Ins ............................... 84
Lab 2 .................................................... 85
Lesson Summary ........................................... 86
Lesson 2: Using vCenter Server ............................... 87
Lesson Objectives .......................................... 88
Datacenter Object .......................................... 89
Organizing Inventory Objects into Folders ....................... 90
-Gestionar los objetos de inventario de vCenter.-Manipulación de MVs en el vCenter Server Inventory.-Gestión de múltiples vCenter usando Linked Mode.
-Acceso a multiples inventarios.-Arquitectura y requerimientos.-Configuración de grupos vCenter Linked Mode.
Navigating the vSphere Client. ................................ 91
ii VMware vSphere 4.1: Install, Configure, Manage
vCenter Server Views: Hosts and Clusters, VMs and Templates ...... 92
Monitorización de conjuntos de recursos, almacenamiento, estado del clúster,…
vCenter Server Views: Datastores and Networks .................. 93
Adding a Host to the vCenter Server Inventory ................... 94
ESXlESXi and vCenter Server Communication ................... 95
vCenter License Overview ................................... 96
vCenter Server Events ....................................... 97
vCenter Server System Logs .................................. 98
Creating a vCenter Server Administrator ........................ 99
Lab 3 ................................................... 100
Lesson Summary .......................................... 101
Key Points ............................................... 102
MODULE 5 Networking .............................................. 103
You Are Here ............................................ 104
Importance ............................................... 105
Module Lessons ........................................... 106
Lesson 1: Creating vNetwork Standard Switches ................. 107
Lesson Objectives ......................................... 108
What Is a Virtual Network? What Is a Virtual Switch? ............ 109
Types of Virtual Switch Connections .......................... 110
Virtual Switch Connection Examples .......................... 111
Types of Virtual Switches ................................... 112
Standard Virtual Switch Components .......................... 113
Default Standard Virtual Switch Configuration .................. 114
Physical Network Considerations ............................. 116
Lab 4 ................................................... 117
Lesson Summary .......................................... 118
Lesson 2: Modifying Standard Virtual Switch Properties ........... 119
Lesson Objectives ......................................... 120
Standard Virtual Switch Ports ................................ 121
Network Adapter Properties ................................. 122
VLANs ................................................. 123
Network Policies .......................................... 124
Security Policy ............................................ 125
Traffic-Shaping Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Configuring Traffic Shaping ................................. 128
NIC Teaming Policy ....................................... 129
Load-Balancing Method: Port ID-Based ........................ 130
Load-Balancing Method: Source MAC-Based ................... 131
Load-Balancing Method: Source IP-Based ...................... 132
Detecting and Handling Network Failure ....................... 134
Lab 5 (Optional) .......................................... 136
Contents iii
Lesson Summary .......................................... 137
Key Points ............................................... 138
MODULE 6 Storage .................................................. 139
You Are Here ............................................ 140
Importance ............................................... 141
Module Lessons ........................................... 142
Lesson 1: Storage Concepts .................................. 143
Lesson Objectives ......................................... 144
Storage Overview ......................................... 145
Storage Technology Overview ............................... 146
Introducción a la pila pila de almacenamiento en vmware.
Datastores ............................................... 147
VMFS .................................................. 148
NFS .................................................... 150
RDM ................................................... 151
Identificar información útil para la toma de decisiones en el diseño del almacenamiento.
Analizar mejores prácticas y alternativas en el diseño del almacenamiento.
vStorage Virtual Disk Thin Provisioning ....................... 152
-sus efectos en el almacenamiento.-Ahorro de disco con Thin Privisioning. Monitorización y gestión de datastores VMFS.
Uses of Local and Shared Storage ............................. 153
Storage Device Naming Conventions .......................... 154
-importancia de configurar una numeración consistente de LUN ID.
Physical Storage Considerations .............................. 155
Lesson Summary .......................................... 156
Lesson 2: IP Storage: iSCSI and NASINFS ..................... 157
Lesson Objectives ......................................... 158
Using IP Storage with ESXlESXi ............................. 159
iSCSI Components ........................................ 160
iSCSI Addressing ......................................... 161
iSCSI Initiators ........................................... 162
Configuring Software iSCSI ................................. 164
ESXlESXi Network Configuration for IP Storage ................ 165
iSCSI Target-Discovery Methods ............................. 166
iSCSI Security: CHAP ..................................... 167
Configuring Hardware iSCSI ................................ 169
NFS Components .......................................... 170
Addressing and Access Control with NFS ...................... 171
Configuring an NFS Datastore ............................... 172
Viewing IP Storage Information .............................. 173
Unmounting an NFS Datastore ............................... 174
Introducir estrategias para eliminar los conflictos en las reservas SCSI.Describir la importancia del “VMFS alignment”.Ventajas y desventajas entre VMFS y RDM.Opciones para crear discos de MVs y las ventajas y desventajas de cada opción. Configuración del almacenamiento y su efecto en el desempeño.Herramientas vSphere para monitorizar la latencia, capacidad y consumo de almacenamiento. Resolución de problemas.Cálculo de operaciones I/O por segundo (IOPS) y MBps para configurar apropiadamente LUNs.Usar esxtop o resxtop para determinar IOPS y MBps.Disctir las topologías de redes de almacenamiento, zoning, y control de acceso en Fibra, iSCSI y NAS.Estrategias para la localización del disco virtual.Consideraciones de enlazado –linking- y trunking- agrupamiento- interswitch.Usar esxcli para enmascarar LUNs.Replicación de LUN en entornos vSphere.Identificar una LUN snapshot en vSphere.Controlar como el VMkernel manega las LUNs replicadas.Usar LUNs replicadas para backup y recuperación de desastres.Introducción a VMWare APIs for Data Protection.Describir el impacto de los snapshot de máquinas virtuales en la arquitectura de almacenamiento.Implementación de control de flujo y frames jumbo en configuraciones de almacenamiento IP.Configurar encolamiento adaptativo de VMware vStorage. Configuración manual de colas de almacenamiento.Discutir ventajas/desventajas del arranque de ESX/ESXi desde SAN.Configuración y Gestión multipath.
-multipath en fibra, iSCSI y NAS.-Algoritmos de multipath disponibles en vSphere.-Integrating virtual port and target port group support, and asymmetric logical unit Access array into
a vSphere environment.-configurar arrays active-activo y active-pasivo en vSphere.
VMWare vStorage APIs for Array integration (debería soportarla nuestra cabina de discos???, importante para VDI).
-Describir el bloqueo acelerado por hardware.-describir el zeroing acelerado por hardware.-describir la copia acelerada por hardware.-habilitar y deshabilitar la aceleración por hardware.
Lab 6 ................................................... 175
Lesson Summary .......................................... 176
Lesson 3: Fibre Channel SAN Storage ......................... 177
Lesson Objectives ......................................... 178
Using Fibre Channel with ESXlESXi .......................... 179
Fibre Channel SAN Components ............................. 180
Fibre Channel Addressing and Access Control ................... 182
iv VMware vSphere 4.1: Install, Configure, Manage
Accessing Fibre Channel Storage ............................. 183
Viewing Fibre Channel Storage Information .................... 184
Viewing Fibre Channel Storage Maps ......................... 185
Lesson Summary .......................................... 186
Lesson 4: VMFS Datastores ................................. 187
Lesson Objectives ......................................... 188
Using a VMFS Datastore with ESXlESXi ...................... 189
Creating a VMFS Datastore ................................. 190
Viewing VMFS Datastores .................................. 191
Browsing Datastore Contents ................................ 192
Managing Overcommitted Datastores .......................... 193
Increasing the Size of a VMFS Datastore ....................... 194
Comparing Methods for Increasing VMFS Datastore Size .......... 195
Before Increasing the Size of a VMFS Datastore ................. 197
-También el redimensionamiento de Discos virtuales que creo que ya lo he puesto en otro sitio.
Deleting a VMFS Datastore ................................. 198
Multipathing with Fibre Channel ............................. 199
Multipathing with iSCSI Storage ............................. 200
Managing Multiple Storage Paths ............................. 201
Configuring Storage Load Balancing .......................... 202
Pluggable Storage Architecture ............................... 203
Explicar como emplear esta nueva arquitectura.
Lab 7 ................................................... 204
Lesson Summary .......................................... 205
Key Points ............................................... 206
MODULE 7 Virtual Machines .......................................... 207
You Are Here ............................................ 208
Importance ............................................... 209
Module Lessons ........................................... 210
Lesson I: Virtual Machine Concepts .......................... 211
Lesson Objectives ......................................... 212
What Is a Virtual Machine? ................................. 213
What Files Make Up a Virtual Machine? ....................... 214
Displaying a Virtual Machine's Files .......................... 216
Using the Storage Views Tab to Display Files ................... 217
Virtual Machine Hardware .................................. 218
CPU and Memory ......................................... 219
Virtual Disk .............................................. 220
Virtual Network Interface Card ............................... 221
Other Devices ............................................ 223
Virtual Machine Console .................................... 224
Lesson Summary .......................................... 225
Lesson 2: Creating a Virtual Machine .......................... 226
Lesson Objectives ......................................... 227
Contents v
Provisioning a Virtual Machine ............................... 228
Create New Virtual Machine Wizard .......................... 229
Choosing the Typical Configuration ........................... 230
Choosing the Custom Configuration ........................... 231
Installing the Guest Operating System ......................... 232
VMware Tools ............................................ 233
-Aspectos de seguridad.
Uso de VMDirectPath para asignar un adaptador PCI directamente a una máquina virtual. ¿Mochilas y llaves de Licencias en Servidores ESXs?.
Virtual Appliances ......................................... 235
-Administración.
Deploying an OVF Template ................................ 236
Lab 8 ................................................... 237
Lesson Summary .......................................... 238
Lesson 3: Creating Templates and Clones ...................... 239
Lesson Objectives ......................................... 240
WhatIs a Template? ....................................... 241
Creating a Template ....................................... 242
Viewing Templates ........................................ 243
Deploying a Virtual Machine from Template .................... 244
Updating a Template ....................................... 245
Cloning a Virtual Machine .................................. 246
Customizing the Guest Operating System ....................... 247
Deploying Virtual Machines Across Datacenters ................. 248
Lab 9 ................................................... 249
Lesson Summary .......................................... 250
Lesson 4: vCenter Converter ................................. 251
Lesson Objectives ......................................... 252
vCenter Converter ......................................... 253
vCenter Converter Components .............................. 254
vCenter Converter Requirements ............................. 255
Cloning ................................................. 257
Remote Hot Cloning of a Windows System ..................... 258
Importing a Machine ....................................... 260
Import Machine Wizard Options (I) ........................... 261
Import Machine Wizard Options (2) ........................... 263
Changes to Virtual Hardware ................................ 265
Lab 10 .................................................. 266
Lesson Summary .......................................... 267
Lesson 5: Modifying Virtual Machines ......................... 268
Lesson Objectives ......................................... 269
Modifying Virtual Machine Settings ........................... 270
Hot-Pluggable Devices ..................................... 271
Dynamically Increasing a Virtual Disk's Size .................... 272
Creating an RDM ......................................... 273
Virtual Machine Options .................................... 274
Options: VMware Tools .................................... 275
vi VMware vSphere 4.1: Install, Configure, Manage
Advanced: Boot Options .................................... 276
Lab II .................................................. 277
Lesson Summary .......................................... 278
Lesson 6: Managing Virtual Machines ......................... 279
Lesson Objectives ......................................... 280
Virtual Machine Snapshots .................................. 281
Taking a Snapshot ......................................... 282
Managing Snapshots ....................................... 283
Virtual Machine Snapshot Files .............................. 284
Managing Virtual Machines with vApp ........................ 285
v App Characteristics ....................................... 286
Removing a Virtual Machine ................................ 288
Migrating Virtual Machines ................................. 289
Comparison of Migration Types .............................. 290
Storage vMotion .......................................... 291
Storage vMotion in Action .................................. 292
Migrating Virtual Machines ................................. 293
Storage vMotion Guidelines and Limitations .................... 294
Monitorización de métricas claves de desempeño, así como la resolución de problemas. Control del acceso a CPU, Memoria y recursos de E/S.
Ampliación de un disco virtual.
Analizar mejores prácticas y alternativas en el diseño de máquinas virtuales.
Lab 12 .................................................. 295
Lesson Summary .......................................... 296
Key Points ............................................... 297
M O D U L E 8 Access Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 309
You Are Here ............................................ 310
Importance. .............................................. 311
Module Objectives. ........................................ 312
Access Control Overview ................................... 313
Users and Groups ......................................... 314
Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Objects. ................................................. 317
Assigning Pennissions. ..................................... 318
Viewing Roles and Assignments. ............................. 319
Applying Pennissions: Scenario I. ............................ 320
Applying Pennissions: Scenario 2. ............................ 321
Applying Pennissions: Scenario 3. .. . . . . .. . ... . . . . . . . . .. .... . . 322
Applying Pennissions: Scenario 4. ............................ 323
Creating a Role ........................................... 324
Lab 13 . ... . . . .. . . . . . . . . . . . . .. . . . . . . . .. . . .. . . . . . . . . . . . . .. 325
Module Summary ......................................... 326
Key Points . . . . . . . .. . . . . . . . . . . . . . . . . . . . . ... . . .. . . . . . . . .. . . 327
MOD U LE 9 Resource Monitoring. ...................................... 329
You Are Here ............................................ 330
Importance. .... . . .. . . . . . . . . . . . .. . . . .. . . . . . . . . . . . . . . . . . . . . 331
Module Lessons. .......................................... 332
Lesson I: Resource Controls and Resource Pools ................ 333
Lesson Objectives ......................................... 334
Systems for Optimizing Virtual Machine Resource Use ........... 335
Resource Management ..................................... 336
Virtual Machine CPU Resource Settings ....................... 337
How Virtual Machines Compete for Resources .................. 338
Virtual Machine Memory Resource Settings .................... 339
Control de los recursos de CPU, memoria e I/0 de las MV. Monitorización.
Virtual Machine Storage 110 Resource Settings .................. 341
What Is a Resource Pool? ................................... 343
Why Use Resource Pools? .................................. 344
Resource Pool Attributes. ................................... 345
Resource Pool Scenario. .................................... 346
Resource Pool Example. .................................... 347
Resource Pools Example: CPU Shares ......................... 348
Resource Pools Example: CPU Contention ..................... 349
Expandable Reservation .................................... 350
Example of Expandable Reservation (I). ....................... 351
Example of Expandable Reservation (2). ....................... 352
Admission Control for CPU and Memory Reservations. ........... 353
Resource Pool Summary Tab ............................ " .. 354
VMware vSphere 4.1: Install, Configure, Manage
Resource Allocation Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Scheduling Changes to Resource Settings . . . . . . . . . . . . . . . . . . . . . . 356
Lab 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Lesson 2: Virtual CPU and Memory Concepts . . . . . . . . . . . . . . . . . . . 359
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Multicore Processors . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 361
Hyperthreading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
CPU Load Balancing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Memory Virtualization Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
Transparent Page Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
vmmemctl: Balloon-Driver Mechanism . . . . . . . . . . . . . . . . . . . . . . . . 367
VMkemel Swap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
Ballooning Compared with VMkernel Swapping . . . . . . . . . . . . . . . . . 369
Introducción de métodos VMKernel para optimizer el uso de CPU y memoria.
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 70
Lesson 3: Monitoring Resource Usage . . . . . . . . . . . . . . . . . . . . . . . . . 371
Lesson Objectives .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 372
Performance-Tuning Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
-El planificador de CPU y otras características que tienen un impacto en el desempeño CPU. Indicadores y métricas de desempeño CPU.-Desempeño de Memoria. Técnicas de recuperación y exceso de memoria. Balooning. Indicadores y métricas de desempeño de memoria. -Desempeño de red. Indicadores y métricas de desempeño.-Desempeño en el almacenamiento. Indicadores y métricas. Protocolos y configuraciones más apropiadas: VMFS, balanceo de carga, queuing,… y como afectan al rendimiento.
Guest Operating System Monitoring Tools . . . . . . . . . . . . . . . . . . . . . . 374
Using Perfmon to Monitor Virtual Machine Resources . . . . . . . . . . . . 375
VMware vCenter Server Performance Charts . . . . . . . . . . . . . . . . . . . . 376
Interpreting Data from the Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Is a Virtual Machine CPU-Constrained? . . . . . . . . . . . . . . . . . . . . . . . . 378
Are Virtual Machines CPU-Constrained? . . . . . . . . . . . . . . . . . . . . . . 379
Is a Virtual Machine Memory-Constrained? . . .. . . . . . . . . . . . . . . . . 380
Is the Host Memory-Constrained? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
Monitoring Active Memory of a Virtual Machine . . . . . . . . . . . . . . . . 382
Are Virtual Machines Disk-Constrained? .. . . . . . . . . . . . . . . . . . . . . . 383
Monitoring Disk Latency . . . . ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Are Virtual Machines Network-Constrained? . . . . . . . . . . . . . . . . . . . 385
Lab 15 .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 86
Lesson Summary . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . 387
Lesson 4: Using Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
What Is an Alarm? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Alarm Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Alarm Triggers . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Configuring Condition Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
Configuring Event Triggers . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . 394
Configuring Reporting Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Configuring Actions . . . . . . . . ... . . . . . . . . . . . . . . . . . . . .. . . . . . . . 396
Configuring vCenter Server Notifications . . . . . . . . . . . .. . . . . . . .. . . 398
Viewing and Acknowledging Triggered Alarms . . . . . . . . . . . . . . . . . 399
ii VMware vSphere 4 .1: Install, Configure, Manage
Lab 1 6 . . . . . . . . . . . . . . . . . . . . . . . . , ......................... 400
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. . . . . . . 401
Key Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
M O D U L E 10 Data Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . 403
You Are Here . . . . . . . . . . . . . . . . . ... . . . . . . . . . . . . .. . . . . . . . . . . 404
Importance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... . .. . . 405
Module Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Backing Up Host Configuration Data . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Backing Up Virtual Machines . . . ...... . . . . . . . . . . . . . . . . . . . . . . . 409
Backup Solutions for Virtual Machines . . . . . . . . . . . . . . . . . . . . . . . . 410
Alternativas de Mercado y propias de VMware.
vStorage APIs for Data Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Data Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...... . . . 413
Data Recovery Components . . . . . . . . . . . . . . . . . . . . . .. . . . ... . . . . 414
Deduplication Store . . . . . . . . . . . . . . . . . . . . . . . . ... . . . . . . . . . . . . . 415
Data Recovery Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Installing and Configuring Data Recovery . . . . . . . . . . . . . . . . . . . . . . 419
Creating a Backup Job . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Restoring a Virtual Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
File Level Restore . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Lab 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Module Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . .. . . . . . . 425
Key Points . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
M O D U L E 11 Scalability . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . .... . . . 427
You Are Here . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . 428
Importance . . . . . . . . . .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Module Lessons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .430
Lesson 1 : vCenter Linked Mode . . . . . . . . . . . . . . . . . . . . . . .. . . . . . .431
Lesson Objectives . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .432
vCenter Linked Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .433
vCenter Linked Mode Architecture . . . . . . . . . . . . . . . . . . . .. . . . . . . . 434
Searching Across vCenter Server Instances . . . . . . . . . . . . . . . . . . . . . 435
Basic Requirements for vCenter Linked Mode . . . . . . . . . . . . .. . . . . .437
Joining a Linked Mode Group ... . . .... . . . . . . . . . . . . . . . . . .... . .439
vCenter Service Monitoring: Linked Mode Groups . . . . . . . . . . . . . . . 440
Resolving Role Conflicts . . . . . . .. . . . . . . . . . . . . . . .. . . . . . . . . . . . . 442
Isolate a vCenter Server Instance .. . . . . . . . . . . . . . . . . . . . ... . . . . . 443
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 444
Lesson 2: Host Profiles . . .. . . . . . .. . . . . . . . . . . . . . . . . . . . . . ... . . 445
Uso para mantener uniformemente configurados los hosts.
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
Host Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . 447
Host Profiles . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
Contents iii
Basic Workflow to Implement Host Profiles . . . . . . . . . . . . . . . .. . . . 449
Monitoring for Compliance . . . . .. . . . .... . . . .... . . . . . . . . . . . . . . 450
Applying Host Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
Lab 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
Lesson 3: vNetwork Distributed Switches . . . . . . . . . . . . . . . . . . . . . . 455
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . 456
vNetwork Distributed Switch . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . 457
Benefits of Distributed Virtual Switches . . . . . . . . . . . . . . . . . . . . . . . . 458
Distributed Virtual Switch Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Viewing Distributed Virtual Switches . . . . . . . . . . . . . . . . ... . . . . . . . 460
Managing Virtual Adapters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Managing Physical Adapters . . . . . . . . . . . . . ... . . . . .. . . . . . . . . . . . 462
Connecting a Virtual Machine to a Port Group . . . . . . . . . . . . . . . . . . . 463
Distributed Virtual Switch Architecture . . . . .. . . . . . . . . . . . . . . . . . . 464
Editing General Switch Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Editing Advanced Switch Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
Network 110 Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Standard Switch and Distributed Switch Feature Comparison . . . . . . . 4 71
Creación y uso de un capturador de paquetes de red para capturar y mostrar tráfico de un switch virtual de red.
Analizar mejores prácticas y alternativas en el diseño de redes.
Lab 1 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. .. . . . . . . . . . . . . . . . 472
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . .... . . . . . . . . . . 4 73
Lesson 4: vMotion Migration . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . 474
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
vMotion Migration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
How vMotion Migration Works . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . 4 77
Configuración y gestión.
Virtual Machine Requirements for vMotion Migration . . . . . . . . . . . . 478
Host Requirements for vMotion Migration . . . . . . . . . . . . . . . . . . . . . . 479
CPU Constraints on vMotion Migration . . . . . . . . . . . . . . . . . . . . . . . . 480
Exposing or Hiding NXlXD . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . 481
Identifying CPU Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .482
Verifying vMotion Layout: Virtual Machine Map . . . . . . . . . . . . . . . . 483
Checking vMotion Errors . . . . . . . . . . . ... . . . . . . . . . . . . . . . . . . . . . 4 84
Lab 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . 486
Lesson 5: DRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .... . . . 487
Lesson Objectives .. . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . 488
What Is a DRS Cluster? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489
DRS Cluster Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
DRS Cluster Settings: Automation Level . . . . . . . . . . . . . . . . . . . .. . . 491
DRS Cluster Settings: EVC . . . . . . . . . . . . . . . .... .. . . . . . . . . . . .. . 493
CPU Baselines for an EVC Cluster . . . .. . . . . . . . . . . . . . . . . . . . . . . . 494
EVC Cluster Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 95
DRS Cluster Settings: Swap File Location . . .. . . . . . . . . . . . . . . . . . . 496
Reglas de Afinidad y antiafinidad,….
Guías de desempeño usando clusters DRS.
iv VMware vSphere 4.1: Install. Configure. Manage
DRS Cluster Settings: Affinity Rules for Virtual Machines . . . . . . . . . 497
DRS Cluster Settings: DRS Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
DRS Cluster Settings: Virtual Machines to Hosts Affinity Rules . . . . . 499
Virtual Machines to Hosts Affinity Rule: Preferential . . . . . . . . . . . . . 500
Virtual Machines to Hosts Affinity Rule: Required . . . . . . . . . . . . . . . 501
DRS Cluster Settings: Automation at the Virtual Machine Level . . . . 502
Adding a Host to a Cluster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503
Viewing DRS Cluster Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
Viewing DRS Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
Monitoring Cluster Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Maintenance Mode and Standby Mode . . . . . . . . . . . . . . . . . . . . . . . . . 508
Removing a Host from the DRS Cluster . . . . . . . . . . . . . . . . . . . . . . . . 509
Improving Virtual Machine Performance . . . . . . . . . . . . . . . . . . . . . . . 510
-Desempeño de máquinas virtuales: directrices para configurar una máquina virtual con un desempeño óptimo (CPU, Memoria,Red,..).-Desempeño de aplicaciones: discutir herramientas y directrices para aplicaciones.-Resolución de problemas de rendimiento.
Lab 2 1 and eLeaming Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512
Lesson 6: VMware DPM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
VMware DPM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
How Does VMware DPM Work? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
VMware DPM Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
Power Management Comparison: VMware DPM . . . . . . . . . . . . . . . . 520
Enabling VMware DPM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
VMware DPM Host Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
Lab 22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 524
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Key Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
M O D U LE 12 High Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527
You Are Here . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
Importance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529
Module Lessons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 530
Lesson 1 : High Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532
High Availability and Fault Tolerance . . . . . . . . . . . . . . . . . . . . . . . . . 533
VMware Availability and Fault Tolerance Solutions . . . . . . . . . . . . . . 534
-Resumen de prerrequisitos FT.-Mejores prácticas y operative FT.
-Configurar, monitorizar y testear una MV con tolerancia a fallos.VMware HA, FT, and MSCS Clustering . . . . . . . . . . . . . . . . . . . . . . . 535
-Requerimientos y configuraciones soportadas de cluster failover de Microsoft sobre vSphere.
vCenter Server Availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536
VMware HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537
VMware HA in Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 538
-Parámetros avanzados de HA que afectan al slot size, despliegue de diferentes políticas de control de admisión, configuración de redes redundantes de heartbeat y test de aislamiento.
-Escenarios de problemas con HA.-Asegurar la disponibilidad de una aplicación. ¿Con FT –en tiempo real- o con HA –reinicio-?.
Using VMware HA and DRS Together . . . . . . . . . . . . . . . . . . . . . . . . . 539
Detecting a Host Failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
Host Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542
Architecture of a VMware HA Cluster . . . . . . . . . . . . . . . . . . . . . . . . . 543
VMWare vCenter server Hearbeat.
-resumen del funcionamiento del vCenter Server Hearbeat.-instalación y configuración de vCenter Server Hearbeat.-Failover y switchover con vCenter Server Hearbeat.-Monitorización de vCenter Server Heartbeat.
Contents v
Enabling VMware HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
Configuring VMware HA Settings . . . . . . . . . . . . . . . . . . . . . .. . . . . . 545
Admission Control Policy Choices . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
Configuring Virtual Machine Options . . . . . . . . ... . . . . . . . . . . . . . . . 548
Configuring Virtual Machine Monitoring . . . . . . . . . . . . . . . . . . . . . . . 549
Monitoring Cluster Status . . . . . . . . . . . . . . . . . . . . . .. . . . ... . . . . . . 550
Lab 23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552
Lesson 2 : Managing VMware HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
Setting VMware HA Advanced Parameters . . . . . . . . . . . . . . . . . . . . . 555
Advanced Options to Control Slot Size . . . . . . . . . . . . . . . . . . . . . .. .. 556
Planning Resources for a VMware HAlDRS Cluster . . . . . . . . . . . . . . 558
Importance of Redundant Heartbeat Networks . . . . . . . . . . . . . . . . . . . 559
Redundancy Using NIC Teaming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
Redundancy Using Additional Networks . . . . . . . . . . . . . . .. . . . . . . . 561
How Hosts Test for Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562
Configuring Isolation Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
Network Configuration and Maintenance . . . . . . . . . . . . . . . . . . . . . . . 564
Lab 24 . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 565
Lab 25 (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
Lesson 3: FT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Lesson Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
What Is FT? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 70
FT in Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572
Requirements for FT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
How FT Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
FT Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576
Enabling FT Logging on a Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578
Enabling FT on a Virtual Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579
Managing Virtual Machines Enabled for FT . . . . . . . . . . . . . . . . . . . . . 580
Lab 26 and eLeaming Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
Lesson Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . .. . . . . . . 582
Key Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 583
M O D U L E 13 Patch Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... . .. . . 585
You Are Here . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586
Importance . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . .. . . . . . . . . 587
Module Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588
Update Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Update Manager Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Update Manager Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 591
Installing Update Manager . . . . . . . . . .......... . . . . . . . . .... . . . 593
Configuring Update Manager Settings . . . . . . ... . . . ..... . .. . . . . . 595
Baseline and Baseline Groups . . . . . . . .. . .. . .. . . . . . . . . . . . . . ... . 596
Creating a Baseline . . . . .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598
Attaching a Baseline .. . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . 599
Scanning for Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
Viewing Compliancy . . . . . ... . . . . . . . ...... . . . . ...... . .. . .... 601
Remediating Objects . .. . . . . . . . . . . . . . . ... . . .. . . . . . . . . . . . . . . . 602
Remediation Options for a Cluster ...... . . . . ... . . . . . . . . . . . . . . . 604
Patch Recall Notification . . . . . .. . .... . ...... . . . . . . . . . . . . . . . . . 605
Remediation Enabled for DRS . . . . . .. . .. . . . .. . . . . . . . . . . . . . . . . 606
Lab 27 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
Module Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
Key Points . . . . . . . . . . . . ... . . ..... . . . . . . . ...... . . . .. . . . . . . . 609
M O D U L E 14 Installing VMware ESX and ESXi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611
You Are Here .... . . . . . ... . . . . . . . . . . . . . . . . . . . . . . .. . . . . . ... 612
Importance . . ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 613
Module Objectives. . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . 614
Installing ESX . . . . . . . .... . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . 615
Instalación con scripts de automatización para el despliegue de ESXs.
ESX Partitions .. . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . 617
ESXi Installable Hardware Prerequisites ...... . . . .. . . .. . . . . . . . . 618
Installing ESXi Installable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .... 619
ESXi Partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 620
Scripted ESXi Host Installations . . ... . .... . . . . . . . .. . . . . . . . . . . . 622
Scripted Installation Process .. . . .. . . . .... . . . ... . ..... . . . . . . .. 623
Default Installation Script: ks.cfg .. . ... . . ....... . ...... . . . . . .. 625
Module Summary .
SEGURIDAD.Vulnerabilidades principales en un entorno virtualizado.Guías básicas para securizar un entorno virtualizado.Tecnologías y herramientas de seguridad.Securizar la red virtualArquitectura de seguridad vNetwork.Segmentación de red y aislamiento de tráfico.Securizar la configuración de red virtual.Aislamiento de tráfico con VLANs privadas.Protección del entorno de gestión: vCenter.Protección de los sistemas host ESX.Arquitectura de Seguridad ESX.Controlar el acceso al almacenamiento.Protección de máquinas virtuales.Arquitectura de seguridad de MVs.Configuración de parámetros de seguridad.Gestión de la configuración y el cambio.Mantenimiento de la configuración apropiada de los componentes vSphere.Monitorización de logs para eventos relacionados con la seguridad.Herramientas y tecnologías de gestión del cambio y la configuración.Control de acceso: control de Acceso de usuario mediante roles y permisos.
VARIOS
vSphere PowerCLI: automatización de red, aprovisionamiento de máquinas virtuales, configuración y protección, Clúster (vMotion,DRS,…).Discutir técnicas de virtualización software y hardware y su impacto en el desempeño.Características de vSphere 4.0 y nuevas características de vSphere 4.1.Ahorro de energía con VMWare Distributed Power Management. Configuración y requisitos en los ESXs.