[Tutor] WMI

Spencer Parker inthefridge at gmail.com
Wed Sep 17 18:52:33 CEST 2008


What I am doing is this:

We have a web interface where people can provision virtual machines.
Currently we do this with Linux machines and it sets a unique IP, username,
startup services, and a password.  This is all triggered at startup of the
linux machines with perl and an xml file.  We are trying to replicate this
with Windows.  Setting the IP and creating the user's is pretty easy...and
that code you sent me did basically everything with some tweaking.  When
someone goes to the web interface it triggers some Expect scripts that log
into the linux xen machine and trigger the whole process.  We have a windows
VM now that will control the process for Windows VM's.

On Wed, Sep 17, 2008 at 10:38 AM, Steve Willoughby <steve at alchemy.com>wrote:

> On Wed, Sep 17, 2008 at 10:31:50AM -0600, Spencer Parker wrote:
> > Is there a way to remotely trigger an event from Linus to a windows
> machine?
> > I have basically a virtual machine that this script would run from.  I
> need
> > to find a way to trigger this event from a linux machine that handles all
> of
> > our VM's.  I can find ways of doing it from a windows to windows, but not
> > linux to windows.  Any clues?
>
> Depends on what you mean by triggering an event.  Could you give a
> specific example of what you want to accomplish?  Depending on what
> you're trying to do, this could be as simple as invoking an existing
> network RPC call or something, to as complicated as creating a web
> service on windows that the linux client(s) connect to.
>
> --
> Steve Willoughby    |  Using billion-dollar satellites
> steve at alchemy.com   |  to hunt for Tupperware.
>



-- 
Spencer Parker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080917/bc62f279/attachment-0001.htm>


More information about the Tutor mailing list