Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s...

19
Virtualization in the Data Center • Virtual Servers –How it works –Pros –Cons • IPAC’s implementation – Hardware resource usage and trends – Virtualization examples

Transcript of Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s...

Page 1: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Virtualization in the Data Center

• Virtual Servers–How it works–Pros–Cons

• IPAC’s implementation– Hardware resource usage and trends– Virtualization examples

Page 2: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

How Virtualization Works

Hardware

Virtualization Software

Hardware

Virtualization Software

OS

Page 3: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Smaller foot print in the DC

400 Watts

400 Watts

400 Watts

400 Watts

400 Watts

Page 4: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

More efficient use of hardware

10%

20%

25%

25%

80%

Page 5: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Preserve legacy applications

Hardware

Virtualization Software

Redhat 8

Page 6: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Develop, Test, and Deploy

Development

Testing

Production

Page 7: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Cons

• Too many virtual servers can crash the physical server

• Shared I/O may lead to bottlenecks

Page 8: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

IPAC OS Demography

Linux48%

Solaris50%

Windows1%

Mac1%

IPAC 05/09

Linux12%

Solaris76%

Windows7% Mac

5%

IPAC 05/03

* servers only

Page 9: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

IPAC OS Trends

DesktopSun to Mac

File ServerSolaris Sparc to Solaris x86

Common Services (Web)Solaris to Linux

Page 10: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Old Purchasing Model

New Purchase

Sparc

x86

Solaris

Linux

Upgrade

Upgrade

Buy hardware to fit the Operating SystemMust choose OS at purchase timeChanging software may require new purchase

Page 11: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

New x86 Purchasing Model

New Purchase

Solaris

LInux

x86 OS Type

UpgradeRepurpose

Buy hardware to fit the computing requirementsChoose software laterRepurpose HW if desired

Page 12: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Consolidation with Virtualization

*straw man comparison

Page 13: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

VM technologies at IPAC

• Xen – Open Source, supported on Linux• Zones – Software Partition, on Solaris• Logical Domains – Hardware Partitioning,

supported on Sparc servers• VMWare – Multi-OS capable, common on

desktops, experimental on servers• Parallels – being phased out for VMWare

Page 14: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Oracle Server Build

Hardware Org (4)

OS Install (4)

Oracle

Install (x)

Production(x+80) hrs

Clone VM (1)

OS Custom (1)

Oracle

Install (x)

Production

(x+2) hrs

Real Example: Project X wanted a test Oracle server deployed same-dayChallenge: No hardware , little time

Tradition

The VM way

Outcome: Server functional in 8 hrs

Page 15: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Java App Server Dev to Ops

Hardware Setup (4)

OS Install (4)

Java Runtime (x)

Production(x+8) hrs

Hardware

Setup

Copy Dev to

Ops VM (1)

OS Custom (1)

Java Runtime (x)

Production(2) hrs

Real Example: Project Y wanted to move the Java App from a Dev environment OpsChallenge: Minimize work for Project Y and ISG

Traditional

The VM way

Outcome: Delivered 2 Ops replicas of Dev server same day

Page 16: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

How to Manage VMsxen1

• CPU (4)• MEM

(8G)• Disks

(50G)

xen2

• CPU (8)• MEM

(16G)• Disk (1T)

My App Needs

• CPU 8• MEM 8G• Disk 50G

Abstraction with Bit-Buckets: Each server is a bucket of resources CPU, Memory, DiskEliminate cutesy names and dedicated roles for the hardware

010110

Page 17: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

VM Resource Math

xen3

• CPU (16) 100%

• MEM (32G) 100%

• Disks (2T) 100%

My App

• CPU (8)• MEM

(8G)• Disk

(50G)

xen3Filling the Bit BucketAdding My App to a VM server reduces the VM resource and increases utilization

Page 18: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Virtualization In Use

Linux 8 core (8:1)

1 ISG Java

1 ISG Web

1 Project Oracle

1 Project Tomcat

2 ISG Test

Solaris 2 core (3:1)

Web (ipac)

Ftp (anon-ftp)

Curator (staff)

IPAC-wide: 32 servers supporting 60 VMs Virtualization ratio 2:1 – 2 OS running on each CPU core

Page 19: Virtualization in the Data Center Virtual Servers – How it works – Pros – Cons IPAC’s implementation – Hardware resource usage and trends – Virtualization.

Summary

• Virtualization is efficient and cost-effective• I/O performance is a challenge• Consider going virtual when buying

HW/building servers• Benefits usually outweighs the costs