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


Groups > comp.lang.python > #97267

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>
Date 2015-10-01 09:17 +0200
Newsgroups comp.lang.python
Message-ID <mailman.283.1443683885.28679.python-list@python.org> (permalink)

Show all headers | View raw


In a message of Thu, 01 Oct 2015 00:04:16 -0700, harirammanohar159@gmail.com wr
ites:
>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.
>-- 
>https://mail.python.org/mailman/listinfo/python-list

I am not sure that what you said 'do at once' is what you meant.  Actually
making sure that 2 things happen at the same time on different machines
is a rather hard problem.

But you probably don't care.  'Do this thing all these places, asap'
and 'Do this thing, sometime just after 03:00' is what we most of
the time want, and the best you are going to get with your for loop.

How much 'at once' do you need?

Note, if your real problem is 'I have a lot of machines to admininster,
and I need to push changes to all of them, and sometimes some of them
are down, and keeping track of which ones still need the update vs
which ones already have it is a real pain', you may find that
admin tools such as fabric
http://www.fabfile.org/

make your life easier.

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