In a vmware vsphere platform with over 200 virtual machines with Centos and Windows machines, would it be possible to install chef client and salt agents on all these machines using vCenter API or Powercli or any other scripts, is that possible ? can some one share any thoughts and ideas as to how this can be achieved?
Related
how to install vmware tools on a newly build vm which is not in a domain and doesnot have an IP address assigned.
invoke-vmscript or invoke-command are not working.
Invoke-VMScript uses VMware Tools to run commands locally on the Guest OS, so that will not work in this scenario.
I'm afraid there won't be much to help you automate the process, but there are some things you can do to limit the amount of time spent on each system. Example: https://docs.vmware.com/en/VMware-Tools/10.1.0/com.vmware.vsphere.vmwaretools.doc/GUID-7E1225DC-9CC6-401A-BE40-D78110F9441C.html
I've configured Cuckoo on my host machine, now trying to setup the guest machine where the malware suppose to be executed. The guest machine will be Ubuntu not Windows, but I don't know what should be done on the Ubuntu machine to mkae it Cuckoo guest machine. Where the guidance of Cuckoo shows the steps for configuring Windows 7 machine as guest machine, but nothing mentioned about Ubuntu, though Cuckoo supports linux malware analysis.
Currently I'm trying to create a vm in a Esxi server using Perl SDK provided by the vmware. The Vcenter host and name must be specified in create_vm.pl to create the vms in the Esxi server directly.
Is there any other SDK(like java) supports to install the vm directly on the Esxi serve without specifying the Vcenter.
link:https://www.vmware.com/support/developer/viperltoolkit/doc/utilityappsdoc/vmcreate.html
You just use the IP or hostname of the ESX/i host where it asks for vCenter. Keep in mind write operations are only supported on licensed versions of ESX/i so if you are using the free version it wont work.
I havent used PERL SDK for VMware, but I have used PowerCLI and PyVmomi for my tasks and the APIs require Host/vCenter IP as their host input.
When you provide VC as the host input, you get the objects related to vCenter for that VM, and if you provide ESXi host IP, you can create,manipulate VMs based on the limits of an ESXi server
I have CentOS7 installed on Vmware, and I'm able to access it through SSH from my computer where Vmware is installed. I need to access my virtual machine from another computer. Is this possible? and what are the steps to complete this?
It is possible. You need to bridge your network adapter with the one on the VM, and then it will be accessible the same way your PC is.
I am running a virtual machine in Bluemix and want to open the OS's desktop GUI. How do I do this? Thanks for your help.
I've edited your question to what I think you're asking: How can I open the desktop GUI on my virtual machine in Bluemix?
Assuming I understand the question correctly:
To open the desktop GUI on a remote virtual machine, use Virtual Network Computing (VNC). This solution is not specific to Bluemix; it'll work with a VM running on any platform, as long as the VM is running an OS that supports VNC.
To use VNC, you need to have a VNC server running in your VM's OS. You will then run a VNC client (a.k.a. viewer) on your computer to display the VM's desktop. The specific instructions depend on the OS running in the VM and on your computer.
For example, assuming your VM is running Ubuntu v14.04, these resources explain what to do (and a search will find other resources):
"How to Install and Configure VNC on Ubuntu 14.04" -- Installs XFCE4 as the VNC server
"How To Install And Configure VNC On Ubuntu 14.04" -- Also installs XFCE4.
"How to Install VNC Server on Ubuntu 14.04 LTS" -- Installs TightVNC as the VNC server
For a VNC client, I actually connect to remote VMs via a local VM running Ubutu 14.04, so I use Vinagre (a.k.a. the Remote Desktop Viewer app). Options listed by other authors include TightVNC, RealVNC, or UltraVNC.
Good luck and thanks for using Bluemix.
From what I understand, you need some remote desktop tool to get to the UI of the OS of your virtual machine. Some tools available: http://www.techradar.com/us/news/software/applications/7-of-the-best-linux-remote-desktop-clients-716346