From 9c2b6848566a0b80bb44f27cca155a240d69f061 Mon Sep 17 00:00:00 2001 From: Szilard Cserey Date: Tue, 14 Apr 2015 15:47:45 +0200 Subject: Automatic Deployment - node discovery - refactoring to support multiple shelves - configure nodes and interfaces - provisioning - deployment - extending with autodeployment scripts from libvirt prototype JIRA: [BGS-2] Create Fuel deployment scrip Signed-off-by: Szilard Cserey Change-Id: Ic48f93594914d5bef6c9de34d87434c7cd567198 --- fuel/deploy/README.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 fuel/deploy/README.rst (limited to 'fuel/deploy/README.rst') diff --git a/fuel/deploy/README.rst b/fuel/deploy/README.rst new file mode 100644 index 0000000..f7b5711 --- /dev/null +++ b/fuel/deploy/README.rst @@ -0,0 +1,47 @@ +**DEA libvirt deployment prototype** + +This is an example of how to deploy a libvirt KVM setup with a DEA +YAML file. + +The file is created from an already deployed Fuel installation using +the create_dea script and helper files which are to be present on the +Fuel master and run from there. + +The install is kicked off from the host by running deploy.sh and +providing the ISO file to deploy and (optionally) an DEA file name as +an argument. If the DEA file is omitted the example one will be used +instead. + +Pre-condition 1: The host needs to be Ubuntu 14.x + +Pre-condition 2: Necessary packages installed by running +sudo genesis/fuel/prototypes/libvirt/setup_vms/setup-vm-host.sh + +Pre-condition 3: Example VM configuration deployed by running +genesis/fuel/prototypes/libvirt/setup_vms/apply_setup.sh The VMs and +networks to be setup are in genesis/fuel/prototypes/libvirt/examples: +"vms" and "networks" +sudo mkdir /mnt/images +cd setup-vms +sudo ./apply_setup.sh /mnt/images 50 + +In order to run the automated install, it's just a matter of running +genesis/fuel/prototypes/libvirt/deploy.sh [] The +deafile will be optional, if not specified the example one in +genesis/fuel/prototypes/libvirt/examples/libvirt_dea.yaml will be +used. +sudo ./deploy.sh ~/ISO/opnfv-P0000.iso ~/DEPLOY/deploy/dea.yaml + +Now either this will succeed (return code 0) or fail. I'll have a +three hours safety catch to kill off things if something is hanging, +may need to be adjusted for slow environments (see deploy.sh). + +All the steps above should be run with sudo. + +In principle the deploy.sh is assuming the example vm setup (one fuel, +three controllers, two computes) and will always deploy with full HA +and Ceilometer. + +TODO: Copy also the deployment mode in my dea.yaml creation script +genesis/fuel/prototypes/libvirt/create_dea/create_dea.sh so it's a +real xerox of the running deploy. -- cgit 1.2.3-korg