|
From: | Samuli Seppänen |
Subject: | Re: [Fab-user] ssh.transport |
Date: | Mon, 19 Mar 2012 11:03:17 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
Il 17.03.2012 01:56, Maximilia Black ha scritto:
Hi, I think the EC2 VMs have not initialized properly when you're trying to run the command. I've used Fabric to configure up to 100 newly created EC2 VM. To make sure all EC2 VMs are up before running Fabric, I wrote a piece of Python+Boto code which - uses Boto to launch the n number of EC2 VMs - gets a (filtered) list of VMs and check if all are up - if not, waits 10 seconds and repeats the check Once it sees all VMs are up, it launches Fabric. That way all EC2 VMs are guaranteed to be up before running any commands. If you're interested in this tool, look here: <https://community.openvpn.net/openvpn/wiki/PerformanceTesting#Tools> I'd need to upgrade it to use Fabric's parallel mode (as well as EC2 tags) to make it simpler and cleaner. Atm it handles parallelism itself, and is thus somewhat complex. Samuli |
[Prev in Thread] | Current Thread | [Next in Thread] |