Giter VIP home page Giter VIP logo

multinode's Introduction

multinode

This is to create multiple virtual machines using vagrant script

Reference video

  • We have demonstrated as part of video in YouTube channel
  • You can watch the video from this blog post

Instructions on Server with Linux, KVM, libvirt and Vagrant

  • Clone the repository
  • Make necessary changes to manifest.yml
  • It can create up to 10 virtual machines
  • Here are the default settings in manifest.yml
---
  instances: 7
  provider: libvirt
  name_prefix: server0
  name_suffix: .itversity.com
  ip_prefix: 192.168.100.20
  storage_devices: 2
  disk_size: 60G
  memory: 2048
  cpus: 2
  box: centos/7
  path: bootstrap.sh
  • This will create 7 virtual machines from 192.168.100.200 to 192.168.100.206
  • Each virtual machine is of size 8 GB memory and 2 CPUs
  • Each virtual machine will be created with 2 virtual hard drives which can expand up to 60 GB each using libvirt
  • Values related to virtual hard drives are hardcoded and hence make sure to understand side effects if you use to create them on local PC.

Instructions on PC or Mac with Windows or Mac OS, virtualbox and vagrant

  • Clone the repository
  • Make necessary changes to manifest.yml
  • It can create up to 10 virtual machines
  • Make sure to update instances to 2 or 3 based up on the capacity of your PC or Mac.
  • Change the provider to virtualbox
  • Here is the example manifest file where 3 virtual machines will be created.
---
  instances: 3
  provider: virtualbox
  name_prefix: server0
  name_suffix: .itversity.com
  ip_prefix: 192.168.100.20
  storage_devices: 2
  disk_size: 60G
  memory: 2048
  cpus: 2
  box: centos/7
  path: bootstrap.sh
  • This will create 7 virtual machines from 192.168.100.200 to 192.168.100.206
  • Each virtual machine is of size 8 GB memory and 2 CPUs
  • Additional storage will not be added
  • Values related to virtual hard drives are hardcoded and hence make sure to understand side effects if you use to create them on local PC.

multinode's People

Contributors

dgadiraju avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.