All Posts

Anything you'd like to bring to the attention of the moderators - everything you state, plus any spam posts, or posts which need moving.
Thanks Scott After fifteen years, happy to know I could use this functionality! I always thought "inappropriate" has to do with swearing, blaming and other rituals developers typically do before s... See more...
Thanks Scott After fifteen years, happy to know I could use this functionality! I always thought "inappropriate" has to do with swearing, blaming and other rituals developers typically do before starting fixing an issue 8-)
@DCasota Rather than suggesting a different area to create a duplicate post, you can choose Report Inappropriate Content from the menu (3 vertical dots) to the right of any comment, asking moderators... See more...
@DCasota Rather than suggesting a different area to create a duplicate post, you can choose Report Inappropriate Content from the menu (3 vertical dots) to the right of any comment, asking moderators to move the post to a different location that you suggest. I have now done that for this post, and reported the duplicate post for deletion since there are other replies already in this post.  
Hi @DCasota , thanks very much for all of the information you provided. I'll try this topic in the forum that you mentioned, Thanks again!
Hello, just got a script running to reset the root password for an esxi host (v7) as last step of automated rollout. (powercli v13.0.0.20829139) $PWrootesxall = Read-Host -Prompt "please enter new ... See more...
Hello, just got a script running to reset the root password for an esxi host (v7) as last step of automated rollout. (powercli v13.0.0.20829139) $PWrootesxall = Read-Host -Prompt "please enter new root pw" wanted to use esxcli for that: $esxcli = Get-EsxCli -VMhost $esxi_02 -V2 when i try to change the root pw it works for some passwords, but not for all $esxcli.system.account.set.Invoke(@{id= 'root'; password= "$PWrootesxall"; passwordconfirmation= "$PWrootesxall"}) f.e. the password K({a[Y2e}?}(Ius# is not working. when i use the powercli command with the same $PWrootesxall array it works with this password: Set-VMHostAccount -UserAccount root -Password "$PWrootesxall" am i doing something wrong with the syntax when using the esxcli cmd ?   Regards Manuel          
btw. VMware Studio was the grandfather of grandfather authoring tool Unfortunately many weblinks are outdated there and are not (yet?) linked to VMware {code} community. For sure you get a qualif... See more...
btw. VMware Studio was the grandfather of grandfather authoring tool Unfortunately many weblinks are outdated there and are not (yet?) linked to VMware {code} community. For sure you get a qualified answer in VMware {code} Discussions & Docs.
Thanks for finding this. It's interesting, but it seems to apply to a VMware REST API, and not to the ovf descriptor file. I think.   Thanks tl
this ? edited: DSP2043 is 2.0 ++ . Afaik there are no IP related validators in 1.0, so you have to deal with "string". See ovftool guide (4.3) page 13. It shows how injectOvfEnv parameter is used, ... See more...
this ? edited: DSP2043 is 2.0 ++ . Afaik there are no IP related validators in 1.0, so you have to deal with "string". See ovftool guide (4.3) page 13. It shows how injectOvfEnv parameter is used, and there is no type declaration.
Thanks very much for the fast reply. Looking at DSP0243, I'm finding the depth of information that I seek. I'm trying to introduce stricter value checking in my product's .ovf file for several value... See more...
Thanks very much for the fast reply. Looking at DSP0243, I'm finding the depth of information that I seek. I'm trying to introduce stricter value checking in my product's .ovf file for several values, including IPv4 and IPv6 addresses. I would have thought that the standard would include validators for these basic requirements. But I only find this example, which doesn't do any validation: 2425 <Property ovf:key="app_ip" ovf:type="string" ovf:defaultValue="192.168.0.10"> 2426 <Description>The IP address of this appliance</Description> Any thoughts on how best to do validation of IPv4/IPv6 addresses? Thanks!
Hi, See here and here.   edited: See ovf 4.3 release notes Although it supports OVF specifications 0.9 and 1.0, OVF Tool does not support OVF specification 2.0 (not to be confused with OVF Tool ... See more...
Hi, See here and here.   edited: See ovf 4.3 release notes Although it supports OVF specifications 0.9 and 1.0, OVF Tool does not support OVF specification 2.0 (not to be confused with OVF Tool version 2.0). For workarounds to allow import of VirtualBox OVF 2.0, see this web page.  
Hi What document(s) describes the contents of the OVF descriptor file (.ovf)? Thanks! tl
Not all vSphere REST APIs are available currently, we may expect them in the next vSphere major releases. For now to achieve your task use SOAP-based APIs ( vSphere Management SDKs) : Here is the... See more...
Not all vSphere REST APIs are available currently, we may expect them in the next vSphere major releases. For now to achieve your task use SOAP-based APIs ( vSphere Management SDKs) : Here is the java sample method using VI Java API: Getting started with vSphere API using VI Java    public void portgroupList(String vCenterIP, String username, String password, String clusterName) { Map<String, String> vssPGs = new HashMap<>(); Map<String, String> dvsPGs = new HashMap<>(); try { ServiceInstance serviceInstance = new ServiceInstance(new URL("https://" + vCenterIP + "/sdk"), username, password, true); ClusterComputeResource cls = (ClusterComputeResource) new InventoryNavigator( serviceInstance.getRootFolder()).searchManagedEntity("ClusterComputeResource", clusterName); HostSystem[] hsArr = cls.getHosts(); for (HostSystem hs : hsArr) { Network[] netArr = hs.getNetworks(); for (Network net : netArr) { if (net.getMOR().getType().equals("Network")) vssPGs.put(net.getName(), net.getMOR().getVal()); else if (net.getMOR().getType().equals("DistributedVirtualPortgroup")) dvsPGs.put(net.getName(), net.getMOR().getVal()); } } if (!vssPGs.isEmpty()) { System.out.println("Virtual Standard Switch portgroups in cluster::" + clusterName); vssPGs.forEach((k, v) -> { System.out.println(k + " = " + v); }); } if (!dvsPGs.isEmpty()) { System.out.println("Virtual Distributed Switch portgroups in cluster::" + clusterName); dvsPGs.forEach((k, v) -> { System.out.println(k + " = " + v); }); } } catch (Exception e) { System.err.println("Error::" + e.getLocalizedMessage()); } }      
Struggling with this one, I know in powercli I can run a for each loop to get at a list of port group names that are present for a specific cluster. $Networks = (Get-Cluster ClusterNAme).ExtensionDa... See more...
Struggling with this one, I know in powercli I can run a for each loop to get at a list of port group names that are present for a specific cluster. $Networks = (Get-Cluster ClusterNAme).ExtensionData.Network foreach ($Network in $Networks){get-view $Network -Property name |Select name} Has anyone done this with an API call? 
We just updated the vCenter to 7.0.3.01000 and now the database health API call is returning an error, though VAMI shows no issues. When we call {{vcenter_url}}/api/appliance/health/database we ge... See more...
We just updated the vCenter to 7.0.3.01000 and now the database health API call is returning an error, though VAMI shows no issues. When we call {{vcenter_url}}/api/appliance/health/database we get back:   { "error_type": "INTERNAL_SERVER_ERROR", "messages": [ { "args": [ "[Errno 2] No such file or directory: 'dbcc': 'dbcc'" ], "default_message": "Error in method invocation [Errno 2] No such file or directory: 'dbcc': 'dbcc'", "id": "vapi.method.invoke.exception" } ] }   VMware Support have come back and said: I am following up on this case and wondering if you are able to run the below api call instead? https://{api_host}/rest/appliance/health/database-storage I believe this is the same as previous but for an older version of vCenter. https://developer.vmware.com/apis/vsphere-automation/v7.0U1/appliance/rest/appliance/health/database-storage/get/   Can you please provide the output of the below command to be run on the appliance. This will confirm if the dbcc rpm installed on the vCenter. rpm -qa | grep dbcc It seems that dbcc has been excluded from  7.0 Update 3f onwards, including 8.0. It appears to have been removed due to a vulnerability. From checking it does not appear that there is an alternative for this, so I am unsure how the API call is to work. I think the question might best be placed in the communities code help page. https://communities.vmware.com/t5/vSphere/ct-p/4572 Can it really be that the /api/appliance/health/database endpoint has been left so that it just returns an error?  
Thank you and sorry for my mistake!
Your post needs moving to the area for Workstation Player, so I have reported it to the volunteer moderators.  
Hi everyone! First of all, sorry if I say something wrong, my English level is basic and I've learned it in the most part by myself. My laptop settings I use a Rocky Linux 8.7 (Green Obsidian) x... See more...
Hi everyone! First of all, sorry if I say something wrong, my English level is basic and I've learned it in the most part by myself. My laptop settings I use a Rocky Linux 8.7 (Green Obsidian) x64 in dual boot with Windows 11 x64 both of them with Secure Boot Enabled and in AHCI Mode on BIOS. Virtualization it's also enabled on BIOS. It's an Acer Nitro 5 with Intel Core i5-8300H @4.00Ghz, 8GB DDR4 RAM, SSD512GB NVME and Nvidia GeForce GTX 1050 Mobile. I had the problem at Rocky Linux so, lets focus on it. The problem (with images attached) I've installed VMWare Player 17 with success but when I try to open a virtual machine it shows me the following two messages: 1. Error: Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module 'vmmom' is loaded. When I click to close or in OK it shows me the message two bellow. 2. Error: Failed to initialize monitor device. When I click to close or in OK it closes the WMWare Player 17. The possible solution I tryed but it didn't work out I've found this link and try to follow the steps: https://kb.vmware.com/s/article/2146460 1. Terminal comand: openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware/" When I run it on terminal it shows me: Generating a RSA private key ....+++++ .............................+++++ writing new private key to 'MOK.priv' ----- 2. Terminal comand: sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon) When I run it on terminal  and type my password it shows me: sudo: /usr/src/linux-headers-4.18.0-425.3.1.el8.x86_64/scripts/sign-file: command not found    After that, its impossible tu run the other following commands, none of them are working. I hope some friend could help me here. Thanks any way and I wish the best for us all, greetings!
@Dan16  You need to re-post this in this location: https://communities.vmware.com/t5/Windows-Discussions/bd-p/2036 I would ask the moderators to move it there, but a "document" post like the one yo... See more...
@Dan16  You need to re-post this in this location: https://communities.vmware.com/t5/Windows-Discussions/bd-p/2036 I would ask the moderators to move it there, but a "document" post like the one you created cannot be switched to be a "discussion" post.  
I am running Windows 10 on a ESXi. I am having trouble on how to get openGl 4.6 on the VM. The video drivers is SVGA3d.
As your post needs moving to the area for Aria Automation, I have reported it to the moderators.