$ fab -H container-101,container-102 -P create_container
[container-101] Executing task 'create_container'
[container-102] Executing task 'create_container'
[h4xvz] run: vzctl create 102 --hostname container-102 --ostemplate ubuntu-12.10-x86_64
[h4xvz] run: vzctl create 101 --hostname container-101 --ostemplate ubuntu-12.10-x86_64
[h4xvz] out: Creating container private area (ubuntu-12.10-x86_64)
[h4xvz] out: Creating container private area (ubuntu-12.10-x86_64)
[h4xvz] out: Performing postcreate actions
[h4xvz] out: Performing postcreate actions
[h4xvz] out: CT configuration saved to /etc/vz/conf/101.conf
[h4xvz] out: Container private area was created
[h4xvz] out:
[h4xvz] out: CT configuration saved to /etc/vz/conf/102.conf
[h4xvz] out: Container private area was created
[h4xvz] out:
[h4xvz] run: vzctl set 101 --ipadd 10.105.0.101 --nameserver 8.8.8.8 --save
[h4xvz] run: vzctl set 102 --ipadd 10.105.0.102 --nameserver 8.8.8.8 --save
[h4xvz] out: CT configuration saved to /etc/vz/conf/101.conf
[h4xvz] out:
[h4xvz] run: echo ' >> /etc/vz/conf/101.conf
[h4xvz] out: CT configuration saved to /etc/vz/conf/102.conf
[h4xvz] out:
[h4xvz] run: echo ' >> /etc/vz/conf/102.conf
[h4xvz] run: vzctl start 102
[h4xvz] run: vzctl start 101
[h4xvz] out: Starting container ...
[h4xvz] out: Container is mounted
[h4xvz] out: Starting container ...
[h4xvz] out: Container is mounted
[h4xvz] out: Adding IP address(es): 10.105.0.102
[h4xvz] out: Adding IP address(es): 10.105.0.101
[h4xvz] out: Setting CPU units: 1000
[h4xvz] out: Setting CPU units: 1000
[h4xvz] out: Container start in progress...
[h4xvz] out:
[h4xvz] out: Container start in progress...
[h4xvz] out:
Done.
And finally, here's my two new containers running on the host:
101 21 running 10.105.0.101 container-101
102 18 running 10.105.0.102 container-102
Naturally you would substitute the name of your host where I have h4xvz and modify this as needed for your environment. I'm just giving a functional example of parallelism on a single endpoint by "cheating" how the host list works.