Pergunta de entrevista da empresa LinkedIn

How can you execute commands in 2000 machines in 5 minutes? regex problem

Resposta da entrevista

Sigiloso

20 de dez. de 2014

Assuming if they have access to ssh and ssh keys there are two ways. for host in `cat machines`; do ssh $host $command ; done or pssh -h hosts $command Better yet use fleet and coreos to launch a global service on all machine having the metadata value that indicates that it is part of the set.

1