Re: Virtual Machines and SmartFrog

Steve Loughran <[email protected]> Fri, 17 Aug 2007 17:51:57 +0100
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Robinson, Gary wrote:
> Hey guys,
> 
> I am using VMWare Server, and I am not allowed to use bridged networking 
> mode (for virtual machines) in my network. How can I set up VMWare 
> Server so that I can deploy component descriptions to a sfDaemon running 
> on a virtual machine, from a physical machine?
> 
> I have tried using NAT but when I try deployment it either fails, or 
> deploys to my physical machine (if its running sfDaemon).
> 
> Kind Regards,
> Gary**

Is there any way to reach the virtual machines from the physical ones?

One of the things we've been exploring is using XMPP messaging to send 
messages to running daemons which are only reachable by way of Jabber 
servers -if your VMs can connect through the NAT to your own jabber 
server, you would be able to deploy stuff by IM-ing it.

this is something we have two students building, part of the project you 
can find in the repository under core/extras/avalanche to have web based 
VM setup and configuration. It is not yet ready for production, but 
maybe there are some things we can work on.

Otherwise, there's something I've been thinking of for linux systems,
http://jira.smartfrog.org/jira/browse/SFOS-149
"Have the unix startup scripts or a component deploy every .sf file in a 
well known directory"

what I want is to have some component that polls a directory (on 
startup, or later), so you can deploy things by copying stuff to a 
directory (one per app), then, when you create/touch a single file, the 
component that polls the directory will deploy the app; when the deploy 
file is deleted/the whole directory unlinked, the deployment will go away.

This is something that could be used for deployment over the network 
mounted local filesystems that vmware gives you: have the default 
components poll some common directory you can use to deploy stuff on demand.

this is all ideaware right now; it is something I wanted to do for Linux 
integration, and now that we've cut the 3.12 release it is something I 
will have a go at in september. I am afraid that I have a couple of 
weeks break before I can start this.

-steve

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/