331
Configuring the TFTP server
Place the template files on the TFTP server. In this example, both spine node and leaf node exist on
the VXLAN network, so two template files (vxlan_spine.template and vxlan_leaf.template) are
required.
Powering up Device A, Device B, and Device C
After starting up with zero configuration, Device A, Device B, and Device C each automatically
downloads a template file to finish automated underlay network provisioning.
Configuring the controller node
1.
Install OpenStack Neutron related components:
a.
Install Neutron, Image, Dashboard, Networking, and RabbitMQ.
b.
Install HPE ML2 Driver. For more information, see
HPE Neutron ML2 Driver Installation
Guide
.
c.
Configure LLDP.
2.
Configure the network as a VXLAN network:
Edit the
/etc/neutron/plugin/ml2/ml2_conf.ini
file as follows:
a.
Add the
hpe_vxlan
type driver to the type driver list.
type_drivers = hpe_vxlan
b.
Add
hpe
to the mechanism driver list.
mechanism_driver = openvswitch, hpe
c.
Specify
hpe_vxlan
as the default tenant network type.
tenant_network_types=hpe_vxlan
d.
Add the
[ml2_type_hpe_vxlan]
section, and specify a VXLAN ID range in the format of
vxlan-id1:vxlan-id2
. The value range for VXLAN IDs is 0 to 16777215.
[ml2_type_hpe_vxlan]
vni_ranges = 10000:60000
3.
Configure the database:
Before you configure the database, make sure you have configured the Neutron server.
[openstack@localhost ~]$ sudo hpe_config db_sync
4.
Restart the Neutron server:
[root@localhost ~]# service neutron-server restart
Configuring the compute nodes
Perform the following tasks on both Compute node 1 and Compute node 2.
1.
Install the OpenStack Nova related components, openvswitch, and neutron-ovs-agent.
2.
Create an OVS bridge named
br-vlan
and add interface Ethernet 0 (connected to the VCF
fabric) to the bridge.
# ovs-vsctl add-br br-vlan
# ovs-vsctl add-port br-vlan eth0
3.
Modify the bridge mapping on the OVS agent:
# Edit the
/etc/neutron/plugins/ml2/openvswitch_agent.ini
file as follows:
[ovs]
bridge_mappings = vlanphy:br-vlan
4.
Restart the neutron-openvswitch-agent.
# service neutron-openvswitch-agent restart
Verifying the OpenStack environment
Perform the following tasks on the OpenStack dashboard.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...