© 2010 vmware inc. all rights reserved patch management module 13

21
© 2010 VMware Inc. All rights reserved Patch Management Module 13

Upload: lucy-hoover

Post on 27-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: © 2010 VMware Inc. All rights reserved Patch Management Module 13

© 2010 VMware Inc. All rights reserved

Patch Management

Module 13

Page 2: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-2

© 2010 VMware Inc. All rights reserved

You Are Here

OperationsvSphere Environment

Introduction to VMware Virtualization

VMware ESX and ESXi

VMware vCenter Server

Networking

Storage

Virtual Machines

Access Control

Resource Monitoring

Data Protection

Scalability

Installing VMware ESX and ESXi

High Availability

Patch Management

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 3: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-3

© 2010 VMware Inc. All rights reserved

Importance

Over time, your VMware vSphere™ environment might undergo change in its hardware or software configuration, or in the form of software updates or patches. From a manageability and scalability perspective, you should implement changes to your vSphere environment in an orderly, controlled, and systematic fashion.

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 4: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-4

© 2010 VMware Inc. All rights reserved

Module Objectives

Describe VMware vCenter™ Update Manager

List the steps to install Update Manager

Use Update Manager:

• Create and attach a baseline

• Scan an inventory object

• Remediate an inventory object

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 5: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-5

© 2010 VMware Inc. All rights reserved

Update Manager

Update Manager enables centralized, automated patch and version management for VMware® ESX™/ESXi hosts, virtual machines, and virtual appliances.

Update Manager reduces security risks.

Keeping systems up to date reduces the number of vulnerabilities.

Many security breaches exploit older vulnerabilities.

Reducing the diversity of systems in an environment:

• Makes management easier

• Reduces security risks

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 6: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-6

© 2010 VMware Inc. All rights reserved

Update Manager Capabilities

Automated patch downloading:

Begins with information-only downloading

Is scheduled at regular configurable intervals

Contacts the following sources:

• For ESX/ESXi patching: https://hostupdate.vmware.com

• For Windows and Linux virtual machines and applications: https://www.shavlik.com

• For third-party patches: URL of third-party source

Creation of baselines and baseline groups

Scanning:

Inventory systems are scanned for baseline compliance.

Remediation:

Inventory systems that are not current can be automatically patched.

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 7: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-7

© 2010 VMware Inc. All rights reserved

Update Manager Components

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Shavlik patch source

vCenterServer system

Update Manager server

databaseserver

vCenter Serverdatabase

patchdatabase

VMware patch source

Update Manager agents are

installed into virtual machines.

hosts

optional download server

VMware vSphere Client with

Update Manager plug-in

Internet

patchdatabase

AA

A

AA

A

AA

A

third-party patch source

Page 8: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-8

© 2010 VMware Inc. All rights reserved

Installing Update Manager

Update Manager must be installed on a 64-bit machine.

To install, start the VMware vCenter Installer and click vCenter Update Manager.

Information needed during the installation:

vCenter Server host name, user name, and password

Choice of database: use default or existing database

Update Manager port settings:• Host name, ports, proxy settings (if necessary)

Destination folder and location for downloading patches

To install the Update Manager client:

Install the Update Manager Extension plug-in into the vSphere Client.

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 9: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-9

© 2010 VMware Inc. All rights reserved

Configuring Update Manager Settings

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Modify Update

Manager configuration properties.

By default, all patch sources are enabled. Add third-party patch sources if necessary.

Page 10: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-10

© 2010 VMware Inc. All rights reserved

Baseline and Baseline Groups

VMware vSphere 4.1: Install, Configure, Manage – Revision A

A baseline consists of one or more patches, extensions, or upgrades.

There are five types of baselines:

Host patch

Host extension

Host upgrade

Virtual machine patch

Virtual appliance upgrade

Update Manager includes a number of default baselines.

A baseline group consists of multiple baselines:

Can contain one upgrade baseline per type and one or more patch and extension baselines

example of default baselines for hosts

Page 11: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-11

© 2010 VMware Inc. All rights reserved

