[CENTOS] Setting to start multiple units at the same time with Vagrant

Multi-machine setting to start multiple units at the same time with Vagrant It is used when conducting multiple server operation experiments on your own PC.

Vagranfile


# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
  config.vm.define "server111" do |server|
    server.vm.box = "bento/centos-8"
    server.vm.hostname = "server111"
    server.vm.network "private_network", ip: "192.168.56.111"
    server.vm.synced_folder ".", "/vagrant", disabled: true
    server.vm.provider "virtualbox" do |vb|
      vb.gui = false
      vb.memory = "512"
    end
  end
  config.vm.define "server112" do |server|
    server.vm.box = "bento/centos-8"
    server.vm.hostname = "server112"
    server.vm.network "private_network", ip: "192.168.56.112"
    server.vm.synced_folder ".", "/vagrant", disabled: true
    server.vm.provider "virtualbox" do |vb|
      vb.gui = false
      vb.memory = "512"
    end
  end
end


Recommended Posts

Setting to start multiple units at the same time with Vagrant
How to delete child elements associated with a parent element at the same time
FactoryBot Register multiple data with the same model
Setting to start multiple units at the same time with Vagrant
Prepare the format environment with "Rails" (VScode)
Run a DMN with the Camunda DMN Engine
Implementation method of linking multiple images to one post and posting at the same time
How to call multiple names at once in the same category
FactoryBot Register multiple data with the same model
[Ruby] Define the hierarchy at the same time as Hash initialization with tap method
How to change the action with multiple submit buttons
`Failed to create the host-only adapter` with docker-machine start`
Form and process file and String data at the same time with Spring Boot + Java
Whether to make the server side at the time of system rebuild with Kotlin or Java
Wait for the container service to start with docker healthcheck
Now is the time to get started with the Stream API
Waiting for a JMX connection on 18080 Connecting to multiple Java Application servers over a bastion from a local machine at the same time
What to do if you get the error message unrecognized selector send to instance "***"
About the behavior at the time of error of Files.copy (pathA, pathB)
Setting to start multiple units at the same time with Vagrant
[Rails] About Uglifier :: Error: Unexpected token: at the time of deployment
[Beginner] Procedure to log in to the virtual environment built with Vagrant
Check the actual date and time at parse with Java's SimpleDateFormat
Java Converts disparate character codes to the same character code at once
How to use MinIO with the same function as S3 Use docker-compose
Lock_version may be used for tables that tend to access and edit the same record at the same time
To display multiple lines with UILabel
Java, arrays to start with beginners
How to start Camunda with Docker
Wait for PostgreSQL to start with Docker and then start the WEB service
[Spring Boot] Post files and other data at the same time [Axios]
Email sending function with Action Mailer at the time of new registration
How to compare only the time with Rails (from what time to what time, something like)
Try Alfresco 6.0 on Windows (Docker will be introduced at the same time)
How to implement the email authentication function at the time of user registration