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

create Pod on ESXi 7 without TKGI?

$
0
0

i'm a little bit confused about the vSphere 7 Pod after reading this post.

 

since the vSphere Pod is natively built inside the ESXi, is it doable to create Pod(CRX) without using the TKGI(enterprise PKS)? or it is supposed to be created via VMware kubernetes cluster?

 

sorry about this dumb question, just thinking about building a lab to test standalone Pods on vSphere 7 if possible...

I guess I has misunderstood the operation of vSphere Pod?


PowerCLI - Matching a Disk Number OR SCSI ID to a Windows Drive Letter

$
0
0

I extracted info from my VCentre VCDBs because i am more comfortable using SQL than PowerCLI.

 

I have a list of servers, with a Disk Number, SCSI ID and Allocated Size.
SERVER0001 - DISK NUMBER 1 - SCSI1:0 - 100GB

 

I also have a list of servers, with Path and Sizes from the VPX_GUEST_DISK table.
SERVER0001 - C: - 100GB

 

I need to bridge the gap between a Disk Number OR SCSI ID -  and a Windows Drive Letter, and cannot do it with disk size alone.

 

I found this script, which works for some of my servers, But the function only takes a single parameter at a time,

could someone please edit this - so that it will (a) accept a list of parameters, from CSV or Txt

and (b) Output the result to CSV.

 

##Script Below## - Thanks

 

 

Function Get-VMDiskMap {

  [Cmdletbinding()]

  param([Parameter(Position=0,Mandatory=$true,ValueFromPipeline=$true)][string]$VM)

  begin {

  }

  process {

  if ($VM) {

  $VmView = Get-View -ViewType VirtualMachine -Filter @{"Name" = $VM}  

  foreach ($VirtualSCSIController in ($VMView.Config.Hardware.Device | where {$_.DeviceInfo.Label -match "SCSI Controller"})) {

  foreach ($VirtualDiskDevice in ($VMView.Config.Hardware.Device | where {$_.ControllerKey -eq $VirtualSCSIController.Key})) {

  $VirtualDisk = "" | Select VM,SCSIController, DiskName, SCSI_Id, DiskFile,  DiskSize, WindowsDisks

  $VirtualDisk.VM = $VM

  $VirtualDisk.SCSIController = $VirtualSCSIController.DeviceInfo.Label

  $VirtualDisk.DiskName = $VirtualDiskDevice.DeviceInfo.Label

  $VirtualDisk.SCSI_Id = "$($VirtualSCSIController.BusNumber) : $($VirtualDiskDevice.UnitNumber)"

  $VirtualDisk.DiskFile = $VirtualDiskDevice.Backing.FileName

  $VirtualDisk.DiskSize = $VirtualDiskDevice.CapacityInKB * 1KB / 1GB

 

 

  $LogicalDisks = @()

  # Look up path for this disk using WMI.

  $thisVirtualDisk = get-wmiobject -class "Win32_DiskDrive" -namespace "root\CIMV2" -computername $VM | where {$_.SCSIBus -eq $VirtualSCSIController.BusNumber -and $_.SCSITargetID -eq $VirtualDiskDevice.UnitNumber}

  # Look up partition using WMI.

  $Disk2Part = Get-WmiObject Win32_DiskDriveToDiskPartition -computername $VM | Where {$_.Antecedent -eq $thisVirtualDisk.__Path}

  foreach ($thisPartition in $Disk2Part) {

  #Look up logical drives for that partition using WMI.

  $Part2Log = Get-WmiObject -Class Win32_LogicalDiskToPartition -computername $VM | Where {$_.Antecedent -eq $thisPartition.Dependent}

  foreach ($thisLogical in $Part2Log) {

  if ($thisLogical.Dependent -match "[A-Z]:") {

  $LogicalDisks += $matches[0]

  }

  }

  }

 

 

  $VirtualDisk.WindowsDisks = $LogicalDisks

  Write-Output $VirtualDisk

  }

  }

  }

  }

  end {

  }

}

Licenza vmware essentials plus kit per 3 host

$
0
0

Buongiorno ho 3 server con ciascuno 2 socket, ho acquistato una licenza vmware essentials plus kit per 3 host (per 6 PCU)

Due server fanno parte di un cluster vmware quindi ho utilizzato parzialmente la licenza (solo 4 cpu)

Il terzo server non fa parte del cluster e' in un altro sito , posso utilizzare il rimanente della licenza per questo server ? (2 CPU)

 

grazie

Importare Windows Server Domain Controller da ESXI a VMWare Workstation

