Solved

Linked Clondes on VMWARE exsi 5

Posted on 2012-03-09
3
1,994 Views
Last Modified: 2012-03-10
Hello,

I've been able to use VMWare Worktation 8 to create 40 Windows 7 Professional 32 bit machines and share  them via RDP over a vpn connection.  The solution works great because I create 1 master Windows 7 Pro 32 Bit VM, create 5 full clones with 8 linked clones each, totally 40 useable vmware workstations.

I would like to be able to do the same thing with Vmware exsi 5 60-day trial hypervisor using the vSphere client but I see know way to make linked clones, let a lone full clones... Does the exsi server support clones at all?  What do I need to be able to make them?  I' would like to have 5 master machines with 8 linked clones like I am doing Workstation 8 and wanted to see how much of a performance increase, if any, would result using them on a bare metal hypervisor...

Thank you in advance for your help!
0
Comment
Question by:terryg42
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 15

Expert Comment

by:cwstad2
ID: 37704453
You can create clones in ESXi, but i think the solution you will be looking for in VMware view. Very powerful and supports linked clones. Also Known as VDI. You can download a 60 day trial also

http://www.vmware.com/products/view/overview.html?src=PaidSearch_Google_PaidSearch_Google_EMEA-West_BritIsles_VDI_VDI_View_Search#utm_source=PaidSearch_Google_PaidSearch_Google_EMEA-West_BritIsles_VDI_VDI_View_Search&utm_medium=src&utm_campaign=src-tagged-url
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37704796
Linked Clones are normally created using VMware View.

However, the ESXi 5.0 Storage API does understand Linked Clone creation, although not officially supported without the use of VMware View.

But we use this script to save storage space in our labs for workstations and servers.

You need to use PowerShell and CLI scripts

here is the Linked Clone Script, you will need vCenter which is also available as a trial which you can download.

#Requires -version 2

# TITLE: 	New-LinkedClone.ps1
# AUTHOR:	Hal Rottenberg
# Adapted from a technique published originally by Keshav Attrey http://www.vmdev.info/?p=40
# Also see William Lam's Perl script: http://engineering.ucsb.edu/~duonglt/vmware/vGhettoLinkedClone.html
# And Leo's manual version for ESX 3.5: http://blog.core-it.com.au/?p=333

param (
	[parameter(Mandatory=$true)][string]$SourceName,
	[parameter(Mandatory=$true)][string]$CloneName
)
$vm = Get-VM $SourceName

# Create new snapshot for clone
$cloneSnap = $vm | New-Snapshot -Name "Clone Snapshot"

# Get managed object view
$vmView = $vm | Get-View

# Get folder managed object reference
$cloneFolder = $vmView.parent

# Build clone specification
$cloneSpec = new-object Vmware.Vim.VirtualMachineCloneSpec
$cloneSpec.Snapshot = $vmView.Snapshot.CurrentSnapshot

# Make linked disk specification
$cloneSpec.Location = new-object Vmware.Vim.VirtualMachineRelocateSpec
$cloneSpec.Location.DiskMoveType = [Vmware.Vim.VirtualMachineRelocateDiskMoveOptions]::createNewChildDiskBacking

# Create clone
$vmView.CloneVM( $cloneFolder, $cloneName, $cloneSpec )

# Write newly created VM to stdout as confirmation
Get-VM $cloneName

Open in new window


Source
http://poshcode.org/1549
0
 

Author Closing Comment

by:terryg42
ID: 37704883
Awesome info-- thank you so much!
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Postmortem reporting allow us to examine mistakes in a way that focuses on the situational aspects of a failure’s mechanism and the decision-making process of individuals proximate to the failure. Read our guide on how to handle IT post-mortem repor…
Popular third-party chat platforms like Slack, Discord, and Telegram are just a few of the many new productivity applications that are being hijacked by cybercriminals to create command-and-control (C&C) communications infrastructures for their malw…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question