Tuesday, November 11, 2014

Fabric - Fab Squared

So we have some vCloud boxes that I setup a week back.  (See lame picture below)
My local VM would blow up when I tried to run too many Fab tasks in parallel.
So I decided to farm out the fab tasks to some dedicated VMs.
What better tool to run Fab on remote boxes than Fab itself?   :)
fab -H 10.10.10.10 -- 'cd /home/urmom/fabstuffs; fab svcs.provision:prd,standby,use1b,piapi-affiliation,1.0.8,count=2' </dev/null > b_affiliation.out 2>&1 &

Yes, that hideous command above is redirecting StdOut, StdErr and StdIn.


No comments:

Post a Comment