Our IT journal

VMware ESXi – Could not complete network copy for file – Cannot relocate virtual machine

While using Storage vMotion or vMotion, you receive this error on a newly comissioned host:   Relocate virtual machine Status: Could not complete network copy for file /vmfs/volumes/5924783e-c94e2bc3-f003-b8ca3a6ae820/TestVM/Test VM.vmdk   Or, when creating a VM from zero, you can’t boot it up:   Error stack: Module ‘Disk’ power on failed. Cannot open the disk ‘/vmfs/volumes/60ac1656-06452eb7-aa7c-3cfdfe9ea734/Test/Test.vmdk’ or one of the snapshot … Read More

VMware Virtual Replication – Virtual Machine stays on configuring after datastore migration

We experienced this issue last week, after migrating a replicated VM to a new datastore. We migrated several VMs to faster storage, but there were two with errors related to authentication. The replication kept going fine, but the error didn’t go away. The machine inside the Site Recovery application kept saying: “configuration error. The session is not authenticated”, and the … Read More

Querying a vCenter for mounted ISOs on VMs using PowerCli

As we are retiring datastores that hosts ISOs, some are still in use (or just mounted) on VMs. We can’t take these datastores offline until we figure out which VMs are consuming the datastore just for ISOs. As manually checking is going to take a lot of time, we will just run this via PowerCLI. Start by connecting to PowerCLI … Read More

Using PowerCLI with PowerShell for running scripts on a vCenter

First, we need to disable a few security settings. Start the process by running PowerShell on Admin mode. Run each snippet on the console.   We need to enable TLS 1.2 on PowerShell: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12   Set the execution policy to run scripts: Set-ExecutionPolicy -ExecutionPolicy Unrestricted   Install the PowerCli module, creating a destination folder for it first: Save-Module -Name … Read More

Install the vSphere client on a Domain Controller

Sometimes, we may be in the need of installing the vSphere Client on a domain controller. You may have received a “vSphere Client cannot be installed on a Domain Controller” error by the installer. To be able to do this, you just need to open up an administrator command prompt and type the following in the same folder than the … Read More

Changing an IP on a backup object in Altaro Backup

On a client we changed the IP addressing on their network and we already had backups in place from Altaro. Altaro didn’t take DNS changes as the vcenter was hardcoded with its IP address. In order to keep the existing chains we needed to change the VMware vCenter IP. In order to change this, we had to download SQL lite browser. … Read More