Advanced Vmware Workstation and VM Remote Control: Novell Training Services
Advanced Vmware Workstation and VM Remote Control: Novell Training Services
VM Remote Control
Lecture
SUS08
Novell Training Services www.novell.com
AT T L I V E 2 0 1 2 L A S V E G A S
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
Disclaimer
Proprietary Statemen t Novell, Inc., makes no representations or warranties with
Copyright © 2012 Novell, Inc. All rights reserved. respect to the contents or use of this documentation, and
specifically disclaims any express or implied warranties
Novell, Inc., has intellectual property rights relating to of merchantability or fitness for any particular purpose.
technology embodied in the product that is described in
this document. In particular, and without limitation, these Further, Novell, Inc., reserves the right to revise this
intellectual property rights may include one or more of publication and to make changes to its content, at any
the U.S. patents listed on the Novell Legal Patents Web time, without obligation to notify any person or entity of
page (http://www.novell.com/company/legal/patents/) such revisions or changes. Further, Novell, Inc., makes
and one or more additional patents or pending patent no representations or warranties with respect to any
applications in the U.S. and in other countries. software, and specifically disclaims any express or
implied warranties of merchantability or fitness for any
No part of this publication may be reproduced, particular purpose. Further, Novell, Inc., reserves the
photocopied, stored on a retrieval system, or transmitted right to make changes to any and all parts of Novell
without the express written consent of the publisher. software, at any time, without any obligation to notify any
person or entity of such changes.
Novell, Inc.
404 Wyman Street, Suite 500 Any products or technical information provided under this
Waltham, MA 02451 Agreement may be
U.S.A. subject to U.S. export controls and the trade laws of
www.novell.com other countries. You agree to comply with all export
Novell Trademarks control regulations and to obtain any required licenses or
For Novell trademarks, see the Novell Trademark and classification to export, re-export or import deliverables.
Service Mark list You agree not to export or re-export to entities on the
(http://www.novell.com/company/legal/trademarks/tmlist. current U.S. export exclusion lists or to any embargoed
html). or terrorist countries as specified in the U.S. export laws.
Third-Party Materials You agree to not use deliverables for prohibited nuclear,
All third-party trademarks are the property of their missile, or chemical biological weaponry end uses. See
respective owners. the Novell International Trade Services Web page
Software Piracy (http://www.novell.com/info/exports/) for more
Throughout the world, unauthorized duplication of information on exporting Novell software. Novell
software is subject to both assumes no responsibility for your failure to obtain any
criminal and civil penalties. necessary export approvals.
If you know of illegal copying of software, contact your This Novell Training Manual is published solely to
local Software Antipiracy Hotline. For the Hotline instruct students in the use of Novell networking
number for your area, access Novell’s World Wide Web software. Although third-party application software
page (http://www.novell.com) and look for the piracy packages are used in Novell training courses, this is for
page under “Programs.” demonstration purposes only and shall not constitute an
Or, contact Novell’s anti-piracy headquarters in the U.S. endorsement of any of these software applications.
at 800-PIRATES (747-2837) or 801-861-7101.
Further, Novell, Inc. does not represent itself as having
any particular expertise
in these application software packages and any use by
students of the same shall be done at the student’s own
risk.
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
Contents
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Doc Hodges
Demo Systems Team
Novell Online Demo System (NODS)
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
4
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
5
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
6
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
• VMware vCloud Director • VMware vCenter Lab Manager • VMware vFabric Web Server
• VMware Cloud Infrastructure
• VMware vCenter Configuration Manager • APPLICATION MANAGEMENT
• SMB PRODUCTS
• VMware vSphere for SMBs • VMware vCenter Converter • VMware vFabric Application
• VMware vSphere Storage Appliance • IT BUSINESS MANAGEMENT Performance Manager
• VMware Go • VMware vFabric Application Director
• VMware IT Business Management Suite
• VMware vCenter Protect Essentials Plus
• VMware vCenter Application Discovery
• VMware vCenter Protect Update Catalog • VMware vCenter Chargeback Manager
• MAC PRODUCTS
Manager
• VMware Service Manager
• VMware Fusion • VMware vCenter AppSpeed
• SECURITY PRODUCTS
• DESKTOP & END-USER COMPUTING • VMware Studio
• VMware View • VMware vShield Product Family
• OTHER
• VMware ThinApp
• VMware vShield App
• VMware Workstation • Volume Purchasing Program
• VMware Zimbra • VMware vShield App with Data Security • VMware VMmark
• VMware SlideRocket • VMware vShield Edge • VMware Capacity Planner
• VMware Horizon Application Manager
• VMware vShield Endpoint • Cisco Nexus 1000V
• VMware Mobile Virtualization Platform (MVP)
• INFRASTRUCTURE & OPERATIONS • FREE PRODUCTS • VMware Compliance Checker for PCI
MANAGEMENT • VMware vSphere Hypervisor • VMware Compliance Checker for
• VMware vCenter Operations Management
Suite • VMware Server vSphere
• VMware vCenter Product Family • SUSE Linux Enterprise Server for
• VMware Player
• VMware vCenter Infrastructure Navigator VMware
• VMware vCenter Server • APPLICATION PLATFORM
• FOR SERVICE PROVIDERS
• VMware vFabric Product Family • VMware vCloud Integration Manager
• VMware vFabric Data Director
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
7
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
8
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
VMware Workstation
• Shipping version 8 on Windows/Linux
• Shipping version 4 on Mac (Fusion)
‒ Fusion is the same code base but a very different product team
• Some tools have changed names
‒ Bookmarks, snapshot, linked clones
‒ VMware GSX, Server, died June 2011
> Features live on in Workstation, VIX, ESXi etc
• Some great ideas are tested on Workstation
• Live migration in ESX worked in Workstation first as
background restore
• Not the “glamour group” at VMware
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
9
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
VMware
Physical disk
on SCSI 1
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
10
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
DiskFile.vmdk
VMware DiskFile-s001.vmdk
DiskFile-s002.vmdk
Physical disk
on SCSI 1
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
11
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
12
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
VMware Snapshot
Physical disk
on SCSI 1 DiskFile-cl1.vmdk
DiskFile--cl1-s001.vmdk
DiskFile--cl1-s002.vmdk
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
13
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
VMware Snapshot
Physical disk
on SCSI 1 MyDisk-cl1.vmdk
Contains....
parentFileNameHint="/var/opt/novell/nods/MyDisk.vmdk"
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
14
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
15
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
16
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
17
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
18
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
19
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
20
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Moved or Copied
• What happens if I choose Moved?
‒ Nothing – the MAC is unchanged
• What happens if I choose Copied?
‒ A random MAC is added to the VMX
‒ Many OSs will see the MAC change as a new NIC
> May refuse to use it – often silently
• What happens if I lied?
‒ Running two VMs at the same can cause IP conflicts, kernel panic,
router failure, martians and all manner of bad behavior
• You could change the bios in the vmx to get a new mac
• uuid.bios="56 4d 33 65 61 09 c1 9b-12 57 e9 0c 8a d9 c5 23"
• * Boot the VM and check the NIC – some don't like the change *
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
21
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
22
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
vmware-vdiskmanager
vmware-vdiskmanager is a command line tool that can:
• Change adapter type from IDE to SCSI and between SCSI types
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
23
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
NAT
Guest 1 VMnet 1
NAT
VMnet 2 Host
Running
VMware
Guest 2
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
24
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
25
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
NAT
172.17.2.100
172.17.2.2
NAT
Host
172.17.2.2 Running
VMware
172.17.2.100
> Adding this to each VMX file allows this to work
> ethernet0.ignoreMACAddressConflict="true"
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
26
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
• In this case any traffic hitting the host server on port 5824 will be
sent to 172.17.2.100:80
• You can create many vmnets with the same IP address and each
can have many port forwards.
> The outside number (5824) changes
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
27
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
NAT 1
172.17.2.2
172.17.2.100:80
NAT 2
Host
172.17.2.2 Running
172.17.2.100:80 VMware
> [incomingtcp]
> 5824 = 172.17.2.100:80
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
28
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
‒ Exercise 3 – Add a port forward to port 80 in your VM on vmnet1 and restart only
vmnet1
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
29
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Remote Control
• With more VMs you will need easier access
• Newer firewalls will not only check the port but the type
‒ IE – Running VNC on port 80 often fails the “HTML” test
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
30
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
• We'll use the VNC basics in this class but there are
many great free/cheap solutions
• Logmein – free and html based. Your VM connects to
their website and you access their site on 80/433
> Free for home – fee for commercial
> Can be run inside guest VM or on host
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
31
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
32
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Bob VM 1
X session in VMware Host Running VMware
And maybe in OS too
Bob – X session with VMware
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
33
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
VNC Lab
• Exercise 4
‒ Start a vnc server session on your first VM
‒ Connect to it with your second VM
‒ Configure remote control in VMware GUI (which is VNC) on the
second VM and connect from the first
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
34
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
sanbarrow.com
• The resource for everything, known and unknown, about VMware
• The author, Continuum is a primary contributor to the VMware forums
• Read carefully, backup, be careful. There are staggeringly powerful
things here and they can be dangerous.
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
35
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Summary
• VMware Workstation is highly scriptable and can handle
multiple users and sessions.
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
36
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Special Instructions
Use the following values in the exercise:
(none)
Duration: ? min.
lab
machine
Lab Notes:
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
37
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Special Instructions
Use the following values in the exercise:
(none)
Duration: ? min.
lab
machine
Lab Notes:
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
38
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Special Instructions
Use the following values in the exercise:
(none)
Duration: ? min.
lab
machine
Lab Notes:
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
39
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Special Instructions
Use the following values in the exercise:
(none)
Duration: ? min.
lab
machine
Lab Notes:
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
40
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
41
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.
SUS08: Advanced VMware Workstation and VM Remote Control
-
IF
D
xzjG
N
c,ym
a
w
T
tv
g
R
.A
E
fS
rk
o
W
d
e
h
lis
b
u
p
n
U
Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES
42
Novell, Inc. Copyright 2012-ATT LIVE-1-HARDCOPY PERMITTED. NO OTHER PRINTING, COPYING, OR DISTRIBUTION ALLOWED.