Here is an online one I just created: GitHub - DoubleCloudInc/powercli-sketchpad: Sketchpad for VMware PowerCLI It's open sourced under MIT license. To use it:
Re: Editor with Syntax Highlighting
Display goes to sleep rapidly
I recently upgraded to Fusion 8.5.3 and use a Windows 10 platform in full screen on an external monitor. No matter what I do to set the display sleep time in the Power settings, it seems to go to sleep after 5min, whether on battery or plugged in. Any thoughts on how I can extend this? Not critical, but it's rather irritating. Thanks.
Rick !
Re: OVF deplyment - cancled by user
Before creating an OVA file, in vSphere right click on the VM, open Settings, click on CD/DVD drive, check if Device Type is selected as Datastore ISO. If so, select Client Device. Save settings by clicking OK. Export OVA file, and then deploy.
i change the CD-DVD ISO path to local device and export again in OVA format. After the Import was OK in vSphere 5.1.
Thanks, HwyHobo! Thanks, VIMSupport!
That fixed the problem PERFECTLY!
Error While opening: internal error in only one VM
Hello,
I was using a virtual machine then I suspended it. Now I'm trying to use it again and it keeps showing this error.
The others virtual machines I have doesn't returns this error.
Some things I've tried already and didn't work:
- Rename the vmplayer.exe file;
- Restart vmware services;
- Restart windows management instrumentation service;
- Tried to delete .lck file (couldn't find it inside the folder);
Someone has any other suggestion for me to try?
Thanks
Re: Using vRO for vCenter and vRA
Or your other option is to deploy 2 vRO's, using llian's models (one for vCenter and one for vRA) and then synchronize them using the Multi-node plugin.
Carl L.
Re: Memory and CPU sizing
VMWare Sizing Tool (CPU & RAM) => Work for vsphere 5.x 6.x
Re: FAILED: Unable to create a VSS snapshot of the source volume(s).
Gracias.
Re: resizing the hard drive of VM from 120 GB to 200 GB in Vmware ESXI 5.1, running resize2fs fails with error nothing can be done
May you read this :linux lvm vdisk online capacity expansion whitout guest os reboot
Re: Unable to import Custom Hostname workflow from Sid Smith
I am using an external vRO 7.1 with my vRA 7.1 system.
I imported this package and the instructions called for running "Install custom hostname" workflow, which fails with the following error:
[2016-12-19 16:33:53.282] [I] {"type":"and","subClauses":[{"type":"expression","operator":{"type":"equals"},"leftOperand":{"type":"path","path":"data~lifecycleState~state"},"rightOperand":{"type":"constant","value":{"type":"string","value":"VMPSMasterWorkflow32.Requested"}}},{"type":"expression","operator":{"type":"equals"},"leftOperand":{"type":"path","path":"data~lifecycleState~phase"},"rightOperand":{"type":"constant","value":{"type":"string","value":"POST"}}},{"type":"expression","operator":{"type":"equals"},"leftOperand":{"type":"path","path":"data~machine~properties~Custom.SetCustomHostname.Execute"},"rightOperand":{"type":"constant","value":{"type":"string","value":"true"}}}]}
[2016-12-19 16:34:23.308] [E] Error in (Workflow:Install state change workflow / Prepare params (item1)#67) java.net.SocketTimeoutException: connect timed out
[2016-12-19 16:34:23.324] [E] Workflow execution stack:
***
item: 'Install state change workflow/item1', state: 'failed', business state: 'null', exception: 'java.net.SocketTimeoutException: connect timed out (Workflow:Install state change workflow / Prepare params (item1)#67)'
workflow: 'Install custom hostname' (d86f3b49-db74-45d0-9c08-9bf6d2e8e3c9)
| 'attribute': name=workflowDescription type=string value=Runs a vRO workflow for custom hostnaming
| 'attribute': name=vCACMachineState type=string value=Requested
| 'attribute': name=vCACWorkflowPriority type=number value=1.0
| 'attribute': name=vCACWorkflowTiming type=string value=Post
| 'attribute': name=vCACWorkflowTriggerProperty type=string value=Custom.SetCustomHostname.Execute
| 'attribute': name=propertySetDetails type=Array/CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails value=#{#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#true#+#name#=#string#Custom.SetCustomHostname.Execute#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string##+#name#=#string#Custom.Deployment.HostnameScheme#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string##+#name#=#string#Custom.ComponentMachine.HostnameScheme#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#USR#+#name#=#string#Custom.Hostname.OwnerShortNameIdentifier#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#true#+#name#=#string#Custom.Deployment.NoIndexOnFirst#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#true#+#name#=#string#Custom.ComponentMachine.NoIndexOnFirst#]##}#
| 'attribute': name=propertySetName type=string value=Custom Hostname Properties Template
| 'attribute': name=propertySetDescription type=string value=Properties for Custom Hostnaming Extension v4
| 'attribute': name=setCustomHostnameWorkflow type=Workflow value=dunes://service.dunes.ch/Workflow?id='5febfe67-9247-4f72-a072-59c1ce5c2ec1'&dunesName='Workflow'
| 'attribute': name=environmentConfigElement type=ConfigurationElement value=dunes://service.dunes.ch/ConfigurationElement?id='86e55a3e-73f6-428b-b21f-a69ac280281c'&dunesName='ConfigurationElement'
| 'attribute': name=vCACHostAttributeName type=string value=vraIaasHost
| 'attribute': name=vcoWorkflowAsync type=boolean value=false
| 'attribute': name=workflowTimeout type=number value=60.0
| 'attribute': name=workflowSubscriptionVersion type=string value=0.0.1
| 'attribute': name=vcacCafeHostAttributeName type=string value=vraHost
| 'input': name=vraCatalogHost type=vCACCAFE:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='1060a271-bf89-4d5c-885b-2c1fc5e6823c'&dunesName='vCACCAFE:VCACHost'
| 'input': name=vraIaasHost type=vCAC:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='72f9ca17-3f6f-4761-9f8b-9425a1ede927'&dunesName='vCAC:VCACHost'
| 'no outputs'
--workflow: 'Install state change workflow' (7d047254-e1a4-46d4-8071-57c3dda3fec5)
| 'attribute': name=vroWorkflowName type=string value=
| 'attribute': name=blocking type=boolean value=true
| 'attribute': name=status type=string value=
| 'attribute': name=workflowCriteria type=string value=
| 'attribute': name=eventTopic type=vCACCAFE:EventTopic value=__NULL__
| 'attribute': name=propertySetDetailsWithEbProperty type=Array/CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails value=__NULL__
| 'attribute': name=propertyGroupNameWithTimestamp type=string value=
| 'input': name=vCOWorkflow type=Workflow value=dunes://service.dunes.ch/Workflow?id='5febfe67-9247-4f72-a072-59c1ce5c2ec1'&dunesName='Workflow'
| 'input': name=workflowDescription type=string value=Runs a vRO workflow for custom hostnaming
| 'input': name=vCACMachineState type=string value=Requested
| 'input': name=vCACWorkflowPriority type=number value=1.0
| 'input': name=vCACWorkflowTiming type=string value=Post
| 'input': name=vCACWorkflowTriggerProperty type=string value=Custom.SetCustomHostname.Execute
| 'input': name=propertySetDetails type=Array/CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails value=#{#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#true#+#name#=#string#Custom.SetCustomHostname.Execute#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string##+#name#=#string#Custom.Deployment.HostnameScheme#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string##+#name#=#string#Custom.ComponentMachine.HostnameScheme#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#USR#+#name#=#string#Custom.Hostname.OwnerShortNameIdentifier#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#true#+#name#=#string#Custom.Deployment.NoIndexOnFirst#]##;#CompositeType(name:string,defaultValue:string,encrypted:boolean,promptUser:boolean):PropertyDetails##[#promptUser#=#boolean#false#+#encrypted#=#boolean#false#+#defaultValue#=#string#true#+#name#=#string#Custom.ComponentMachine.NoIndexOnFirst#]##}#
| 'input': name=propertySetName type=string value=Custom Hostname Properties Template
| 'input': name=propertySetDescription type=string value=Properties for Custom Hostnaming Extension v4
| 'input': name=vcoWorkflowAsync type=boolean value=false
| 'input': name=workflowTimeout type=number value=60.0
| 'input': name=vraCatalogHost type=vCACCAFE:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='1060a271-bf89-4d5c-885b-2c1fc5e6823c'&dunesName='vCACCAFE:VCACHost'
| 'input': name=workflowSubscriptionVersion type=string value=0.0.1
| 'no outputs'
*** End of execution stack.
Re: Edit ESXi 6 firewall via iKVM
Hi,
From ESXi Shell, you can still modify firewall ruleset on ESXi host with esxcli command. Please check following VMware KB article for the details.
Re: Edit ESXi 6 firewall via iKVM
Thank you for pointing me in the right direction. Issue solved.
Using ESXi Shell in ESXi 5.x and 6.x (2004746)
About the ESXi 5.x and 6.x firewall (2005284)
esxcli network firewall ruleset rule list -r "vSphereClient" esxcli network firewall ruleset allowedip remove -r "vSphereClient" -i "123.123.123.123" esxcli network firewall ruleset allowedip add -r "vSphereClient" -i "123.123.123.124"
Extra info: Altaro - Managing the ESXi firewall
Re: Unable to Configure vCenter in vRealize Orchestrator 7.1
Hi,
Version of "Import a certificate from URL with certificate alias" workflow is 1.0.3.
Attached screen shot for the same.
And I did fresh deployment of VRO 7.1.0.
Re: Get-VMHostStartPolicy Index was outside the bounds of the array.
Did you try changing the timeout interval with the Set-PowerCLIConfiguration cmdlet with the WebOperationTimeoutSeconds parameter?
Re: UNMAP multithreading
Hi LucD,
Thanks for your reply.
Can we find any reference for this limitation? That would be very helpful
Regards,
Prashant M Bhushan
OS not found error in VMware Workstation 12
Re: Deploying a Template from CSV File With Other Settings
After the instructions from New-VM cmdlet is passed to the vSphere server, this server will take some time to clone the new VM from the template.
You should be able to determine the duration of this actions from the Task and Events page.
Waiting for 4 minutes is indeed 'sleep 240'.
Can you add some debugging (Write-Host) before and after the sleep line, just to verify that the completion of the cloning process is completed within those 4 minutes?
You can also add a Get-VM to check the status of the newly created VM, before you do the Set-VM
But is the error appearing for the New-VM or the Set-VM cmdlet?
If it is the New-VM cmdlet, one fo the ESXi nodes might not be in the correct state.
Are all ESXi nodes shoing as Connected when you do a Get-VMHost?
Re: Where was VM hosted before it was moved to current VMHost ???
Have a look at my Events – Part 8 – vMotion history post.
Re: View Administrator: error adding domain for composer
Hi all,
Need help. im get the same error. "Error while adding the administrator. Please re-check your information" in add domain for view composer.
the domain name n user name i already put the domain name, but there still same error.
logged call for vmware support. they asked me to re-installed the the connection server from fresh ISO and i already exclude domain did i dont want to appear. but the error was same.
Please help guys.this issue already drag for the second week.
thanks in advance
BoB
Re: PowerCli Assistance
You would first need to "get" the VM ebfore chekcing the powerstate, and then power on the ones that aren't.
Something like this
Get-VM*DC0*|Where-Object {$_.powerstate -eq‘PoweredOff’} |Start-VM|Wait-Tools
VCAP Design 6
Hello,
I am currently a VCAP DCA 5.5 holder Planning to write DCD 6.0 , studied the below books .
1. VCAP5-DCD Official Cert Guide
2. TrainSignal.Designing.VMware.Infrastructure
3. Sybex.VMware.vSphere.Design.2nd.Edition.Mar.2013
Can somebody please share suggestion for my preparation.
Regards,
Bibin C Bharathan