how to send simultaneous commands into different servers

[email protected] (Hugo Hernandez-Mora) Tue, 3 Feb 2009 17:13:28 -0800
Newsgroups perl.64bit
Message-ID <[email protected]>
--_004_CE402D6A6ABBAB468C1AEA965F1EE5D5C4E11D86E2KAHLOloniucla_
Content-Type: multipart/alternative;
	boundary="_000_CE402D6A6ABBAB468C1AEA965F1EE5D5C4E11D86E2KAHLOloniucla_"

--_000_CE402D6A6ABBAB468C1AEA965F1EE5D5C4E11D86E2KAHLOloniucla_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hello all,
I am looking for a way to send the same shell command into different server=
s simultaneously.   I am managing a cluster with +400 nodes and I have an a=
pplication which send the commands to the servers but in a sequential way w=
hich at some point is being inefficient for us.  Any ideas?
Thanks in advance,
-Hugo

BTW, I am not sure if this is the correct mailing list to submit this quest=
ion.


--
Hugo R. Hernandez-Mora
System Administrator
Laboratory of Neuro Imaging, UCLA
635 Charles E. Young Drive South, Suite 225
Los Angeles, CA 90095-7332
Tel: 310.267.5076
Fax: 310.206.5518
[email protected]<mailto:[email protected]>
--

"Si seus esfor=E7os, foram vistos com indefren=E7a, n=E3o desanime,
que o sol faze un espectacolo maravilhoso todas as manh=E3s
cuando a maior parte das pessoas, ainda estam durmindo"


--_000_CE402D6A6ABBAB468C1AEA965F1EE5D5C4E11D86E2KAHLOloniucla_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" xmln=
s:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois=3D"ht=
tp://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://schema=
s.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3.org/2=
000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http://www=
.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sharepoin=
t/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" xmlns=
:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://schema=
s.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001/XMLSc=
hema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" xm=
lns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p=3D=
"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http://schem=
as.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://schemas.mi=
crosoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.microsof=
t.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformats.org/=
package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlformats=
.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.com/off=
ice/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/package/=
2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpa=
ges" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/typ=
es" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/mess=
ages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/SlideLibr=
ary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortalServer=
/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:st=3D"=
&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta name=3D"Microsoft Theme 2.00" content=3D"Pixel 011">
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Calibri","sans-serif";
	color:black;}
h1
	{mso-style-priority:9;
	mso-style-link:"Heading 1 Char";
	margin-top:24.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	page-break-after:avoid;
	font-size:16.0pt;
	font-family:"Calibri","sans-serif";
	color:black;}
h2
	{mso-style-priority:9;
	mso-style-link:"Heading 2 Char";
	margin-top:10.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	page-break-after:avoid;
	font-size:14.0pt;
	font-family:"Calibri","sans-serif";
	color:black;
	font-weight:normal;}
h3
	{mso-style-priority:9;
	mso-style-link:"Heading 3 Char";
	margin-top:10.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	page-break-after:avoid;
	font-size:13.0pt;
	font-family:"Calibri","sans-serif";
	color:black;
	font-weight:normal;}
h4
	{mso-style-priority:9;
	mso-style-link:"Heading 4 Char";
	margin-top:10.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	page-break-after:avoid;
	font-size:14.0pt;
	font-family:"Calibri","sans-serif";
	color:black;
	font-weight:normal;}
h5
	{mso-style-priority:9;
	mso-style-link:"Heading 5 Char";
	margin-top:10.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	page-break-after:avoid;
	font-size:13.0pt;
	font-family:"Calibri","sans-serif";
	color:black;
	font-weight:normal;}
