Visitors

Configure DHCP reservation with Powershell

Quick Powershell script to add DHCP reservation for a VM on multiple DHCP servers:

Please refer to DHCP Server Cmdlets in Windows PowerShell for more details.

$DHCPservers = ‘DHCP001’, ‘DHCP002’ $Scope = ‘10.80.24.0’ $IPaddress = ‘10.80.24.12’ $Server = ‘SQL001’ $Domain = ‘internal.vStrong.info’ $VM = Get-VM $Server # $VM.NetworkAdapters.MacAddress returns MAC address in semicolon separated 00:50:56:00:00:00 […]

Unable to remove permissions in vCenter

One of my customers was getting a strange error when trying to remove permissions in vCenter:

The “Remove Permission” operation failed for the entity with following error message. The object or item referred to could not be found.

But the user was there! I asked him to add a new user and then remove […]

Trend Micro Deep Security – Cancel Scheduled Malware Scan

I noticed some of the scheduled Malware Scans take too long to complete. It is not clear how to identify what VMs/Client are still being scanned. You cannot just click on the status bar and get redirected to the corresponding tasks.

Here is what you need to do:

Navigate to Computers tab; Sort computers by […]

Trend Micro Deep Security: Prepare ESX operation failed – The installation transaction failed

Environment: VMware vSphere ESXi 5.5 (VMware ESXi, 5.5.0, Build 1746974) Trend Micro Deep Security Manager 9.0 SP1 Patch 3 (Build 9.0.6500)

Prepare ESX operation failed with the “The installation transaction failed” error.

Trend Micro Knowledge Base Solution ID 1102068.

Root Cause: VMware has confirmed that this issue could happen when downloading and installing the Deep […]

Scripted installation / upgrade of VMware Tools

I needed to upgrade VMware Tools on a large number of virtual machine for a customer who is currently going through a migration from VMware ESX 4.1 to VMware ESXi 5.5. The customer is also going to use Trend Micro Deep Security for the host level antivirus protection and therefore needs to install VMware Tools […]

EMC RecoverPoint & VMware SRM/SRA compatibility matrix

I am currently upgrading VMware vSphere infrastructure from 5.0 Update 2 to 5.5 U1. As part of the upgrade, I need to upgrade VMware Site Recovery Manager (SRM) 5.0.1 to 5.5.1 which is quite straight forward. Check out this and this articles.

But what about EMC RecoverPoint? We are currently running RecoverPoint 3.5 SP2 (p74) […]

Unable to create VCAC database

I was having trouble creating database on vpostgres when tried to create VCAC database.

When logged in as postgres user I typed psql at the prompt and was getting the following error:

-bash: psql: command not found

Usually this means that psql isn’t in the PATH of the user. Locate where psql is installed and […]

EMC UIM: Mapping data failed, Failed to associate storage volume

EMC UIM v 4.0 Patch 2

During datastore provisioning EMC UIM created a LUN but did not add it to any of the Storage Groups and failed with “Mapping data failed” error:

Mapping data failed

Failed to associate storage volume

* Unable to push to device

* Unspecified Error. [ManagedObject] Action completed with a warning… […]

VMware PowerCLI script to list Thin provisioned virtual disks (VMDK)

One of my clients was concerned about the number of virtual machines that were built with Thin provisioned disks. Before they go with the project to inflate all Thin provisioned disks (or migrate to Thick Provisioned Lazy Zeroed) they needed to know how much additional storage they would need.

PowerCLI to the rescue!

Yes, you […]

Exporting Virtual Machine information with PowerCLI

Just a quick script to export virtual machine inventory:

$report = @() foreach ($DC in Get-Datacenter -Name MyDC){ # Specify Datacenter name if needed foreach ($Cluster in Get-Cluster -Location $DC ){ # Specify Cluster name if needed foreach ($VM in Get-VM -Location $Cluster ){ $row = "" | select DC, Cluster, ResourcePool, VMPath, VMhost, PowerState, […]