• No results found

Maximum vsphere. Tips, How-Tos,and Best Practices for. Working with VMware vsphere 4. Eric Siebert. Simon Seagrave. Tokyo.

N/A
N/A
Protected

Academic year: 2021

Share "Maximum vsphere. Tips, How-Tos,and Best Practices for. Working with VMware vsphere 4. Eric Siebert. Simon Seagrave. Tokyo."

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Maximum vSphere

Tips, How-Tos,and Best Practices for

Working with VMware vSphere 4

Eric Siebert

Simon Seagrave

• •

• • PRENTICE

HALL

UpperSaddle River, NJBostonIndianapolisSanFrancisco NewYorkTorontoMontrealLondonMunichParisMadrid

Capetown

Sydney

Tokyo

Singapore

Mexico

City

(2)

CONTENTS

Foreword xv

Acknowledgments

xix

About the Authors xxiii

Chapter

I Introduction to

vSphere

I

What's New in This Release I

Storage, Backup,

and Data Protection 2

ESXandESXi 6

VirtualMachines 7

vCenterServer 8

Clients and

Management

10

Networking

I I

Security

12

Availability

13

Compatibility

and

Extensibility

14

Configuration

MaximumDifferences fromVI3 15

Understanding

the

Licensing Changes

16

Summary

19

Chapter

2 ESX and ESXi Hosts 21

What's New with ESX and ESXi Hosts in

vSphere

21

64-BitVMkernel andESX Service Console 21

Support

for More

Memory,

CPUs,andVMs 22

(3)

Support

forEnhanced Intel

SpeedStep

and Enhanced

AMD PowerNow! 24

Improved

Host ServerHardware

Integration

and

Reporting

in

the

vSphere

Client 27

Selecting Physical

Host Hardware toUsewith

vSphere

28

64-bit CPUs and

Long

Mode 28

AMD and Intel Virtualization Extensions 29

Checking

Your Server Hardware 29

Differences betweenESX and ESXi 31

ESXService Console 32

ESXi

Management

Console 33

Functionality

Differences between ESX and ESXi 34

Using

HostProfiles 37

Creating

and

Configuring

HostProfiles 37

Applying

HostProfiles 39

Summary

40

Chapter

3 Virtual Machines 41

What'sNewwith Virtual Machinesin

vSphere

41

VirtualMachineHardwareVersion 41

Support

for

Eight

vCPUsand255GBofRAM 42

Support

forAdditionalGuest

Operating Systems

43

VMXNET3 VirtualNetwork

Adapter

43

Paravirtual SCSI

Adapter

and IDE

Adapter

44

Memory

Hot Addand CPU Hot

Plug

Features 44

Display Adapter Settings

46

Support

forUSBControllers 47

Virtual Machine Communication Interface 47

VMDirectPath Feature 49

Anatomy

ofaVirtual Machine 52

Virtual Machine Hardware 53

Virtual Machine Files 55

Virtual Machine Disks 59

Summary

66

Chapter

4 vCenter Server 67

What'sNew with vCenter Server in

vSphere

67

vCenter Server Linked Mode 67

(4)

vApps

70

Licensing

72

Alarms andEvents 73

Permissions andRoles 76

New HomePage 80

vCenterServer

Settings

81

Searching

83

Plug-ins

84

GuidedConsolidation 85

Converter 86

VMware Data

Recovery

87

Update Manager

87

Third-Party Plug-ins

89

Summary

90

Chapter

5

Storage

in

vSphere

91

What'sNewwith

Storage

in

vSphere

91

vStorage

APIs 91

Paravirtualization 94

Growing

VMFSVolumes 97

Choosing

a

Storage Type

100

Local

Storage

100

DirectAttached

Storage

101

FibreChannel

Storage

102

iSCSI

Storage

103

NAS/NFS

Storage

105

Mixing Storage Types

106

Additional

Storage

Considerations 107

LUN Size Considerations 107

Choosing

aBlockSize 110

VMFSversusRaw Device

Mappings

11 I

1OKversus 15Krpm Hard Drives 113

RAID Levels 113

Jumbo

Frames 114

Boot from SAN US

Drives and

Storage Adapters

I' 7

Storage Configuration

110

(5)

Local

Storage

120

DirectAttach

Storage

120

FibreChannel

Storage

