Table of contents Multipathing VMware vStorage API for Array Integration (VAAl) VMware vSphere APIs for WO Filtering(VAIO) 75 VASA 375 Wols Introducing VMware VSAN Planning and designi 378 Device considera VSAN configuration 379 Health monitoring Creating VM on VSAN Summary Questions Further reading Chapter 9: VM Deployment and Management The components of a virtual machine Virtual hardware Memory Network adapter Virtual disks Storage controller File structure 396 o Vin changing the default file position 398 398 OVT Deploying VMs Creating a new VM Setting the default hardware version 405 Installing the OS Installing Virtual Machine Tools Cloning a VM Deploying a VM from a template 409 M customization Specifications 411 Content library 414 Creating a content library 415 Local content library 415 Subscribed content library Working with the content library 419 Uploading templates and oVF files 421 Deploying VMs from the content library o files from the content libra 423 Managing VMs 424 Lix I
Table of Contents [ ix ] Multipathing 373 VMware vStorage API for Array Integration (VAAI) 374 VMware vSphere APIs for I/O Filtering (VAIO) 375 VASA 375 VVols 375 Introducing VMware vSAN 377 Planning and designing 378 Device considerations 379 vSAN configuration 379 Health monitoring 382 vSAN policies 383 Creating VM on vSAN 383 Summary 384 Questions 385 Further reading 387 Chapter 9: VM Deployment and Management 388 The components of a virtual machine 389 Virtual hardware 389 vCPUs 390 Memory 390 Network adapter 391 Virtual disks 392 Storage controller 394 File structure 396 Changing the default file position 398 Virtual machine tools 398 OVT 400 Deploying VMs 401 Creating a new VM 402 Hardware version 404 Setting the default hardware version 405 Installing the OS 406 Installing Virtual Machine Tools 407 Cloning a VM 408 Deploying a VM from a template 409 VM customization Specifications 411 Content library 414 Creating a content library 415 Local content library 415 Subscribed content library 416 Working with the content library 419 Uploading ISO images 420 Uploading templates and OVF files 421 Deploying VMs from the content library 422 ISO files from the content library 423 Managing VMs 424 |||||||||||||||||||| ||||||||||||||||||||
Table of contents Adding or registering an existing VM 424 Removing or deleting a VM Managing the power state of a VM Managing VM snapshots 428 Creating a snapshot Reverting to a snapshot Committing changes 431 Snapshot consolidation Importing and exporting VMs Deploying Open Virtual Format (oVF)and Open Virtual Appliance (OVA)templates Exporting a virtual machine and an Open Virtual Format(OVF) Converting vMs P2V conversion 436 V2V conversion Sum Questions Further reading Chapter 10: VM Resource Management 441 Virtual machine resource management Reservations. limits. and shares Shares Reservations 444 444 CPU resources 444 Memory resources VM swapping 448 ESXi host memory states 449 TPS 455 Compression 457 Virtual machine migration Compute vMotion Storage vMotion vMotion without shared storage DRS Virtual network-aware DRs Managing DRS rules 70 VM-Host affinity rule 471 DRS recommendations 473 DRS utilization 474 Managing power reso Resource pools and vi 476 Resource pool configu 476
Table of Contents [ x ] Adding or registering an existing VM 424 Removing or deleting a VM 426 Managing the power state of a VM 427 Managing VM snapshots 428 Creating a snapshot 429 Reverting to a snapshot 431 Committing changes 431 Snapshot consolidation 431 Importing and exporting VMs 432 Deploying Open Virtual Format (OVF) and Open Virtual Appliance (OVA) templates 432 Exporting a virtual machine and an Open Virtual Format (OVF) 435 Converting VMs 436 P2V conversion 436 V2V conversion 438 Summary 438 Questions 439 Further reading 440 Chapter 10: VM Resource Management 441 Virtual machine resource management 442 Reservations, limits, and shares 442 Shares 443 Reservations 444 Limits 444 CPU resources 444 Memory resources 446 VM swapping 448 ESXi host memory states 449 TPS 453 Ballooning 455 Compression 456 Host swapping 457 Virtual machine migration 457 Compute vMotion 458 Storage vMotion 462 vMotion without shared storage 464 DRS 465 Virtual network-aware DRS 469 Managing DRS rules 469 VM-VM affinity rule 470 VM-Host affinity rule 471 DRS recommendations 473 DRS utilization 474 Managing power resources 474 Resource pools and vApps 476 Resource pool configuration 476 |||||||||||||||||||| ||||||||||||||||||||
Table of contents Expandable resource pool Resource allocation monitoring and calculations Managing resource pools VApps Network and storage resources Summary Questions Further reading Section 3: Section 3: Advanced Topics Chapter 11: Availability and Disaster Recovery VMware vSphere HA 492 vSphere HA configuration Sphere HA heartbeats vSphere HA network heartbeats vSphere H Sphere HA protection mechanism Virtual Machine Component Protection(VMCP) Proactive Ha 499 Admission control VM restart and monitoring VMware vSphere FT FT configuration Working with FT-enabled VM FT performance implications 508 Virtual machine clustering Clustering features available in VMware vSphere 511 RDM device and multi-writer flag 513 Virtual machine backup Transport modes Backup solutions for VMware VSphere 516 Veeam Backup and Replication 517 NAKIVO Backup and Replication 517 Altaro VM Backup 518 Vembu VMBackup Deduplication appliances 519 Hyper-scale solutions Cohesity RU ulrik 520 VMware vSphere Replication vSphere Replication installation Working with vSphere Replication configuring vSphere Replication 523 Disaster recovery and disaster avoidance 52 dR of a virtual data center 526 DR versus disaster avoidance
Table of Contents [ xi ] Expandable resource pool 480 Resource allocation monitoring and calculations 482 Managing resource pools 483 vApps 484 Network and storage resources 487 Summary 487 Questions 488 Further reading 489 Section 3: Section 3: Advanced Topics Chapter 11: Availability and Disaster Recovery 491 VMware vSphere HA 492 vSphere HA configuration 492 vSphere HA heartbeats 494 vSphere HA network heartbeats 494 vSphere HA storage heartbeats 495 vSphere HA protection mechanism 497 Virtual Machine Component Protection (VMCP) 497 Proactive HA 499 Admission control 500 VM restart and monitoring 502 VMware vSphere FT 503 FT configuration 506 Working with FT-enabled VM 508 FT performance implications 508 Virtual machine clustering 510 Clustering features available in VMware vSphere 511 RDM device and multi-writer flag 513 Virtual machine backup 515 Transport modes 516 Backup solutions for VMware vSphere 516 Veeam Backup and Replication 517 NAKIVO Backup and Replication 517 Altaro VM Backup 518 Vembu VMBackup 519 Deduplication appliances 519 Hyper-scale solutions 519 Cohesity 520 Rubrik 520 VMware vSphere Replication 520 vSphere Replication installation 521 Working with vSphere Replication 522 Configuring vSphere Replication 523 Disaster recovery and disaster avoidance 524 DR of a virtual data center 526 DR versus disaster avoidance 527 |||||||||||||||||||| ||||||||||||||||||||
Table of contents DR versus stretched clusters VMware solutions VM Replication Stretched cluster Summary Questions Further reading Chapter 12: Securing and Protecting Your Environment Security and hardening concepts in VSphere Hardening vSphere Authentication and identity SSO configuration Password management Role-Based Access Control (RBAC) Active directory integration 54 MFA 2445 Smart cards 54 RSA SecurID v Center Server, ESXi, and VM hardening 54 ESXi hardening Networking Transparent Page Sharing(TPS) VIB acceptance level 551 Host encryption mode 551 ESXi Secure Boot vCenter hardening VM hardening VM Secure boot Other security aspects 555 Log management 556 Monitoring protocols Certification management Encryption options of the vSphere Protecting the data at rest 560 VM encryption Protecting data in motion Encrypted vMotion Summary Questions Further reading Chapter 13: Analyzing and optimizing Your Environment Monitoring a virtual environment 570 vSphere monitoring 571 I xiiI
Table of Contents [ xii ] DR versus stretched clusters 528 VMware solutions 529 VM Replication 530 Stretched cluster 531 SRM 532 Summary 534 Questions 534 Further reading 536 Chapter 12: Securing and Protecting Your Environment 537 Security and hardening concepts in vSphere 537 Hardening vSphere 538 Authentication and identity 539 SSO configuration 539 Password management 540 Role-Based Access Control (RBAC) 542 Active directory integration 544 MFA 544 Smart cards 545 RSA SecurID 547 vCenter Server, ESXi, and VM hardening 547 ESXi hardening 548 Lockdown mode 549 Networking 550 Transparent Page Sharing (TPS) 550 VIB acceptance level 551 Host encryption mode 551 ESXi Secure Boot 552 vCenter hardening 553 VM hardening 553 VM Secure Boot 554 Other security aspects 555 Log management 556 Monitoring protocols 556 Certification management 557 Encryption options of the vSphere 559 Protecting the data at rest 560 VM encryption 561 Protecting data in motion 565 Encrypted vMotion 565 Summary 567 Questions 567 Further reading 569 Chapter 13: Analyzing and Optimizing Your Environment 570 Monitoring a virtual environment 570 vSphere monitoring 571 |||||||||||||||||||| ||||||||||||||||||||
Table of contents vCenter server statistics levels Performance monitoring with vCenter Server ESXi health working with alarms 577 CLl monitoring ESXTOP 580 PowercLI VM optimization Using the default VM templates Using only the necessary virtual hardware 83 Choosing the correct virtual network adapter VMware tools 584 Paravirtual SCSI(PVSCSi)storage controller Dont use snapshots in production Don't oversize your VMs VMware OS Optimization Tool (OSOT Log management vRealize Log Insight vRealize Operations vRealize Operations installation vRealize operations analytics vRealize Operations integrations Other monitoring tools Veeam ONE Opvizor Summary Questions Further reading Chapter 14: Troubleshooting Your Environment What is troubleshootinsgwTonment 602 Troubleshooting a virtua 604 CLI tools esxcli commands esxctg Ruby vSphere console 608 vcsa-cli 611 PowerCLI 612 612 ESXi host logs Troubleshooting vSphere components 616 Troubleshooting the vCenter Server Troubleshooting the esxi host 618 Troubleshooting cluster HA or DRS 619 Troubleshooting a virtual network 619 Xliii
Table of Contents [ xiii ] vCenter Server statistics levels 571 Performance monitoring with vCenter Server 572 ESXi health 576 Working with alarms 577 CLI monitoring 579 ESXTOP 580 PowerCLI 581 VM optimization 583 Using the default VM templates 583 Using only the necessary virtual hardware 583 Choosing the correct virtual network adapter 584 VMware tools 584 Paravirtual SCSI (PVSCSI) storage controller 584 Don't use snapshots in production 584 Don't oversize your VMs 585 VMware OS Optimization Tool (OSOT) 585 Log management 586 vRealize Log Insight 587 vRealize Operations 589 vRealize Operations installation 589 vRealize Operations analytics 592 vRealize Operations integrations 594 Other monitoring tools 595 Veeam ONE 596 Opvizor 598 Summary 599 Questions 600 Further reading 601 Chapter 14: Troubleshooting Your Environment 602 What is troubleshooting? 602 Troubleshooting a virtual environment 604 CLI tools 604 esxcli commands 604 esxcfg-* 607 Ruby vSphere console 608 vim-cmd 609 vcsa-cli 611 PowerCLI 612 Logs 612 ESXi host logs 613 Troubleshooting vSphere components 616 Troubleshooting the vCenter Server 616 Troubleshooting the ESXi host 618 Troubleshooting cluster HA or DRS 619 Troubleshooting a virtual network 619 |||||||||||||||||||| ||||||||||||||||||||