-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some notes for create-ostack-nodes script
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Prepare virtual machines for OpenStack setup | ||
============================================ | ||
|
||
Syntax: | ||
|
||
Usage: ./create-ostack-nodes.sh CONTROLLER_NAME CONTROLLER_DISK_SIZE \ | ||
CONTROLLER_MEM COMPUTE_NAME \ | ||
COMPUTE_DISK_SIZE COMPUTE_MEM ROOTPW | ||
|
||
|
||
To create two virtual machines, one (Controller node) with 40G disk, | ||
4096MB memory; and the other (Compute node) with 50G disk, 6144MB memory | ||
with root password as 'fedora': | ||
|
||
./create-ostack-nodes.sh controller 40G 4096 compute 50G 6144 fedora | ||
|
||
|
||
The script does the following: | ||
|
||
- Checks if the host has enough free memory of at-least 10G | ||
- Creates 2 virtual machines | ||
- Imports the virtual machines into libvirt | ||
- Checks if nested virtualization is enabled or not | ||
- Enables host-passthrough on Compute node | ||
- Takes a libvirt QCOW2 internal snapshot of Controller and Compute | ||
nodes | ||
- Starts the virtual machines | ||
|