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

Post on 20-Jan-2016

229 views 2 download

Tags:

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

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: support@netdevgroup.com 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

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

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

Download VMware Server (Free)

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

Register for S/N (Free)

Make sure to write down Serial Number (not emailed)

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

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

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

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

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

VMware Host Example (NETLAB AE)

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

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)

Installing VMware Server

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

VMware Server Console

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

Creating Virtual Machines

Step-by-step wizard for easy installation

Virtual Machine Configuration

Custom has more flexibility (set memory and access rights)

Select Guest O/S

Variety of O/S’s running on same host

Naming Convention

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

Examples:1) POD_x PC_y2) Server_x VM_y

Allowing Access to VM

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

Options for Running VM

File system permissions of VM will be Local system

Virtual Processor Options

One processor recommended on VM’s

Memory for VM

Recommendations for Minimum/Optimum/Maximum

Virtual Networking Options

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

Create New Virtual Disk

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

Virtual Disk Capacity

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

Finish VM

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

VM Console

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

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)

VM Snapshots

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

Installing VM Tools

The equivalent of Virtual Machine Drivers (required)

Installing VM Tools

Each VM needs these drivers installed for enhanced functionality

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)

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

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

VM Network Connection

Choose Custom Specific VMnet (10 available for Windows hosts)

Binding VLAN to VMnet

Bind VLAN adapter to custom VMnet using Virtual Network Editor

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

USB Applications

Wireless USB Adapter (Linksys WUSBF54G and WUSB54GC)

NETLAB+ & VMware API

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

Directory Permission for API User

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

VM Screen Resolution

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

VM System Properties

Set Visual Effects for best performance (enhanced experience)

VMX Configuration File

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

Take A Final Snapshot

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

NETLAB AE PODS

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