120

iSCSI

Storage

122

NFS

Storage

123

Summary

124

Chapter

6

Networking

in

vSphere

127

What's New with

Networking

in

vSphere

127

Distributed and

Third-Party

vSwitches 127

Private VLANs 128

IP Version 6 128

Physical

NICs 130

VirtualNICs 132

Vlance 133

VMXNET 133

Flexible 133

E1000 133

VMXNET2 133

VMXNET3 134

Standard vSwitches 137

Distributed vSwitches 138

Deployment

Considerations 139

vDS

Configuration

141

Cisco Nexus 1000V 143

Advanced

Functionality

for vSwitches 144

Benefits of

Using

Nexus 1000V 145

Installing

and

Configuring

Nexus 1000V 146

Choosing

avSwitch

Type

147

vShield Zones 149

AdditionalResources 153

Summary

154

Chapter

7 Performance in

vSphere

155

What'sNewwith Performance in

vSphere

156

CPU Enhancements 156

Memory

Enhancements 156

(6)

Storage

Enhancements 157

Networking

Enhancements 158

Monitoring vSphere

Performance 158

Resource Views 159

Performance Charts 160

Understanding

Host Server Performance Metrics 167

Performance Alarms 171

Troubleshooting vSphere

Performance Issues 172

esxtopandresxtop 173

CPU Performance

Troubleshooting

178

CPULoad

Average

i 78

Physical

CPUUtilization

(PCPU

USED(%)) 179

Physical

CPU Utilization

by

aWorld

(%USED)

180

World

Physical

CPU Wait

(%RDY)

181

Max Limited(%MLMTD) 182

WorldVMkernel

Memory Swap

WaitTime (%SWPWT) 182

vCPUCo-descheduleWait Time(%CSTP) 183

CPU

Configuration Tips

183

Memory

Performance

Troubleshooting

185

Transparent Page Sharing

(TPS) 186

Physical Memory

(PMEM /MB) 187

Memory

Overcommitment

Average

188

ESX ServiceConsole

Memory (COSMEM

/MB) I88

VMkernel

Memory (VMKMEM /MB)

189

Swap (SWAP /MB)

190

Memory Compression (ZIP

/MB) 191

Memory

Balloon Statistics(MEMCTL

/MB)

191 MemoryPerformance

Troubleshooting

aVirtual Machine

(VM)

192

%Swap

Wait Time(SWPWT) 194

Memory Configuration Tips

194

Disk/Storage Troubleshooting

195

Device

Average (DAVG/cmd)

196

VMkernel

Average (KAVG/cmd)

196

Guest

Average (GAVG/cmd)

196

Queue

Depths (QUED)

197

Storage

CommandAborts

(ABRT/s)

197

(7)

Storage

CommandResets

(RESETS/s)

198

Storage Configuration Tips

198

Network

Troubleshooting

200

Network

Configuration Tips

201

Additional

Troubleshooting Tips

202

Summary 203

Chapter

8

Backups

in

vSphere

205

Backup

Methods 205

Traditional

Backups

206

Backup Scripts

207

Third-Party vSphere-Specific Backup

Products 207

Backup Types

208

VMware Data

Recovery

209

Installing

VMwareData

Recovery

210

Configuring

VMware Data

Recovery

211

Summary

216

Chapter

9 Advanced Features 217

High Availability

(HA) 217

How HA Works 217

Configuring

HA 219

Advanced

Configuration

224

Additional Resources 224

DistributedResourceScheduler

(DRS)

224

How DRS Works 225

Configuring

DRS 225

Distributed Power

Management (DPM)

227

How DPMWorks 227

Configuring

DPM 228

DPMConsiderations 230

VMotion 231

How VMotionWorks 231

Configuring

VMotion 232

VMotion Considerations 233

Enhanced VMotion

Compatibility (EVC)

234

Storage

VMotion 235

Flow SVMotionWorks 236

(8)

Configuring

SVMotion 236

Fault Tolerance (FT) 237

How FT Works 238

Configuring

FT 240

FT Considerations 243

Summary

245

Chapter

10

Management

of

vSphere

247

vSphere

Client 247

WebAccess 249

vSphere

CLI 249

vSphere Management

Assistant 251

PowerShell and PowerCLI 252

ESX Service Console 254

ESXi

Management

