Category Archives: VMware

vmwarevss

Using PowerCLI to create Virtual Machine Port Groups

So basically I had a host failure where all of the configure was lost, if I was more savvy with Powershell/PowerCLI, I would have been able to rebuild it all via scripts, but that clones the settings from a working host.

But nevermind that is for a different day of learning.

So I configured the host to the point of Networking, so the vSwitches had the correct NICs, but I needed to do all the port groups, which in the GUI if you have a few to do is time consuming.

So in PowereCLI, pull all of your information, port-group names and VLAN IDs.

Get-Vmhost -name <FQDN of host> | Get-VirtualSwitch -name  | Get-VirtualPortGroup

2014-11-12_00-07-01

To create a port-group

Get-Vmhost -name <FQDN of host> | Get-VirtualSwitch -Name  | New-VirtualPortgroup -Name "Name of PG" -VlanID
2014-11-13_10-58-47

Obviously this is a very short crude method of achieving what I need, but here you can see the basic building blocks needed to create Port Group in PowerCLI.
Regards

Dean


images

Looking back at a VMware VDI Deployment

My good friend Nathan Bryne wrote a good post about “Do I really need to do a Desktop Assessment?“, which got me thinking.

I worked at a college for around 3 years where we had a 1000 seat VMware View VDI deployment. I started working there just after the college had decided to go all-in on VDI and purchased the equipment, as most of their student machines were getting to 5 years old, and in some areas 7 years old.

The highlights of this were;

2012-06-29 15.35.12IMAG0390 IMAG0400 IMAG0391Dell Blade to SAN Array - Both environments

Continue reading Looking back at a VMware VDI Deployment

hp broken

HP-AMS Driver causes ESXi memory leak

So basically I had a customer hit by a known HP-AMS driver issue (KB2085618), the symptons were as follows;

  • Unable to vMotion a VM to another host, gives “operation timed out error”

2014-11-10_10-36-15

  • If power off VM, vMotion a machine to another host, and then power on, you get the following error “Could not start VMX: msg.vmk.status.VMK_NO_MEMORY”

2014-11-06_10-42-49

ESXi memory leak

This issue is caused by a memory leak in the driver which fills the SWAP memory of the ESXi host, making it unable to response to any requests at all,

For example, trying to enable SSH;

2014-11-11_09-08-27

The Fix

Continue reading HP-AMS Driver causes ESXi memory leak

2014 11 07 12 21 341

Veeam upgrade to v8 – Enterprise Manager fails with Access Control List error

So the other day I blogged about the Veeam v8 upgrade, and as mentioned my Enterprise Manager didn’t work, giving the error;

The Access Control List is not in canonical form and therefore cannot be modified.

2014-11-07_12-21-34

So I logged a call with Veeam to get it fixed.

Error Logs

Basically giving logs such as the below.

Continue reading Veeam upgrade to v8 – Enterprise Manager fails with Access Control List error

2014 11 07 12 37 58

Veeam v8 is here – New Features and Upgrade Process

So Veeam’s High Availability Suite is here!!!! Basically v8.

So in this post we are looking at Features and the upgrade of the program, and using the program when updated.

New Features
Backup and Replication

My favourite feature which doesn’t seem to be in the documentation online, is Snapshot Hunter, where Veeam actively looks for and removes any snapshots which havent deleted properly, i.e where vCenter said snapshot removed, and it hasn’t!!!

High-Speed Recovery
• Veeam Explorer for Microsoft Exchange, SharePoint, SQL Server and
Active Directory: Granular-level recovery and low recovery time objectives (RTOs) Continue reading Veeam v8 is here – New Features and Upgrade Process