Quantcast
Channel: VMware Communities : All Content - ESXi
Viewing all 8313 articles
Browse latest View live

Using Auto-Deploy as part of Vulnerability Management

$
0
0

Our security team are all over us around patching of ESXi 6.x hosts. We are a small team (2 people) with 45 ESXi hosts to manage. Worse still, some clusters only have 1 hosts due to guest software licensing restrictions (oracle!). Regardless, we have to patch the hosts. Now, we could use the 'normal' methodology:

 

  • Use VUM to evacuate VMs, patch and reboot hosts. If issues, roll back patches
  • Repeat

 

So this seems time consuming to me for 2 reasons:

  • time taken need to reboot
  • time taken to back out patch if need be

 

I guess I could script up the whole thing using VCO but again, time I don't have ....

 

So, one other technology that caught my eye was auto-deploy. I was thinking it might be possible to do the following:

 

  • patch an offline image with patches
  • auto-deploy image to ESXi hosts
  • Rollback simply boot from old image

 

Anyone doing something similar or see any blockers here?

 


Alternate Video Drivers?

$
0
0

Hello. Some but not all of our users are experiencing screen flickering issues in remote desktop sessions. I'd like to try a different or updated video driver if possible. Are there alternative drivers available for our configuration?

 

 

 

ESXi 6.0.0 3620759

 

VMware Tools 10.0.6 build 3560309

Windows Server 2008 R2

Microsoft Remote Desktop connections

Windows 7 64 bit clients

 

VMWare SVGA 3D driver installed

 

128MB RAM allocated video card

 

Options, General, Disable Acceleration unchecked

 

Thank you!

vSphere could not connect to host

$
0
0

ESXi.png

That is my error when i connect to ESXi, can you help me fix it? Thanks so much

On VM side, what's the difference between 1. rebooting a vm and 2. shutting down a vm and power it on shortly after?

$
0
0

In the initial startup of a VM, there's some initialization going on before it fully powers on. I assume during a vm reboot, such things do not take place, right? I'm also curious if there are any other things (like CoW, mem cache, vcpu allocation) that are different between the two scenarios.

 

I'm hoping with this post someone can shed more light on this. Thank you

How to migrate Vcenter from ESXi 6.0 to ESXi 6.5?

$
0
0

Hello,

 

I have problem when planning to migrate Vcenter which now located at ESXi 6.0 server to ESXi 6.5 server.

 

As I experience when migrate others VM, it require to turn off first, so how can I do migrate for VCenter if require to turn off?

 

Thanks in advance!

vSphere client

$
0
0

Hi

 

Where can I find vSphere client for Esxi 6.5 ?

Virtualizzare windows server 2003 small business r2

$
0
0

Buongiorno,

 

non riesco a virtualizzare windows server small business 2003 r2 in un server vmware esxi 6.7.

Ho provato in mille modi, ma mi dà errore continuamente!

 

Qualcuno potrebbe darmi una mano?

ESXi 6.0 U2, Passthrough Video Card, Hang/Freeze

$
0
0

Hi,

 

I'm trying to build an ESXi home white box for gaming, but one of my requirement is to have a board with IPMI KVM for remote administration.

 

Right now i have this setup:

 

MB: Asrock Rack EPC602D8A

 

CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz

 

RAM: 20GB

3 x 4GB DDR3 PC3-10600 (Kingston 99U5471-020.A00LF)

1 x 8GB DDR3 PC3-10600 (Kingston 99U5471-052.A00LF)

 

RAID CARD: LSI MegaRaid 8888ELP

 

GPUs TRIED: NVIDIA GTX480 and AMD Radeon HD7800

 

ESXi: 6.0 U2

 

The problem i'm having is that when i start my VM that has the GPU with passthrough causes the ESXi to complete hang.

 

Anyone as seen this problem before? Any suggestion? Does anyone knows of any motherboard with IPMI (AMD or Intel) that would work?


ReconfigVM() fails with error message : Invalid configuration for device '1'

$
0
0

Source virtual machine is replicated from source VCenter to destination VCenter.

Both VCenters are the same version - either 5.5 or 6.5

During replication process we get VM configuration from source VCenter and transfer that VM configuration to destination side, where ReconfigVM() is called.

