Path: csiph.com!eternal-september.org!feeder.eternal-september.org!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'loop.': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'anyway': 0.11; 'thursday,': 0.13; 'subject:python': 0.14; 'thu,': 0.15; "'at": 0.16; '>on': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'run.': 0.16; 'subject:login': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'all,': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'saying': 0.22; 'see:': 0.22; 'advance.': 0.23; 'sort': 0.25; '-0700,': 0.29; 'received:se': 0.29; 'servers.': 0.29; 'cc:no real name:2**1': 0.29; 'tutorial': 0.29; 'url:mailman': 0.30; 'checked': 0.31; 'certain': 0.31; 'getting': 0.33; 'problem': 0.33; 'url:python': 0.33; 'url:listinfo': 0.34; 'list': 0.34; 'so,': 0.35; 'remote': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'depends': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'charset:us-ascii': 0.37; 'things': 0.38; 'mean': 0.38; "didn't": 0.39; 'url:mail': 0.40; 'still': 0.40; 'some': 0.40; 'your': 0.60; 'header:Message-Id:1': 0.61; 'email addr:gmail.com': 0.62; 'is.': 0.63; 'places': 0.64; 'sound': 0.72; 'fab': 0.84; 'header:In-reply-to:1': 0.84; 'utc+5:30,': 0.84; 'activity,': 0.91; 'have.': 0.93 To: harirammanohar159@gmail.com cc: python-list@python.org, lac@openend.se From: Laura Creighton Subject: Re: reg multiple login python In-reply-to: <6cf1b75d-86db-4770-866b-66f5b226ffb5@googlegroups.com> References: <2fe53246-4212-4cfd-896b-acf8e8e88b09@googlegroups.com> <6cf1b75d-86db-4770-866b-66f5b226ffb5@googlegroups.com> Comments: In-reply-to harirammanohar159@gmail.com message dated "Thu, 01 Oct 2015 01:25:47 -0700." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18246.1443690619.1@fido> Content-Transfer-Encoding: quoted-printable Date: Thu, 01 Oct 2015 11:10:19 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Thu, 01 Oct 2015 11:10:21 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1443690630 news.xs4all.nl 23839 [2001:888:2000:d::a6]:52892 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97275 In a message of Thu, 01 Oct 2015 01:25:47 -0700, harirammanohar159@gmail.c= om wr ites: >On Thursday, 1 October 2015 12:35:01 UTC+5:30, hariramm...@gmail.com wro= te: >> Hi All, >> = >> Is there anyway i can login to remote servers at once and do the activi= ty, i can do one by one using for loop.. >> = >> Thanks in advance. > >Hi Laura, > >I have checked fabric tutorial and examples, it didn't sound that using f= ab we can do/push the thing at same time in all servers. >Are you saying that using fab we can login to all servers at same time an= d do the activity and come out... if so, can you just give me some example= .. > >meanwhile i will try getting fab with py3.3 to machine... >-- = >https://mail.python.org/mailman/listinfo/python-list I still don't know what you mean by 'at the same time'. But see: http://www.pythonforbeginners.com/systems-programming/how-to-use-fabric-in= -a-development-environment/ change env.hosts to be a list of all the places that you want the things you put in your fabfile.py to run. I don't know if this is going to help you, or be any better than just using a loop. It depends on what your problem is. Fabric is designed to solve a certain set of problems, but I don't know if they are the sort you have. Laura