Build Automation, VMWare 2.0 Server, Final Builder

I have a database on a VMWare Server 2.0 virtual machine. I also have a web application in IIS (7) in a virtual machine.

Now I want to execute some of the database scripts that are in the virtual machine from the host machine. Also I have a VB script in a virtual machine that I want to run from the host machine.

How to do it? I can buy Final builder if it helps me.

Since I am looking to automate the above from the Host machine, I was wondering what I need to do to execute the database and VB scripts that are in the virtual machine, but execute them from the Host machine to update these database and IIS objects ( vb script) in the virtual machine.

Thank.

+2


source to share


2 answers


The easiest way is to set up a virtual machine with a network connection accessible from the host machine and run the scripts over the network connection just as if you were using a physical machine instead of a virtual machine. If your goal is to isolate the virtual machine from your existing network and servers, you just need to set up a private network between the host and guest and use it. With this approach, you don't need any additional software.



+1


source


I would suggest adding the host share as a network drive and then using vmrun. Here's an example:

    vmrun -T server -h https://hostname:8333/sdk -u root -p mypassword -gu administrator -gp guestpaswd 
  runProgramInGuest "[Vol1] win2008-1/win2008-1.vmx" -activeWindow "c:\windows\system32\cmd.exe"

      



The VmWare tools must of course be installed.

0


source







All Articles