Everything works fine, we can replicate VM multiple times... until we change configuration for source VM

Let's say we add one more network adapter

Next time we do replication - ReconfigVM() called on destination side for destination VCenter fails with error message : Invalid configuration for device '1'

 

Did anyone see that problem ?

Thank you.

 

 

***********************************************************************

Here is original configuration for source VM

***********************************************************************

<?xml version="1.0" encoding="utf-8" ?>

<VirtualMachineConfigSpec>

  <alternateGuestName />

  <annotation />

<bootOptions>

  <bootDelay>0</bootDelay>

  <enterBIOSSetup>false</enterBIOSSetup>

  </bootOptions>

  <changeVersion>2018-05-22T21:57:45.599698Z</changeVersion>

<cpuAllocation>

  <expandableReservation>false</expandableReservation>

  <limit>-1</limit>

  <reservation>0</reservation>

  </cpuAllocation>

<files>

  <logDirectory>[dc2-west-datastore4] VK_VM_LL_2/</logDirectory>

  <snapshotDirectory>[dc2-west-datastore4] VK_VM_LL_2/</snapshotDirectory>

  <suspendDirectory>[dc2-west-datastore4] VK_VM_LL_2/</suspendDirectory>

  <vmPathName>[dc2-west-datastore4] VK_VM_LL_2/VK_VM_LL_2.vmx</vmPathName>

  </files>

<flags>

  <disableAcceleration>false</disableAcceleration>

  <diskUuidEnabled>false</diskUuidEnabled>

  <enableLogging>true</enableLogging>

  <htSharing>any</htSharing>

  <monitorType>release</monitorType>

  <runWithDebugInfo>false</runWithDebugInfo>

  <snapshotDisabled>false</snapshotDisabled>

  <snapshotLocked>false</snapshotLocked>

  <snapshotPowerOffBehavior>powerOff</snapshotPowerOffBehavior>

  <useToe>false</useToe>

  <virtualExecUsage>hvAuto</virtualExecUsage>

  <virtualMmuUsage>automatic</virtualMmuUsage>

  </flags>

  <guestId>rhel6_64Guest</guestId>

  <locationId>564d2520-c30d-530a-cb46-143f4e00b299</locationId>

<memoryAllocation>

  <expandableReservation>false</expandableReservation>

  <limit>-1</limit>

  <overheadLimit>45</overheadLimit>

  <reservation>0</reservation>

<shares>

  <shares>20480</shares>

  </shares>

  </memoryAllocation>

  <memoryMB>2048</memoryMB>

<VirtualDevices>

<VirtualDevice>

  <key>4000</key>

  <controllerKey>100</controllerKey>

  <unitNumber>7</unitNumber>

  <deviceType>2</deviceType>

  <addressType>assigned</addressType>

  <macAddress>00:50:56:a2:1b:02</macAddress>

  <wakeOnLanEnabled>true</wakeOnLanEnabled>

  <ethType>5</ethType>

<backing>

  <ethBackingType>1</ethBackingType>

  <deviceName>VM Internal</deviceName>

  <useAutoDetect>false</useAutoDetect>

  </backing>

<connectable>

  <allowGuestControl>true</allowGuestControl>

  <connected>true</connected>

  <startConnected>true</startConnected>

  <status>ok</status>

  </connectable>

<deviceInfo>

  <label>Network adapter 1</label>

  <summary>VM Internal</summary>

  </deviceInfo>

  </VirtualDevice>

  </VirtualDevices>

  <name>VK_VM_LL_2</name>

  <npivWorldWideNameType />

  <numCPU>1</numCPU>

<tools>

  <afterPowerOn>true</afterPowerOn>

  <afterResume>true</afterResume>

  <beforeGuestShutdown>true</beforeGuestShutdown>

  <beforeGuestStandby>true</beforeGuestStandby>

  <syncTimeWithHost>false</syncTimeWithHost>

  <toolsUpgradePolicy>manual</toolsUpgradePolicy>

  <toolsVersion>0</toolsVersion>

</tools>

<uuid>4222e019-3615-f170-85a2-1b35060026c4</uuid>

