The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter contains the following sections:
In VXLAN mulicast mode, the VTEP ports on VEM need to respond to incoming IGMP query traffic for the multicast group to which they belong. However, the default firewall rules (iptables) drop the incoming IGMP query traffic from reaching the VTEP interfaces. In order to allow this traffic, a firewall rule needs to be configured on the respective compute and network hosts, as follows:
#iptables -I INPUT 1 -p igmp -j ACCEPT
If no other interfaces other than the management interface come up after you reboot, you can either manually bring up the interfaces by entering ifconfig interface_name or change the ONBOOT parameter to yes in the /etc/sysconfig/network and the /etc/sysconfig/network-scripts/ifcfg-"interface name" files.
Step 1 | Bring up a VM or bare metal server with RHEL 7.1 with base installation. | ||
Step 2 | Configure the name servers and mgmt IP address. | ||
Step 3 | If you are
deploying the
Cisco Nexus 1000V for KVM
behind a firewall, configure a proxy host.
| ||
Step 4 | Assign an IP address to the provisioning interface. The RHEL-OSP provides the DHCP for its clients from the subnet that you enter. | ||
Step 5 | Register the
RHEL server.
subscription-manager register For more information, see the following URL: https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/ | ||
Step 6 | Attach the RHEL
server to a repository pool.
| ||
Step 7 | Enable
repositories in the selected pools.
subscription-manager repos --enable=rhel-7-server-openstack-6.0-rpms subscription-manager repos --enable=rhel-7-server-openstack-6.0-installer-rpms subscription-manager repos --enable=rhel-7-server-rpms subscription-manager repos --enable=rhel-server-rhscl-7-rpms | ||
Step 8 | Install
rhel-osp-installer.
yum install -y rhel-osp-installer | ||
Step 9 | Verify that a
valid fully qualified domain name (FQDN) hostname has been configured in the
/etc/hosts file by entering the following command:
hostname -f
If the command fails to return a hostname, you must configure one in the /etc/hosts file. The leftmost column is the ip_address to be resolved. The next column is the hostname, and the last column is an optional alias.
IPAddress Hostname Alias 203.0.10.3 web.openna.com web | ||
Step 10 | Install the RHEL-OSP Installer by executing the rhel-osp-installer on the command line of the RHEL-OSP-Installer server. For the detailed procedure, see https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/6/html/Installer_and_Foreman_Guide/chap-Installing_the_RHEL_OpenStack_Platform_Installer.html. | ||
Step 11 | Access the OpenStack Platform Installer's web user interface through its public IP address. If you have a private IP address, add an iptable rule so that you can access the web user interface. | ||
Step 12 | Log in to the OpenStack Platform Installer's web user interface using the login credentials. Username/password credentials are the ones that you see at the end of the RHEL-OSP Installer execution. | ||
Step 13 | Enable IP
forwarding by entering the following command at the command line prompt:
sysctl -w net.ipv4.ip_forward=1 | ||
Step 14 | Add net.ipv4.ip_forward=1 to the /etc/sysctl.conf file. | ||
Step 15 | Execute the
following IP table rules at the command line prompt:
iptables -I FORWARD -i <provisioning interface> -j ACCEPT iptables -I FORWARD -o <provisionng interface> -j ACCEPT iptables -t nat -A POSTROUTING -o <management interface> -j MASQUERADE |
To deploy Red Hat Enterprise Linux OpenStack Platform (RHEL-OSP), you must add hosts to the RHEL-OSP Installer to use for provisioning. For the instructions on how to add these hosts, see Chapter 5, "Deployment Scenario 1: Basic Environment" in the https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/6/html/Installer_and_Foreman_Guide/index.html.
Installing OpenStack with Cisco Nexus 1000V
You must add the VEM puppet class (neutron::agents::n1kv_vem) to both compute and controller host groups.
Step 1 | From the Red Hat Enterprise Linux OpenStack Platform Installer window, choose Configure > Puppet Classes. | ||||||||||||||||||||||||||||||||||||||||||
Step 2 | In the Search field, enter n1kv_vem. | ||||||||||||||||||||||||||||||||||||||||||
Step 3 | Click the neutron::agents::n1kv_vem class name. The Edit Puppet Class pane opens. | ||||||||||||||||||||||||||||||||||||||||||
Step 4 | In the Puppet Class tab, in the Host Group field, choose the controller and compute host groups that you want to add the VEM puppet class to. | ||||||||||||||||||||||||||||||||||||||||||
Step 5 | Click the Smart Class Parameter tab. | ||||||||||||||||||||||||||||||||||||||||||
Step 6 | In the
Smart
Class Parameter pane, click the required parameters. See table
below.
| ||||||||||||||||||||||||||||||||||||||||||
Step 7 | For each parameter, check the Override checkbox and configure the appropriate value. | ||||||||||||||||||||||||||||||||||||||||||
Step 8 | Click
Submit.
|
You must configure the controller parameters. Ensure that you have added the VEM puppet class to controller host group for both HA and non-HA deployments.For information, see Adding the n1kv_vem Class to a Host Group.
You must configure the n1kv_vem class parameters for the Neutron Compute host group.
Ensure that you have added the VEM puppet class to the Neutron Compute and Controller host groups. For information, see Adding the n1kv_vem Class to a Host Group.
You must bring up the Neutron Compute host group with the VEM installed in both standalone and HA deployments.
Step 1 | From the Red Hat Enterprise Linux OpenStack Platform Installer window, choose OpenStack Installer > Deployments. | |||||||||
Step 2 | Click the Advanced Configuration tab. | |||||||||
Step 3 | Click Edit to navigate to neutron-compute in the Services list. | |||||||||
Step 4 | Change the
following parameters to the appropriate values.
| |||||||||
Step 5 | Click Apply. |
You can configure additional parameters in the n1kv.conf file. This is an optional process.
Step 1 | Log into the RHEL-OSP-Installer server. |
Step 2 | Open the /usr/share/openstack-puppet/modules/neutron/templates/n1kv.conf.erb file. |
Step 3 | Add the variable that you need with its corresponding value. |
Step 4 | Log into the corresponding node where VEM is installed and execute "puppet agent -tv" to trigger Puppet. |
You can set up the Cisco Yum repository.
Make sure that the Cisco Yum repository is reachable at the following URL:https://cnsg-yum-server.cisco.com/yumrepo.
Step 1 | Edit the /etc/yum.repos.d/cisco_os.repo file. |
Step 2 | Add the
following configuration:
[cisco-os] name=External repo for Cisco nexus 1000v served over HTTPS baseurl=https://cnsg-yum-server.cisco.com/yumrepo enabled=1 gpgcheck=1 gpgkey=https://cnsg-yum-server.cisco.com/yumrepo/RPM-GPG-KEY sslverify=1 |
Step 3 | Save and close the file. |
You need to deploy the controller and compute hosts.
Step 1 | Assign
controller and compute roles to hosts.
|
Step 2 | Click Deploy. |
cisco-n1kv-python-nova-<mandatory/optional>-patch-<python-nova version>.<patch version>.noarch.rpm cisco-n1kv-openstack-dashboard-<mandatory/optional>-patch-<openstack-dashboard-version>.<patch version>.noarch.rpm
![]() Note | Openstack dashboard mandatory patches must be installed on controller hosts in both OpenStack standalone and HA deployments. Python-nova mandatory patches must be installed on the compute(s) and controller hosts in both, the OpenStack standalone and HA deployments. |
Make sure that the Cisco Yum repository has been configured. See Setting Up the Cisco Yum Repository.
Make sure that the OpenStack controller node is up and running.
Optionally, you can also download the patch. You can use the wgetcisco_repository_path/patch_name.rpm command.
Patches that have a mandatory tag must be installed. Patches that have an optional tag can be installed based on your preference. Use the rpm -qpil file.rpm or yum info file.rpm command to determine which bug fixes are included in the patches. The patches are located in the Cisco Yum repository.
Step 1 | Install the
patches from the Cisco-os repository.
yum install –y patch_name |
Step 2 | For the
python-nova patch, restart the OpenStack nova API.
service openstack-nova-api restart =>on controller service openstack-nova-compute restart => on compute |
Step 3 | For the
Openstack dashboard, restart the httpd services.
service httpd restart |
If you need to configure the fully qualified domain name (FQDN) parameter differently on one host than the other hosts in a group, you can use this procedure.
Step 1 | From the Red Hat Enterprise Linus OpenStack Platform Installer window, choose Configure > Puppet Classes. |
Step 2 | Enter n1kv_vem in the Search field and click Search. |
Step 3 | Choose the neutron::agents::n1kv_vem class name and click the Smart Class Parameter tab. |
Step 4 | In the Smart Class Parameter pane, click each parameter that you want to change and check the Override checkbox in the corresponding pane to the right. |
Step 5 | Scroll down to the Override Value For Specific Hosts area and provide the host specific configuration based on the FQDN of the host. |
Step 6 | Click Submit. |