Cisco Cisco Dynamic Fabric Automation for OpenStack Leaflet

Page of 38
uplink interfaces.
# Uplink interface is the interface which connects to leaf
# for example, for 3 compute nodes:
# node_name = name1,name2,name3
# node_ip = ip1,ip2,ip3
# node_uplink = uplink1, uplink2, uplink3
[compute]
node_name = vinci-ucs05,vinci-ucs06
node_ip = 172.28.12.68, 172.28.12.69
node_uplink = eth2,eth2
Invoke sudo ./generate_site at dir /etc/puppet/manifests.
Invoke Scripts to Restore Nodes (All Nodes)
Invoke restore_openstack on Build Server Node
Invoke the /home/localadmin/restore_openstack, and when prompted, give the full qualified domain name of
build server node and decide if you want to apply site.pp.
An example follows:
sudo
–H bash
root@vinci-ucs29:/home/localadmin# ./restore_openstack
please input FQDN of build node: vinci-ucs29.cisco.com
……
Would you like to apply site.pp (y/n)? y
Type y if your site.pp is ready. Type n if your site.pp is not ready and you want to manually edit it.
After your site.pp is ready (or the previous apply site.pp is errored out from the script), enter the following:
puppet apply -v /etc/puppet/manifests/site.pp
This step takes a short while to complete so be patient. Verify that apache2 is running by entering the following:
- service appache2 status
Restart dnsmasq, by running the following on the build node :
service dnsmasq restart
Invoke restore_openstack on Control and Compute Nodes
Invoke the /home/localadmin/restore_openstack as sudo, and when prompted, give the full qualified domain
name of build server node:
sudo
–H bash
root@vinci-ucs138:/home/localadmin# ./restore_openstack
please input FQDN of build node: vinci-ucs29.cisco.com
If you plan to deploy a service router VM (CSR), please apply the iptable firewall patch on each compute
node, as follows:
1. 1. cp /usr/share/pyshared/quantum/agent/linux/iptables_firewall.py_new
/usr/share/pyshared/quantum/agent/linux/iptables_firewall.py
2. Edit /etc/quantum/quantum.conf (as sudo)
sudo
–H bash
vi /etc/quantum/quantum.conf
[keystone_authtoken]
auth_host = (control node ip)
admin_tenant_name = services
admin_user = quantum
admin_password = cisco123
   OpenStack 1.2 for Cisco DFA Install Guide for Using Pre-Built OpenStack for Cisco DFA Images
16
OL-32000-02   
Servers/UCS Topology and OpenStack for DFA Installation
Invoke Scripts to Restore Nodes (All Nodes)