<version>vmx-08</version>

</VirtualMachineConfigSpec>

 

 

 

***********************************************************************

Here is MODIFIED configuration for source VM

***********************************************************************

<?xml version="1.0" encoding="utf-8" ?>

<VirtualMachineConfigSpec>

  <alternateGuestName />

  <annotation />

<bootOptions>

  <bootDelay>0</bootDelay>

  <enterBIOSSetup>false</enterBIOSSetup>

  </bootOptions>

  <changeVersion>2018-05-23T13:37:15.062934Z</changeVersion>

<cpuAllocation>

  <expandableReservation>false</expandableReservation>

  <limit>-1</limit>

  <reservation>0</reservation>

  </cpuAllocation>

<files>

  <logDirectory>[dc2-west-datastore4] VK_VM_LL_2/</logDirectory>

  <snapshotDirectory>[dc2-west-datastore4] VK_VM_LL_2/</snapshotDirectory>

  <suspendDirectory>[dc2-west-datastore4] VK_VM_LL_2/</suspendDirectory>

  <vmPathName>[dc2-west-datastore4] VK_VM_LL_2/VK_VM_LL_2.vmx</vmPathName>

  </files>

<flags>

  <disableAcceleration>false</disableAcceleration>

  <diskUuidEnabled>false</diskUuidEnabled>

  <enableLogging>true</enableLogging>

  <htSharing>any</htSharing>

  <monitorType>release</monitorType>

  <runWithDebugInfo>false</runWithDebugInfo>

  <snapshotDisabled>false</snapshotDisabled>

  <snapshotLocked>false</snapshotLocked>

  <snapshotPowerOffBehavior>powerOff</snapshotPowerOffBehavior>

  <useToe>false</useToe>

  <virtualExecUsage>hvAuto</virtualExecUsage>

  <virtualMmuUsage>automatic</virtualMmuUsage>

  </flags>

  <guestId>rhel6_64Guest</guestId>

  <locationId>564d2520-c30d-530a-cb46-143f4e00b299</locationId>

<memoryAllocation>

  <expandableReservation>false</expandableReservation>

  <limit>-1</limit>

  <overheadLimit>135</overheadLimit>

  <reservation>0</reservation>

<shares>

  <shares>20480</shares>

  </shares>

  </memoryAllocation>

  <memoryMB>2048</memoryMB>

<VirtualDevices>

<VirtualDevice>

  <key>4000</key>

  <controllerKey>100</controllerKey>

  <unitNumber>7</unitNumber>

  <deviceType>2</deviceType>

  <addressType>assigned</addressType>

  <macAddress>00:50:56:a2:1b:02</macAddress>

  <wakeOnLanEnabled>true</wakeOnLanEnabled>

  <ethType>5</ethType>

<backing>

  <ethBackingType>1</ethBackingType>

  <deviceName>VM Internal</deviceName>

  <useAutoDetect>false</useAutoDetect>

  </backing>

<connectable>

  <allowGuestControl>true</allowGuestControl>

  <connected>true</connected>

  <startConnected>true</startConnected>

  <status>ok</status>

  </connectable>

<deviceInfo>

  <label>Network adapter 1</label>

  <summary>VM Internal</summary>

  </deviceInfo>

  </VirtualDevice>

<VirtualDevice>

  <key>4001</key>

  <controllerKey>100</controllerKey>

  <unitNumber>8</unitNumber>

  <deviceType>2</deviceType>

  <addressType>assigned</addressType>

  <macAddress>00:50:56:a2:41:03</macAddress>

  <wakeOnLanEnabled>true</wakeOnLanEnabled>

  <ethType>5</ethType>

<backing>

  <ethBackingType>1</ethBackingType>

  <deviceName>VM Internal</deviceName>

  <useAutoDetect>false</useAutoDetect>

  </backing>

<connectable>

  <allowGuestControl>true</allowGuestControl>

  <connected>true</connected>

  <startConnected>true</startConnected>

  <status>ok</status>

  </connectable>

<deviceInfo>

  <label>Network adapter 2</label>

  <summary>VM Internal</summary>

  </deviceInfo>

  </VirtualDevice>

  </VirtualDevices>

  <name>VK_VM_LL_2</name>

  <npivWorldWideNameType />

  <numCPU>1</numCPU>

