envchain --set isucon IKA_USER IKA_HOSTS
IKA_USER : fukajun
IKA_HOSTS : isu1,isu2,isu3
edit .ssh/config
Host isu1
HostName 10.0.0.1
User ec2-user
IdentityFile ~/.ssh/id_rsa.isucon.pem
Port 22
Host isu2
HostName 10.0.0.2
User ec2-user
IdentityFile ~/.ssh/id_rsa.isucon.pem
Port 22
Host isu2
HostName 10.0.0.3
User ec2-user
IdentityFile ~/.ssh/id_rsa.isucon.pem
Port 22
local and all hosts setup dir
envchain isucon ./bin/ika_sync init
upload to all hosts from local IKA_USER dir
envchain isucon ./bin/ika_sync up
download from all hosts to local IKA_USER dir
envchain isucon ./bin/ika_sync down
download from all hosts all user to local dir
envchain isucon ./bin/ika_sync down_all
- init
- up