Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 244528

Re: clone vms and reconfigure at deployment?

$
0
0

Thank you all for answering.

 

The current environment is multiple vcenters with 4.1 update 1 and update 2.

I have to install powercli on Windows 2008 R2 SP1 x64 bit.

I need to decide which powercli version to use, as far as the latest 5.1 has following limitation as per release notes.

 

The following PowerCLI features are supported only on the 32-bit version of Windows PowerShell.

  • New-OSCustomizationSpec and Set-OSCustomizationSpec
  • New-VM and Set-VM (only when used for applying customization specifications)

When running against vCenter Server or ESX/ESXi versions earlier than  5.0, the following PowerCLI features are supported only on the 32-bit  version of Windows PowerShell.

  • Invoke-VMScript
  • Copy-VMGuestFile
  • New-VMGuestRoute, Get-VMGuestRoute, and Remove-VMGuestRoute
  • Get-VMGuestNetworkInterface and Set-VMGuestNetworkInterface
  • Set-HardDisk (only when used for resizing guest disk partitions)

VMware vSphere PowerCLI 5.1 Release 1 supports the following VMware environments:

  • vCenter Server 4.1 Update 2
  • VMware ESXi 4.1 Update 2
  • vCenter Server 4.0 Update 4
  • VMware ESX 4.0 Update 4
  • VMware ESX 4.0i Update 4

 

I want to be able to use New-OSCustomizationSpec and Set-OSCustomizationSpec & Invoke-VMScript for post configuration.

& want a version which can support and give maximum cmdlets and compatible to x64 windows Vcenter 4.1 update 1 onwards.

 

second part is , i need to deploy vms by cloning and changing the Memory, CPU, add Additional drives Apply right Network profile with guest customisation. ( it is possible to change the config at the point of deployment manually change in vcenter.)

 

Yes  i will be using csv for input file.

 

With New-VM you can apply the guest customisation, but not change any memory, cpu parameters or add drives.

- the main bottleneck as i understand is to wait for the cloning to complete before applying any further configs to the VM. Is there a way to get around this, like may send the commands and keep it in pipline util the cloning is complete.

 

i am new to powercli any help is appreciated.

 

thanks !


Viewing all articles
Browse latest Browse all 244528

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>