[ 
https://issues.apache.org/jira/browse/WHIRR-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom White updated WHIRR-239:
----------------------------

    Attachment: WHIRR-239.patch

Here's a patch for discussion. It's incomplete, but shows the basic idea. 

The LocalService class is an implementation of Service that bypasses jclouds 
and implements launch and destroy for a local machine. It might be possible to 
use the forthcoming BYON code for this at some point.

There is a new destroy-zookeeper script to tear down a local installation (this 
is not needed in the cloud since the instances are simply destroyed).

Run it using

{code}
mvn verify -Pintegration -DargLine="-Dwhirr.test.provider=local"
{code}

You can also specify an identity of "root" and the root password as the 
credential to avoid having to enter them interactively.

I got the integration test passing on a Mac, and there are a few changes to 
make the script work there (there are still some spurious changes that still 
need fixing though).

> Support local standalone deployment
> -----------------------------------
>
>                 Key: WHIRR-239
>                 URL: https://issues.apache.org/jira/browse/WHIRR-239
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: WHIRR-239.patch
>
>
> It would be useful for Whirr to launch services on the local machine in 
> "standalone" or "pseudo distributed" mode. Combined with WHIRR-220 such a 
> feature would make it easy to deploy a development tarball to the local 
> machine for testing, etc.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to