h6
	{mso-style-priority:9;
	mso-style-link:"Heading 6 Char";
	margin-top:10.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	page-break-after:avoid;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	color:black;
	font-weight:normal;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#6666CC;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#999999;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:#17365D;}
span.Heading1Char
	{mso-style-name:"Heading 1 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 1";
	font-family:"Arial","sans-serif";
	color:black;
	font-weight:bold;}
span.Heading2Char
	{mso-style-name:"Heading 2 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 2";
	font-family:"Arial","sans-serif";
	color:black;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-family:"Arial","sans-serif";
	color:black;}
span.Heading4Char
	{mso-style-name:"Heading 4 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 4";
	font-family:"Arial","sans-serif";
	color:black;}
span.Heading5Char
	{mso-style-name:"Heading 5 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 5";
	font-family:"Arial","sans-serif";
	color:black;}
span.Heading6Char
	{mso-style-name:"Heading 6 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 6";
	font-family:"Arial","sans-serif";
	color:black;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite background=3D"cid:[email protected]" lan=
g=3DEN-US
link=3D"#6666CC" vlink=3D"#999999">
<img src=3D"cid:[email protected]"
v:src=3D"cid:[email protected]" v:shapes=3D"_x0000_Mail" width=
=3D0
height=3D0 class=3Dshape style=3D'display:none;width:0;height:0'><!--[if gt=
e mso 9]><xml>
 <v:background id=3D"_x0000_s1025" o:bwmode=3D"white" o:targetscreensize=3D=
"800,600">
  <v:fill src=3D"cid:[email protected]" o:title=3D"pixbkgnd" t=
ype=3D"frame" />
 </v:background></xml><![endif]-->

<div class=3DSection1>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;color:#17365D'>Hello a=
ll,<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;color:#17365D'>I am lo=
oking
for a way to send the same shell command into different servers
simultaneously.&nbsp;&nbsp; I am managing a cluster with +400 nodes and I h=
ave
an application which send the commands to the servers but in a sequential w=
ay
which at some point is being inefficient for us.&nbsp; Any ideas?<o:p></o:p=
></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;color:#17365D'>Thanks =
in
advance,<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;color:#17365D'>-Hugo<o=
:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:#365F91'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:#365F91'>BTW, I am not sure if this is the correct mailing list to su=
bmit
this question.<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#17365D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",=
"sans-serif";
color:#17365D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:#365F91'>-- <o:p></o:p></span></p>

<p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Courie=
r New";
color:#365F91'>Hugo R. Hernandez-Mora<o:p></o:p></span></b></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:#365F91'>System Administrator<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:#365F91'>Laboratory of Neuro Imaging, UCLA<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:#365F91'>635 Charles E. Young Drive South, Suite 225<o:p></o:p></span=
></p>

<p class=3DMsoNormal><span lang=3DES-CO style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";
color:#365F91'>Los Angeles, CA 90095-7332<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DES-CO style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";
color:#365F91'>Tel: 310.267.5076<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DES-CO style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";
color:#365F91'>Fax: 310.206.5518<o:p></o:p></span></p>

<p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Courie=
r New";
color:#002060'><a href=3D"mailto:[email protected]"><span lang=
=3DES-CO
style=3D'color:#002060'>[email protected]</span></a></span></b><=
b><span
lang=3DES-CO style=3D'font-size:10.0pt;font-family:"Courier New";color:#002=
060'><o:p></o:p></span></b></p>

<p class=3DMsoNormal><span lang=3DES-CO style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";
color:#365F91'>--<o:p></o:p></span></p>

<p class=3DMsoNormal><span lang=3DES-CO style=3D'font-size:10.0pt;font-fami=
ly:"Courier New";
color:#365F91'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><b><span lang=3DES-CO style=3D'font-size:10.0pt;font-f=
amily:
"Courier New";color:#365F91'>&quot;Si seus esfor=E7os, foram vistos com
indefren=E7a, n=E3o desanime, <o:p></o:p></span></b></p>

<p class=3DMsoNormal><b><span lang=3DES-CO style=3D'font-size:10.0pt;font-f=
amily:
"Courier New";color:#365F91'>que o sol faze un espectacolo maravilhoso toda=
s as
manh=E3s <o:p></o:p></span></b></p>

<p class=3DMsoNormal><b><span lang=3DES-CO style=3D'font-size:10.0pt;font-f=
amily:
"Courier New";color:#365F91'>cuando a maior parte das pessoas, ainda estam
durmindo&quot; <o:p></o:p></span></b></p>

<p class=3DMsoNormal><span lang=3DES-CO><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>

--_000_CE402D6A6ABBAB468C1AEA965F1EE5D5C4E11D86E2KAHLOloniucla_--

--_004_CE402D6A6ABBAB468C1AEA965F1EE5D5C4E11D86E2KAHLOloniucla_
Content-Type: image/gif; name="image001.gif"
Content-Description: image001.gif
Content-Disposition: inline; filename="image001.gif"; size=1927;
	creation-date="Tue, 03 Feb 2009 17:13:30 GMT";
	modification-date="Tue, 03 Feb 2009 17:13:30 GMT"
Content-ID: <[email protected]>
Content-Transfer-Encoding: base64

R0lGODlhyADIAPcA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