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


Groups > comp.lang.python > #97267

Re: reg multiple login python

Path csiph.com!news.swapon.de!newsreader4.netcologne.de!news.netcologne.de!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*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; 'subject:python': 0.14; 'thu,': 0.15; "'at": 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; 'subject:login': 0.16; 'laura': 0.18; 'all,': 0.20; 'changes': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'advance.': 0.23; '-0700,': 0.29; 'received:se': 0.29; 'admin': 0.29; 'cc:no real name:2**1': 0.29; 'url:mailman': 0.30; 'push': 0.30; 'probably': 0.31; 'problem': 0.33; 'url:python': 0.33; 'url:listinfo': 0.34; 'ones': 0.35; 'machines': 0.35; 'problem.': 0.35; 'remote': 0.35; 'sometimes': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'things': 0.38; 'sure': 0.39; 'rather': 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; 'real': 0.62; 'making': 0.62; 'different': 0.63; 'life': 0.67; 'header:In-reply-to:1': 0.84; 'activity,': 0.91; 'thing,': 0.93
To harirammanohar159@gmail.com
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: reg multiple login python
In-reply-to <2fe53246-4212-4cfd-896b-acf8e8e88b09@googlegroups.com>
References <2fe53246-4212-4cfd-896b-acf8e8e88b09@googlegroups.com>
Comments In-reply-to harirammanohar159@gmail.com message dated "Thu, 01 Oct 2015 00:04:16 -0700."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <10065.1443683878.1@fido>
Content-Transfer-Encoding quoted-printable
Date Thu, 01 Oct 2015 09:17:58 +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 09:17:59 +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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.283.1443683885.28679.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1443683885 news.xs4all.nl 23809 [2001:888:2000:d::a6]:41160
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 4232
X-Received-Body-CRC 3364325097
Xref csiph.com comp.lang.python:97267

Show key headers only | 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