All Posts

Make sure to add idm_protocol and server_endpoints ( in active_directory_over_ldap) eg: "idm_protocol": "LDAP"  and "server_endpoints": [ "ldap://<server>:<port>" ]  
Hoo can say me how create from  rest api active directory user and asign him role ? im try somfing like this, im login inside domain from vcenter gui but my list providers stay blank curl -k -X PO... See more...
Hoo can say me how create from  rest api active directory user and asign him role ? im try somfing like this, im login inside domain from vcenter gui but my list providers stay blank curl -k -X POST -H "vmware-api-session-id: <toke>" -H "Content-Type: application/json" \ -d '{ "active_directory_over_ldap": { "groups_base_dn": "cn=users,dc=torgsoft,dc=local", "password": "XXXXX", "server_endpoints": ["torgsoft.local"], "user_name": "administrator@torgsoft.local", "users_base_dn": "cn=users,dc=torgsoft,dc=local" }, "idm_protocol": "" }' "https://vnc.torgsoft.local/api/vcenter/identity/providers" | jq and in answer server tell me  "default_message": "Structure com.vmware.vcenter.identity.providers.create_spec has a union constraint with tag 'idm_protocol' of value '', for which the field 'active_directory_over_ldap' is not allowed to be set.",
all of my esxi hosts are not in lock down and need ssh disabled.  Can someone send me a script that will do this for the entire vcenter?
Presumably you mean ESXi? Please be clear as your post needs to be moved. If so, there isn't a "community version", apart from using a vSphere Hypervisor licence which is free for non-commercial use... See more...
Presumably you mean ESXi? Please be clear as your post needs to be moved. If so, there isn't a "community version", apart from using a vSphere Hypervisor licence which is free for non-commercial use: https://customerconnect.vmware.com/en/web/vmware/evalcenter?p=free-esxi7  
Hi, I have downloaded and installed the trial version. And the trial version got expired. I would need to convert it into a community edition.
Your thread needs moving, so I have reported it to moderators.  
Dear all, I need to perform automation of ESXI deployment on bare-metal server & I tried using ks.cfg file, so please can any one suggest for this automation deployment, because we need to perform t... See more...
Dear all, I need to perform automation of ESXI deployment on bare-metal server & I tried using ks.cfg file, so please can any one suggest for this automation deployment, because we need to perform this on many more server's & menual installoation is not possible, So please help me out for this situatiobn, any suggestion's are welocome,
The sample on https://github.com/vmware-samples/vcd-ext-samples has not been updated for a long time. Is there an example of the latest version? Or development documents related to the latest version?
Please elaborate on what you mean. Which VMware product does this relate to, and is this a technical matter?  
I wanted to registered a deal
Hi, Need your help on this. We are starting a project to rebuild all unsupported ESXi 6.0 version to 7.0. We do have at least 200 servers and I need your help to direct me to the most productive way... See more...
Hi, Need your help on this. We are starting a project to rebuild all unsupported ESXi 6.0 version to 7.0. We do have at least 200 servers and I need your help to direct me to the most productive way to automate this rebuild process. We need to install ESXi 7.0 using the same network configuration without any interaction and install multiple servers in parallel.   Thanks in advance!   
Kudos to jreininger and geob!  This thread was on point for me this week. A few tidbits for anyone that may follow. Code: I needed to remove the Begin/End Region statements to get this to c... See more...
Kudos to jreininger and geob!  This thread was on point for me this week. A few tidbits for anyone that may follow. Code: I needed to remove the Begin/End Region statements to get this to compile. Compiler [Microsoft Windows 10 Build 1909] The command-line Visual Basic compiler, when .NET is installed, lives at C:\Windows\Microsoft.NET\<Framework>\<.NETVersion>\vbc.exe where <Framework> is one of: • Framework • Framework64 where <.NETVerison> is one of: • v1.0.3705 • v1.1.4322 • v1.1.4322 • v2.0.50727 • v3.0 • v3.5 • v4.0.30319 https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies Compilation C:\Users\rdkoziel\Publish>dir Directory of C:\Users\rdkoziel\Publish 12/31/2019  10:04 AM    <DIR>          . 12/31/2019  10:04 AM    <DIR>          .. 12/31/2019  09:41 AM             2,589 cpubusymt.vb                1 File(s)          2,589 bytes                2 Dir(s)  742,713,499,648 bytes free C:\Users\rdkoziel\Publish>c:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe cpubusymt.vb /out:cpubusymt.exe /target:exe Microsoft (R) Visual Basic Compiler version 14.8.3752 for Visual Basic 2012 Copyright (c) Microsoft Corporation.  All rights reserved. This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version. For compilers that support newer versions of the Visual Basic programming language, see http://go.microsoft.com/fwlink/?LinkID=533241 C:\Users\rdkoziel\Publish>dir 12/31/2019  10:06 AM    <DIR>          . 12/31/2019  10:06 AM    <DIR>          .. 12/31/2019  10:06 AM             8,192 cpubusymt.exe 12/31/2019  09:41 AM             2,589 cpubusymt.vb                2 File(s)         10,781 bytes                2 Dir(s)  742,713,257,984 bytes free C:\Users\rdkoziel\Publish> • Note that the source code filename is the first argument after the path to vbc.exe • /out: specifies the resulting filename • /target:exe specifies the executable type; in this case, a console application https://docs.microsoft.com/en-us/dotnet/visual-basic/reference/command-line-compiler/how-to-invoke-the-command-line-compiler
Hello ; i have exchange 2010 sp3 on DAG  , so to patch from windows updates, my qustion is if i can take snapshot exchange 2010 on dag VMware ESXi, 6.0.0, 3620759 vSphere Web Client Version ... See more...
Hello ; i have exchange 2010 sp3 on DAG  , so to patch from windows updates, my qustion is if i can take snapshot exchange 2010 on dag VMware ESXi, 6.0.0, 3620759 vSphere Web Client Version 6.5.0 Build 4944578 regards
For later use, we needed about 2000 portgroups in our Distributed Virtual Switch. We are pre-provisioning our DVS with these portgroups, so there is no need to create the PG, when it is needed... See more...
For later use, we needed about 2000 portgroups in our Distributed Virtual Switch. We are pre-provisioning our DVS with these portgroups, so there is no need to create the PG, when it is needed. Our network department just needs to configure the VLAN an the hypervisors trunk ports and our customers can use this PG instantly after this configuration. A PG rename will be automaticly scheduled afterswards. Heres my code sniplet for inital provisioning of 2000 portgroups in the DVS and QoS limitation of 5 gbit/s with 8 gbit/s peak: Add-PSSnapin VMware.VimAutomation.Core Add-pssnapin vmware.vimautomation.vds $vcenter = "vcenter01.example.com" Connect-VIServer $vcenter -user user1 -Password password $dvs = Get-VDSwitch -Name "dvs01" -Server $vcenter for ($i=1; $i -le 9; $i++) {     New-VDportgroup -VDSwitch $dvs -Name VLAN_000$i -vlanid $i     $dvPg = Get-VDPortgroup -VDSwitch $dvs -name VLAN_000$i     $dvPG | Get-VDTrafficShapingPolicy -Direction In | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000     $dvPG | Get-VDTrafficShapingPolicy -Direction Out | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000 } for ($i=10; $i -le 99; $i++) {     New-VDportgroup -VDSwitch $dvs -Name VLAN_00$i -vlanid $i     $dvPg = Get-VDPortgroup -VDSwitch $dvs -name VLAN_00$i     $dvPG | Get-VDTrafficShapingPolicy -Direction In | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000     $dvPG | Get-VDTrafficShapingPolicy -Direction Out | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000 } for ($i=100; $i -le 999; $i++) {     New-VDportgroup -VDSwitch $dvs -Name VLAN_0$i -vlanid $i     $dvPg = Get-VDPortgroup -VDSwitch $dvs -name VLAN_0$i     $dvPG | Get-VDTrafficShapingPolicy -Direction In | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000     $dvPG | Get-VDTrafficShapingPolicy -Direction Out | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000 } for ($i=1000; $i -le 1999; $i++) {     New-VDportgroup -VDSwitch $dvs -Name VLAN_$i -vlanid $i     $dvPg = Get-VDPortgroup -VDSwitch $dvs -name VLAN_$i     $dvPG | Get-VDTrafficShapingPolicy -Direction In | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000     $dvPG | Get-VDTrafficShapingPolicy -Direction Out | Set-VDTrafficShapingPolicy -Enabled $true -AverageBandwidth 5000000000 -PeakBandwidth 8000000000 } Maybe someone is interested in this sniplet
I know thats possible today, but I want to be able to upload them directly as actions or worst case a module.
You need to put it in a package.
Can we add a vRO Action type for Programming Language?
Hello, There is a problem upload the lab online I'm getting an error message as shown !
Hi there I Love the concept of this script ...sadly I can't seem to get it to work Would you mind elaborating on its usage a little as I would love to try it and can hopefully then g... See more...
Hi there I Love the concept of this script ...sadly I can't seem to get it to work Would you mind elaborating on its usage a little as I would love to try it and can hopefully then give you some feedback. At the esxi command line on esxi version 6U1a I tried this to start it after making the script executable with chmod +x esx_linked_clones.sh $0 25 /vmfs/volumes/ssd_datastore/esxi03 ssd_datastore vm1-Clones true The above didn't work so I tried this : esx_linked_clones.sh $1 /vmfs/volumes/ssd_datastore/esxi03 ssd_datastore vm1-Clones true which then just seems to hang. Please advise as I really would love to get this working and then can give you feedback D
I am trying to run the sample plugin as part of the NAS VAAI NVDK package. While trying to run the following command: (for Lazy Native File Clone) vmkfstools -v 20 –I <file1.vmdk> <clone1.vm... See more...
I am trying to run the sample plugin as part of the NAS VAAI NVDK package. While trying to run the following command: (for Lazy Native File Clone) vmkfstools -v 20 –I <file1.vmdk> <clone1.vmdk> where <file1.vmdk> is on an NFS data store it gave the errors: ExampleNasPlugin: session request for 15.213.25.237 /mnt /vmfs/volumes/6e1a78d7-110ad64d NFS 1 ExampleNasPlugin: ExampleNas_ClntCreate: socket info IP 15.213.25.237, family 2, socktype 1, protocol 6, port 2049, ifIndex 0 ExampleNasPlugin: ExampleNas_ClntCreate: socket info IP 15.213.25.237, family 2, socktype 1, protocol 6, port 53358, ifIndex 0 ExampleNasPlugin: could not mount /mnt on host 15.213.25.237; status: (RPC=0 NFS=13). I am using ESXi 6.0 and I believe ESXi 6.0 mounts NFS datastores only with NFS v3. The sample plugin provided in the NVDK, however only operates with NFS v2. The place it is failing is in: ExampleNas_StartSession() … ret = mountproc_mnt_1(&remoteMP, &mfhstatus, mount_clnt);  << this is where it fails Is it a problem with NFS version, or some other permission problem? The NVDK document says that: “The sample NAS plug-in works with both NFSv2 and NFSv3.” but it seems to have been coded only for NFS v2, while ESXi 6.0 doesn’t allow an NFS v2 mount. Is the problem above related to this?