virtualcenter


Our IT journal

Upgrade ESXi host via SSH with Offline Update

Put server on maintenance mode Upload ZIP file to Datastore   List profiles [root@ESXI03] esxcli software sources profile list -d /vmfs/volumes/VMFS-DS/ESXiUpdate/VMware-VMvisor-Installer-8.0.0 .update02-23305546.x86_64-Dell_Customized-A06.zip Name Vendor Acceptance Level Creation Time Modification Time ————————- ——— —————- ——————- ——————- DEL-ESXi_802.23305546-A06 Dell Inc. PartnerSupported 2024-03-08T16:47:19 2024-03-08T16:47:19   Copy the name of the profile [root@ESXI03] esxcli software profile update -d /vmfs/volumes/VMFS-DS/ESXiUpdate/VMware-VMvisor-Installer-8.0.0.updat e02-23305546.x86_64-Dell_Customized-A06.zip -p DEL-ESXi_802.23305546-A06 Update Result … Read More


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


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


Random reboots with Dell 14th generation servers CPU0000 PWR2270

If you are experiencing issues with your Dell server, and in the iDRAC logs you are receiving these errors: CPU0000 Internal error has occurred check for additional logs PWR2270 The Intel Management Engine has encountered a Health Event   It’s caused by the power states on the BIOS configuration of the servers. This can occurr regardless of the hypervisor or … 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


Pressing ALT + F1 on a remote ESXi console doesn’t bring up the console prompt

Rarely when trying to access a server console via ALT + F1, the server may appear nonresponsive, however, sometimes this is just a false alarm. This is more likely happening when using a KVM device as it may send incorrect characters over. Before proceeding with this troubleshooting, please note that you need to enable console access on the host first. … 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