virtualcenter


Our IT journal

vSphere: Best practices for multi pathing devices when using round robin

On a production environment, we have a new Dell Powervault ME5024 and several Synology boxes, running on Ethernet 10GB. The ESXi cluster has 2 10 GB NICs per host, the Powervault has 8 10GB NICs (4 x 2 on failover) and each Synology has 2 10 GB NICs. The IT manager from this client configured VMware with iSCSI on all … Read More


vCenter – VMware Appliance Management ‘User password expired’

After 90 days, the password for the 5480 port expires and you need to change it. To do this, we will need console access to the VCSA. Authenticate using the expired root password at the VM prompt, and choose Troubleshooting Mode Options: Enable SSH Use a SSH session to authenticate with the vCenter Once authenticated, do: shell If running this … Read More


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