your home for end-user virtualization!

Virtualization

Using virt-install to install Windows Server 2008 in qcow2 format

When installing Server 2008 on Qemu, for the creation of an OpenStack Windows Server 2008 template; I found it easiest to use virt-install. Below is the code that I use to kick off that virt-install. virt-install –virt-type kvm –name win2008 –ram 2048 –cdrom=/path/to/cd-iso/server-2008.iso –disk path=/path/to/disk/file/location/2008.qcow2 –network network=default,model=virtio –graphics vnc,listen=0.0.0.0 –noautoconsole –os-type=windows –os-variant=win2k8  

Posted in OpenStack, Virtualization | No Comments »

Huge LACP Changes in ESX 5.5u1 from ESX 5.1

In vSphere 5.1, Link Aggregation Configuration Protocol (LACP) on the vSphere Distributed Switch (vDS) was configured on the Uplink Porgroup. There were basic options of enabled/disabled and active/passive. These options were configured like below:

Tags: ,

Posted in dVS, Networking, Virtualization, vmware | No Comments »

Monitoring vSAN replication tasks using RVC

First, SSH to the vCenter appliance: Then, run the following commands: rvc root@localhost password: 0 / 1 localhost/ > cd localhost/vsandc/computers/ /localhost/vsandc/computers> vsan.resync_dashboard vsan 2014-06-12 14:36:47 +0000: Querying all VMs on VSAN … 2014-06-12 14:36:47 +0000: Querying all objects in the system from r1b41g.domain.local … 2014-06-12 14:36:48 +0000: Got all the info, computing table … […]

Tags: ,

Posted in Virtualization, vmware, vSAN | No Comments »

Finding orphaned VMDK’s using PowerCLI

Here is a PowerCLI script I use to find all orphaned VMDK’s in my vCenter environment. $arrayVC = “virtualcenter2” Foreach ($strVC in $arrayVC) { Connect-VIServer $strVC $arrUsedDisks = Get-VM | Get-HardDisk | %{$_.filename} $arrUsedDisks += get-template | Get-HardDisk | %{$_.filename} $arrDS = Get-Datastore Foreach ($strDatastore in $arrDS) { $strDatastoreName = $strDatastore.name $ds = Get-Datastore -Name […]

Tags: , ,

Posted in PowerCLI, Powershell, Virtualization, vmware | No Comments »

Search

Categories