$
0
0

Buon giorno,

sto lavorando con un partner su due server virtuali: una macchina Windows Server 2019 che agisce da domain controller ed una macchina Windows Server 2019 sulla quale sarà installato Exchange 2019.

Entrambi i server virtuali sono già stati creati tramite ESXi e sono operativi.

Sono stati esportati allo scopo di permettermi di lavorare ad una parte della configurazione ed importarli su VMWare Workstation 14: le macchine virtuali sono state importate su VMWare Workstation.

Quando lancio il domain controller la macchina si avvia ma, quanto tento il login con le credenziali di amministratore di dominio mi da il seguente errore:

 

 

Le macchine fisiche che ospitano ESXi e VMWare Workstation sono, ovviamente, diverse e stanno in sedi e, quindi, reti diverse.

Se, in VmWare Workstation effettuo l'accesso come amministratore locale sul domain controller (<nome server>\administrator), riesco a fare login (in safe mode soltanto, non essendo il domain controller attivo).

Ho usato diverse configurazioni delle schede di rete sulle singole macchine virtuali (bridged, NAT, host-only), pensando potesse dipendere dalla configurazione della rete, ma non riesco comunque a fare login con le credenziali di amministratore del domain controller.

 

Come posso risolvere?

Grazie anticipatamente del supporto.

"javax.net.ssl.SSLHandshakeException" setting up ADFS in vSphere

$
0
0

Trying to setup ADFS, I'm getting:

Screen Shot 2020-07-03 at 09.20.01.png

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I switch to the non-secure versions and I still get the same error. I added the root certificate, the subCA cert and even the token signing from ADFS and none will work. Furthermore I added the root in https://<vCSA>/ui/app/admin/certificates not to mention that vCenter was already joined to AD. The trust should be there already. Using the Global Catalog endpoints didn't work either.

 

Components
ADFS2019
AD2016, 2019 (2019 DCs had a lot of issues so Windows Server 2016 servers were redeployed--most of them)
vCSA

7.0.0.10400 build 16386292

PKI
Root in vCenter's trusted rootsYes
Certs added in the setup process

Yes (rootCA, subCA and adfsTokenSigning)

CRLsAll online
AIAsAll onilne
OCSPOnline
Other

Tested Kerberos request of tickets with kinit and klist by SSHing to vCSA. Kerberos works fine.

Tested name resolution from vCSA SSH session. DNS is working fine. Added static mappings to /etc/hosts for all nameservers, hosts and related resources as precaution.

 

Any idea how to fix it?

Blue screen after conversion with VM converter stand alone 6.2

$
0
0

Using VM converter stand alone 6.2.
Converted Windows guest blue screens on startup:

Inaccessible Boot Disk

 

Most suggested solutions do not fix the blue screen: VMware Knowledge Base

  • Windows repair fails
  • Regedit fails
  • Change of Virtual Disk fails

 

Suggestions here also do not fix the blue screen: https://communities.vmware.com/thread/335073

 

This change did for me:

New Guest VM > EDIT Settings > SCSI Controller 0 > LSI Logic SAS

 

That was the type of SCSI controller of the source machine but VM converter 6.2 did not replicate that setting to the cloned VM, even using the Reconfigure VM option afterwards.

You cannot visit vcenter.testall.local right now because the website sent scrambled credentials that Google Chrome cannot process

$
0
0

Dear Friends ,

 

On vmware work station I had install vcenter 6.7 on windows 2012 r2.  Then I install root certificate on my desktop browser for vcenter 6.7 . 

FQDN: vcenter.testall.local

 

After couple of weeks later I removed vcenter and installed again with same ip and FQDN name (vcenter.testall.local) . Installation was successful . But now when I am trying to connect vcenter by using google chrome browser from my desktop . I am getting following error. I guess root certificate is creating issue . Not able to understand what need to be done now ?

 

chrom.jpg

"Your connection is not private

Attackers might be trying to steal your information from vcenter.testall.local (for example, passwords, messages, or credit cards). Learn more

NET::ERR_CERT_INVALID

 

vcenter.testall.local normally uses encryption to protect your information. When Google Chrome tried to connect to vcenter.testall.local this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be vcenter.testall.local, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Google Chrome stopped the connection before any data was exchanged.

You cannot visit vcenter.testall.local right now because the website sent scrambled credentials that Google Chrome cannot process. Network errors and attacks are usually temporary, so this page will probably work later."

vSphere 7 update profile failed by CLI

$
0
0

