VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC...

46
VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Transcript of VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC...

Page 1: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VMware® Server

Virtual PC Basics

VMware is a registered trademark of VMware, Inc. (an EMC company).

Page 2: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

NDG Customer Support

Kaan Uzun, NDG Support Manager Email: [email protected] Customers Receive

Software Upgrades Bug Fixes Install Questions / Technical Support

VMware support for NETLAB+ pods Host setup and virtual machine install Allocation for NETLAB+ pods

Page 3: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

NETLAB+® Concept

Remote Lab Solution Classroom Lecture Tool 7x24 World Wide Web Lab Access Remote PC Support (2005) Lab & Account Management Assessment & Data Collection Custom Topology & Lab Design

Page 4: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

What is a Virtual Machine (VM)

Software on host instead of physical hardware Hardware resources allocated from the physical host

Windows Server 2003

VMware Server

Linux

Virtual Machines

VMwareHost

Win XP

CPU Memory Disk NIC

Page 5: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Download VMware Server (Free)

http://www.vmware.com/download/server/

Page 6: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Register for S/N (Free)

Make sure to write down Serial Number (not emailed)

Page 7: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Benefits & Usage for Academies

Benefits of VMware Server and Virtual Machines (VM) Free Virtualization: http://www.vmware.com/products/server/ Revert Snapshot: return PC to clean state for next student’s lab time Users can have administrative privileges on a VM

Additional Benefits with NETLAB+®

Integrates with VMware API to provide VM automation for labs Users may Power On/Off, Revert (scrub) a VM from web interface Technical Support available

Page 8: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Academy Example

VMnet: virtual switch that can interconnect 1 or more virtual adapters VMnet’s can connect to one real adapter or VLAN interface on host

PCID=12WinXP

PCID=15Linux

PCID=7WinXP

VMnet7

VMnet5

Virtual Machines

VMware GSXHost

Virtual Adapter

Real Adapter

Page 9: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Academy Example (cont.)

Virtual network interfaces on a VM can be tied to real networks in lab exercises (requires 802.1q NIC on the VMware server)

PC_1 IS_1

BB

VMnet3

Virtual Machines

VMware GSXHost

Virtual Adapter

Intel 802.1q NIC

Control Switch

802.1q Trunk

Any Reserved Port

PC_2 IS_2

VMnet5

VMnet4

VLAN 156

VLAN 155

VLAN 152

R1

R2

RBB

VLAN 156

VLAN 155

VLAN 152

VLAN 150

VLAN 153

Page 10: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

NETLAB Academy Edition®

Access to VM is proxied through NETLAB & VMware servers (simple web interface with built-in viewer based on Java; only 2 TCP ports)

N

NETLAB

N

NETLAB

OUTSIDEINTERFACE

VNCTCP 23

VNC (keyboard + video + mouse)

NETLAB+Remote PCJava Viewer

POD

INSIDEINTERFACE

D GD G

CONTROLPLANE

PROXYTCP 59XX

TCP 902

API (status, on, off, revert)

Windows Server 2003

VMware Server

E0E0 E0E0

VM3VM2VM1 VM4

VNC 5903 VNC 5904VNC 5902VNC 5901VMware

Host

Page 11: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Minimum Host Requirements

http://www.vmware.com/pdf/server_admin_manual.pdf (page 5) 4 VM’s concurrently running per processor (recommended max)

• Standard x86 based server with up to 16 processors• 733MHz or faster compatible x86 processor (Intel or AMD; see above guide)• Memory: 512MB (min. for host); add memory for each guest O/S installed• Memory: 64MB max for hosts that support large memory• Hard Disk: 200-250MB free disk space (min. for host)• Hard Disk: additional space required for each guest O/S with applications• NIC: Static IP address for your host machine (recommended)

Ability to install a wide variety of guest O/S’s and applications

Page 12: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VMware Host Example (NETLAB AE)

http://www.netdevgroup.com/ae/vmware.htm

Page 13: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VMware Host Requirement Tips

DO NOT Over-Cycle a single VMware Host 4 VM’s running concurrently per single-core processor Dual-Core Processor recommended

DO NOT Over-Allocate Memory and Disk Space Plan ahead and divide host resources evenly

