https://github.com/linbit/vagrant-cluster
Vagrant and shell scripts that ease DRBD9/drbdmange testing
https://github.com/linbit/vagrant-cluster
Last synced: 14 days ago
JSON representation
Vagrant and shell scripts that ease DRBD9/drbdmange testing
- Host: GitHub
- URL: https://github.com/linbit/vagrant-cluster
- Owner: LINBIT
- License: gpl-2.0
- Created: 2015-04-29T11:27:00.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-28T19:43:28.000Z (about 10 years ago)
- Last Synced: 2025-02-24T16:28:29.818Z (over 1 year ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 3
- Watchers: 10
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vagrant-cluster
Vagrant and shell scripts that ease DRBD9/drbdmange testing
## Preparation
```
cd upstream
./update.sh
```
## Create the cluster
```
vagrant up
```
## Optional: Create a snapshot (requires vagrant snapshot plugin)
```
./createsnap.sh
```
## Connect to cluster, initialize backing device, and start drbdmanaged
```
vagrant ssh alpha
sudo su
bash /vagrant/vg_manage.sh
```
Repeat this step for bravo, charlie, delta (I use tmux and ':set synchronize-panes')
## Have fun
```
vagrant ssh alpha
sudo su
source /etc/bash_completion.d/drbdmanage
drbdmanage init 192.168.70.11
drbdmanage new-node bravo 192.168.70.12
...
```