You can install PowerCLI on your client machines and then continue to manage your infrastructure from anywhere as long as you can reach your VC.
Connect-VIServer <vcServer> -u <user> -pass <pass>
Is that the question ?
You can run scripts with the Invoke-VMScript on VMs with a WIndows OS that have PowerShell installed.
See invoke-vmscript how does it works for more info on the requirements to run Invoke-VMScript.Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
I've installed the PowerCLI on my virtual center ( Fisic server ), but how can I do to launch the commands from another machine?
There is a client to be installed on Linux machines?
But if I wanted to run commands PowerCLI (Example VM-GET ) from a Linux machine?
The PowerCLI cmdlets require PowerShell and that is Windows only.
So it's not possible to run PowerCLI cmdlets from a Linux machine.Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz1 person found this helpful
but if I install the Virtual powerCli on a Windows machine, then using
Invoke-VMScript (Linux machine) I can run these commands cmdlet?
With the current build of PowerCLI you can only use Invoke-VMScript against WIndows guests.
But Carter announced during VMworld that the next PowerCLI build (expected 2009Q4) would have support for Linux guests for the Invoke-VMScript cmdlet.Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz
Have you looked at the vMA vSphere Management Assistant virtual machine appliance, http://www.vmware.com/support/developer/vima/
It is a linux machine already configured for vmware. Might be useful for you.
Many many thanks LucD,
your answers were very clear and correct.
All this stems from the fact that I should schedule the 'add and remove
the rdmp on linux (Scheduled batch) and I was trying to figure out how.
You help me by pointing out alternatives to use?
Otherwise, thanks again
But I can also run cmdlets
Why do you need to schedule the "add and remove of RDMP" on a Linux guest ?
You can schedule this on a Windows system as well (by using for example the Windows Task Scheduler).
If the target guest for adding/removing an RDMP is a Linux guest, that doesn't matter where you run the actual command.
The command is run against a Virtual Center (vSPhere vCenter) or and ESX host.
Perhaps you could explain a bit more what exactly you are trying to do.Blog: http://lucd.info | Twitter: @LucD22 | PowerCLI Reference co-author: http://tinyurl.com/hkn4glz1 person found this helpful
Thanks for your help.
My requirements are as follows;
On a VM linux1 are made all the batch processing at night, using a scheduler (Unicenter TND - CA). At the end of a specific process I must migrate the database (Software AG - Adabas) on another VM and linux2 to continue the batch is on the VM than on linux1 VM linux2.
And at the end of processing the changes generated in the DB linux2 the VM, using a tool, will be brought to the VM DB linux1. So far everything is done on AIX systems, where the HBA is natural and then and 'can manage everything through Software Storage (EMC2 - CX3-80). To do all this on Linux Virtual I must find the way to unhook and hook the rdmp (where the DB) the VM linux2. I know how to give a suggestion to do this?
PS: A copy of rdmp is made from storage.
I hope my English is understandable.
Thank you for a possible answer.