DO NOT Over-Build a single VMware Host Spread resources over multiple VMware Hosts VMnet limitation (10 VMnet’s per Windows host)

Page 14: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Installing VMware Server

An installation wizard will guide you through the product installation Custom Setup: removing VMware Management Interface (overhead)

Page 15: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VMware Server Console

Centralized management with the ability to run several VM’s simultaneously

Page 16: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Creating Virtual Machines

Step-by-step wizard for easy installation

Page 17: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Virtual Machine Configuration

Custom has more flexibility (set memory and access rights)

Page 18: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Select Guest O/S

Variety of O/S’s running on same host

Page 19: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Naming Convention

Choose VM name carefully (renaming VM later may not succeed)

Examples:1) POD_x PC_y2) Server_x VM_y

Page 20: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Allowing Access to VM

Allow all users to see and use a VM (instead of private to creator)

Page 21: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Options for Running VM

File system permissions of VM will be Local system

Page 22: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Virtual Processor Options

One processor recommended on VM’s

Page 23: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Memory for VM

Recommendations for Minimum/Optimum/Maximum

Page 24: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Virtual Networking Options

“Use bridged networking” to bind VM’s VLAN to VMnet

Page 25: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Create New Virtual Disk

Create a new .vmdk partition (Virtual Machine Disk Format)

Page 26: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Virtual Disk Capacity

Allow virtual disk to dynamically grow (set the maximum capacity)

Page 27: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Finish VM

Do not change the .vmdk filename (no value add)

Page 28: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VM Console

Use console to boot virtual machine and install guest O/S (CD-ROM)

Page 29: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Virtual CD-ROM

Shared from host (disable so VM’s will not fight for same resource) You may point to an ISO file to boot or run an application (or O/S)

Page 30: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VM Snapshots

Always save your work often (especially in early stages) Before and after (Windows Security Pack installations)

Page 31: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Installing VM Tools

The equivalent of Virtual Machine Drivers (required)

Page 32: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Installing VM Tools

Each VM needs these drivers installed for enhanced functionality

Page 33: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Copying VM’s

There is no clone button (but you can copy VMDK hard drive file) Create a new VM with same properties (proper Windows licensing)

Page 34: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VM Copy Steps

Create one good virtual machine with guest O/S and VM Tools Use VM Wizard to create a new VM (make sure to use same hard

drive partitioning size/scheme) Instead of installing new VM guest O/S and VM Tools, you can use

the VMDK file in previous VM directory Make sure to copy / paste (do not cut, move or use existing VMDK for

new VM) You will want to change new VM’s guest O/S computer name

Page 35: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Creating VLAN Adapters

Intel Advanced Network Services Protocol (driver for Intel based NIC) Be sure to uncheck TCP/IP and Client for MSN for each VLAN

Page 36: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VM Network Connection

Choose Custom Specific VMnet (10 available for Windows hosts)

Page 37: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Binding VLAN to VMnet

Bind VLAN adapter to custom VMnet using Virtual Network Editor

Page 38: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Adding Virtual Hardware

Adding a USB controller is simple (Windows 2003 recommended) VM support for USB 1.1 (disable USB 2.0 from host BIOS) Install USB drivers on VM’s

Page 39: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

USB Applications

Wireless USB Adapter (Linksys WUSBF54G and WUSB54GC)

Page 40: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

NETLAB+ & VMware API

NETLAB user on Windows host (used to control VM via API)

Page 41: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Directory Permission for API User

NETLAB user must have full access to Virtual Machines <dir>

Page 42: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VM Screen Resolution

32-bit color, 800x600 recommended (1024x768 supported in viewer)

Page 43: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VM System Properties

Set Visual Effects for best performance (enhanced experience)

Page 44: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

VMX Configuration File

Adding VNC support (Remove Java Viewer has built-in client)

Page 45: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

Take A Final Snapshot

Adjust Snapshot setting (Ask me) and save the final copy

Page 46: VMware ® Server Virtual PC Basics VMware is a registered trademark of VMware, Inc. (an EMC company).

NETLAB AE PODS

NETLAB AE pods that support VM’s (2 custom pods of your choice)