<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks Kapil. I tried giving the IP address of the VM in same network.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">When I run juju bootstrap, I get this error:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">2014-01-24 06:12:58 INFO juju.environs.manual bootstrap.go:67 Filtering possible tools: 1.16.5-precise-amd64;1.16.5-precise-i386<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">2014-01-24 06:12:58 ERROR juju.tools list.go:113 cannot match tools.Filter{Released:false, Number:version.Number{Major:0, Minor:0, Patch:0, Build:0}, Series:"raring",
 Arch:"amd64"}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">2014-01-24 06:12:58 ERROR juju supercommand.go:282 no matching tools available<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Please advise.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ibha<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Kapil Thangavelu [mailto:kapil.thangavelu@canonical.com]
<br>
<b>Sent:</b> Thursday, January 23, 2014 3:59 PM<br>
<b>To:</b> Gandhi, Ibha (HP Software)<br>
<b>Cc:</b> John Arbash Meinel; Juju email list<br>
<b>Subject:</b> Re: Juju on existing VM<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Juju provides for manual placement so that you can place a workload on an existing machine within an environment without provisioning a new machine.. ie juju deploy  charm --to=existing_machine   it also supports creating containers (either
 lxc or kvm) to run those workloads in isolation from the host (see juju deploy --help for more details). This is also supported for add-unit --to=existing_machine.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">If you want to setup a single machine environment with a workload and the capacity to grow on virtual machines using manual provisioning in conjunction with manual placement makes this use case relatively straightforward.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">configure a 'null' aka manual environment in environments.yaml pointing to the ip address of the vm (don't use localhost but the ip address that other machines in the environment will use). Then juju bootstrap. Then juju deploy charm --to=0. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Kapil<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Jan 23, 2014 at 1:55 AM, Gandhi, Ibha (HP Software) <<a href="mailto:ibhag@hp.com" target="_blank">ibhag@hp.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Thanks John for the quick reply.<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
-----Original Message-----<br>
From: John Arbash Meinel [mailto:<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>]<br>
Sent: Thursday, January 23, 2014 12:13 PM<br>
To: Gandhi, Ibha (HP Software); Juju email list<br>
Subject: Re: Juju on existing VM<br>
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 2014-01-23 10:33, Gandhi, Ibha (HP Software) wrote:<br>
> Hi,<br>
><br>
><br>
><br>
> I want to deploy application on a specific VM and don?t want to<br>
> provision a new VM.<br>
><br>
> This is something I have been doing with chef, please let me know if<br>
> it?s possible to deploy<br>
><br>
> application on a particular VM through juju without provisioning a new<br>
> one.<br>
><br>
><br>
><br>
> Thanks,<br>
><br>
> -Ibha<br>
<br>
We are currently polishing some work we call "manual provisioning"<br>
where you have a machine, which you then add into an existing environment. The syntax is something like:<br>
  juju add-machine ssh:user@host<br>
<br>
I believe that work isn't very polished in the latest stable release<br>
(1.16.5) but is quite a bit better in our current unstable snapshot<br>
(1.17.0) and should be polished for the next stable (1.18).<br>
<br>
John<br>
=:-><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.13 (Cygwin)<br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">
http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlLgufsACgkQJdeBCYSNAANpEgCbBTV0vD7DXjzQCy4VWQqHVS37<br>
voMAn3uLE4lwV+9ZvmWpOCQw4BP3sbGv<br>
=pb7H<br>
-----END PGP SIGNATURE-----<br>
<br>
--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">
https://lists.ubuntu.com/mailman/listinfo/juju</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>