Console 255

Free

Third-Party

Tools 257

SSHConsole Utilities 257

SCP FileTransfer Utilities 257

Summary

258

Chapter

11

Installing vSphere

259

Installing

vCenter Server 260

Choosing

aDatabase for vCenterServer 260

Physical

ServerorVirtualMachine? 263

Operating System

and Hardware 264

Prerequisites

265

vCenter Server Installation

Steps

265

Installing

ESXandESXi 267

Preparing

theServer for Installation 267

Importance

of the Hardware

Compatibility

Guide 268

Bootfrom SANConsiderations 270

ESXPartition Considerations 270

ESXInstallation

Steps

273

Installing

ESXi 278

Installing

ESXion aLocal Hard Disk 278

Installing

ESXion aUSBFlashDrive 279

Summary

284

(9)

Chapter

12

Upgrading

to

vSphere

285

Compatibility

Considerations 285

Hardware

Compatibility

286

Software andDatabase

Compatibility

286

Third-Party Application Compatibility

287

VMwareProduct

Compatibility

287

Planning

an

Upgrade

287

Upgrade

Phases 288

Upgrade

Methods 289

Upgrade Techniques

293

Rolling

Backto Previous Versions 294

Pre-Upgrade

Checklist 295

Phase 1:

Upgrading

vCenter Server 297

Backing

Up

Key

Files 297

Agent Pre-Upgrade

Check Tool 298

Running

the vCenterServer Installer 299

Post-Installation

Steps

300

Phase 2:

Upgrading

ESXand ESXi 301

Using

theHost

Update Utility

302

Using Update Manager

303

Post-Upgrade

Considerations 305

Phase 3:

Upgrading

Virtual Machines 306

Upgrading

VMwareTools 306

Upgrading

Virtual MachineHardware 307

Using Update Manager

to

Upgrade

VMwareTools and

Virtual Hardware 308

Summary

309

Chapter

13

Creating

and

Configuring

Virtual Machines 311

Creating

aVirtual Machinein

vSphere

311

Creating

aVirtual Machine 311

Installing

VMwareTools 316

VM

Hardware, Options,

andResourceControls 318

VM Hardware 318

VM

Options

321

VM Resources 325

Summary

329

(10)

Chapter

14

Building

Your Own

vSphere

Lab 331

Why

Build a

vSphere

Lab? 331

What Do You Wantfroma

vSphere

Lab? 333

What You NeedtoBuildYour Own

vSphere

Lab 334

Hardware 334

Software 335

Environment 335

Support:

The"Official"Line 335

Hardware 336

Server 337

CPU 338

Memory

341

Network Controller 343

Disk

Array

Controller 345

Shared

Storage

347

Network Switches 353

Software

Components

356

Environmental andOther Lab Considerations 357

Running

NestedVMs 358

VMwareESX/ESXi onVMwareWorkstation 7 359 Virtual ESX/ESXi Instanceson a

Physical

ESX/ESXiHost 360

Summary

363

Index 365

References

Related documents

Standard roles packaged with VSC for VMware vSphere To simplify working with vCenter Server privileges and role-based access control (RBAC), Virtual Storage Console for VMware

A: vCenter Server (with VMware Infrastructure (VI) Client, vSphere Web Client, vSphere (API access), Dedicated Virtual Machine Recovery (VMR) backup appliance, vRealize..

Use the vSphere Client to Upgrade the VMware Tools Use vSphere Client to Upgrade Virtual Machine Hardware Use Update Manager to Upgrade Virtual Machines Chapter 12 Review. Chapter

• Weakness of dorsiflexion and inversion--> L4-5 root or plexus lesion ตรวจหา weakness of hip abduction and sensory loss at L4-5 dermatome, reflex

ThT fluorescence assays show that ABSMs 1a, 1m, and 1o effectively delay aggregation of their parent proteins at sub-stoichiometric concentrations in a dose-dependent manner

2020 A professional civil service, in line with EU principles, is in place through the implementation of adopted civil service legislation and adequate HRM tools, supported by

Graduate Assistant, Mississippi State University Health Promotion and Wellness Department, Starkville, MS. August

Implemented the organization of workshop on health, mobility, and migration (HIV/AIDS/STDs prevention, Avian Flu, access to health services, etc.) included VIOs, CSOs: