Quantcast
Channel: VMware Communities : Discussion List - Nested Virtualization
Viewing all 1521 articles
Browse latest View live

How to add Virtual Serial Port to a VM in ESX 6.5 from Linux command line or API?

$
0
0

Hi,

 

I'm developing a script to import an OVF VM to an ESX 6.5 host.

I'm using ovftool command to run the import.

 

When I try to pass Virtual Serial Port properties (retreieved from .vmx file when I did manually via vSphere Client GUI),

ovftool returned warning:

 

$ ovftool \

--name="Test04" \

--acceptAllEulas \

-ds=datastore1 \

-dm=thin \

--net:'Network 1=VM Network' \

--prop:serial0.fileType='network' \

--prop:serial0.fileName='telnet://:7004' \

--prop:serial0.yieldOnMsrRead='TRUE' \

--prop:serial0.present='TRUE' \

./Test04.ovf \

vi://root:PASSWORD@172.18.125.43

Opening OVF source: ./FortiGate-VM64.ovf

Opening VI target: vi://root@172.18.125.43:443/

Deploying to VI: vi://root@172.18.125.43:443/

Transfer Completed                   

Warning:

- OVF property with key: 'serial0.fileName' does not exists.

- OVF property with key: 'serial0.fileType' does not exists.

- OVF property with key: 'serial0.present' does not exists.

- OVF property with key: 'serial0.yieldOnMsrRead' does not exists.

Completed successfully

 

And Virtual Serial Port is not added after the ovftool import.

After ovftool import,

I have also tried manully edit .vmx file by appending 4 lines at the end:

serial0.fileName = "telnet://:7003"

serial0.fileType = "network"

serial0.present = "TRUE"

serial0.yieldOnMsrRead = "TRUE"

but it still has no effect.

 

 

How can I add a "Virtual Serial Port" to an ESX 6.5 VM

without going through vSphere Client GUI or Web GUI?

Is it possibe to use vim-cmd from ESX host shell?

or any solution in Linux?


nested ESXi vHost networking, the nested VMs cannot access outside world.

$
0
0


my DataCenter configured as following:

 

     1.  Physical Switch connected to 3 Physical Server.

          vCenter Server IP: 192.168.10.10

          two ESXi Physical Hosts: IP: 192.168.10.11/12.

    

      2.  My laptop connected to this physical network, IP: 192.168,10.100.

    

      3.  My two Physical Hosts configured with one Standard vSwitcher0, uplink VMNIC0,  portgroup MYLAN vLan ID=162,  vmk0 vLan ID=162.

 

      4.  I created two nested ESXi vHost on the two Physical Host, assigned IP 192.168.10,101/102, gateway 192.168.10.1

      5.  Standard vSwitch0 on the two vHost, only VM NETWORK portgroup, all with default vLan ID =0.

    

      6.  I create VM on nested vHost, and assigned the VM using VM NETWORK, also assigned the IP: 192.168.10.201, gateway 192.168.10.1

         

          But from my VM,  I cannot ping 192.168.10.1,  also I cannot ping the VM (x.x.x.201) from my laptop.

 

          I can ping my two nested vHost from my laptop, also can login the VM console through my nest vHost.

 

         from my vHost world, my network is configured as EST (external swith tagging).

         from my Physical Host world, my network is configured as VST (virtual switch tagging),

         Theoritically my configuration should be correct, but it don't work.

 

        I'm new comer to nested VMWare  world.   I'm appreciated for any suggestion and help. 

Intermittently Unable to log in to ESXi 6.5 running under Workstation 12

$
0
0

When logging in to ESXi 6.4 running as a guest OS under Workstation 12, I occasionally get this error:

 

Cause: Error: [$rootScope:inprog] http://errors.angularjs.org/1.3.2/$rootScope/inprog?p0=%24digest

Version: 1.8.0

Build: 4516221

ESXi: 6.5.0

Browser: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36

 

Exception stack:

 

Error: [$rootScope:inprog] http://errors.angularjs.org/1.3.2/$rootScope/inprog?p0=%24digest

  at https://192.168.118.128/ui/scripts/main.js:263:20611

  at l (https://192.168.118.128/ui/scripts/main.js:265:12567)

  at k.$apply (https://192.168.118.128/ui/scripts/main.js:265:16690)

  at HTMLInputElement.<anonymous> (https://192.168.118.128/ui/scripts/main.js:267:828)

  at HTMLInputElement.dispatch (https://192.168.118.128/ui/scripts/main.js:262:14464)

  at HTMLInputElement.r.handle (https://192.168.118.128/ui/scripts/main.js:262:11251)

  at prop (https://192.168.118.128/ui/scripts/main.js:263:3018)

  at n.access (https://192.168.118.128/ui/scripts/main.js:262:6702)

  at n.fn.init.prop (https://192.168.118.128/ui/scripts/main.js:263:2642)

  at V.$set (https://192.168.118.128/ui/scripts/main.js:264:21408)

 

The message box that provides this dump (after pressing the Details button) suggests reporting this as a bug and the defect page states to report in an appropriate forum if I do not have a support agreement (and I don't).

Cannot create Windows 10 VM under ESXi 6.5 running as a VM under Workstation 12

$
0
0

I'm running ESXi 6.5 as a VM under Workstation 12, which in turn is running under Windows Server 2012 R2 Essentials.  I am unable to create VMs under ESXi 6.5.

 

From the Navigator I click on Host.  From the Host configuration panel, I click on Actions and select Create/Register VM.  Then I select Create a new virtual machine and click on Next.  In the name field, I enter a name (Windows 10 Pro x64 Test).  For Compatability, I leave the setting at ESXi 6.5 virtual machine.  For Guest OS family, I select Windows, for Guest OS version, I select Microsoft Windows 10 (64-bit).  Then I click Next.  I have only one datastore, so that is displayed and automatically selected.  It has a capacity of 292.5GB, 291.55GB free, the type is VMFS5, Thin provisioning is set to Supported and Access is set to Single.  I click Next taking me to the Customize settings panel.  I leave all the Virtual Hardware settings at their defaults, except for Video Card which I change from Specify custom settings to Auto-detect settings.  I don't enter/change any VM Options.  Click Next.  This takes me to the Ready to complete panel.  I click Finish.

 

Then I get a VM config error message:  The VM configuration was rejected.  Please see browser Console.  The browser console states "Failed - The operation is not allowed in the current state."

 

When I Google this, I find a few YouTube videos with titles like "Installing Windows 10 under ESXi," but when I watch these videos, they are all running ESXi under vSphere, not under Workstation 12, and the browser interface looks completely different from what I see on my machine.  Also, what does "current state" refer to?  The instance of ESXi?  The instance of the VM I'm trying to create?  The datastore?  What state is whatever-the-error-message-is-referring-to in and what state should it be in?  I wish it would give more complete messages, like the X is in state Y and it needs to be in state Z.

Nested ESXi

$
0
0

Hello guys,

 

I am trying to install a nested ESXi on hyper-v server. is it possible to do that?.

if anyone did it kindly send me the steps and the requirements.

actually i would like to install the ESXi on hyper-v server 2012.

 

Thank you in advance:)

Nested vm in ESXi in VM Player

$
0
0

Hi, I am new to vm and I am trying to set up a nested system on my pc to test things out. I have EXSI 6.5 nested within VM ware Player. The problem is that I cant ping the vms in esxi from the host (my pc). I am running Mint 18.3 on my pc.

Nested Hyper-V not working EXSi 6.0 U2

$
0
0

Hi all,

 

I am using a Dell PowerEdge 1950 with dual Xeon Quad Core 5450 and 32Gigs of RAM. I was trying to set up an MCSA lab in EXSi.

 

When I tried to install Hyper-V role in Server 2016 I was getting the following error:

 

 

I tried different methods to fix this issue like adding, several additional lines to the vmx file and restarting but still, I am stuck here.

 

I could find different forums where people were able to work but I fail to do so. Also after adding lines and changing Virtualization to "Hardware, Software MMU", the VM says Intel EPT is not supported by the host.

 

Could someone please help me out.

 

Thanks in advance.

VMWare 12 Workstation + QEMU Android Emulator = terrible slowpoke

$
0
0

Hi,

 

I am trying to make a demo app for Android in VS2017 on the following machine. CPU - i7-3840QM, 16GB DDR3 Ram, 512Gb SSD. VS is installed in virtual machine (Win2008R2 in VMWare Workstation 12). I have to wait up to hours till appearance of my Android app in Qemu. During all that time I see nothing but this picture in the guest OS Task Manager. How can I make it work faster?


ESXi Guest OS (VMWareworkstation pro over Win 2K12 R2)Popping an Error: This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible. This host does not support Intel VT-x.

$
0
0

Hello Friends,

 

Host Machine Configuration:

Cisco UCS C220M4

2 Intel Xeons (10 Core)

128 Gb Memory (16Gb * 4)

ESXi 6.5 (Essentials License)

 

Guest OS:

Windows Server 2012 R2 (Installed with VMWare Workstation Pro 12)

 

GNS3 VM OVA is sucessfully imported to VMWare Workstation But when i am trying to power on the GNS3 VM it is popping me this error "This virtual machine is configured for 64-bit guest operating systems. However, 64-bit operation is not possible.  This host does not support Intel VT-x."

 

I Checked the Guest OS settings at ESXi and as well as VMWare Workstation Pro. I found that both are enabled with Intel VT-X

 

Is n't it allowed, running a Hypervisor over Guest OS.

 

Please help me

Can I run VMware Workstation inside a Horizon VDI desktop?

$
0
0

Can I run VMware Workstation inside a Horizon VDI desktop? I have users that are used to having VMware Workstation on their physical PCs, and we wish to move them onto Horizon VDI but yet make the same software available to them.

Nested ESXi VMs always on 100 % CPU

$
0
0

Hello,

 

Regarding power consumption I would like to run a nested ESXi in Hyper-V on a Windows 10 computer.

 

This computer has the following configuration :

 

Hardware

28 GB RAM for the whole computer

240 GB SSD as hard disk

Intel VT and VT-x enabled

 

Software

Windows 10 1709

Windows Defender disabled (thought that it was the problem but it didn't solve), no antivirus installed

Hyper-V role enabled

 

Hyper-V VM

One ESXi 6.0 Generation 1 Hyper-V VM with 2 processors and 16 GB RAM. This VM was created  with Legacy Network Adapter Net-Tulip driver imported in ESXi ISO

 

 

Nested ESXi hosted VM

In the ESXi I created a Windows 2016 Server VM with 2 processors 4 GB memory and 40 GB Hard disk.

When I booted for installation, it took approximately 8 hours to load the GUI for Windows installation :-s From this step the installation was so quick as a normal computer installation.

After installation, it takes approximatley 4 hours to boot :-s, after this, GUI seems to work correctly. I didn't show during installation, but before  launching GUI, the VM has 100% CPU consummed regarding in the Esxi performance graph :-s

 

Is there a way to shoot this trouble ?

Nested ESXi 6.7 poor network performances on 10G network

$
0
0

Hello,

 

i'm trying to setup a nested lab on 2 physical host with ESXi 6.7 U1 installed. I've configured DVS and a dpg dedicated to Nested ESXi hosts.

 

To enable MAC learning for the specific dpg i've followed (thanks William):

https://www.virtuallyghetto.com/2018/04/native-mac-learning-in-vsphere-6-7-removes-the-need-for-promiscuous-mode-for-nes…

 

Checking if it's enabled:

PS C:\Users\Administrator.LAB> Get-MacLearn -DVPortgroupName @("vds01 - vESXi-Trunk")

 

 

 

 

DVPortgroup            : vds01 - vESXi-Trunk

MacLearning            : True

NewAllowPromiscuous    : False

NewForgedTransmits     : True

NewMacChanges          : False

Limit                  : 4096

LimitPolicy            : DROP

LegacyAllowPromiscuous : True

LegacyForgedTransmits  : True

LegacyMacChanges       : False

Seems good.

 

But if i try to test network performances (first on the same physical host) i see quite poor results:

 

iperf client:

[root@m-esxi01:/usr/lib/vmware/vsan/bin] ./iperf3  -i -t300 -c 172.28.101.2 -fm

Connecting to host 172.28.101.2, port 5201

[  4] local 172.28.101.1 port 59316 connected to 172.28.101.2 port 5201

iperf3: getsockopt - Function not implemented

[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd

[  4]   0.00-10.00  sec  2.02 GBytes  1738 Mbits/sec    0   0.00 Bytes      

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

[ ID] Interval           Transfer     Bandwidth       Retr

[  4]   0.00-10.00  sec  2.02 GBytes  1738 Mbits/sec    0             sender

[  4]   0.00-10.00  sec  2.02 GBytes  1738 Mbits/sec                  receiver

 

 

iperf Done.

[root@m-esxi01:/usr/lib/vmware/vsan/bin]

 

iperf server:

[root@m-esxi02:/usr/lib/vmware/vsan/bin] ./iperf3.copy -s

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

Server listening on 5201

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

Accepted connection from 172.28.101.1, port 44099

[  5] local 172.28.101.2 port 5201 connected to 172.28.101.1 port 59316

iperf3: getsockopt - Function not implemented

[ ID] Interval           Transfer     Bandwidth

[  5]   0.00-1.00   sec   232 MBytes  1.94 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   1.00-2.00   sec   183 MBytes  1.54 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   2.00-3.00   sec   208 MBytes  1.75 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   3.00-4.00   sec   212 MBytes  1.78 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   4.00-5.00   sec   198 MBytes  1.66 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   5.00-6.00   sec   203 MBytes  1.71 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   6.00-7.00   sec   199 MBytes  1.67 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   7.00-8.00   sec   200 MBytes  1.67 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   8.00-9.00   sec   217 MBytes  1.82 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]   9.00-10.00  sec   197 MBytes  1.65 Gbits/sec                 

iperf3: getsockopt - Function not implemented

[  5]  10.00-10.10  sec  23.0 MBytes  1.92 Gbits/sec                 

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

[ ID] Interval           Transfer     Bandwidth

[  5]   0.00-10.10  sec  0.00 Bytes  0.00 bits/sec                  sender

[  5]   0.00-10.10  sec  2.02 GBytes  1.72 Gbits/sec                  receiver

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

 

Is that a "normal" results for nested environments? If not, what can i check to improve performances?

 

Thanks, kind regards,

Nicola

Running a VirtualBox VM on ESXi

$
0
0

For an inter-organizational project, one of our users needs to run a VirtualBox VM.

 

Since he can't run it on his laptop because Hyper-V is enabled, he asked if he could run it inside a VM on our vSphere platform.

We could run the VM directly in vSphere but it doesn't need outside network access, only vm-to-host connectivity (host-only network) and has a fixed ip address so that would mean giving it network access and changing the IP address which I'd rather not do.

But running VirtualBox inside an ESXi VM requires to enable "Expose hardware assisted virtualization to the guest OS" for that VM.

 

If we enable this setting on that VM, are there any implications for the rest of our environment?

We will do it in a non-production cluster for now but I'd rather know if there are risks or known issues.

 

Thanks,

Can anyone suggest a link to a step by step guide to creating a nested ESX server environment for lab use using VMware workstation 9 or 10?

$
0
0

I am trying to create a lab and have workstation 10 installed on a approved hardware configuration .  I have created 2 ESX servers but can only log into them one at a time with Vcenter and using a direct login to their IP address.  Do you have to create a vcenter server first before you can see them nested?   Not sure if I have them created properly.  If anyone has a step by step guide on how to configure, it would be much appreciated.   Thanks

 

Nested vSphere under QEMU/KVM unable to run VMs or Manage hosts

$
0
0

Dear community,

 

I am having troubles setting up a nested vSphere 6.7 environment under QEMU/KVM.

 

I created my first vESXi VM where I mount an NFS share and deploy my vCenter to it. The vCenter deployment on the first vESXi host works fine and I am able to add the first ESXi host under the the nested vCenter (vCenter runs on that very host). I use vmxnet3 for the first vESXi host. If I switch to e1000 for the first vESXi host, the vCenter deployment fails.


I created another vESXi VM but I am unable to add this vESXi host under the vCenter. The task gets stuck on 80% and packet capture shows a lot of re-transmissions. If I switch to e1000 for the second vESXi host, I am still not able to add it under the vCenter unless on the vCenter VM I disable LRO/LSO.

 

This helps me manage the second vESXi host under the vCenter. I am able to create vDS, PortGroups. etc but unable to run any VM on the second vESXi host because of e1000 performance probably. I see the following log when I try to deploy a VM on the second vESX host. Same error in the first vESXi's log made me try to use vmxnet3 to make the vCenter deployment work but vmxnet3 won't let me manage it under the vCenter.

 

[0x4180250e84e2]HelperQueueFunc@vmkernel#nover+0x30f stack: 0x43097b0e4768, 0x43097b0e4758, 0x43097b0

2019-03-20T16:14:54.386Z cpu3:2097552)0x451a0889bfe0:[0x4180253081f2]CpuSched_StartWorld@vmkernel#nover+0x77 stack: 0x0, 0x0, 0x0, 0x0, 0x0

2019-03-20T16:14:54.774Z cpu0:2100411)<4>e1000: vmnic0: e1000_phy_read_status: Error reading PHY register

2019-03-20T16:14:54.774Z cpu0:2100411)<6>e1000: vmnic0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

2019-03-20T16:15:04.332Z cpu3:2097552)IntrCookie: 2949: 0xa took 1000000us to sync

2019-03-20T16:15:04.405Z cpu3:2097208)NetqueueBal: 5030: vmnic0: device Up notification, reset logical space needed

2019-03-20T16:15:04.405Z cpu3:2097208)NetPort: 1580: disabled port 0x2000002

2019-03-20T16:15:04.405Z cpu2:2097714)NetSched: 654: vmnic0-0-tx: worldID = 2097714 exits

2019-03-20T16:15:04.405Z cpu3:2097208)Uplink: 11680: enabled port 0x2000002 with mac 0c:67:93:0d:6f:00

 

Any help would be very much appreciated.


not_working_nested_virtualization_esxi5.5_u3

$
0
0

Hello!

Help to understand why the nested virtualization on esxi 5.5 used on the dell poweredge r830 server does not work. Made the following points:

- addes to the file /etc/VMware/config

vhv.enabled = “TRUE”

hypervisor.cpuid.v0 = "FALSE"

 

-in the settings of the virtual machine added a parameter  "option/general -> hypervisor.cpuid.v0 value FALSE.

 

-in the settings of the virtual machine changed the parameter CPU/MMU Virtualization <- "Use intel VT-x/AMD for instruction set virtualization and intel EPT/AMD RVI for MMU virtualization"

 

the result - not working

 

 

Nested FT in vSphere 6.7

$
0
0

Hi All

 

When I try to enable FT in my vSphere 6.7 nested lab, I received the following error: "Virtual Machine Fault Tolerance state changed. vCenter disabled Fault Tolerance because the Secondary VM could not be powered on"

 

The secondary machine was created, but still disabled. Is it possible to test this feature in this environment?

 

Kind Regards.

 

Valter Junior

No connection from VM to outside and viceversa spite are connected to the same vswitch

$
0
0

Hello All,

 

I have a small home lab on my laptop and I have few problems on it. I'd like to fix it to learn the product.

 

ESXi 6.7 is installed VMware Workstatation for Linux (My dist is Kubuntu 18.04 with no firewall). And virtual machines are inside esxi.

I've configured networking, and I can ping outside from esxi. I can reach my lan, and getting internet.

For the other hand, virtual machines can ping esxi server but cant reach lan or internet connection.

 

In conclusion:

 

Reach Virtual Machines <- ESXi -> Reach Physical Computers & Internet

 

Virtual Machines  ----------> Can't reach Physical Computers & Internet

From Physical Computers & Internet ----------> Can't ping Virtual Machines

 

Virtual machines can ping each other.

 

I've read a lot, I've done several things but nothing works. :S

 

All my machines are in the same network: 192.168.0.0/24

 

Also, from my understanding, all my vm and vmkernel are attach to the same vswitch.

 

Does anybody know how to fix this problem?

Sorry for my poor English

 

Regards,

 

--

Galois

A question about nested virtualization.

$
0
0

Hello,

Nested virtualization in VMware working without any problem? Any experiences?

For example, I install a Windows OS in VMware ESXi or Workstation and inside this OS install a tool like VirtualBox and install another OS.

 

Thanks.

Install ESXi 6.5 or 6.7 on Hyper-v Windows SRV 2016 VM

$
0
0

Hello,

 

I am trying to install ESXi 6.5 and later on Hyper-V Host. I have installed ESXi 6.0, old version and it works fine after doing:

1. Enable nested virtualization on VM

2. Using Legacy Net Adapter

3. adding net tulip vib to ESXi image iso

 

When trying to update ESXi to 6.5 or installing a fresh one, it fails, because no net adapter found.

 

Did anybody installed ESXi 6.5 and later on Hyper-V VM? Any suggestion?

Viewing all 1521 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>