Goodmorning,
i'va install in my machine Windows the Vpshere PowerCli and i see all cmdlet , very very good for management VM's and ESX.
but I do not know if there is a client to install on
VM Linu / windows that allows me to do the run remote command PowerShell.
Opuure and 'can run these commands remotely?
If you like I do?
Thanks for your help
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: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
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 for more info on the requirements to run Invoke-VMScript.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes,
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?
Ok,
But if I wanted to run commands PowerCLI (Example VM-GET ) from a Linux machine?
It's POSSIBLE?
The PowerCLI cmdlets require PowerShell and that is Windows only.
So it's not possible to run PowerCLI cmdlets from a Linux machine.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you,
but if I install the Virtual powerCli on a Windows machine, then using
Invoke-VMScript (Linux machine) I can run these commands cmdlet?
Thanks
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: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
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
Ok,
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: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello LucD,
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.
Ivan