esxcli software profile update -p DEL-ESXi-700_15843807-A01 -d /vmfs/volume

s/ISO/updateFiles/VMware-VMvisor-Installer-7.0.0-15843807.x86_64-DellEMC_Customized-A01.zip --no-hardwa

re-warning

[InstallationError]

Failed to finish bootbank stage: ('/tmp/stagebootbank/imgdb.tgz', 'Error writing tar database: Should have base image when an addon exists.')

      cause = ('/tmp/stagebootbank/imgdb.tgz', 'Error writing tar database: Should have base image when an addon exists.')

 

I am trying to update ESXI profile but i got theses errors come out.

 

After google, i can not find any information to solve that.

 

Please help!


Maximum number of VM's with RDP connection in ESXi 6.7

$
0
0

Hello, I'm new here and hope someone can answer my question. I have a Dell Server with 2 Xeon 12c/24T CPU's, 192 GB Ram and enough harddisk space. I have 20 VM's with win10 installed that are all accessed via RDP from the network and over VPN Connections. This works very well. Now I have added another 9 VM's and run into RDP problems. When all VM's are active I can connect to any one of the VM's, but am disconnected after a few seconds. This happens even if I am the only user that's connected. When I switch off a few VM's (5 or so) I can work normally.

My Question is: is there a maximum number of VM's in ESXi V6.7 that can be reached by RDP?? and, if there is a maximum, can that maximum be increased?

 

I hope someone has an idea,

 

Piet Koenekoop

Creare correttamente una rete virtuale interna

$
0
0

Ciao

Ogni volta che tento di fare qualcosa di più complicato che installare una VM con network adapter in modalità bridge, mi ritrovo a litigare con le varie configurazioni

virtuali e setup di rete che offre VMware workstation.

Premessa:

Per studiare le problematiche del networking e linux ho installato due VM linux su Vmware workstation 12. Il mio scopo è di simulare una piccola LAN con soli due PC linux.La prima Vm dovrebbe fare da server, la seconda da client; ho quindi creato due network adapter sulla prima macchina: una settata a NAT e l'altra a custom VMnet2 in modo da avere la prima interfaccia come WAN e la seconda come LAN. Sulla seconda macchina ho quindi settato il network adapter in modalità custom VMnet2. In pratica il client dovrebbe far riferimento solo alla macchina linux server per il DHCP, DNS, firewall ecc una volta che sono riuscito a configurare il tutto.

Ho installato anche il server DHCP sulla VM linux server (debian 10.4) che funziona regolarmente, la macchina linux client riceve l'IP appartenente alla stessa subnet della LAN (VMnet2)

Allego 3 immagini per rendere più chiaro il mio attuale setup:

 

Impostazioni della VM con il server linux:

server1.jpg

 

nat.jpg

 

Il client linux su VMnet2:

 

client.jpg

 

Il mio problema è che adesso il client linux non riesce ad accedere ad internet anche se ottiene regolarmente l'IP dal server DHCP della macchina linux server.

Riesco dal client a pingare il server sia all'indirizzo 10.10.10.1 che al 192.168.40.134 (IP della "WAN")

Prima di andare avanti (magari è solo qualcosa che ho dimenticato di impostare sul server debian) vorrei escludere prima qualche errore di impostazione dell'ambiente virtuale relativamente alle mie intenzioni sopra esposte.

Secondo voi ho settato tutto giusto? Quale potrebbe essere il problema?

Grazie

VCenter 7

$
0
0

Quick Question for all the VMWare guru's out there.

If I have an Essentials plus license for 6.5 for VCenter, managing some 6.5 ESXi servers. Can I transfer this license to a new VCenter I plan to build, running later version of ESXi servers and upgrade it to latest VCenter  version 7?

If this is possible, would it be cheaper than buying a new license for VCenter 7 or is it the same price to obtain the new license?

I cannot seem to find any details on an upgrade price verse and new purchase of Essentials Plus V7.

Thanks in advance.

configuring proactive HA with lenovo servers

$
0
0

Hi All,

has anyone configured proactive HA in cluster with lenovo servers ??

VMFS datastore recovery need

$
0
0

continuum saw some of your post, probably you can help

 

For sure there corruption on a VMFS 6 datastore for specific VM. We find the source of all these corruption. Now that fix, we try to recover one VM.

 

The client don't have any full vm backup (Vmdk) only internal data backup.

I have already try voma tool to check and fix(not available for VMFS6)   result : 1500 bad

Try recreate vmdk file, not working either

 

Look like corruption of 2 flat file (disk1 and 2). Attach file

 