Creating a Baseline

VMware vSphere 4.1: Install, Configure, Manage – Revision A

To create a baseline:

1. Click Create.

2. Specify name and description.

3. Choose a baseline type.

4. For a patch baseline, select a patch option: Fixed or Dynamic.

5. Select patches to add to the baseline.

A host patch is added to this

baseline.

Page 12: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-12

© 2010 VMware Inc. All rights reserved

Attaching a Baseline

VMware vSphere 4.1: Install, Configure, Manage – Revision A

To view compliance information and remediate inventory objects, first attach a baseline or baseline group to an object.

For improved efficiency, attach a baseline to a container object instead of to an individual object.

Page 13: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-13

© 2010 VMware Inc. All rights reserved

Scanning for Updates

Scanning evaluates the inventory object against the baseline or baseline group.

A scan can be performed manually or automatically, using a scheduled task.

VMware vSphere 4.1: Install, Configure, Manage – Revision A

manual scan

scheduled scan

Page 14: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-14

© 2010 VMware Inc. All rights reserved

Viewing Compliancy

VMware vSphere 4.1: Install, Configure, Manage – Revision A

In this example, the scan found

two noncompliant

hosts.

After the scan, a host object can be staged and then remediated.

Page 15: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-15

© 2010 VMware Inc. All rights reserved

Remediating Objects

You can remediate virtual machines, templates, virtual appliances, and hosts.

You can perform the remediation immediately or schedule it for a later date.

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 16: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-16

© 2010 VMware Inc. All rights reserved

Remediation Options for a Cluster

VMware vSphere 4.1: Install, Configure, Manage – Revision A

When remediating hosts in a cluster, you must temporarily disable certain cluster features:

VMware DPM, VMware HA, FT.

You can generate a report that

identifies problems before remediation

occurs.

Page 17: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-17

© 2010 VMware Inc. All rights reserved

Patch Recall Notification

VMware vSphere 4.1: Install, Configure, Manage – Revision A

At regular intervals, Update Manager contacts VMware to download notifications about patch recalls, new fixes, and alerts.

Notification Check Schedule is selected by default.

On receiving patch recall notifications, Update Manager:

Generates a notification in the notification tab

No longer applies the recalled patch to any host:

• Patch is flagged as recalled in the database.

Deletes the patch binaries from its patch repository

Does not uninstall recalled patches from ESX hosts:

• Instead, it waits for a newer patch and applies that to make a host compliant.

Page 18: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-18

© 2010 VMware Inc. All rights reserved

Remediation Enabled for DRS

Eliminate downtime for virtual machines when patching ESX/ESXi hosts:

1. Update Manager puts host in maintenance mode.

2. DRS moves virtual machines to available host.

3. Update Manager patches host and then exits maintenance mode.

4. DRS moves virtual machines back per rule.

VMware vSphere 4.1: Install, Configure, Manage – Revision A

maintenance mode

UM + DRS

!

Page 19: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-19

© 2010 VMware Inc. All rights reserved

Lab 27

In this lab, you will install, configure, and use Update Manager.

1. Install Update Manager.

2. Modify cluster settings.

3. Install and enable the Update Manager plug-in.

4. Configure Update Manager.

5. Create a patch baseline.

6. Attach a baseline and scan for updates.

7. Stage patches and remediate ESXi hosts.

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 20: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-20

© 2010 VMware Inc. All rights reserved

Module Summary

Describe Update Manager

List the steps to install Update Manager

Use Update Manager:

• Create and attach a baseline

• Scan an inventory object

• Remediate an inventory object

VMware vSphere 4.1: Install, Configure, Manage – Revision A

Page 21: © 2010 VMware Inc. All rights reserved Patch Management Module 13

Module 13-21

© 2010 VMware Inc. All rights reserved

Key Points

Update Manager patches and updates ESX/ESXi hosts, virtual machines, templates, and virtual appliances.

Update Manager reduces security vulnerabilities by keeping systems up to date and by reducing the diversity of systems in an environment.

VMware vSphere 4.1: Install, Configure, Manage – Revision A