InterviewSolution
| 1. |
What Is Multi-machine Environment In Vagrant? |
|
Answer» Vagrant is able to define and control multiple guest machines per Vagrantfile. This is known as a “multi-machine” environment. These machines are generally able to work TOGETHER or are somehow associated with each other. Here are some use-cases people are using multi-machine environments for today: Accurately modeling a multi-server production topology, such as separating a web and database server. Modeling a DISTRIBUTED system and how they interact with each other. Testing an interface, such as an API to a service component. Disaster-case testing: machines dying, network partitions, slow networks, inconsistent world VIEWS, ETC. Vagrant is able to define and control multiple guest machines per Vagrantfile. This is known as a “multi-machine” environment. These machines are generally able to work together or are somehow associated with each other. Here are some use-cases people are using multi-machine environments for today: Accurately modeling a multi-server production topology, such as separating a web and database server. Modeling a distributed system and how they interact with each other. Testing an interface, such as an API to a service component. Disaster-case testing: machines dying, network partitions, slow networks, inconsistent world views, etc. |
|