2015-07-20 07:08 AM
Is it possible to connect from a WFA with a single ESXi Server? I want to mount a cloned datastore to single ESXi server without a vCenter. Furthermore i want to register these VMs and start them.
Thanks for your help!
2015-07-20 11:01 AM
@ Is it possible to connect from a WFA with a single ESXi Server?
Yes of course. WFA is a very intelligent automation frame-work and allows great flexibility to use a number of ways to automate. Any CLI or API connetivity for remote hostsif exists, it can be used with WFA.
You can use VMware Power CLI Powershell cmdlets to connect to an ESXi host. VMware power CLI is not shipped with WFA, you would need to download and install in on your WFA server.
@ I want to mount a cloned datastore to single ESXi server without a vCenter.
This is quite simple to do using vmware cmdlets.
@ Furthermore i want to register these VMs and start them.
If its possible using using powershell cmdlets, its possible using WFA.
Alternately you can use VCLI or vmware SDK also in WFA for managing ESXi. WFA only provides some vmware commands using posh cmdlets, you can see them for examples.
2015-07-20 05:45 PM
Yes it's absolutely possible to do this with WFA using the vSphere PowerCLI and Data ONTAP PowerShell CmdLets. Do you want select an existing datastore and clone it then mount it to the standalone ESXi host or do you just want to mount an existing flexclone volume? What type of datastore (NFS, iSCSI, FCP?). It possible but will require you to add the credentials for the ESXi host to the WFA credential cache (and update them if your standalone ESXi root password ever changes).
You can use WFA to automate any functionality that you can perform in the vSphere client (IE browse the cloned datastore, register the VM's into the ESXi host inventory and power them on). If you are aren't using the latest ESXi release with the webclient then check out project onyx:
If you are using vSphere 6.X check out:
This will help translate the vSphere GUI actions into PowerShell code to help build your workflow. Hope this helps