<tools>

  <afterPowerOn>true</afterPowerOn>

  <afterResume>true</afterResume>

  <beforeGuestShutdown>true</beforeGuestShutdown>

  <beforeGuestStandby>true</beforeGuestStandby>

  <syncTimeWithHost>false</syncTimeWithHost>

  <toolsUpgradePolicy>manual</toolsUpgradePolicy>

  <toolsVersion>0</toolsVersion>

</tools>

<uuid>4222e019-3615-f170-85a2-1b35060026c4</uuid>

<version>vmx-08</version>

</VirtualMachineConfigSpec>

Cannot add Host to dvSwitch

$
0
0

Hello gyus so, i have this problem i cannot add host or host to dv switch could anyone tell me the steps to see if i making something wrong?

 

i licence is enterprise unlimitided cpus

 

thano you in advanced

How do I disable IPv6 in ESXi 6.5?

$
0
0

I want to disable IPv6 on a host in ESXI 6.5.  According to this page, I have to navigate to the Host, go to the Configure tab, expand Networking, and select Advanced.  However, when I navigate to the Host, there is no Configure tab anywhere:

wmware.PNG

 

I found another page that says I have to navigate to the Host, go to the Manage tab, click Networking, and select Advanced.  However, there is no Networking on the Manage tab:

wmware2.PNG

In that Advanced settings section, none of those Keys are related to enabling/disabling IPv6.

 

I did find the Default TCP/IP stack screen under Networking:

wmware3.PNG

But when I click on Edit settings, it shows this popup, none of which lets me disable IPv6:

wmware4.PNG

How do I disable IPv6 in ESXi 6.5?

WARNING: NetDVS: 567: portAlias is NULL

$
0
0

Any idea what this means

 

 

WARNING: NetDVS: 567: portAlias is NULL

 

it comes up in the checks we do daily sometimes, but there isn't much information on this. From what I can find this is related to a Distrubted switch but we aren't using one in our enviornment yet. That doesn't rule out that someone created one and deleted it, but right now there isn't one in vcenter.

Need Help! LINT1/NMI motherboard unmaskable interrupt

$
0
0

Hello,

 

after restarting our server today, we got the following error with VMware.

Any ideas what could be wrong?

 

IMG_0221.JPG

Iperf on fresh ESXi 6.7

$
0
0

Hi,

 

I've been working with a new server, learning ESXi.  My first build was ESXi 6.5.

I was using iperf to test my network setup after following this guide: https://www.virtuallyghetto.com/2016/03/quick-tip-iperf-now-available-on-esxi.html

https://www.virtuallyghetto.com/2016/03/quick-tip-iperf-now-available-on-esxi.html

 

It was simple:

cp /usr/lib/vmware/vsan/bin/iperf /usr/lib/vmware/vsan/bin/iperf.copy

/usr/lib/vmware/vsan/bin/iperf.copy -s -B [IPERF-SERVER-IP]

 

Then I upgraded to 6.7.  I did not try iperf again using this method.  So, unfortunately, I don't know if the 'upgrade' preserved this function from 6.5.

 

I recently formatted and did a fresh install from ESXi 6.7 ISO.  Now, I want to iperf again... there are no traces of iperf on a fresh ESXi 6.7 install (that I can find).  But, I'm a CLI noob for all things Unix/Linux/FreeBSD/etc...

 

I did find a directory /usr/lib/vmware/vsan/perfsvc

But, I have no idea what it means or how it might be leveraged.

 

Appreciate any help here.

 

Br,

Mike

ESXi 6.0.0 update 2 (free) upgrade to 6.5 update 2 - vmfs not found on USB

$
0
0

This is just for my home lab and I'm running ESXi off a USB stick. All datastores are on the NAS and there is no internal storage in the server. I previously upgraded using the ISO method from 5.5 to 6.0u1 without issue. However now when I put the 6.5u2 DVD in, it starts up and successfully loads 6.5.0, but it doesn't detect my USB drive as containing a VMFS partition. It just shows it as a device which is available for install. If I select "details", one of the attributes says "ESXi 6.0.0 detected", but when I proceed, it only gives me the option to install, not upgrade.

 

