Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axsh/vnet-bootstrap
https://github.com/axsh/vnet-bootstrap
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/axsh/vnet-bootstrap
- Owner: axsh
- Created: 2014-04-04T07:02:50.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T09:40:08.000Z (about 10 years ago)
- Last Synced: 2023-04-18T20:26:48.101Z (over 1 year ago)
- Language: Shell
- Size: 5.78 MB
- Stars: 1
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vnet-bootstrap
==============Note: depends on a web server running on 2.24, so for now the
following will not work outside of the office.## One time setup:
./bin/setup-0-download-centos-iso.sh
Downloads the LiveCD image. If you run this on 2.24,
it will try to use the ISO image that is already downloaded there../bin/setup-1-modify-boot-ramdisk.sh
./bin/setup-2-cache-sbuml-resources.shNecessary steps.
./bin/setup-3-optional-preload-of-yum-and-gem-caches.sh
This changes the initial install from about 45 minutes to 10 or so minutes.
./bin/initialize-demo-configuration.sh itest
The "itest" parameter is necessary. (There is also a "local" that
will start a one-machine OpenVNet demo.)./bin/advance-vms-to-high-level-stage.sh full 1
Start out by installing to vm1 only. In theory, this step should not
be necessary, however, the VMs share the same cache directories and
clobber each other the first pass through, so let one machine get
everything in order. (TODO: The scripts should be changed to use locks and
be more careful.) Anyway, one VM should work OK and take about 10 minutes.Warning: You really must wait until vm1 is finished. You can check
progress (or problems) with "tail -f log1".
"./vm1/vnetscript-shortcut.sh itests_env_setup" gives another useful
view of progress.## Bootstraping and running a test:
./bin/advance-vms-to-high-level-stage.sh full
No machine number parameter given, so it defaults to all VMs. Should
take about 5 minutes../bin/itest-run.sh simple
Does: /opt/axsh/openvnet-testspec/bin/itest-spec run simple.
./bin/stop-all-vms.sh
Kills all VMs in the cluster at $(pwd).
./bin/dinkvm -ls -rm
Kills all VMs currently started by the current user.