Quantcast
Channel: VMware Communities: Message List - ESXi

ESXi Windows 10 VM boot with UEFI BIOS

0
0

I'm trying to enable virtualization on my Windows 10 VM so I can use Docker WSL2.

Docker gives me this error:

"Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS."

When I enter the Windows 10 VM BIOS I don't get the UEFI page, I get an old looking EFI page (image attached).

From here I cannot seem to enable virtualization.

 

My ESXI settings for the Windows 10 VM are set to:

 

Windows 10 VM:

    VM Options:

       Boot Options:

           EFI (selected)

           Enable UEFI secure boot (checked)

 

Any guidance on this would be much appreciated.


Re: ESXi Windows 10 VM boot with UEFI BIOS

0
0

For nested virtualisation, you go to the VM CPU settings and check the "Expose hardware virtualization to the guest OS", that is the ESXi VM equivalent of enabling VT in a physical PC UEFI/BIOS.

Re: ESXi Windows 10 VM boot with UEFI BIOS

0
0

That worked! 6 hours I spent trying to figure this out.

 

Thanks for your swift and accurate response .

Re: Failed to create VMFS datastore - Cannot change the host configuration

0
0

If wiping as explained in the previous reply doesn't help, then please verify that the LUN has been presented in R/W mode from the storage array.

 

As an alternative, you may try to create a VMFS6  datastore from the command line:

  1. partedUtil getUsableSectors "/vmfs/devices/disks/naa.600c0ff0001e3b26fc879d5f01000000"
  2. partedUtil setptbl "/vmfs/devices/disks/naa.600c0ff0001e3b26fc879d5f01000000" gpt "1 2048 56640552XX AA31E02A400F11DB9590000C2911D1B8 0"
  3. vmkfstools -C vmfs6 -S "MSA2040VDISKA" "/vmfs/devices/disks/naa.600c0ff0001e3b26fc879d5f01000000:1"

Note: Replace the last sector (in red) with the output of the "getUsableSectors" command.

 

André

Re: Failed to create VMFS datastore - Cannot change the host configuration

0
0

Thank you both for your replies.

In the meantime I found the root cause:

The MSA had "unwritable cache" data in its controllers and therefore the LUN was provided only read-only.

Unfortunately this was not shown in the SMU of the MSA2040.

The following command (in a ssh session on the MSA's controller) showed this very clear:

# show unwritable-cache

Unwritable System Cache

-----------------------

Percent of unwritable cache in controller A: 98

Percent of unwritable cache in controller B: 98

 

 

As we changed the controllers of this box recently (before connecting to the ESX Server) and created the LUN completely new, there is no useful data in the cache.

Therefore the following command will clear the cache and finally provide the LUN read/writable:

# clear cache

Clearing cache for a volume that is offline or quarantined could result in unrecoverable data loss.

Do you want to continue? (y/n) y

Success: Command completed successfully. - If unwritable cache data existed, it has been cleared.

 

 

After some seconds, the "show unwritable-cache" command shows 0 Percent of unwritable data in each controller.

Now adding the Datastore to the vSphere Server worked as expected without any error.

 

 

Hope this helps may be others.

 

 

kind regards Bernd

Re: Cannot Open Web Or Remote Console

0
0

Old thread, but problem still happened to me recently.  Couldn't open console from Chrome, but Firefox was fine.

 

Based on Marcelo Ferreira da Costa's response (and someone else's suggestion related to cookie settings), I got the idea to clear the site cookie from Chrome settings under "All cookies and site data".  Just find the site IP/name and delete the cookie.

 

After clearing the cookie, it worked!

 

So no need to reinstall for me.

Re: How to add a Hard disk drive direct to VM on ESXi?

How to add a Hard disk drive direct to VM on ESXi?

0
0

Hi guys,

I installed ESXi 7.0U1 on Dell R630 server. My hardware:

- CPU E5 2680 v4 (2 CPUs)

- RAM 128 GB DDR4 2400 MHz ECC Reg (16 GB x8)

- SSD 240GB x2 (RAID 1) for ESXi installing

- SSD 960GB x5 (RAID5 +1 Spare) for Datastorage (all VMs are location here)

- HDD 2 TB stand alone (non RAID)

Now I create one VMware 03 and I want to add HDD 2 TB stand alone direct to this VM.

Purpose: backup data from VM to this hard disk, if server have any issue, I will connect this hard disk to other PC to take backup files

Could you please show me how to do this?

 

# I have an option to connect this HDD direct to VM via USB connect, but I still want to connect it via SATA interface if it possible.

Capture.PNG


Re: How to add a Hard disk drive direct to VM on ESXi?

0
0

Welcome to the Community,

 

depending on the RAID controller, it may work to present the disk as a JBOD, or single disk RAID0 to the operating system (ESXi), and attach it to a VM as a RDM.

However, please be aware of https://kb.vmware.com/s/article/1017530

 

André

Re: How to add a Hard disk drive direct to VM on ESXi?

0
0

Hi André,

 

Thank you for your answer.

 

If I add HDD to a VM as a RDM and format as NTFS, I can read data if I connect it to a windows PC, right?

 

Re: How to add a Hard disk drive direct to VM on ESXi?

0
0

That depends on whether the RAID controller adds additional information on the disk (likely when configuring it as RAID0). I'd suggest that you test this, after creating the RDM, and formatting the volume from the VM.


André

Panic requested by another PCPU caused by Win Server 2019 on boot

0
0

We have a long running ESXi instance (6.7.0 Update 2) that has been running a Win Server 2019 for over a year.  Upon a recent reboot, we are getting a red screen of death reading:

"Panic requested by another PCPU".

 

We have a mid-day snapshot from a few days back, and that will run fine.  But, once we reboot the VM, Windows will start to boot up (never get to the logon screen) and then freeze.  About a minute later the ESXI monitor will show this again.

 

I'm at a complete loss in how to diagnose and fix this issue.  The server is up and running right now (has been for hours), but a reboot will put us back in this state after about 5 minutes.

 

Any ideas?  I'll gladly supply any logs, etc.  Or, follow any links in collecting what is needed to further a solution.

 

Thank you for your time!

Re: Panic requested by another PCPU caused by Win Server 2019 on boot

0
0

Not sure, but there's a chance that you are hitting an issue that had been fixed with Update 3, so in this case you may consider to update/patch the host unless there's a reason not to do this.

 

André

VM Pause disk issues

0
0

Hi,

 

Have setup a VM server and resources. Sufficent disk space etc...suddenly out the blue it pauses the VM saying need to free up space on the DS?!

 

The DS has 440GB disk space, the VM is only 400GB and has 36GB RAM allocated. When checking the DS says 37.1GB free...however the server keeps pausing not enough space?!

 

What is causing this as have enough space or how do i stop it from happening more importantly.

 

Thanks

Re: VM Pause disk issues

0
0

