Replication-based Cyber Foraging and Automated Configuration Management.