The vm don't want to power on error "File system specific implementation of OpenFile[file] failed"

 

Thank for your help

VMware Workstation and Device/Credential Guard are not compatible

$
0
0

I have been running VMware for the last year no problems, today I opened it up to start one of my VM and get an error message, see screen shot.

 

1.PNG

Have referred to the VMware KB as mentioned in the error message but did not help:

https://kb.vmware.com/s/article/76918

Any help will be very helpful.

 

 

Slow initialization of VMs on Ryzen Threadripper 3960X

$
0
0

Hi

I've just moved from an Intel i7-6700K to an AMD Ryzen Threadripper 3960X and have noticed that the initial startup process is extremely slow (5-10min) once it's started everything works fine and a reboot is as quick as before.

 

The same slow initialization happens when the VM is turned off or suspended, it takes 5-10min (extremely random) for the VM to get to the "Windows 10"-load screen.

 

Anyone having the same or similar issues or know a reason for this?

 

I'm running VMWare Workstation 15.5.1 and have attached the log.

 

2019-11-29T09:29:56.345+01:00| vmx| I125: vmm64-vcpus:   8

2019-11-29T09:36:35.583+01:00| vmx| I125: KHZEstimate 3792875

 

 

Best Regards,

Erik


vSphere lab for networking and Storage

$
0
0

Hi

 

I am looking for a networking storage lab in vsphere environment, can anyone recommend lab number, please?

 

thanks

Arul

Can't join host to new vCenter

$
0
0

I have 2 ESXi 6.0 hosts with vSphere Essentials licensing. They have never been in vCenter.

 

I just installed vCenter 6.7 as an appliance on one of the hosts, ESXi02. I created a Data Center but when I attempt to add the host it gives me an error of, "A general system error occurred: passwd: Permission denied." However, during the process to add the host I enter the root user info and it can see all the VMs on the host. When it opens the option to select a license I get the following error, "Cannot decode the licensed features on the host. Changing its current license might fail or some features might become unavailable."

 

On the host I see errors that a new vpxuser already exists. That is followed by the same permission denied error above.

 

To make matters worse, (and maybe a separate issue) I can't change the root password. I've tried from the vSphere Client and SSH and the DCUI. All say permission denied or it doesn't meet the complexity requirements. I've also tried changing the Advanced Security setting, "security.PasswordQualityControl" to allow me to change the password but it didn't help.

 

Any help would be greatly appreciated.

VMNet1 Traffic without any running VMs

$
0
0

Anyone noticed that they have network traffic over VM Ethernet interfaces without any VMs running?  I've seen some odd issues with my workstation and Wireshark shows traffic originating from the VNnet interfaces.  I confirmed no VMs are loaded or running.  I disabled the interfaces and, obviously, the traffic stopped.

I use VM Workstation 15.5.

Samsung SSD (ATA) - Reported temperature too high

$
0
0

Using ESXI 6.7u3

Have 3 SSD drives in a 1U Supermicro SYS-5019D-FN8TP

1x Samsung EVO 840 (ESXI install)

1x Samsung 970 PRO nvme (Datastore)

1x Samsung 960 PRO SATA  (Datastore)

 

Via cli, I can see the following:
CLI.png

Both SATA drives are reported as having 73 degrees while the M.2 drive as 30 degrees.
I have tested with a live Linux USB and all 3 SSDs are idling at 25-30 degrees Celsius, with a maximum temperature of  ~35 degrees for the two SATA and ~55 for the M.2 under load.Ambient temperature is 22 degrees Celsius.

I am pretty sure the reported values for both SATA SSDs are incorrect, but then again, I not 100%.

 

Anyone with similar Samsung SSDs can please tell me how their devices are reported temperature wise?

 

Thank you

Every VM black screen on startup - found a hacky fix, but why does not work properly?

$
0
0

Every VM I start has a black screen. I'm pretty sure it's loading, as the screen size changes, and it usually makes sounds, can ping, etc. But black screen, so no use.

 

Linux and Windows VMs. Latest VMware Workstation Player on latest Windows 10. Tried reinstalling VMware, reinstalling VMs, restarting computer, 3D acceleration on/off.

 

The only way to make it work is to boot the machine, force close it with Task Manager, then re-start it. This was it goes into the "safe" boot mode (i.e "Last Known Good Configuration screen"), and always works - or sometimes it boots straight to the login screen (visibly so).

 

Log attached. Closed at late min 34, re-opened VMware at early min 35.

 

Why is this happening?

Viewing all 176561 articles
Browse latest View live