<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Matthew,<br>
<br>
I would treat this case similar to the configuration you'd use for a
set of virtual machines.<br>
<br>
Start one coaster service for each pool of identical docker
containers that you want to run.<br>
<br>
For each pool of containers, run a Swift worker (worker.pl) in the
container and have it connect back to the coaster service you
designate to manage that pool.<br>
<br>
I'm assuming that from a docker contained you can connect out to any
reachable IP address. <br>
<br>
Another approach is to treat the containers like a set of ad-hoc
compute nodes, and ssh into them with automatic coasters using the
<a class="moz-txt-link-freetext" href="ssh:local">ssh:local</a> jobmanager setting.<br>
<br>
We'll try to test and publish a config for such cases. We'd welcome
your help with that.<br>
<br>
- Mike<br>
<br>
<br>
<div class="moz-cite-prefix">On 8/29/14, 7:48 PM, Matthew Shaxted
wrote:<br>
</div>
<blockquote
cite="mid:E606D0858F0AB941B6A9EB52730031F69685222D9C@CCRD007.mail.lan"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
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:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.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]-->
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m trying to find a way to run Swift
workflows on multi-host docker containers, and wondering if
anybody has had success with this. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I start a docker container and define
specific ports to open on the container, they mapped to random
ports on the host machine. So for example, I can start a
container with an ssh port open from a host “10.1.1.1”, and
can then access this container across hosts with “ssh
<a class="moz-txt-link-abbreviated" href="mailto:compute@10.1.1.1">compute@10.1.1.1</a> –p 49160”.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Now I’m hoping to link these docker
containers to Swift’s start-coaster-service. I think it would
be possible and relatively easy if I can say, start the
coasters on a series of IP addresses AND ports. So a host’s
file perhaps would look something like below, and coasters
would be started on the correct docker container:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">10.1.1.1: 49160<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">10.1.1.2: 34155<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">10.1.1.2: 34156
…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does this make sense? Is it possible to
start coasters by specifying an IP address and port number?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any thoughts are greatly appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Matthew<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"
style="margin-bottom:14.0pt;line-height:13.0pt"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#EF2B2D">MATTHEW
SHAXTED<o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:14.0pt;line-height:13.0pt"><span
style="font-size:9.0pt;font-family:"Arial","sans-serif";color:gray">SKIDMORE,
OWINGS & MERRILL LLP<br>
224 SOUTH MICHIGAN AVENUE<br>
CHICAGO, IL 60604<br>
T (312) 360-4368<br>
<a moz-do-not-send="true"
href="mailto:MATTHEW.SHAXTED@SOM.COM"><span
style="color:blue">MATTHEW.SHAXTED@SOM.COM</span></a><o:p></o:p></span></p>
<p class="MsoNormal"
style="margin-bottom:14.0pt;line-height:13.0pt"><span
style="font-family:"Arial","sans-serif";color:gray"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:14.0pt"><a
moz-do-not-send="true" href="http://www.som.com/"><span
style="font-family:"Arial","sans-serif";color:black;text-decoration:none"><img
id="Picture_x0020_1"
src="cid:part2.06020302.08010304@anl.gov"
alt="cid:image001.png@01CF9071.6FB46030" width="123"
border="0" height="45"></span></a><a
moz-do-not-send="true" name="_GoBack"></a><span
style="font-family:"Arial","sans-serif";color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt"><span
style="font-size:8.0pt;font-family:"Arial","sans-serif";color:gray">The
information contained in this communication may be
confidential, is intended only for the use of the
recipient(s) named above, and may be legally privileged. If
the reader of this message is not the intended recipient,
you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of
its contents, is strictly prohibited and may be unlawful. If
you have received this communication in error, please return
it to the sender immediately and delete the original
message and any copy of it from your computer system. If you
have any questions concerning this message, please contact
the sender.</span><span
style="font-family:"Arial","sans-serif";color:gray"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Verdana","sans-serif";color:black"><img
id="Picture_x0020_2"
src="cid:part5.07060900.03060508@anl.gov"
alt="http://intranet.som.com/common/admin/file.cfm?f=%2Fresources%2Fcontent%2F5%2F0%2F4%2F4%2F6%2F4%2F0%2F3%2Fdocuments%2Fimagea560bf%2Egif%406e10073b%2E30854c37"
width="393" border="0" height="19"></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Swift-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Wilde
Mathematics and Computer Science Computation Institute
Argonne National Laboratory The University of Chicago
</pre>
</body>
</html>