Contenu connexe
Similaire à London open stack meet up - nov 2015 (20)
London open stack meet up - nov 2015
- 1. OpenStack Lab
With RHEL OSP 7, TripleO and director
Ramon Acedo
Red Hat OpenStack Specialist
London OpenStack Meet-up, November 2015
- 2. Goals
Experiment with RHEL OSP director in your own laptop
Understand how TripleO is used to install OpenStack
Prepare real environments
- 3. Tools
Laptop with 16 GB of RAM and fast HDD
If Mac OSX, VMware Fusion Professional
If Linux, VMware Workstation or Libvirt+KVM
- 17. Add nodes to roles and create their flavors
$ ironic node-update $node_id add properties/capabilities='profile:compute,boot_option:local'
$ ironic node-update $node_id add properties/capabilities='profile:control,boot_option:local'
$ openstack flavor create --id auto --ram 3000 --disk 17 --vcpus 2 --swap 2000 compute
$ openstack flavor create --id auto --ram 3000 --disk 19 --vcpus 2 --swap 1500 control
$ openstack flavor create --id auto --ram 3000 --disk 19 --vcpus 2 baremetal
- 18. Associate flavors to roles
$ openstack flavor set --property "cpu_arch"="x86_64" --property "capabilities:boot_option"="
local" --property "capabilities:profile"="control" control
$ openstack flavor set --property "cpu_arch"="x86_64" --property "capabilities:boot_option"="
local" --property "capabilities:profile"="compute" compute
- 25. Let’s enable swap, create the main template
New template in:
/home/stack/templates/firstboot/firstboot.yaml
- 28. Let’s deploy the Overcloud
$ openstack overcloud deploy
--templates templates/openstack-tripleo-heat-templates/
-e templates/openstack-tripleo-heat-templates/environments/network-isolation.yaml
-e templates/network-environment.yaml
-e templates/firstboot/firstboot.yaml
--control-flavor control
--compute-flavor compute
--neutron-tunnel-types vxlan --neutron-network-type vxlan
--ntp-server clock.redhat.com