Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97275

Re: reg multiple login python

From Laura Creighton <lac@openend.se>
Subject Re: reg multiple login python
References <2fe53246-4212-4cfd-896b-acf8e8e88b09@googlegroups.com> <6cf1b75d-86db-4770-866b-66f5b226ffb5@googlegroups.com>
Date 2015-10-01 11:10 +0200
Newsgroups comp.lang.python
Message-ID <mailman.289.1443690630.28679.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Thu, 01 Oct 2015 01:25:47 -0700, harirammanohar159@gmail.com wr
ites:
>On Thursday, 1 October 2015 12:35:01 UTC+5:30, hariramm...@gmail.com  wrote:
>> Hi All,
>> 
>> Is there anyway i can login to remote servers at once and do the activity, 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 fab 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 and 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

reg multiple login python harirammanohar159@gmail.com - 2015-10-01 00:04 -0700
  Re: reg multiple login python Laura Creighton <lac@openend.se> - 2015-10-01 09:17 +0200
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-01 01:25 -0700
    Re: reg multiple login python Laura Creighton <lac@openend.se> - 2015-10-01 11:10 +0200
    Re: reg multiple login python Michael Ströder <michael@stroeder.com> - 2015-10-01 11:17 +0200
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-01 03:07 -0700
    Re: reg multiple login python Laura Creighton <lac@openend.se> - 2015-10-01 14:26 +0200
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-01 03:09 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-04 21:01 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-04 21:06 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-05 03:13 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-05 20:22 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-06 02:09 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-06 20:47 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-07 02:24 -0700
    Re: reg multiple login python Emile van Sebille <emile@fenx.com> - 2015-10-07 09:58 -0700
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-08 03:03 -0700
    Re: reg multiple login python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-10-08 08:42 -0400
  Re: reg multiple login python harirammanohar159@gmail.com - 2015-10-09 02:07 -0700

csiph-web