Any ideas what could be causing this and how to resolve it?


Vsan space usage bug

$
0
0

hello.

I have A VSAN Environment and with this problem the size of the server is 4 tera but in the server it self it is only 60 gb .

I wonder if someone  know this issue .and if it's realy take the space or is it just a bug

UserVars.SuppressCoredumpWarning not working

$
0
0

Version: ESX 6.5 5969303 and 6765664

 

I do not have core dumps configured and I do not want to do this at this stage.

 

I have set the value UserVars.SuppressCoredumpWarning to 1 and this makes the error go away but when the host is rebooted the error returns even though the UserVars.SuppressCoredumpWarning value is still set to 1.

 

I have 4 hosts and they all have the exact same behaviour.

 

Can anyone assist here?  Is this a bug that needs fixing?

 

Thanks,

Ben

Who is eating my CPU?

$
0
0

Everyday at some given times I see a peack in the use of CPU in a vSphere 5.5 infrastructure based on 4 ESXi 5.5 servers.

I am obviously investigating VM activities but up to now I did not discover anything really relevant.

In the meantime, how can I detect any possible maintenance or housekeeping scheduled activity in the ESXi hosts suitable to cause the CPU peack?

Regards

marius

Hardware health monitoring via command line on ESXi 5.x and later

$
0
0

Is there some command that I can run on the command line on an ESXi server (such as vim-cmd or esxcli) that will tell me the health status of the server? I don't need detailed information. "Healthy" or "Not Healthy" are good enough. If my script detects "Not Healthy", I'll manually take a closer look through the vSphere client or the Web GUI.

 

I'm running the HP custom image on the HP servers. I have the generic image on a few old Dell servers that will be replaced soon, so I'm not too concerned about those.

 

There is no vCenter in the environment. I have a mix of versions of ESXi (5.0, 5.5, 6.0, 6.5) due to the fact that some of the older hardware won't run with newer versions of ESXi. (The main problem being that the RAID isn't recognized.)

 

Thanks.

Threadripper ESXi 6.7 GPU and USB passthrough, experience progress and problems

$
0
0

Hello all-- thought I'd pass through (pun intended!) my experience so far getting up a multiheaded ESXi box on an AMD Threadripper platform.

 

Hardware:

 

ASRock Professional Gaming X399 motherboard

AMD Threadripper 1950x

64GB DDR4 RAM

1TB nvme m.2 drive

NVidia 1080 FE

 

Software:

 

ESXi 6.7

Windows 10 64 bit client

 

Steps that have worked so far:

I can get a vm with GPU passthrough working. In order to do this, I had to:

 

Upgrade the BIOS to the beta version (AGESA update)-- otherwise VM won't power up.

The mystical hypervisor.cpuid in the vm configuration, to avoid error 43 in the NVIDIA drivers in windows.

Edit passthru.map (I'm using d3d0, not bridge; others have used link).(On my former build not doing this yields complete host hang when restarting a VM.)

Turned on all IOMMU options, ACP , SVM in BIOS.

VM must use BIOS, otherwise hangs at Windows loading if USB passthrough is enabled.

 

The board has 3 USB controllers that I can see.  Each appears associated with two other devices, a "nonessential device" and a platform security processor in addition to the controller itself.

 

I can't get the aquantia 10GB ethernet to pass through, not that I've tried very hard.  It seems to get stuck at "enabled but needs to reboot" despite infinite reboots.

 

Current problem:

 

I can pass through a USB controller and it works fine.  If I then shut down or reboot the VM, it hangs on windows logo when starting again.  From a cold boot, no problems.

 

Things that haven't worked:

 

Changing PCIE switch mode in BIOS  to Gen 2 instead of Auto.

 

Idea: Perhaps the USB controllers on this board  (AMD Family 17H USB 3.0 controller?) also need to use d3d0 rebooting? Seems strange, but the bug is reminiscent of what the consumer NVIDIA boards do when not switched to bridge mode.

 

Hope my experience has been helpful to others and any advice would be much appreciated! Thanks "LT"

Viewing all 8313 articles
Browse latest View live


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