You appear to have a snapshot on this VM which explains the constant pausing. Unless you have enough free space on the target datastore (you don't appear to have this), you are pretty well done here unless it can be moved in a powered off state.


Re: VM Pause disk issues

0
0

VM swap file will be the same size as the allocated memory, there are log files too...

 

Does the VM have any snapshots?

Re: VM Pause disk issues

0
0

also on a note, the server was running perfectly fine yesterday with about 15 users all day...suddenly this morning users are logging in and this is happening.

Re: VM Pause disk issues

0
0

How do i turn off snap shots even for the time being?! The server is offline so no uses can work at the moment.

Re: VM Pause disk issues

0
0

No there are no snap shots

Re: VM Pause disk issues

0
0

unregistered and registred the VM and now wont start cannot enumerate the drive error...can see the the file there but shows as 90GB over the 400GB is used to be, but wont allow me to change the size either

Re: VM Pause disk issues

0
0

Otherwise what would be the best way to shrink down the volume?

 

In Server 2019 can shrink it down,  but then the VM cannot make the size any smaller when you try edit.

ESXi 6.7 loses config after reboot

0
0

Hi everyone,

 

I searched all over the web for two days, but I still haven't found anything that helped to solve my case.

 

I have ESXi 6.7 installed on a USB drive running on a DELL Poweredge R710. I know this particular version of ESXi is not supported by my machine, but except for the fact that loses configuration on every reboot I didn’t have any other issue.

 

Long story short:

 

The bootbank folder points to tmp

 

bootbank -> /tmp

 

while locker and scratch point to an actual data store

 

locker -> /vmfs/volumes/5f9cb458……..-……..a12/.locker

scratch -> /vmfs/volumes/5f9cb458-…………….a12/.locker

 

I did some troubleshooting by following those KBs: https://kb.vmware.com/s/article/2149444      https://kb.vmware.com/s/article/51907

 

Even by appending the ‘devListStabilityCount’ parameter in the ESXi boot options, with a delay of up to 300 seconds, the storage-path-claim service is still not delayed and always starts before the datastores are accessible (see logs below).

Without appending the ‘devListStabilityCount’ parameter, the delay between the below logs is always a minute of each other (always ‘storage-path-claimfirst, then…The datastore is now accessible on this host.

 

 

[root@localhost:~] grep storage-path-claim /var/log/sysboot.log

[2020-11-03 01:01:31.851747 - 2020-11-03 01:04:54.502981] sysboot: storage-path-claim

 

[root@localhost:~] grep 'mounted.*rw' var/run/log/vobd.log|tail -1

2020-11-03T01:05:55.167Z: [vmfsCorrelator] 284840394us: [esx.audit.vmfs.volume.mounted] File system [MainStorage, 5f9cb458-…………….. on volume 5f9cb458-7d8b9622-………… has been mounted in 'rw' mode. The datastore is now accessible on this host.

 

 

If it helps, this is what I get when I issue the below command.

 

[root@localhost:~] localcli --plugin-dir=/usr/lib/vmware/esxcli/int/ boot system restore --bootbanks

VmkCtl: Did not find a valid boot device, symlinking /bootbank to /tmp

 

 

Did anyone see this issue before and knows a solution for it?

 

I will much appreciate any kind of help and advice on how to tackle this.

 

Thanks in advance!


Trying to delete Dumpfile

0
0

I am trying to delete my dumpfile and unable to

 

I am SSH in the correct Host

 

[root@localhost:~] esxcli system coredump file list

Path                                                                                                                Active  Configured        Size

------------------------------------------------------------------------------------------------------------------  ------  ----------  ----------

/vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0036-4810-8054-B1C04F443432-1658847232.dumpfile   false       false  1658847232

/vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0039-3010-8056-B6C04F4E5131-2463105024.dumpfile   false       false  2463105024

 

[root@localhost:~] esxcli system coredump file remove -F -f /vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0036-4810-8054-

B1C04F443432-1658847232.dumpfile

Unlink of file /vmfs/volumes/5b1009ba-306ed33a-6742-782bcb1d7dda/vmkdump/4C4C4544-0036-4810-8054-B1C04F443432-1658847232.dumpfile failed: Device or resource busy

 

I get a Device Busy,  what am i doing wrong?

Re: ESXi 6.7 loses config after reboot

0
0

Moderator: Thread moved to the ESXi area.

moving VM Disks to new SCSI ID

0
0

I currently have a bunch of fisks on the same SCSI(0) ID

 

like

 

Disk 0 SCSI(0:0)

Disk 1 SCSI(0:1)

DISK2 SCSI(0:2)

DISK3 SCSI(0:3)

 

etc....

 

 

noticing lot of write/read latency

 

 

Will it imprive performance if I move some disk off to its own SCSI ID?

 

SCSI(1:0)

 

SCSI (2:0)

 

etc....

 

how would i do that?

 

This is windows 2016 server and I want to keep same drive letters

Re: moving VM Disks to new SCSI ID

0
0

That would give each virtual disk it's own virtual controller, meaning you'd have more queues in the guest OS.

 

What type of controller is in your VM settings? PVSCSI?

 

Will multiple virtual controllers solve your issue? Not if the issue is with anything physical, so rule out everything in that space first.

Re: ESXi 6.7 loses config after reboot

Re: Drivers for RealTek rtl8125 2.5gb NIC, controller

0
0

I do have a working VIB file, but I can not confirm if it is harmless or not.. it is not made by me. But I tested it and it works on my Odroid H2+ with dual RTL8125...

I also had a link with instructions how to compile it yourself but currently can't find it..

Re: ESXi 6.7 loses config after reboot

0
0

Hi and thanks for your replay

 

The /sbin/auto-backup.sh command seems to work fine. I can also see it working every hour in the /var/log/syslog.log .

 

/sbin/auto-backup.sh output below:

 

[root@localhost:~] /sbin/auto-backup.sh

--- /etc/security/access.conf

+++ /tmp/auto-backup.2099680//etc/security/access.conf

@@ -1,6 +0,0 @@

-# This file is autogenerated and must not be edited.

-+:dcui:ALL

-+:root:ALL

-+:vpxuser:ALL

-+:vslauser:ALL

--:ALL:ALL

Saving current state in /bootbank

Clock updated.

Time: 11:34:11   Date: 11/03/2020   UTC

 

I noticed something when rebooting the ESXi host without appendingdevListStabilityCount’ in the options at start.

The 'devListStabilityCount' seems just to delay the storage-path-claim as you can see from my previous posted logs and the below logs. Looks like the volumes finish mounting always after storage-path-claim, regardless of the devListStabilityCount’ value.

 

 

[root@localhost:~] grep storage-path-claim /var/log/sysboot.log

[2020-11-03 11:29:19.224105 - 2020-11-03 11:29:27.487321] sysboot: storage-path-claim

[root@localhost:~] grep 'mounted.*rw' var/run/log/vobd.log|tail -1

2020-11-03T11:30:28.088Z: [vmfsCorrelator] 89736214us: [esx.audit.vmfs.volume.mounted] File system [MainStorage, 5f9cb458-84b8d144-13fe-b8ac6f8e7a12] on volume 5f9cb458-7d8b9622-889e-b8ac6f8e7a12 has been mounted in 'rw' mode. The datastore is now accessible on this host.

 

Without delay option:[2020-11-03 11:29:19.224105 - 2020-11-03 11:29:27.487321]

With delay option of 300 seconds (devListStabilityCount=300): [2020-11-03 01:01:31.851747 - 2020-11-03 01:04:54.502981]


Re: moving VM Disks to new SCSI ID

0
0

> Will it imprive performance if I move some disk off to its own SCSI ID?

Yes it will improve the performance - but dont expect radical improvements.

 

Changing the SCSI ID can change driveletters - which again may result in not starting services on next reboot.

So dont change all at once and expect to assign new driveletters manually after next reboot.

 

The change can be done via the UI.

If you do it by editing the vmx you need to add scsi-controllers manually.

Re: moving VM Disks to new SCSI ID

0
0

yes its pvscsi.

 

i have 8 disks on the same scsi0 controller

 

I am seeing write/read latency

Re: moving VM Disks to new SCSI ID

0
0

As per my first reply, you have a bunch of physical things to check before thinking about changing VM disk controllers.

Esxi 6.5 does not start black screen

0
0

Esxi 6.5 does not start black joke. I installed it on a usb key and I find the partitions present. how do i recover partitions or mount devie on storage?

Re: moving VM Disks to new SCSI ID

0
0

is it normal to see read/write latency on virtual disks?

Re: moving VM Disks to new SCSI ID

0
0

As Scott mentioned, if the underlying physical infrastructure is not able to process the data fast enough, you will see such latency.

 

André

Re: Esxi 6.5 does not start black screen

0
0

Please provide more details about your infrastructure, and the exact behavior that you see, e.g. what exactly you see when you boot the system.

Maybe some screenshots (photos) can help!?


André


vsphere down

0
0

By mistake I have tried to change the esxi certificate, it gave me an error: the certificate cannot be installed.

 

Then the console has been blocked and now it does not respond by ip.

Re: vsphere down

0
0

This is the problem, any idea?

 

SSL Error 1: Code 185073780, String: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

Re: Panic requested by another PCPU caused by Win Server 2019 on boot

0
0

We upgraded to Update 3 and the problem still exists.  Any more ideas?  Any insight into log files and where I can dig?

ESXi Licensing Problem

0
0

I may have downloaded the wrong installation binary, but my VM went down yesterday from a licensing problem: "Your evaluation license for ESXi has expired.". I only want ESXi and no other features, but when I go to the licensing tab, the following is displayed. Do I need to reinstall a different version of ESXi? I've been to ESXi 7.0 licensing webpage, but I'm still missing something - I'm not sure what to do there. Can someone point me in the right direction? Thanks

 

 

 

Evaluation Mode

Key:

00000-00000-00000-00000-00000

 

 

Expiration date:

Never

 

 

Features:

Unlimited virtual SMP

H.264 for Remote Console Connections

vCenter agent for VMware host

vSphere API

Content Library

Storage APIs

vSphere vMotion

...

Re: vsphere down

0
0

What did VMware support say when you opened a request with them?

Re: ESXi Licensing Problem

Re: vsphere down

0
0

In case this is a standalone host, you may recreate new self-signed certificates using the following commands:

cd /etc/vmware/ssl

mv rui.crt rui.crt.bak

mv rui.key rui.key.bak

/sbin/generate-certificates

reboot

Please ensure that the VMs on the host have been shut down prior to executing the reboot command!

 

André


ESXI 7 network serial port licence level

0
0

What level licence do I need to be able to add a network serial port to a VM, "telnet://192.168.1.1:4001" for example. It seemed to work in the evaluation but since I have applied my Essentials licence it does not work. Can't find documentation anywhere that clearly describes what features are included in each level of licencing.

Re: ESXI 7 network serial port licence level

0
0

This is the paper I would normally refer to: https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/vsphere/vmware-vsphere-pricing-whitepaper.pdf

 

But there is no mention of licensing in the prerequisites here: Add a Serial Port to a Virtual Machine

 

Your question has appeared here before, but was unanswered: Minimum License for Network Serial Ports in vSphere 4.1?

 

I found this Cisco article which mentions Enterprise (no longer available) or Enterprise Plus licensing is required: Configure Serial Port Access to NX-OSv 9000 on VMware ESXi - Cisco

 

If that Cisco document is correct, that would be the “best” answer, and would explain why you had it working during your evaluation.

Re: ESXi 5.x flash memory recovery tool and guide.

0
0

Hello and thank guys for your responses.

 

The issue is not how the ESXi server is configured but knowing if
I can still access the virtual machines with a different USB key and
configuration. But I now understand better, thanks to your explanations.

 

Permit me to ask another question.
A Linux OS (centos 6.10) is running on the same server and I would like to
know;

is there is a command that displays the version of ESXi server in the USB
installed on the MB from the OS?

 

Thank you!

Re: ESXi 5.x flash memory recovery tool and guide.

Re: issues retrieving physical disks status in ESXi 6.0.0

0
0

Followed a suggestion from Lenovo support I installed CIM provider which was reporting as missing:


[root@esxi60:/var/log/vmware] esxcli software vib install -d VMW-ESX-6.0.0-emulex-cim-provider-11.4.142.11-01-offline_bundle-6422346.zip

Installation Result

Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.

Reboot Required: true

VIBs Installed: EMU_bootbank_emulex-cim-provider_11.4.142.11-01OEM.600.0.0.2768847

VIBs Removed:

VIBs Skipped:

 

esxcli software vib list | grep cim

emulex-cim-provider            11.4.142.11-01OEM.600.0.0.2768847      EMU     VMwareAccepted    2020-11-04

 

This was followed by a reboot but unfortunately my problem persists. The CIM provider still reports to be missing. ESXi can only see virtual drives in degraded state (which is a false positive) and hasn't got a clue about individual disks and their health

Re: vsphere down

Re: Drivers for RealTek  rtl8125 2.5gb NIC, controller

0
0

My H2+ is looking for that VIB, could you share it ?






Latest Images