Quantcast
Channel: VMware Communities: Message List
Viewing all 252940 articles
Browse latest View live

Re: How to get ESXi host's cluster object?

$
0
0

It's one-liner:

 

var clusterObj = hostObj.parent;

 

I think you cannot have other objects in inventory hierarchy between ESXi host and its parent cluster, but if you want to be safe, you can iterate over the parent hierarchy until you find a parent of type VcClusterComputeResource (which is the cluster object you are looking for). Something like the following should work:

 

var clusterObj = hostObj.parent;
while (clusterObj != null) {  if (clusterObj instanceof VcClusterComputeResource) break;  clusterObj = clusterObj.parent;
}
if (clusterObj == null) throw "Cluster not found";

Live Migration works with hosts running ESXi 6.0, but not 6.7 U1

$
0
0

So this is more of a general question/puzzling issue than a problem. In the interest of brevity, I kept the discussion title short, so here's full issue:

 

We have 4 standalone servers pertinent to this discussion (we'll call them Host 1, 2, 3, and 4). Hosts 1 and 2 have the same CPUs. Hosts 3 and 4 have CPUs from different families (so 3 different CPU families in total). Hosts 1 through 3 had been running ESXi 6.0 for a while and we were able to live migrate vms between them. We upgraded Host 3 to 6.5, and we still able to live migrate between hosts 1 through 3. We re-purposed one of our other on-prem servers and installed 6.7 U1 on it, giving us Host 4. We were able to live migrate vms from Host 3 to Host 4, so we cleared Host 3 off and shut it down (our license is only for 6 CPUs). Then, when we tried live migration from Host 1 or Host 2 to Host 4, it didn't work. I resuscitated Host 3 with an evaluation license thinking it would work as a man-in-the-middle until I could get Hosts 1 and 2 cleared off, but now we aren't able to perform live migration between any hosts except 1 and 2.

 

TL;DR: Hosts 1, 2 and 3 running ESXi 6.0 used to be able to live migrate vms between them, but after introducing Host 4 running 6.7 U1, only Hosts 1 and 2 can do it now.

 

I understand that the best solution would be to add the hosts into an EVC enabled cluster (or get another server with a matching CPU) but if we can get everything shuffled around to the point that we can upgrade all our hosts to 6.7 U1, then add them to a cluster, that would be ideal.

Re: macOS Catalina VMs do not run in VMware Fusion 11.1.0

$
0
0

First step in the tutorial should be enter in to terminal:

 

umount /Volumes/InstallESD

 

Otherwise VMWare fails with "Unable to create installation medium" when trying to create the VM.

Re: Problems connecting

$
0
0

How to no prompt for below command

 

Set-PowerCLIConfiguration -ProxyPolicy NoProxy:  its asking Yes ,ALL... options

 

I want default as Yes

Re: 2 new VC_FAULT_FATAL scenarios after an upgrade to 7.8

$
0
0

I think the issues may actually be related.  It appears to start with the error while monitoring VC task updates.  Cloning fails and provisioning is disabled based on the setting to disable on error.  After a while, Horizon attempts a recovery operation where it attempts to remove the suspect machine but fails- But tries to re-clone the machine only to see that the VM is still in vCenter.

Re: Simulating Windows server 2012 DHCP ROLE ? unable to disable the vmware dhcp (newbie needs help)

$
0
0

If you misconfigure vmnet0 to use hostonly then you also need to manually edit your vmx-files.

Or just use "restore defaults" and start over.

Re: How to get ESXi host's cluster object?

$
0
0

Thought of parent, but not sure something like a resourcepool may come into picture in between in some envs.  That is a good idea to check the instance of, and I like that, thanks IIlian, you are super star!

Re: VMware Horizon View Blast Secure Gateway (Unable to start)

$
0
0

Hi.   It does not matter if the certificate is "V1" or "V3".   Check the following:

 

  1. Make sure you have ONE keypair (public certifiate & private key) whose friendly name is:    vdm
  2. Make sure the keypair is stored in the right place.   mmc.exe >  Certificates > Computer Account > Personal > Certificates.
  3. Make sure the certificate actually has a private key associated with it (make sure you see a key in the upper-left corner of the certificate icon for that cert).
  4. Make sure that the private key is EXPORTABLE!!!!
    1. To see if its exportable, right click the cert > All Tasks > Export > Next.
    2. When it asks you if you want to export the private key, the option for YES should be selectable.  
    3. If it is not selectable, then you have previously imported this cert/key and did not click "Mark this key as exportable"
    4. There is an unsupported, commandline way to change the marking of an existing keypair, but its usually easier to just delete and re-import the keypair correctly.

 

In my case, my keypair was there, looked correct, but was not exportable.


Re: How to get ESXi host's cluster object?

$
0
0

It is possible the esx host is stand alone and not in a cluster.  Better check the parent object type to be sure if you are expecting a cluster.

Re: Problems connecting

$
0
0

Did you use the -Confirm:$false switch?

If not, the cmdlet will ask for confirmation.

Re: Migrate existing datastore to new ESXi host

$
0
0

Are you talking about a single SATA disk ?

If yes and you have already attached it to the new server than the VMFS-volume should be mounted automatically.

If not it is probably detected as a snapshot.

See https://kb.vmware.com/s/article/1011387

Re: Geneve tunnel down between Edge and Compute N-VDS

$
0
0

Good to see the issue getting resolved! Trying to understand the root cause better, was this a case of VLAN mismatch between NSX-T (transport VLAN value in uplink profile) and the VLAN/trunk configuration on the ToR port facing the transport node? NSX-T does support specifying a non-zero VLAN in which case, packets leaving the transport node will be tagged with that VLAN and this does NOT require the ToR port to have access/native VLAN..

 

Thanks Rags

Re: One of the disks in this virtual machine is already in use - 2 Hard Disks

$
0
0

> and one of the disks is based on an NFS.

Workstation is very picky about the filesystems used to store the VMDKs.

Avoid anything other than plain uncompressed NTFS.

I assume that the NFS is the problem here - copy the vmdk to a local NTFS and the problem will probably go away.

Re: fedora 30 kernel 5.1 vmmon fail to biuld

$
0
0

Can you point me to the exact URL  the correct branch?  I know I installed and restarted but I did not realize there was another branch.

 

Thanks,

 

Vijay

Re: Live Migration works with hosts running ESXi 6.0, but not 6.7 U1

$
0
0

I understand that the best solution would be to add the hosts into an EVC enabled cluster ...

Any reason why you don't do this yet?

What errors (exact message please) do you see when you try to migrate VM's?

 

André


Re: You do not have access rights to this file during backup

$
0
0

Hi there,

 

Thinking about it, the one VM backups because the backup software (Altaro) is actually running on that VM. Veeam however is on the other VM and that doesn't back itself up which is really weird .

 

  • Check credentials of the repo in Veeam/altaro? (Shoul be ok if one vm worked) - Checked all fine.
  • VMware tools installed in both VMs? - Yes and fully updated
  • Do you have a paid license in your ESXi hosts? - Yes
  • What does the Veeam/altaro log say? Errors below
  • Screenshot of Veeam/altaro & vCenter during a job. What works? Where does it fail? - It fails after quite sometime which suggests the NAS its failing however, it is putting files on the NAS so can't be that surely?
  • Try using UPN connotation (user@xx.yy) instead of xx\user where it applies. - Trying that on tonight's backup

Veeam.PNG

 

Altaro.PNG

Re: VMWare player or VMWare Workstation Player

$
0
0

Yes to both questions. Only the product name changed.


André

Chrome NET::ERR_CERT_AUTHORITY_INVALID when browsing to vRO Control Center [vRA 7.3.0.1650 (build 5604410)]

$
0
0

Using Google Chrome 72.0.3626.121 (Official Build)(64-bit) on Windows 10 generates the following when browsing to https://<vRA instance>:8283/vco-controlcenter/ :

 

 

Your connection is not private

Attackers might be trying to steal your information from <vRA instance> (for example,

passwords, messages, or credit cards). Learn more (chrome-error://chromewebdata/#)

 

NET::ERR_CERT_AUTHORITY_INVALID

 

[Hide advanced]  [Reload]

 

<vRA instance> normally uses encryption to protect your information. When Google

Chrome tried to connect to <vRA instance> this time, the website sent back unusual and

incorrect credentials. This may heppen when an attacker is trying to pretend to be

<vRA instance>, 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 <vRA instance> right now because the website uses HSTS. Network errors

and attacks are usually temporary, so this page will probably work later.

 

This seems to be relatively new, meaning that it has worked in the past but we don't know when it stopped working. If we use the Chrome "thisisunsafe" trick then we are able to bypass this error.

 

Anyone know what is causing this error how how to fix it?

automatic mouse ungrab does not work regardless of input preferences on a windows host and a linux guest

$
0
0

Symptoms:

  1. The mouse pointer is locked within the guest even though the VMware Tools are installed and running and the PreferencesInputAutomatically grab and ungrab the mouse cursor checkbox is on..
  2. Have to press Alt+Ctrl to release the mouse (hate to do it, do it 100x a day!)
  3. Looked at these "solutions", nothing helped:
    1. Is it possible to automatically grab and ungrab the cursor for a single VM?
    2. Mouse misbehavior and ungrab problem in a guest on Linux VMware host while using secondary keyboard layout on the host
    3. Updated/re-installed VMTools in guest
    4. Preferences - none change the behavior a bit
    5. Full-screen/windows mode tested, none mattered
    6. Driver recognizes mouse as: Microsoft  USB mouse / HID compliant

 

My guest is: rhel69 2.6.32-696.el6.x86_64

Host is: Windows 10 Enterprise 1809

 

I understand that all those gamers prefer the mouse to stay grabbed inside,

but could someone else help me please (do you find it annoying?)?

Read-Only API User

$
0
0

Hi,

 

My organisation writes monitoring software and we're creating a plugin to support vCenter.  Can someone please tell me what the minimum set of permissions are for a read-only API user?  It would appear the read-only role does not have API access.  Any help would be greatly appreciated.

 

Cheers

Viewing all 252940 articles
Browse latest View live


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