Cisco Virtualized Infrastructure Manager 2.4 Installation Guide
Advertisement
Advertisement
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
First Published: 2018-03-30
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
© 2018 Cisco Systems, Inc. All rights reserved.
C O N T E N T S
C H A P T E R 1
C H A P T E R 2
C H A P T E R 3
Overview to Cisco NFV Infrastructure 1
Overview to Cisco Virtual Infrastructure Manager 7
Cisco NFVI Networking Overview 11
UCS C-Series Network Topologies 18
Cisco VIM Management Node Networking 22
IPv6 Support on Management Network 24
UCS C-Series and B-Series -Topologies 25
Cisco NFVI High Availability 27
Cisco NFVI Storage Node Overview 28
Overview to Cisco Virtual Topology System 29
Overview to Cisco VIM Unified Management 33
Overview to ACI Plugin Integration 36
Power Management of Computes for C-Series 38
Cisco NFVI Installation Overview 39
Overview to Cisco NFVI Installation 39
Preparing for Installation on Servers Without Internet Access 43
Preparing to Install Cisco NFVI on Management Nodes Without Internet Access 43
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
iii
Contents
C H A P T E R 4
C H A P T E R 5
Preparing for Cisco NFVI Installation 47
Installing the Cisco NFVI Hardware 47
Configuring ToR Switches for C-Series Pods 50
Configuring ToR Switches for UCS B-Series Pods 54
Preparing Cisco IMC and Cisco UCS Manager 56
Installing the Management Node 56
Setting Up the UCS C-Series Pod 59
Setting Up the UCS B-Series Pod 62
Configuring the Out-of-Band Management Switch 63
Overview to Cisco VTS Installation in Cisco NFVI 65
Cisco VTS Usernames and Passwords in Cisco NFVI 67
System Requirements for VTC VM 68
System Requirements for VTSR VM 69
Installing Cisco VTS in a Cisco NFVI Environment 70
Installing VTC VM - Automatic Configuration Using ISO File 71
Installing VTC VM - Manual Configuration Using Virt-Manager 72
Installing VTC VM - Manual Configuration using VNC 73
Bringing up the KVM-based VTSR VM 75
Creating an ISO for IOS VTSR 75
Verifying Cisco VTS Installation in Cisco NFVI 77
Verifying VTC VM Installation 77
Verifying VTSR VM Installation 78
Troubleshooting VTF Registration 78
Configuring Cisco VTS and VTSR After Installation 79
Installing VTS in an HA Configuration 80
Completing the VTSR HA Configuration 84
Sample Cisco VTS Configurations for Cisco NFVI 84
iv
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Contents
C H A P T E R 6
C H A P T E R 7
Cisco VIM Installation Overview 89
Cisco VIM Configuration Overview 95
Configuring ToR Automatically 95
Setting Up the Cisco VIM Data Configurations 95
Setting Up the ToR Configurations for B-series and C-series 95
Support for Custom Configuration 98
Setting Up Cisco VIM OpenStack Configurations 112
Cisco VIM Configurations for VPP/VLAN Installation 120
Cisco VIM Configurations for Cisco VTS Installation 120
Setting of Memory Oversubscription Usage 125
Enabling NFVBench on Cisco VIM 126
Enabling NFVIMON on Cisco VIM 128
Installation of NFVIMON Dispatcher 128
Enabling or Disabling Autobackup of Management Node 130
Enabling Custom Policy for VNF Manager 130
Forwarding ELK logs to External Syslog Server 130
Configuring Additional VIM Administrators 130
Updating Cisco NFVI Software 131
Upgrading Cisco NFVI Software 132
Installing Cisco VIM Unified Management 133
Cisco VIM Insight with Internet Access 133
Installing Cisco VIM Insight without Internet Access 137
Cisco VIM Insight Post Bootstrap Validation Checks 140
VIM Insight Admin Login for Standalone Setup 144
VIM UM Pod Admin Login for Standalone Setup 144
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
v
Contents
C H A P T E R 8
Installing Cisco VIM through Cisco VIM Unified Management 147
Unified Management Dashboard 147
Unified Management (UM) Administrator 150
Registering New Pod to Insight 151
Configuring OpenStack Installation 155
Post Installation Features for Active Blueprint 209
Reconfiguring CIMC Password through Insight 213
Reconfiguring OpenStack Password 214
Reconfiguring OpenStack Services, TLS certs and ELK configurations 214
Reconfiguring Optional Services 215
Managing Root CA Certificate 217
vi
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R 9
C H A P T E R 1 0
Verifying the Cisco NFVI Installation 219
Displaying Cisco NFVI Node IP Addresses 219
Verifying Cisco VIM Client CLI Availability 220
Displaying Cisco NFVI Logs 221
Accessing OpenStack API Endpoints 221
Assessing Cisco NFVI Health with CloudPulse 222
Displaying HA Proxy Dashboard and ELK Stack Logs 224
Checking Cisco NFVI Pod and Cloud Infrastructure 224
Cisco VIM Wiring Diagarams 229
Contents
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
vii
Contents viii
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
1
Overview to Cisco NFVI
This section contains the following topics:
•
Overview to Cisco NFV Infrastructure, on page 1
•
Overview to Cisco Virtual Infrastructure Manager, on page 7
•
Cisco NFVI Networking Overview, on page 11
•
UCS C-Series Network Topologies, on page 18
•
Cisco VIM Management Node Networking, on page 22
•
IPv6 Support on Management Network, on page 24
•
UCS C-Series and B-Series -Topologies, on page 25
•
Cisco NFVI High Availability, on page 27
•
Cisco NFVI Storage Node Overview, on page 28
•
Overview to Cisco Virtual Topology System, on page 29
•
Overview to Cisco NFVIMON, on page 32
•
Overview to Cisco VIM Unified Management, on page 33
•
Overview to NFVBench, on page 34
•
Overview to ACI Plugin Integration, on page 36
•
NCS-5500 as a ToR Option, on page 37
•
Disk Management in VIM, on page 37
•
•
Power Management of Computes for C-Series, on page 38
Overview to Cisco NFV Infrastructure
Cisco Network Function Virtualization Infrastructure (NFVI) provides the virtual layer and hardware environment in which virtual network functions (VNFs) can operate. VNFs provide a well-defined network functions such as routing, intrusion detection, domain name service (DNS), caching, network address translation
(NAT), and other network functions. While these network functions require a tight integration between network software and hardware in the past, the introduction to VNFs has helped decouple (losely couple) the software from the underlying hardware.
The following figure shows the high-level NFVI architecture.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
1
Overview to Cisco NFV Infrastructure
Figure 1: General NFV Infrastructure
Overview to Cisco NFVI
Cisco NFVI features a virtual infrastructure layer (Cisco VIM) that embeds the Red Hat OpenStack Platform
(OSP 10).Cisco VIM includes the Newton release of OpenStack, the open source cloud operating system that controls large pools of compute, storage, and networking resources. Cisco VIM manages the OpenStack compute, network, and storage services, and all NFVI management and control functions. Key Cisco NFVI roles include:
• Control (including Networking)
• Compute
• Storage
• Management (including logging, and monitoring)
Hardware that is used to create the Cisco NFVI pods include:
• Cisco UCS ® C240 M4—Performs management and storage functions and services. Includes dedicated
Ceph (UCS 240-M4) distributed object store and file system. (Only Red Hat Ceph is supported).
• Cisco UCS C220/240 M4—Performs control and compute services.
• HP DL360 Gen9 – As third party compute.
• Cisco UCS 220/240 M5 (SFF) – In an Micropod environment, expandable to maximum of 16 computes.
• Cisco UCS B200 M4 blades—It can be used instead of the UCS C220 for compute and control services.
The B200 blades and C240 Ceph server are connected with redundant Cisco Fabric Interconnects managed by UCS Manager.
The UCS C240 and C220 servers are M4 Small Form Factor (SFF) models where the computes can boot from a pair of HDDs or SSD. Each UCS C240, C220, and B200 have two 10 GE Cisco UCS Virtual Interface
Cards. M5 versions in a micropod environment of the UCS C240 and C220 servers are Small Form Factor
(SFF) models where the nodes can boot from a pair of HDDs or SSD-based on the BOM type.
2
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Overview to Cisco NFV Infrastructure
The B-Series pod consists of Cisco UCS B200 M4 blades for the Cisco NFVI compute and controller nodes with dedicated Ceph on a UCS C240 M4. The blades and the Ceph server are connected to redundant fabric interconnects (FIs) managed by Cisco UCS Manager. When you install Cisco VIM on a B-Series pod, you can dynamically allocate VLANs on the provider networks for both Virtio and SRIOV using the optional
Cisco UCS Manager plugin. The Cisco VIM installer performs bare metal installation and deploys OpenStack services using Docker ™ containers to allow for OpenStack services and pod management software updates.
The following table shows the functions, hardware, and services performed by Cisco NFVI nodes.
Table 1: Cisco NFVI Node Functions
Function Number
Management 1
Hardware
• UCS C240 M4 SFF with 8, 16, or
24 1.2 TB HDDs (24 is recommended)
• UCS C240 M5 SFF with 8, 16, or
24 1.2 TB HDDs (24 is recommended)
• UCS C220 M5 SFF with 8x1.2 TB
HDDs
Services
• Cisco VIM Installer
• Cobbler server
• Docker Registry
• ELK server
Control
Compute
3
2+
• UCS C220/C240 M4 with two 1.2
TB HDDs, or
• UCS B200 with two 1.2 TB HDDs
• HP DL360 Gen9
• UCS 220/240 M5 with 2x1.2 TB
HDDs, or 2x960G SSDs (in a micro pod environment)
• UCS C220/C240 M4 with two 1.2
TB HDDs, or 2x1.6 TB SSDs
• UCS B200 with two 1.2 TB HDDs
• UCS 220/240 M5 with 2x1.2 TB
HDDs, or 2x960G SSDs (in a micro pod environment)
• Maria Database/Galera
• RabbitMQ
• HA Proxy/Keepalive
• Identity Service
• Image Service
• Compute management
• Network service
• Storage service
• Horizon dashboard
• Fluentd
• Virtual Networking Service
• Compute service
• Fluentd
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
3
Overview to Cisco NFVI
Overview to Cisco NFV Infrastructure
Function
Storage
Number
3 or more
Hardware
SSD and HDD drives must be in a 1:5 ratio per storage node.
Storage node configuration options:
• UCS C240 M4 with two internal
SSDs*, 1 external SSDs, and five
1.2 TB HDDs, or
• UCS C240 M4, with 2 internal
SSDs*, 4 SSDs and 20 1.2 TB
HDDs
• For UMHC, UCS C240 M4, with two 1.2TB HDD for OS boot, one/2
SSDs and 5/10 1.2 TB HDDs
• SSD-based Ceph: UCS C240 M4 with 2 internal SSDs*, minimum of
4 external SSDs, expandable to 24
SSDs
Services
• Storage service
ToR 2 Recommended N9K switch software version:
• 7.0(3)I4(6)
• 7.0(3)I6(1).
NCS-5500 as TORs or Nexus 9K switches running ACI 3.0
(when ACI is used)
• Top of Rack services
Top of Rack services are for limited deployment (for VIM running on
C-series (Micropod) with Intel NIC and
VPP as the mechanism driver).
Note Internal SSD is the boot device for the storage node.
Note You can use any ToR that supports virtual port channel. We recommend you to use N9K SKUs as TOR, which is released as part of Cisco VIM. When NCS-5500 acts as a TOR, auto-TOR config is mandatory.
Note You can use the automated ToR configuration feature for NCS-5500.
Software applications that manage Cisco NFVI hosts and services include:
• Red Hat Enterprise Linux 7.4 with OpenStack Platform 10.0—Provides the core operating system with
OpenStack capability. RHEL 7.4 and OPS 10.0 are installed on all target Cisco NFVI nodes.
4
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Overview to Cisco NFV Infrastructure
• Cisco Virtual Infrastructure Manager (VIM)—An OpenStack orchestration system that helps to deploy and manage an OpenStack cloud offering from bare metal installation to OpenStack services, taking into account hardware and software redundancy, security and monitoring. Cisco VIM includes the OpenStack
Newton release with more features and usability enhancements that are tested for functionality, scale, and performance.
• Cisco Unified Management—Deploys, provisions, and manages Cisco VIM on Cisco UCS servers.
• Cisco UCS Manager—Used to perform certain management functions when UCS B200 blades are installed. Supported UCS Manager firmware versions are 2.2(5a) and above.
• Cisco Integrated Management Controller (IMC)-Provides embedded server management for Cisco UCS
C-Series Rack Servers. Supports Cisco IMC firmware versions for the fresh install of Cisco VIM 2.2 is:
2.0(13i) or greater. Because of recent security fixes, we recommend you to move CIMC to 2.0(13n) or higher. Before upgrade of Pod from CVIM 1.0 to CVIM 2.2, it is expected that you manually upgrade to 2.0(13n) or greater. Similarly, CIMC version of 3.0 lineup is supported; for CIMC 3.0. For this, you must choose a version greater or equal to 3.0 (3a).
• Cisco Virtual Topology System (VTS)—It is a standards-based, open, overlay management and provisioning system for data center networks. VTS automates DC overlay fabric provisioning for physical and virtual workloads. This is an optional service that is available through Cisco VIM.
• Cisco Virtual Topology Forwarder (VTF)—Included with VTS, VTF leverages Vector Packet Processing
(VPP) to provide high performance Layer 2 and Layer 3 VXLAN packet forwarding.
Two Cisco VNF orchestration and management applications that are used with Cisco NFVI include:
• Cisco Network Services Orchestrator, enabled by Tail-f—Provides end-to-end orchestration spanning multiple network domains to address NFV management and orchestration (MANO) and software-defined networking (SDN). (For information about Cisco NSO, see Network Services Orchestrator Solutions .)
• Cisco Elastic Services Controller—Provides a single point of control to manage all aspects of the NFV lifecycle for VNFs. ESC allows you to automatically instantiate, monitor, and elastically scale VNFs end-to-end. (For information about Cisco ESC, see the Cisco Elastic Services Controller Data Sheet .)
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
5
Overview to Cisco NFV Infrastructure
Figure 2: NFVI Architecture With Cisco NFVI, Cisco NSO, and Cisco ESC
Overview to Cisco NFVI
At a high level the NFVI architecture includes a VNF Manager and the NFV Infrastructure.
1 • Cisco Network Services Orchestrator
• Cisco Elastic Services Controller
2 Cisco NFVI:
• Cisco VIM +
• Cisco UCS and Cisco Nexus Hardware +
• Logging and Monitoring Software +
• Cisco Virtual Topology Services (optional) +
• Accelerated Switching with VPP (Optional)
• Cisco Unified Management (optional)
For cloud networking, Cisco NFVI supports either Linux bridge over Virtual Extensible LAN (VXLAN) or
Open vSwitch over VLAN as the cloud network solution for both UCS B- and C-Series pods. However, the
UCS B-Series pods using the Cisco UCS Manager plugin supports only OVS/VLAN as a tenant network.
Both B-Series and C-Series deployments that support provider networks over VLAN. In addition, in a C-series pod, you can choose to run with augmented performance mechanism by replacing OVS/LB with VPP/VLAN or ACI/VLAN (virtual packet processor). Also, in a C-series pod, you can choose to have the cloud that is integrated with VTC (virtual topology system), which is an SDN controller option.
The Cisco NFVI uses OpenStack services running inside containers with HAProxy load balancing and providing high availability to API and management network messaging. Transport Layer Security (TLS) protects the
API network from external users to the HAProxy. Cisco VIM installation also includes service assurance,
OpenStack CloudPulse, built-in control, and data plane validation. Day two pod management allows you to
6
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Overview to Cisco Virtual Infrastructure Manager add and remove compute and Ceph nodes, and replace controller nodes. The Cisco VIM installation embeds all necessary RHEL licenses as long as you use the Cisco VIM BOM and the corresponding release artifacts.
The following illustration shows a detailed view of the Cisco NFVI architecture and the Cisco NFVI Installation flow.
Figure 3: Detailed Cisco NFVI Architecture View
Overview to Cisco Virtual Infrastructure Manager
Cisco Virtual Infrastructure Manager (VIM) is a fully automated cloud lifecycle management system. VIM helps to bring up a fully functional cloud in hours, with integrated end-to-end control and data plane verification in place. Beyond day 0 cloud brings up and deployment, VIM offers fully automated day 1 to day n cloud lifecycle management. These include capabilities such as pod scaling (expansion), software update, upgrade, or reconfigure parameters, consolidated logging with rotation and export, software update and upgrade. These have been implemented in line with the operational and security best practices of service providers and enterprises.
The following figure provides the high-level overview of all day-0 and day-n items of Cisco VIM.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
7
Features of Cisco VIM
Figure 4: Cisco VIM Capability Overview
Overview to Cisco NFVI
Features of Cisco VIM
Cisco VIM is the only standalone fully automated cloud lifecycle manager offering from Cisco for a private cloud. The current version of VIM, integrates with Cisco C or B-series UCS servers and Cisco or Intel NIC.
This document and its accompanying administrator guide help the cloud administrators to set up and manage the private cloud.
Following is the summary of the feature set that is offered.
Feature Name Comments
OpenStack Version
Hardware Support Matrix
RHEL 7.4 with OSP 10 (Newton).
1.
UCS C220/B200 M4 controller or compute with Intel V3
(Haswell).
2.
UCS C240/220 M4 controller or compute + Intel V4
(Broadwell).
3.
HP DL360 Gen 9.
4.
24 UCS C220/240 M5 in micropod environment, with option to add up to 16 220/240-M5 computes.
NIC support 1.
Cisco VIC: VIC 1227, 1240, 1340, 1380.
2.
Intel NIC: X710 (for Control, data plane, and SRIOV), 520
(SRIOV only), XL710 (for SRIOV only)
8
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Features of Cisco VIM
POD Type 1.
Dedicated control, compute and storage (C-Series) node running on Cisco VIC, or Intel 710 X (full on).
2.
Dedicated control, compute, and storage (B-Series) node running on Cisco NIC.
3.
MICRO POD: Integrated (AIO) control, compute and storage
(C-series) node running on Cisco VIC, or Intel 710 X or
VIC/NIC combo. Micro pod can be expanded to accommodate for more computes running with the same
NIC type. This can be done as a day-0 or day-1 activity.
Support for HDD or SSD-based M5 micropod; Intel
NIC-based micropod supports SRIOV, with the M5-based micropod supporting XL710 as an option for SRIOV.
4.
Hyper-Converged: Dedicated control and compute nodes, with all storage acting as compute (C-series) nodes, running on a combination of 1-Cisco VIC (1227) and 2x10GE 520 or 2x40GE 710XL Intel NIC with an option to migrate from one to another.
Note In a full-on (VIC based), or Hyper-Converged pod, computes can either have a combination of
1-Cisco VIC (1227) and 2x10GE 520 or 2x40GE
710XL Intel NIC or 1-CiscoVIC (1227). The compute running pure Cisco VIC will not be running SR-IOV. In 2.4, we support HP DL360
Gen9 as a third party compute.
We do not support the mix of computes.
ToR and FI support 1.
For VTS-based installation, use the following Nexus version-7.0(3)I2(2a) and 7.0(3)I2(2c).
2.
2 For mechanism driver other than VTS, use the following
Nexus software version 7.0(3)I4(6) 7.0(3)I6(1).
3.
UCS-FI-6296
4.
Support of NCS-5500 (with recommended Cisco IOS XR version 6.1.33.02I)
5.
Nexus 9K switches running ACI 3.0 (for the mechanism driver ACI)
IPV6 Support for Management Network 1.
Static IPv6 management assignment for servers
2.
Support of IPv6 for NTP, DNS, LDAP, external syslog server, and AD.
3.
Support of IPv6 for the Cloud API endpoint.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
9
Overview to Cisco NFVI
Features of Cisco VIM
Mechanism Drivers
SDN Controller Integration
Install Methodology
Scale
OVS/VLAN, Linuxbridge/VXLAN, ACI/VLAN, VPP/VLAN
(Fast Networking, Fast Data FD.io > VPP/VLAN, based on the
FD.io VPP fast virtual switch).
VTS; ACI (ships in the night or with Unified ACI Plugin). With
Cisco VIC or Intel NIC on the UCS C-series M4 platform.
Fully automated online or offline.
1.
Full on: Total of 60 (compute and OSD) nodes (with Ceph
OSD max at 20).
2.
Micropod: max of 16 standalone compute nodes.
Note For Ceph OSDs can be HDD or SSD based; however it has to be uniform across the pod.
Computes can boot off 2x1.2TB HDD or 2x1.6TB
SSD); In the same pod, some computes can have
SSD, while others can have HDDCompute
Automated Pod Life Cycle Management 1.
Add or remove compute and Ceph nodes and replace controller.
2.
Reconfiguration of passwords and selected optional services.
3.
Automated software update
Platform security
EPA
HA and Reliability
Secure OS, RBAC, Network isolation, TLS, Source IP filtering,
Keystone v3, Bandit, CSDL-compliant, hardened OS, SELinux.
Change the CIMC password after post install for maintenance and security.
Non-root log in for Administrators.
Enabling Custom Policy for VNF Manager.
NUMA, CPU pinning, huge pages, SRIOV with Intel NIC.
1.
Redundancy at hardware and software level.
2.
Automated backup and restore of the management node.
Unified Management Support
Central Logging
VM Migration
Storage
Single pane of glass in a single or multi instance (HA) mode:
Supports multi-tenancy and manages multiple pods from one instance.
ELK integrated with external syslog (over v4 or v6) for log offload, with optional support of NFS with ELK snapshot.
Cold migration and resizing.
Live Migration
Object store with SwiftStack, Block storage with Ceph or Netapp.
10
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Cisco NFVI Networking Overview
Monitoring
Support of External Auth System
Software Update
Power Management of Computes
Disk maintenance for Pod Nodes
Integrated Test Tools
Third-party integration with Zenoss (called NFVIMON).
1.
LDAP
2.
Active Directory (AD)
Update of Cloud Software for bug fixes on the same release.
Option to power off or on computes selectively to conserve energy.
Ability to replace faulty disk on one or more Pod nodes without the need for add or remove or replace the node operation.
1.
Open Source Data-plane Performance Benchmarking: VMTP
(an open source data plane VM to VM performance benchmarking tool), NFVBench (NFVI data plane and the service chain performance benchmarking tool).
2.
Services Health Checks Integration: Cloudpulse and
Cloudsanity.
Cisco NFVI Networking Overview
Cisco VIM supports installation on two different types of pods. The B-series and C-series offering supports
NICs that are from Cisco (called as Cisco VIC). You can choose the C-series pod to run in a pure Intel NIC environment, and hence obtain SRIOV support on the C-series pod. This topic calls out the differences in networking between the Intel NIC and Cisco VIC installations.
To achieve network level security and isolation of tenant traffic, Cisco VIM segments the various OpenStack networks. The Cisco NFVI network includes six different segments in the physical infrastructure (underlay).
These segments are presented as VLANs on the Top-of-Rack (ToR) Nexus switches (except for the provider network) and as vNIC VLANs on Cisco UCS servers. Allocate the subnets and IP addresses to each segment.
Cisco NFVI network segments include: API, external, management and provisioning, storage, tenant and provider.
API Segment
The API segment needs one VLAN and two IPv4 addresses (four if you are installing Cisco VTS) (not a full subnet) in an externally accessible subnet different from the subnets that are assigned to other Cisco NFVI segments. These IP addresses are used for:
• OpenStack API end points. These are configured within the control node HAProxy load balancer.
• Management node external connectivity.
• The Cisco Virtual Topology Services (VTS) (if included in your Cisco NFVI package) Virtual Topology
Controller (VTC) node (optional for VTS).
• VTC (optional for VTS).
External Segment
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
11
Overview to Cisco NFVI
Cisco NFVI Networking Overview
The external segment needs one VLAN to set up the OpenStack external network. Provide the VLAN during installation in the Cisco NFVI setup_data.yaml file, but set up the actual subnet using the OpenStack API after the installation. Then use the external network to assign OpenStack floating IP addresses to VMs running on Cisco NFVI.
Management and Provisioning Segment
The management and provisioning segment needs one VLAN and one subnet with an address pool large enough to accommodate all the current and future servers that are planned for the pod for initial provisioning
(PXE boot Linux) and, thereafter, for all OpenStack internal communication. This VLAN and subnet can be local to Cisco NFVI for C-Series deployments. For B-Series pods, the UCS Manager IP and management network must be routable. You must statically set up Management IP addresses of Nexus switches and Cisco
UCS server Cisco IMC IP addresses, and not through DHCP. They must be through the API segment. The management or provisioning subnet can be either internal to Cisco NFVI (that is, in a lab it can be a non-routable subnet limited to Cisco NFVI only for C-Series pods), or it can be an externally accessible and routable subnet.
All Cisco NFVI nodes (including the Cisco VTC node) need an IP address from this subnet.
Storage Segment
Cisco VIM has a dedicated storage network used for Ceph monitoring between controllers, data replication between storage nodes, and data transfer between compute and storage nodes. The storage segment needs one
VLAN and /29 or larger subnet internal to Cisco NFVI to carry all Ceph replication traffic. All the participating nodes in the pod, have IP addresses on this subnet.
Tenant Segment
The tenant segment needs one VLAN and a subnet large enough to manage pod tenant capacity internal to
Cisco NFVI to carry all tenant virtual network traffic. Only Cisco NFVI control and compute nodes have IP addresses on this subnet. The VLAN/subnet can be local to Cisco NFVI.
Provider Segment
Provider networks are optional for Cisco NFVI operations but are often used for real VNF traffic. You can allocate one or more VLANs for provider networks after installation is completed from OpenStack.
Cisco NFVI renames interfaces that are based on the network type it serves. The segment Virtual IP (VIP) name is the first letter of the segment name. Combined segments use the first character from each segment for the VIP, with the exception of provisioning whose interface VIP name is mx instead of mp to avoid ambiguity with the provider network. The following table shows Cisco NFVI network segments, usage, and network and VIP names.
Table 2: Cisco NFVI Networks
Network
Management or
Provisioning
Usage Network Name VIP
Name
• OpenStack control plane traffic.
• Application package downloads.
• Server management; management node connects to servers on this network.
• Host default route.
• PXE booting servers during bare metal installations.
Management and provisioning mx
12
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Cisco NFVI Networking Overview
Network
API
Usage
• Clients connect to API network to interface with
OpenStack APIs.
• OpenStack Horizon dashboard.
• Default gateway for HAProxy container.
• Integration with endpoints that are served by
SwiftStack cluster for native object storage, cinder backup service, or Identity service with LDAP/AD.
api
Network Name VIP
Name a
Tenant
External
VM to VM traffic. For example, VXLAN traffic.
Access to VMs using floating IP addresses.
tenant external t e
Storage Transit network for storage back-end.
Storage traffic between VMs and Ceph nodes.
Provider Network Direct access to existing network infrastructure.
ACIINFRA Internal ACI Network for Policy management (only allowed when deployed with ACI)
Installer API storage provider aciinfra s p o
• Administrator uses installer API network to ssh to the management node.
• Administrator connects to installer API to interface with secured services. Example: Kibana on the management node.
VIM installer API br_api
For each C-series pod node, two vNICs are created using different ports and bonded for redundancy for each network. Each network is defined in setup_data.yaml using the naming conventions that are listed in the preceding table. VIP Name column provides the bonded interface name (for example, mx or a) while each vNIC name has a 0 or 1 appended to the bonded interface name (for example, mx0, mx1, a0, a1).
The Cisco NFVI installer creates the required vNICs, host interfaces, bonds, and bridges with mappings created between all elements. The number and type of created vNICs, interfaces, bonds, and bridges depend on the Cisco NFVI role that are assigned to the UCS server. For example, the controller node has more interfaces than the compute or storage nodes. The following table shows the networks that are associated with each Cisco NFVI server role.
Table 3: Cisco NFVI Network-to-Server Role-Mapping
Management Node Controller Node Compute Node Storage Node
Management or Provisioning + + + +
+ ACIINFRA*
API
+
+
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
13
Overview to Cisco NFVI
Cisco NFVI Networking Overview
Tenant
Storage
Provider
External
Management Node Controller Node
+
Compute Node Storage Node
+
+ + +
+
+
Note *ACIINFRA is only applicable when using ACI as a mechanism driver.
The network arrangement on HP third-party compute is slightly different from that of Cisco compute running with Intel NIC, because the HP computes have 2 less NIC ports than that are available in the Cisco Intel NIC
BOM.
Following table lists the differences in the network arrangement between the compute of the two Vendors.
Network Interface Cisco UCS c220/c240M4 Compute HPE ProLiant DL360 Gen9 Compute mx samxpet
Management control plane network N/A
Control and data plane network for everything other than SRIOV:
1.
Management network on
"br_mgmt" bridge interface with "samxpet" main interface as one of the member interfaces
(native VLAN configuration is required on the top-of-rack switches)
2.
Storage network on the sub-interface
"samxpet.<storage VLAN>"
3.
Tenant and provider networks on veth interface "pet/pet-out" as one of the member interfaces with "br_mgmt" bridge interface t p sriov[0-3] s
Provider data plane network
Provider data plane SRIOV networks
Storage control and data plane network
Tenant data plane network
Provider data plane SRIOV networks
N/A
N/A
14
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Cisco NFVI Networking Overview
In the initial Cisco NFVI deployment, two bridges are created on the controller nodes, and interfaces and bonds are attached to these bridges. The br_api bridge connects the API (a) interface to the HAProxy. The
HAProxy and Keepalive container has VIPs running for each OpenStack API endpoint. The br_mgmt bridge connects the Management and Provisioning (mx) interface to the HAProxy container as well.
The following diagram shows the connectivity between Cisco NFVI nodes and networks.
Figure 5: Cisco NFVI Network Connectivity
Supported Layer 2 networking protocols include:
• Virtual extensible LAN (VXLAN) over a Linux bridge.
• VLAN over Open vSwitch(SRIOV with Intel 710NIC).
• VLAN over VPP/VLAN for C-series Only.
• For UCS B-Series pods, Single Root I/O Virtualization (SRIOV). SRIOV allows a single physical PCI
Express to be shared on a different virtual environment. The SRIOV offers different virtual functions to different virtual components, for example, network adapters, on a physical server.
Any of the connection protocol can be used unless you install UCS B200 blades with the UCS Manager plugin, in which case, only OVS over VLAN can be used. The following table shows the available Cisco NFVI data path deployment combinations.
Table 4: Cisco NFVI Data Path Deployment Combinations
NFVI Pod
Type
Pod Type
Full on
Mechanism
Driver
Tenant
Virtual
Network
Encapsulation
Provider
Virtual
Network
Encapsulation
SRIOV for VM
PCI
Passthrough
Ports
MTU Values
VLAN VxLAN VLAN
LinuxBridge No Yes Yes No No
1500
Yes
9000
No UCS
C-series
UCS
C-series
Full on , micro
(M4 or M5 based), HC
Openvswitch Yes No Yes Yes* No Yes Yes
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
15
Overview to Cisco NFVI
Cisco NFVI Networking Overview
NFVI Pod
Type
UCS
C-series
UCS
C-series
UCS
C-series
UCS B
Pod Type
Full on, micro
(M4 or M5 based),
VPP
Full on, micro
(M4 based),
ACI
Mechanism
Driver
Tenant
Virtual
Network
Encapsulation
Provider
Virtual
Network
Encapsulation
SRIOV for VM
PCI
Passthrough
Ports
MTU Values
Yes No Yes Yes* No Yes Yes
Yes No Yes Yes* No Yes Yes
Full on
Full on
VTF with
VTC***
Openvswitch
No
Yes
Yes
No
Yes
Yes
No
Yes
No
(except through
DPDK)
No
Yes
Yes
Yes
Yes
Note Fullon: Indicates dedicated control, compute and ceph nodes.
Micro: Indicates converged control, compute and ceph nodes with expandable computes.
HC (Hyperconverged): Indicates dedicated control, compute, but all ceph nodes are compute nodes.
Note * The SRIOV support applies to only with Intel NI- based pods.
Note *** VTF with VTC is only supported on C-series Cisco VIC.
Pod with Intel NICs In case of the pod having Intel NICs (X710), the networking is slightly different. First of all, the requirement is to have atleast two NICs (4x10G) single server, so that we can support NIC level redundancy. Each NIC is connected to each ToR (connections that are explained later in the chapter). Since, vNICs are not supported in the Intel card, the idea is to bond the physical interfaces at the host and then create sub-interfaces based on the segment VLAN. Lets call the two NIC cards as NIC_1 and NIC_2 and call their four ports as A, B, C, D. Like Cisco VIC based pod, the traffic here is classified into the following.
1.
Control Plane
2.
Data plane (external, tenant, and non-SRIOV provider network).
3.
SRIOV (optional for the provider network); if SRIOV is used the Data plane network only carries external and tenant network traffic.
Control Plane.
: The control plane is responsible for carrying all the control and management traffic of the cloud. The traffic that flows through the control plane are:
1.
Management or Provision.
16
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Cisco NFVI Networking Overview
2.
Storage
3.
API
The control plane interface is created by the bonding of the NIC_1 A port with NIC_2 A port. The bonded interface name is called as samx, indicating that it is carrying Storage, API, Management or Provision traffic
(naming convention is similar to Cisco VIC pod). The slave interfaces (physical interfaces) of the bonded interface are renamed as samx0 and samx1. samx0 belongs to NIC_1 and samx1 belongs to NIC_2. Sub interfaces are then carved out of this samx interface based on the Storage, API VLANs. The management or provision traffic is untagged/native VLAN to support pxe booting.
Data Plane : The data plane is responsible for carrying all the VM data traffic. Traffic that flows through the data plane are
• Tenant
• Provider
• External
The data plane is created by bonding the NIC_1 B port with NIC_2 B port. The bonded interface name here would be pet, indicating that it is carrying Provider, External and Tenant traffic. The slave interfaces of this bonded interface would be visible as pet0 and pet1. pet0 belongs to the NIC_1 and pet1 belongs to NIC_2.
In case of OVS/VLAN, the "pet" interface is used as it is (trunked to carry all the data VLANs) to the Openstack cloud, as all the tagging and untagging happens at the Openstack level. In case of Linux Bridge/VXLAN, there will be sub-interface for tenant VLAN to act as the VXLAN tunnel endpoint.
SRIOV
In case of Intel NIC pod, the third (and optionally the fourth) port from each NIC can be used for SRIOV traffic. This is optional and is set/unset through a setup_data.yaml parameter. Unlike the control and data plane interfaces, these interfaces are not bonded and hence there is no redundancy. Each SRIOV port can have maximum of 32 Virtual Functions and the number of virtual function to be created are configurable through the setup_data.yaml. The interface names of the sriov will show up as sriov0 and sriov1 on each host, indicating that sriov0 belongs to NIC_1 C port and sriov1 belongs to NIC_2 C port.
In the case of Intel NIC pod, the following table summarizes the above discussion
Network
Control Plane
Data Plane
Usage
To carry control/management traffic
To carry data traffic
Type of traffic
Storage, API,
Management/Provision
Provider, External, Tenant
Interface name samx pet
SRIOV To carry SRIOV traffic SRIOV sriov0, sriov1
The following table shows the interfaces that are present on each type of server (role based).
Management Node Controller Node Compute Node Storage Node
Installer API
Control plane
+
+ + + +
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
17
Overview to Cisco NFVI
UCS C-Series Network Topologies
Data plane
SRIOV
Management Node Controller Node
+
Compute Node
+
+
Storage Node
Note On an Intel pod, all kind of OpenStack networks are created using physnet1 as the physnet name.
UCS C-Series Network Topologies
Cisco NFVI UCS servers connect to the ToR switches using Cisco UCS dual-port Virtual Interface Cards
(VICs). The VIC is an Enhanced Small Form-Factor Pluggable (SFP+) 10 Gigabit Ethernet and Fiber Channel over Ethernet (FCoE)-capable PCI Express (PCIe) card designed for Cisco UCS C-Series Rack Servers. Each port connects to a different ToR using a Virtual Port Channel (VPC). Each VIC is configured with multiple vNICs that correspond to specific Cisco VIM networks. The UCS Cisco IMC port is connected to an out-of-band
(OOB) Cisco management switch.
The following figure shows the UCS C-Series pod Cisco NFVI host to ToR topology.
Figure 6: UCS C-Series Host to ToR Topology
In the case of Intel NIC, a single two port Cisco VIC in the preceding diagram, is replaced with two 4-port
710 Intel NIC. The addition of an extra Intel NIC has been done to incorporate the user request of providing card level redundancy which the Cisco VIC solution does not have.
18
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Figure 7: UCS C-Series Intel NIC Details
UCS C-Series Network Topologies
Of the four ports that are available in each NIC card, port A is used for management traffic (provision, API, storage, etc), whereas the port B is used for data plane (tenant and provider network) traffic. Port C (and optionally Port D) is dedicated for SRIOV (configured optionally based on setup_data.yaml). Sub-interfaces are carved out of the data and control plane interfaces to provide separate traffic based on specific roles. While port A and B from each NIC help in forming bonded interface, ports C and D over which SRIOV traffic for provider network flows is not bonded. Extreme care should be taken during pod setup, so that ports A, B and
C for the Intel NIC is connected to the ToRs. In VIM 2.2 and higher releases, Port D can be optionally used as a 2 nd pair of SRIOV ports.
In VIM 2.2, computes running a Cisco 1227 VIC, and 2 2-port Intel 520 NIC are supported. In this combination,
SRIOV is running on the Intel NIC, where as the control and data plane are carried by vritual interfaces over
Cisco VIC.
The Cisco NFVI controller node has four bonds: mx, a, t, and e. Each has a slave interface that is named with the network name association and a mapped number. For example, the management and provisioning network, mx, maps to mx0 and mx1, the API network, a, to a0 and a1, and so on. The bonds map directly to the vNICs that are automatically created on the controller node when it is deployed.
The following figure shows the controller node network-to-bond-to-vNIC interface mapping.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
19
UCS C-Series Network Topologies
Figure 8: Controller Node Network to Bond Mapping
Overview to Cisco NFVI
The Cisco NFVI compute node has three bonds: mx, t, and p. Each has a slave interface that is named with the network name association and a mapped number. For example, the provider network, p, maps to p0 and p1. The bonds map directly to the vNICs that are automatically created on the compute node when it is deployed. The following figure shows the compute node network-to-bond-to-vNIC interfaces mapping.
Figure 9: Compute Node Network to Bond Mapping
The Cisco NFVI storage node has two bonds: mx and s. Each has a slave interface that is named with the network name association and a mapped number. For example, the storage network, s, maps to s0 and s1.
Storage nodes communicate with other storage nodes over the mx network. The storage network is only used for Ceph backend traffic. The bonds map directly to the vNICs that are automatically created on the storage node when it is deployed. The following figure shows the network-to-bond-to-vNIC interfaces mapping for a Cisco NFVI storage node.
20
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Figure 10: Storage Node Networking to Bond Mapping
UCS C-Series Network Topologies
The initial Cisco NFVI installation creates two bridges on the controller nodes and interfaces and bonds are attached to the bridges. The br_api bridge connects the API (a) interface to the HAProxy container. The
HAProxy and Keepalive container has VIPs running for each OpenStack API endpoint. The br_mgmt bridge connects the Management and Provisioning (mx) interface to the HAProxy container as well.
The figure below shows the connectivity between the mx interface and the br_mgmt bridge. It also shows the connectivity between the br_mgmt and the HAProxy container/namespace using mgmt_out and mgmt interfaces.
The figure shows the connectivity between the api interface and the br_api bridge as well as the link between the br_mgmt bridge and the HAProxy container using api_out and mgmt_out interfaces.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
21
Cisco VIM Management Node Networking
Figure 11: Bridge and Network Namespace Layout
Overview to Cisco NFVI
A sample routing table is shown below. br_api is the default route and br_mgmt is local to the pod.
[root@c43-bot-mgmt ~]# ip route default via 172.26.233.193 dev br_api proto static metric 425
172.26.233.0/25 dev br_mgmt proto kernel scope link src 172.26.233.104
metric 425
172.26.233.192/26 dev br_api proto kernel scope link src 172.26.233.230
metric 425
[root@c43-bot-mgmt ~]# ip addr show br_api
6: br_api: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 58:ac:78:5c:91:e0 brd ff:ff:ff:ff:ff:ff inet 172.26.233.230/26 brd 172.26.233.255 scope global br_api valid_lft forever preferred_lft forever inet6 fe80::2c1a:f6ff:feb4:656a/64 scope link valid_lft forever preferred_lft forever
[root@c43-bot-mgmt ~]# ip addr show br_mgmt
7: br_mgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 58:ac:78:5c:e4:95 brd ff:ff:ff:ff:ff:ff inet 172.26.233.104/25 brd 172.26.233.127 scope global br_mgmt valid_lft forever preferred_lft forever inet6 fe80::403:14ff:fef4:10c5/64 scope link valid_lft forever preferred_lft forever
Cisco VIM Management Node Networking
In Cisco VIM, the management node has two interfaces. One for API and the other for provisioning. This is primarily done for security reasons so that internal pod management or control plane messages (RabbitMQ,
Maria DB, and so on) do not leak out, and hence reduce the attack vector to the pod. As the name indicates, the API interface is to access the VIM installer API and is also used to SSH to the management node. All
22
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Cisco VIM Management Node Networking external services (installer API, Insight, ELK, and so on) are password that is protected and hang off the API interface. Default route of the management node points to the API interface.
The second interface, also called the provisioning interface is used to PXE boot the various nodes that constitute the OpenStack pod. Typically, provisioning interface is a non-routable interface that is reserved for OpenStack management traffic.
In B-series pod, the networks between provisioning and the UCSM IP need to be routable. Proper ACL has to be applied in the upstream router so that other networks do not interfere with the provisioning network.
Depending on the overall deployment, the management node acts as a jump-server to the OpenStack nodes.
Figure 12: Cisco VIM Management Node Networking
Cisco NFVI UCS C-Series management node physically connects to the network. Unlike other nodes, the management node does not use multiple vNICs corresponding to specific Cisco NFVI networks. Instead, it connects to the management and API networks using two different physical connections. The management node connects to the management network using a Cisco two-port VIC with each port connecting to a different
ToR switch in a VPC configuration. The Cisco VIC card utilizes the default vNICs, but requires the vNICs to be in trunk mode and the default VLAN set to the management network VLAN. The management node connects to the API network using both one Gbps LAN On Motherboard (LOM) ports connected in a port channel configuration. These ports can either connect to the Nexus 9000 Series switch in a VPC configuration, or to an operator-managed switch(es), depending on how the operator wants to segment their network. The
Cisco IMC port can optionally be connected to an out-of-band management Catalyst switch.
Management node services, which are required to start the other topology nodes, listen on the management network and the traffic flowing over the vNICs. These services, and many of the other management network services, are unsecured. Secure management node services listen on the management node API network, and their traffic flows over the LOM ports. This service division allows tenants to utilize tighter network access control to the management network than the management node API network. The following figure shows the
Cisco NFVI management node (UCS C-Series) API network connections.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
23
IPv6 Support on Management Network
Note Connecting Cisco IMC port to a Cisco OOB management switch is optional.
Figure 13: Management Node API Network Connections
Overview to Cisco NFVI
IPv6 Support on Management Network
Users are transiting from IPv4 to IPv6 due to the limited number of available routable IPv4 networks. Today in Cisco VIM, the management network is in IPv4. In Cisco VIM, the management network uses the default
IPv4 route to reach external service like NTP, DNS, AD/LDAP, SwiftStack, and so on, if it is not locally hosted.
With limited availability of IPv4 address-space, it can become a deployment hindrance for users who cannot provide a routable IPv4 network or local or dual-home of their external services (AD/LDAP is an example where it is hosted in the corporate network and require routing to get it).
IPv 4 is obligatory in Cisco VIM, as the provision network colocates with the management network (mx/samx interface); for baremetal PXE install and Ansible orchestration.
As CEPH and OpenStack control plane communication are on the same management network, it is difficult to completely remove IPv4 from the management network. So we recommend you to run IPv4+IPv6 dual stack, in which IPv4 network can exist in a non-routable private network and IPv6 network can be in a routable semi private network. This satisfies both requirements of the CiscoVIM and the user's accessibility to their external services.
24
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
UCS C-Series and B-Series -Topologies
In CiscoVIM, IPv6 addresses of the management network for servers and management node is statically allocated from a given pool. The external services, which support both IPv4 and IPv6 addresses, are DNS,
NTP, AD/LDAP. Users, can run IPv4+IPv6 (optionally) as their cloud api end point.
UCS C-Series and B-Series -Topologies
You can deploy Cisco NFVI using a combination of Cisco C-Series and B-Series servers. The C-Series management node is connected to the Nexus 9000 Series ToRs through the Cisco VIC in a VPC configuration.
The UCS Fabric Interconnects (FIs) are connected to the ToRs and the UCS B-Series blade chassis is connected to the FIs. The C-Series storage nodes are connected to the ToRs as well. Networking segment layout is discussed in, Cisco NFVI Networking Overview is the same for a C-Series-only implementation or the C-Series and B-Series design that is shown in the following two exceptions:
• For the UCS B-Series, the Cisco UCS Manager IP address must be available to the Cisco NFVI management network. For UCS C-Series, this requirement is optional.
• The UCS Manager cluster and VIP connections are not attached to one of the Cisco NFVI network segments.
Following figure shows a high-level view of Cisco UCS C-Series and B-Series servers that are used in a Cisco
NFVI deployment
Figure 14: UCS B-Series Topology
For C-Series pods, each host has a 2x10-GE Cisco network card 1227 from which the installer creates two vNICs for each network to ensure that the network topology has built-in redundancy. The provider network, if needed, is also created from the same network card. Each link of a given network type terminates to a unique
Nexus 9000 switch, which acts as the ToR. The Nexus 9000s are configured in VPC mode to ensure that the network redundancy is built into the design from the beginning. The networking redundancy is extended to
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
25
Overview to Cisco NFVI
UCS C-Series and B-Series -Topologies the management node, which has a redundant vNIC for the installer API and management or provisioning networks. The figure shows the C-Series topology.
Figure 15: Cisco NFVI C-Series Topology
Note While the figure depicts UCS 220 M4s as the controller and compute, it also supports UCS 240 M4s as control and compute nodes.
Cisco NFVI uses multiple networks and VLANs to isolate network segments. For the UCS C-Series management and storage nodes, VLANs are trunked between the ToR switches and the Cisco VICs on the
C-Series nodes. For the UCS B-Series controllers and compute nodes, VLANs are trunked between the ToR switches, the UCS Fabric Interconnects, and the B-Series blades. The figure shows the network segments and how each node is attaches to them. The network segments are VLANs that are trunked between the respective upstream switch/FI and the C-Series or B-Series node.
Figure 16: Network and VLAN Layout for Combined C-Series and B-Series Installation
26
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Cisco NFVI High Availability
Cisco NFVI High Availability
Cisco NFVI high availability (HA) is provided by HAProxy, a single-threaded, event-driven, non-blocking engine combining a fast I/O layer with a priority-based scheduler. HAProxy architecture is layered with bypass mechanisms at each level to ensure that the data does not reach higher levels than needed. Most processing is performed in the kernel.
The following figure shows a detailed view of Cisco NFVI controllers connecting to the API and Management and Provisioning network. It also shows how the bridges are configured and the roles of the HAProxy container and network namespace. The dedicated HAProxy container network namespace was created to avoid split default gateway problems. The namespace allows API segment ingress and egress traffic to have a different default gateway than the one configured on each controller host for non-API traffic. In the illustration, two of the three Cisco NFVI controllers have HAProxy containers and a dedicated Linux network namespace.
(Cisco NFVI supports three HAProxy containers).
In the figure, Control Node 1 is attached to the API network segment through the br_api bridge. The br_api bridge connects to the Linux network namespace where the HAProxy container has an interface that is mapped through the api < > api_out interface mapping that is shown in the previous figure. The HAProxy container has a default gateway configured that points to the upstream API Layer 3 First Hop Redundancy Protocol
(FHRP) VIP. This gateway is used for the HAProxy container incoming and outgoing API traffic.
Outside traffic coming in through the API interface is routed into the API network. The traffic traverses the br_api bridge, goes into the Linux network namespace and then the API VIP (based on the IP address or port) that is listening on the HAProxy container. The HAProxy container establishes a connection with the backend
API endpoint (for example, the OpenStack Horizon dashboard) and the return traffic passes through the container and back out the API network following the default gateway for the container on the API network.
All other non-API traffic such as the management access over SSH to the Cisco VIM controller comes into the management or provisioning network and access the node directly. Return traffic uses the host-level default gateway that is configured on the Linux (RHEL) operating system.
Figure 17: HAProxy Control Node Flow
If an HA event occurs in a Cisco NFVI pod, Cisco VIM automatically shuts down machines by failing over services. Examples include:
• For API servers, HAProxy automatically ensures that the other redundant control services handle requests, avoiding the shutdown/terminated/non-responding one.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
27
Overview to Cisco NFVI
Cisco NFVI Storage Node Overview
• For quorum services, such as Galera, the remaining members of the quorum continue to provide service and HAProxy ensures that new requests go to the remaining processes.
• For an active/standby process such as HAProxy, the system moves the endpoint IP to a standby copy and continues to operate.
All these behaviors are automatic and do not require manual intervention. When the server is restarted, the services automatically come into service and are added to the load balancing pool, joining their quorums or are added as backup services, depending on the service type.
While manual intervention is not needed, some specific failure scenarios (for example, Mariadb, rabbit) can cause problems that require manual intervention. For example, if a complete network failure occurs, the Galera and RabbitMQ clusters can go into three-way partition. While the Cisco NFVI cluster is resilient to single-point failures, two switches failing simultaneously—something highly unlikely in long-running systems—can sometimes happen due to administrative error, in which case, manual intervention is needed. To repair the pod, the management node must be up and running and all the nodes accessible through password-less SSH from the management node. From the installer<tagid> dir, execute:
# ciscovim cluster-recovery
Control nodes recovers after the network partitions are resolved. After executing this command, control nodes services come back to working state. To make sure that the Nova services are good across the compute nodes, execute the following command after sourcing /root/openstack-configs/openrc:
# nova service-list
To check for the overall cloud status, execute the following:
# cd installer-<tagid>/tools
# ./cloud_sanity.py -c all
Cisco NFVI Storage Node Overview
Block Storage
Cisco NFVI storage nodes utilize Ceph, an open source software for creating redundant, scalable data storage using clusters of standardized servers to store petabytes of accessible data. OpenStack Object Storage is a long-term storage system for large amounts of static data that can be retrieved, leveraged, and updated. It uses a distributed architecture with no central point of control, providing greater scalability, redundancy, and permanence. Objects are written to multiple hardware devices, with the OpenStack software responsible for ensuring data replication and integrity across the cluster. Storage clusters scale horizontally by adding new nodes. if a node fail, OpenStack replicates its content across other active storage nodes. Because Ceph uses software logic to ensure data replication and distribution across different devices, inexpensive commodity hard drives and servers can be used in lieu of more expensive equipment.
Cisco NFVI storage nodes include object storage devices (OSDs), hard disk drives (HDDs), and solid state drives (SSDs). OSDs organize data into containers called objects that a user or application determines are related. The objects reside in a flat address space where they all exist at the same level and cannot be placed inside one another. Each OSD has a unique object identifier (OID) that allows the Cisco NFVI control node to retrieve it without knowing the physical location of the data it contains.
HDDs store and retrieve digital information using one or more rigid rapidly rotating disks coated with magnetic material. The disks are paired with magnetic heads arranged on a moving actuator arm, which read and write data to the disk surfaces. Data is accessed in a random-access manner; individual data blocks can be stored
28
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Overview to Cisco Virtual Topology System or retrieved in any order and not only sequentially. HDDs are a type of non-volatile memory, retaining stored data even when powered off.
SSDs are solid-state storage devices that use integrated circuit assemblies as memory to store data persistently.
SSDs primarily use electronic interfaces compatible with traditional block input/output (I/O) hard disk drives, which permit simple replacements in common applications.
Cisco NFVI storage nodes are managed by the control node applications including Ceph monitoring dashboard,
Glance, and Cinder. The Ceph monitoring dashboard provides a view into the overall storage node health.
Glance virtualizes pools of block storage devices and provides a self-storage API to request and consume those resources. Cinder is an OpenStack block storage service designed to present storage resources to the
OpenStack compute node.
In 2.2 and higher releases of Cisco VIM, depending on the needs of the user, the number of OSDs a pod can have is between 3 and 20.
Object Storage
Cisco VIM provides an integration with SwiftStack, an object storage solution. In this case, the SwiftStack is installed and managed outside the Cisco VIM ahead of time, and the VIM orchestrator adds the relevant
Keystone configuration to access the SwiftStack endpoint. In addition to Keystone integration, the Cinder service is also configured to support backup of the volumes to SwiftStack object store. In the current integration, the SwiftStack endpoint has to be in a network routable to/from the CiscoVIM API network (as the VIM API is the same as the Keystone public endpoint network). In the current release, because of limitations in
SwiftStack, Cisco VIM is integrated only with KeystoneV2.
Overview to Cisco Virtual Topology System
The Cisco Virtual Topology System (VTS) is a standards-based, open, overlay management and provisioning system for data center networks. It automates the data center overlay fabric provisioning for both physical and virtual workloads.
Cisco VTS provides a network virtualization architecture and software-defined networking (SDN) framework that meets multitenant data center cloud service requirements. It enables a policy-based approach for overlay provisioning.
Cisco VTS automates network overlay provisioning and management tasks, integrates with OpenStack and simplifies the management of heterogeneous network environments. Cisco VTS provides an embedded Cisco
VTS GUI and a set of northbound Representational State Transfer (REST) APIs that is consumed by orchestration and cloud management systems.
Cisco VTS architecture has two main components: the Policy Plane and the Control Plane. These perform core functions such as SDN control, resource allocation, and core management function.
• Policy Plane—Enables Cisco VTS to implement a declarative policy model that captures user intent and converts it into specific device-level constructs. Cisco VTS includes a set of modular policy constructs that can be organized into user-defined services for use cases across service provider and cloud environments. The policy constructs are exposed through REST APIs that is consumed by orchestrators and applications to express user intent, or instantiated through the Cisco VTS GUI. Policy models are exposed as system policies or service policies.
• Control Plane—Serves as the SDN control subsystem that programs the various data planes including the VTFs residing on the x86 servers, hardware leafs, DCI gateways. The control plane hosts the Cisco
IOS XRv Software instance that provides route peering capabilities between the DCI gateways or to a
BGP route reflector. (Cisco IOS XRv is the virtualized version of Cisco IOS XR Software.) The control
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
29
Overview to Cisco NFVI
Overview to Cisco Virtual Topology System plane enables an MP-BGP EVPN-based control plane for VXLAN overlays originating from leafs or software VXLAN tunnel endpoints (VTEPs)
The Cisco NFVI implementation of Cisco VTS includes the VTS Virtual Topology Forwarder (VTF). VTF provides a Layer 2/Layer 3 (L2/L3) software switch that can act as a software VXLAN terminal endpoint
(VTEP). VTF is a lightweight, multitenant software data plane designed for high performance packet processing on x86 servers. VTF uses Vector Packet Processing (VPP). VPP is a full-featured networking stack with a software forwarding engine. VTF leverages VPP and the Intel Data Path Development Kit (DPDK) for high performance L2, L3, and VXLAN packet forwarding.
VTF allows Cisco VTS to terminate VXLAN tunnels on host servers by using the VTF as a software VXLAN
Tunnel Endpoint (VTEP). Cisco VTS also supports hybrid overlays by stitching together physical and virtual endpoints into a single VXLAN segment.
The figure below shows the Cisco VTS architecture and high-level flow when installed in Cisco NFVI. Cisco
VTS is installed on separate UCS servers, the Virtual Topology Controller plugin is installed on the control node, and the VTF is installed on the compute node.
1.
The OpenStack user invokes the OpenStack Neutron API.
2.
Neutron uses the VTS plugin and driver to make calls to the VTC REST API.
3.
VTS control components interact with the VTF agent to carry out the corresponding dataplane setup.
4.
During Cisco NFVI installation, the Cisco NFVI Installer installs the OpenStack Neutron VTC plugin and driver on the Cisco NFVI controller node, and installs the VTF component (including VPP) on the
Cisco NFVI compute node.
30
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Figure 18: Cisco VTS in Cisco NFVI
Overview to Cisco Virtual Topology System
The following illustration shows that the Cisco NFVI networking after the Cisco VTS is installed. The SDN controller nodes are an addition to the existing Cisco NFVI pod.
Figure 19: Cisco VTS Networking Inside Cisco NFVI
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
31
Overview to Cisco NFVI
Overview to Cisco NFVIMON
Overview to Cisco NFVIMON
Cisco VIM solution uses Cisco NFVI Monitor (NFVIMON) to monitor the health and performance of the
NFVI. This includes monitoring both the physical and logical components of one or multiple NFVI pods.
NFVIMON feature is enabled by the Zenoss which provides for extensive monitoring and collection of performance data for various components of the cloud infrastructure including Cisco UCS blade and rack servers, service profiles, Nexus top of rack switches, fabric interconnects, and also the OpenStack instances.
The monitoring system is designed such that it can monitor single or multiple pods from a single management system. NFVIMON is integrated into Cisco VIM as an optional component. NFVIMON is enabled by extending the setup_data.yaml
file with relevant information. To enable the NFVIMON, refer to Enabling NFVIMON on Cisco VIM . Also, NFVIMON can be enabled on an existing pod, through the reconfigure option. To reconfigure through Insight UI, refer to Reconfiguring Optional Services . Then, the pod is added as a new
VIM resource to be monitored in the Monitoring UI.
Figure 20: NFVIMON Architecture
The NFVIMON architecture supports monitoring of one or more Cisco VIM pods. There is no limit on the number of pods, but note that the setup supports up to 2600 managed resources across pods, where a managed resource is a physical device, network device or virtual machine tracked from a monitoring perspective.
NFVIMON consists of four components: dispatcher, collector, resource manager (RM), and control-center
(CC) with Cisco Zenpacks. As NVIFMON is a third party software, its integration with the VIM is loosely coupled and the VIM automation only deals with installing the minimal software piece (dispatcher) required to monitor the pod. The installing of the other NFVIMON components (collector, resource manager (RM), and control-center (CC) with Cisco NFVI Zenpacks) are Cisco Advance Services led activity and those steps are outside the scope of the current install guide. Make sure that you have engaged with Cisco Advance
32
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Overview to Cisco VIM Unified Management
Services on the planning, image information (of collector(CC) with Cisco NFVI Zenpacks and RM), and installation of the NFVIMON accessories along with its network requirements. Start with one Cisco VIM pod
(Pod A in the picture) and two external nodes (one to host 2 Collector VMs and one for remote management to host 1 control-center with Cisco Zenpacks and 2 RM VMs) of multiple pods.
Cisco VIM pods can be monitored at the time of installing with NFVIMON enabled, or by adding NFVIMON as a post install feature. Install the collectors manually in the external collector node, and now the pod is added for monitoring in the control center. Also, it has to be noted that NFVIMON is only supported on a pod running
Keystone v2.
Overview to Cisco VIM Unified Management
CiscoVIM UM, a light-weight UI, is introduced in Cisco VIM to ease the deployment and management of the NFVI platform. Also, Cisco VIM Insight offers a single pane of glass service to provide deployment visualization and to manage multiple Cisco VIM pods thereby reducing user-errors.
Cisco VIM UM supports multi-tenancy with local RBAC support and is easily integrated with the CiscoVIM
REST layer. The container based UI platform is loosely coupled, and can help manage multiple CiscoVIM pods right from day-0, or later in the lifecycle of the cloud.
Figure 21: Cisco VIM UM Interaction with a Pod
The architecture of the CiscoVIM UM is light-weight, hierarchical and scalable. While it introduces an ease of management from the global UI, each local site is autonomous with localized toolsets. The Global Unified
Management UI, provides ease of management with multi-site multi-pod capability for distributed NFV deployment at scale. Also, CiscoVIM UM is designed to operate in HA as an option. The platform is a modular, loosely coupled architecture, that will provide the capability to manage multiple pods, with RBAC support as shown in the figure .
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
33
Overview to Cisco NFVI
Overview to NFVBench
Figure 22: Cisco VIM UM Architecture
Overview to NFVBench
NFVBench is a containerized network benchmarking tool that is introduced in Cisco VIM, to bring consistent methodology to measure the network performance of the cloud. NFVBench is offered in a container that is preinstalled on the management node.
Figure 23: Order of Steps Performed in NFVBench Test
The main goal of NFVBench is to measure the cloud performance that is based on real cloud deployments and not on synthetic, hypothetical lab test environment. So, during the test the packet path must traverse through every network element that participates in the production environment; that is traffic flows through switch (ToR) to v-switch on compute node, continues to VM representing any basic VNF in NFV deployment and comes back similar way on different ports. Network performance or throughput is computed based on sent and received traffic.
34
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
Figure 24: Packet Path with Two VNFs
Overview to NFVBench
Also it helps to verify network configuration and possible bottlenecks. Reports from NFVBench show data measurements from every element in path, which makes it easier to detect configuration errors or potential bottlenecks. NFVBench sends Layer2 or Layer3 packets that are generated by open-source traffic generator
(TRex) already included in the container. Advanced testing using NFVBench allows you to conduct the multichaining and multiflow testing. Multichaining testing enables you to run multiple parallel independent packet paths at the same time, while the multiflow testing performs IP ranging in packet headers within every chain.
Figure 25: Multichaining Example with Two Chains
NDR/PDR and Fixed Rate Tests
NDR/PDR Test: NFVBench offers a more advanced test (called the NDR/PDR test), provides information about network throughput using any of the standard defined packet sizes - 64B, IMIX,1518B. NDR (No Drop
Rate) value represents throughput at which no packets are dropped (satisfied by less than 0.001% of packets being dropped). Similarly, PDR (Partial Drop Rate) represents throughput at which only small number of packets is dropped ( less than 0.1% of packets sent).
Fixed Rate Test: NFVBench offers a simple test to run traffic at fixed rate, which verifies that every network component of packet path works properly. It is useful for identifying bottlenecks in the test environment.
Traffic generator generates packets at fixed rate for the given time by the user. From the statistics that is collected, drop rates and latencies are computed and displayed.
Both the NDR/PDR Test and Fixed Rate Test types of test provide a way of verifying network performance of NFV solution.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
35
Overview to Cisco NFVI
Overview to ACI Plugin Integration
Overview to ACI Plugin Integration
The following section gives you an overview of a typical architecture for an ACI fabric with an OpenStack deployment. An ACI with OpenStack deployment consists of a Nexus 9000 Spine/Leaf topology, an APIC cluster, a minimum of 3-node cluster of Controllers (which also acts as the Neutron network node), and two or more compute nodes to host Virtual Machine (VM) instances.
ACI External Routed Network connection is a Layer 3 connection outside the fabric. It is used to provide connectivity outside the OpenStack cloud, as depicted in the following figure.
Figure 26: ACI with OpenStack Physical Topology
Note Basic ACI architecture can be obtained at documentation available in CCO.
In Cisco VIM 2, we have integrated the Opflex ML2 plugin (in Unified mode) to manage the tenant VLANs dynamically, as VMs come and go in the cloud. By utilizing OpFlex, the policy model native to ACI can be extended all the way down into the virtual switches running on OpenStack Nova compute hosts. OpFlex extension to the compute host allows ACI to use Open vSwitch (OVS) to support common OpenStack features such as Source NAT (SNAT) and Floating IP in a distributed manner.
Cisco VIM 2.2 and later releases extends the automation to include the day-0 ToR level configuration to work with ACI, except for L3 out. The exception for L3 out was made because you can configure their upstream infrastructure in different ways. In the current offering, CVIM with the address scope along with ACI is not supported.
Note Cisco VIM 2.2 and later releases are validated against APIC 3.0, hence it is imperative to use APIC 3.0 version only.
36
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Overview to Cisco NFVI
NCS-5500 as a ToR Option
NCS-5500 as a ToR Option
Cisco VIM supports NCS-5500 as an alternate to a Nexus ToR. NCS-5500 is an IOS XR-based router, which is similar to Nexus switches. You can use the 48 10/25G ports or the 6 40/100G uplink ports model to implement
NCS-5500 (port-numbers depend on NCS version). Also, other SKUs of NCS-5500 are supported as long as the NCS-5500 software supports the EVLAG feature.. NCS-5500 uses the technology of bridge domain to connect to the server. Enable the Auto ToR configuration feature to support NCS-500 as ToR. NCS-5500 supports a micropod with more computes running on Intel 710 NICs with the mechanism driver of VPP over
LACP.
Disk Management in VIM
Cisco VIM uses the disk-maintenance tool that gives you the ability to check the status of all hard disk drives present in the running and operational mode in the following nodes:
• management node
• specific or all controller servers
• specific or all compute servers
Status of the disks such as online, offline, rebuilding helps you to identify which particular disks in which slot has potentially gone bad and require to be physically replaced in the server. It can be run on servers that have either a RAID controller or an SAS passthrough controller.
Once the disk is physically replaced, Disk management tool can be used to add the new disk back into the system as part of the RAID system (recommended one server at a time).
Note Disk Maintenance tool is useful only when one or at most two (in RAID6) go bad. Failure of more than one disk at a time puts the entire server in an irrecoverable state. Replace the server using remove and add operations through ciscovim. Disk management is not supported on a third party compute due to the licensing issue with the HPE SmartArray Utility tool.
OSD Maintenance
OSD maintenance tool gives you the ability to check the status of all OSDs and their corresponding physical hard disk drives present in the running and operational storage nodes. The status of the OSDs is reported along with the HDD mapping.
OSD Maintenance tool helps you to identify the status of the OSD (Up or Down) and its corresponding hard disk drive slot in the server that requires to be physically replaced. OSD Maintenance tool can run on servers that have either a RAID or an SAS passthrough controller.
Once the HDD to be physically replaced is identified, the same OSD tool can be used to rebalance the ceph tree, remove the OSD from the cluster, and unmount the disk drive, in preparation for the disk removal. After the disk has been physically replaced, the tool can be used to add the new disk back into the system as part of the Ceph cluster and recreate the OSD (only one HDD/OSD at a time). It ensures to replace a bad HDD,
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
37
Overview to Cisco NFVI
Power Management of Computes for C-Series it is not required to remove the ceph cluster from operation and then add it back through remove-storage and add-storage options in ciscovim.
Note OSD tool does not support the replacement of the internal OS drives and the external journal drives, for which you still have to use add or remove of OSD nodes.
Power Management of Computes for C-Series
Cisco VIM pods has many compute servers, but the actual usage of the compute servers are limited at times.
To optimize the overall power consumption of the data center, we have to power down the server through an
API/CLI.
To prevent the cloud destabilization, you cannot power off all the compute nodes. For example, one cannot power off all the compute nodes, at least one pod has to be Active.
Pod management operation(s) applies to the entire pod during updating and reconfigure, the server.
Updating and reconfiguration are not possible under the following circumstances:
• If one or more compute nodes are powered off.
• Computes on which VMs are running cannot be powered-off.
• Computes with. All-in-one (AIO) nodes in a micro-pod) cannot be powered-off through this API.
When there is a power-off, internally cloud-sanity is run and if the cloud sanity fails, then the power-off action is aborted.
38
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
2
Cisco NFVI Installation Overview
The Cisco NFVI installation overview topic provides an installation map to guide you to the procedures you need to complete for your particular Cisco NFVI installation.
•
Overview to Cisco NFVI Installation, on page 39
Overview to Cisco NFVI Installation
Cisco NFVI installation is divided into two processes:
• Preparation—Preparing the Cisco NFVI pod hardware and configuring all supporting applications including the Cisco Integrated Management Controller (IMC) and the Cisco UCS Manager.
• Installation—Installing the Cisco NFVI component applications includes: Cisco Virtual Infrastructure
Manager (VIM), Cisco Insight (Unified Management) and Cisco Virtual Topology System (VTS) including
Virtual Topology Forwarder (VTF). The applications that you install depend on your Cisco NFVI package.
The sequence in which you perform Cisco NFVI installations depends on the component applications that you install. For example, if you are installing Cisco VTS, install VTC, before you install Cisco VIM or Cisco
Insight. If you are installing Cisco VIM Insight, begin the Cisco VIM Management Node installation, then install Insight and complete the Cisco VIM installation through Cisco VIM Insight. If you have Cisco VIM without other Cisco NFVI applications, complete the Cisco VIM installation procedure.
In addition to the sequence of Cisco NFVI component installations, two other considerations are important:
• Internet Access —Internet access is required to download the Cisco NFVI installation files from the
Cisco NFVI download site (cvim-registry.com). If your management node has an Internet access, you can download the files directly to it. If you do not have Internet access, you need an alternate server with an internet access so that you can download the installation files to a USB stick. You can now use the
USB stick to copy the installation files to the management node.
• Cisco NFVI Configurations —Before you begin the Cisco NFVI installation, take time to familiarize yourself with the parameters you provision either during or immediately following Cisco NFVI installation.
Configurations are provided in the setup_data.yaml file. If you are installing Cisco VIM and not Cisco
VIM Insight, you enter the configurations directly into the setup_data.yaml file with a yaml editor.
Examples of setup_data file (for C and B-series) are available at the openstack-configs directory in the target install folder in the management node. To see the Cisco NFVI data and OpenStack parameters run
Setting Up the Cisco VIM Data Configurations, on page 95
. If you are installing Cisco VIM Insight, run Cisco NFVI using Insight UI wizard. For information, see
Installing Cisco VIM Unified Management
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
39
Cisco NFVI Installation Overview
Overview to Cisco NFVI Installation
Installation procedures in this guide are designed for one of several Cisco NFVI license options:
• Cisco NFVI Basic—Includes Cisco Virtual Infrastructure Manager (VIM). Cisco VIM is an OpenStack
Newton release software solution with more features and usability enhancements that are tested for functionality, scale, and performance.
• Cisco NFVI Standard—Includes Cisco VIM and Cisco VIM Insight. Cisco VIM Insight deploys, provisions, and manages Cisco NFVI on Cisco UCS servers.
• Cisco NFVI with third-party monitoring - Includes Cisco VIM with or without Cisco VIM Insight that are based on the preceding choice with monitoring of the pod through Zenoss.
• Optional Cisco NFVI Applications—Cisco Virtual Topology System(VTS) is an optional application that can be installed with Cisco VIM by itself and with Cisco VIM Insight. Cisco VTS is a standards-based, open software-overlay management and provisioning system. It automates the data center network fabric provisioning, for virtual and physical infrastructure.
The following table lists the procedures for each option. If you have purchased Cisco VIM, you have to perform extra manual installation procedures. If you purchased Cisco VIM and Insight, you have to perform many of the Cisco VIM manual setup and configuration procedures though the Unified management system also called VIM Insight. Cloud that is installed through Cisco VIM 2.2 from CLI, can be managed through
Cisco VIM Insight later in the lifecycle. However, once the VIM Insight starts managing a cloud, we recommend you to continue using it to manage the cloud later. Review the table to make sure that you fully understand the installation sequence before you begin.
#
1
2
3
4
Chapter Title
Overview to Cisco NFVI
Audience
Pod
Administrator
Pod
Administrator
Pod
Administrator
Users
5
Users
Notes
Understanding the Cisco NFVI architecture and networking helps ensure a successful installation.
Provides a map through the Installation Guide chapters.
Complete the procedures in this chapter before starting
Cisco NFVI installation.
Complete this chapter only if your management node does not have Internet access.
6
7
Pod
Administrator
Users
Complete only if your implementation includes Cisco
Virtual Topology System. If yes, you install Cisco
VTS before you install other Cisco NFVI applications.
All users have to complete a portion of the Installing
Cisco VIM procedure. Users with Cisco VIM Insight can proceed to the Cisco VIM Insight installation, while users with only Cisco VIM have to complete the full procedure.
Complete only if your implementation includes Cisco
VIM Insight.
40
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Cisco NFVI Installation Overview
Overview to Cisco NFVI Installation
# Chapter Title
9
Audience
8
Users
Pod
Administrator
Notes
Complete only if you have Cisco VIM Insight. In this procedure, you have to install and configure Cisco
VIM.
Provides methods that you can use to verify the Cisco
NFVI installation.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
41
Overview to Cisco NFVI Installation
Cisco NFVI Installation Overview
42
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
3
Preparing for Installation on Servers Without
Internet Access
Complete the following procedure if your monitoring node does not have access to the Internet. In this case, you must download the Cisco NFVI installation files to a 64 GB (minimum) USB 2.0 stick on a staging server that has Internet access, then use the USB stick to copy the files to the management node. If your management node has Internet access, you can skip this chapter.
•
Preparing to Install Cisco NFVI on Management Nodes Without Internet Access, on page 43
Preparing to Install Cisco NFVI on Management Nodes Without
Internet Access
Following procedure tells you how to download the Cisco NFVI installation files onto a USB stick that is mounted on a staging server with Internet access. You can use the USB to load the Cisco NFVI installation files onto the management node that does not have Internet access.
Note We recommend you to use Virtual Network Computing (VNC), other terminal multiplexer, or similar screen sessions to complete these steps.
Step 1
Before you begin
This procedure requires a CentOS 7 staging server (VM, laptop, or UCS server) with a 64-GB USB 2.0 stick.
The staging server must have an Internet access (wired access is recommended) to download the Cisco VIM installation files, which you load onto the USB stick.Use the USB stick to load the installation files onto the management node. Installation files are over 25-GB in size; downloading them to the USB stick can take several hours depending on the speed of your Internet. Before you begin, disable the CentOS to the sleep mode.
On the staging server, use yum to install the following packages:
• PyYAML (yum install PyYAML)
• python-requests (yum install python-requests)
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
43
Preparing to Install Cisco NFVI on Management Nodes Without Internet Access
Preparing for Installation on Servers Without Internet Access
Step 2 Connect to the Cisco VIM software download site using a web browser and log in details provided by the account representative and download the getartifacts.py
script from external registry:
# download the new getartifacts.py file (see example below) curl -o getartifacts.py
https://username:[email protected]/mercury-releases/cvim22-rhel7-osp10/releases/<2.4/getartifacts.py
Step 3 curl -o getartifacts.py-checksum.txt
https://username:passwordcvim-registry.com/mercury-releases/cvim22-rhel7-osp10/releases/<2.4/getartifacts.py-checksum.txt
# calculate the checksum and verify that with one in getartifacts.py-checksum.txt
sha512sum getartifacts.py
# Change the permission of getartificats.py
chmod +x getartifacts.py
Run getartifacts.py
. The script formats the USB 2.0 stick and downloads the installation files. Provide the registry username and password, tag ID, and USB partition on the staging server.
# cd <installer-xxx>/tools/
# ./getartifacts.py -h usage: getartifacts.py [-h] -t TAG -u USERNAME -p PASSWORD -d DRIVE
[--proxy PROXY] [--retry]
[--artifacts [ARTIFACTS [ARTIFACTS ...]]]
Script to pull container images en masse.
optional arguments:
-h, --help
-t TAG, --tag TAG show this help message and exit installer version to pull
-u USERNAME, --username USERNAME
Registry username
-p PASSWORD, --password PASSWORD
Registry password
-d DRIVE, --drive DRIVE
Provide usb drive path
--proxy PROXY
--retry https_proxy if needed
Try to complete a previous fetch
--artifacts [ARTIFACTS [ARTIFACTS ...]]
Artifact List values(space separated): core insight all
This script pulls images from remote registry and copies the contents to usb drive
To identify the USB drive, execute the lsblk command before and after inserting the USB stick. The command displays a list of available block devices. The output data helps you to find the USB drive location. Provide the entire drive path in the –d option instead of any partition.
For example: sudo ./getartifacts.py -t <tag_id> -u <username> -p <password> -d </dev/sdc> [--artifacts …] [--proxy proxy.example.com] –
For example: To download only the insight artifacts, execute the following command: sudo ./getartifacts.py -t <tag_id> -u <username> -p <password> -d </dev/sdy/>-- artifacts insight
Note We recommend you not to remove the USB stick, while the synchronization is under way.
44
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Installation on Servers Without Internet Access
Preparing to Install Cisco NFVI on Management Nodes Without Internet Access
Step 4
Note
Note
While executing getartifacts.py errors you come up with the following message: stderr: mount: wrong fs type, bad option, bad superblock on /dev/sdy1, missing codepage or helper program, or other error.
This typically points to a bad superblock and the mount fails. Reformatting the drive helps in this case, use the fsck command to recover the drive: fsck.ext4 -pv /dev/sdc .
Given the size of the artificats (>25G) we recommend you to execute this step over a wired connection. This step typically takes few hours to download and populate data on USB stick, depending on the connectivity.
Getartifacts.py script downloads the following:
• Core Packages
• buildnode-K9.iso
• mercury-installer.tar.gz
• registry-2.3.1.tar.gz
• Optional: Unified Management Package called as Insight
• insight-K9.tar.gz
• mariadb-app-K9.tar.gz
• Respective checksums
Verify the integrity of the downloaded artifacts and the container images by running the following command:
# create a directory sudo mkdir -p /mnt/Cisco
# /dev/sdc is the USB drive, same as supplied in getartifacts.py python script sudo mount /dev/sdc1 /mnt/Cisco cd /mnt/Cisco
# execute the test-usb help to look at the options
./test-usb -h usage: ./test-usb [-h] -- Show this program to check integrity of artifacts in this USB stick
[-c] -- Check integrity of only core artifacts in this USB stick
[-i] -- Check integrity of only insight artifacts in this USB stick
[-a] -- Check integrity of all (core and insight) artifacts in this USB stick
[-l] -- Location of artifacts
# execute the verification script
./test-usb
# failures are explicitly displayed on screen, sample success output below
# sample output of ./test-usb execution with 2.4 release
#./test-usb
INFO: Checking the integrity of this USB stick
INFO: Checking artifact buildnode-K9.iso
INFO: Checking artifact registry-2.3.1.tar.gz
INFO: Checking required layers:
INFO: 548 layer files passed checksum.
Following output shows the result when using –a option
# ./test-usb -a
INFO: Checking the integrity of this USB stick
INFO: Checking artifact buildnode-K9.iso
INFO: Checking artifact registry-2.3.1.tar.gz
INFO: Checking artifact mariadb-app-K9.tar.gz
INFO: Checking artifact haproxy-K9.tar.gz
INFO: Checking artifact insight-K9.tar.gz
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
45
Preparing to Install Cisco NFVI on Management Nodes Without Internet Access
Preparing for Installation on Servers Without Internet Access
Step 5
Step 6
Step 7
INFO: Checking required layers:
INFO: 548 layer files passed checksum.
If a failure occurs, an error message is displayed.
For example:
# ./test-usb
INFO: Checking the integrity of this USB stick
INFO: Checking artifact buildnode-K9.iso
ERROR: Checksum for artifact buildnode-K9.iso does not match ('SHA512 (buildnode-K9.iso) =
96ec62a0932a0d69daf60acc6b8af2dc4e5eca132cd3781fc17a494592feb52a7f171eda25e59c0d326fbb09194eeda66036cbdc3870dafe74f59cf1f2dce225'
!= 'SHA512 (buildnode-K9.iso) = a6a9e79fa08254e720a80868555679baeea2dd8f26a0360ad47540eda831617bea0514a117b12ee5f36415b7540afa112a1c904cd69e40d704a8f25d78867acf')
INFO: Checking artifact registry-2.3.1.tar.gz
ERROR: Artifact registry-2.3.1.tar.gz is not present
INFO: Checking required layers:
ERROR: Layer file sha256:002aa1f0fbdaea7ea25da1d906e732fe9a9b7458d45f8ef7216d1b4314e05207 has a bad checksum
ERROR: Layer file sha256:5be3293a81773938cdb18f7174bf595fe7323fdc018c715914ad41434d995799 has a bad checksum
ERROR: Layer file sha256:8009d9e798d9acea2d5a3005be39bcbfe77b9a928e8d6c84374768ed19c97059 has a bad checksum
ERROR: Layer file sha256:ea55b2fc29b95d835d16d7eeac42fa82f17e985161ca94a0f61846defff1a9c8 has a bad checksum
INFO: 544 layer files passed checksum.
To resolve download artifact failures, unmount the USB and run the getartifacts command again with the --retry option.
sudo ./getartifacts.py -t <tag_id> -u <username> -p <password> -d </dev/sdc> --retry
Mount the USB and then run the test-usb command to validate if all the files are downloaded:
# /dev/sdc is the USB drive, same as supplied in get artifacts.py python script sudo mount /dev/sda1 /mnt/Cisco cd /mnt/Cisco
# execute the verification script
./test-usb
# In case of failures the out of the above command are explicitly display the same on the screen
After the USB integrity test finishes, unmount the USB stick by running the following command: sudo umount /mnt/Cisco
46
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
4
Preparing for Cisco NFVI Installation
Before you can install and configure Cisco NFVI, you must complete the following hardware and application preparation procedures provided in the following topics.
•
Installing the Cisco NFVI Hardware, on page 47
•
Configuring ToR Switches for C-Series Pods, on page 50
•
Configuring ToR Switches for UCS B-Series Pods , on page 54
•
Preparing Cisco IMC and Cisco UCS Manager, on page 56
•
Installing the Management Node, on page 56
•
Setting Up the UCS C-Series Pod, on page 59
•
Setting Up the UCS B-Series Pod, on page 62
•
Configuring the Out-of-Band Management Switch, on page 63
Installing the Cisco NFVI Hardware
Before installing Cisco Virtualization Infrastructure Manager (VIM), switch on the Cisco UCS C-Series or
B-Series harware. Depending upon the pod type, the CIMC connection or UCSM IP has to be set up ahead of time. Following table lists the UCS hardware options and network connectivity protocol that can be used with either virtual extensible LAN (VXLAN) over a Linux bridge, VLAN over OVS or VLAN over VPP. If
Cisco Virtual Topology Services, an optional Cisco NFVI application, is installed, Virtual Topology Forwarder
(VTF) can be used with VXLAN for tenants, and VLANs for providers on C-Series pods.
Table 5: Cisco NFVI Hardware and Network Connectivity Protocol
UCS Pod Type
C-Series
C-Series
Compute and
Controller Node
Controller: UCS
C220/240
Compute: HP
DL360 Gen9
Storage Node Network Connectivity Protocol
UCS C220/240 M4.
UCS C240 M4 (SFF) with two internal SSDs.
VXLAN/Linux Bridge or
OVS/VLAN or VPP/VLAN, or
ACI/VLAN.
UCS C240 M4 (SFF) with two internal SSDs.
OVS/VLAN
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
47
Preparing for Cisco NFVI Installation
Installing the Cisco NFVI Hardware
UCS Pod Type Compute and
Controller Node
Storage Node Network Connectivity Protocol
C-Series with Cisco
VTS
UCS C220/240 M4.
UCS C240 M4 (SFF) with two internal SSDs.
For tenants: VTF with VXLAN.
For providers: VLAN
C-Series Micro Pod UCS 240 M4 /M5 with 12 HDD and 2 external SSDs. Pod can be expanded to
18 computes. Each compute has 2x1.2
TB HDD
Not Applicable as C-Series
Micro Pod is integrated with
Compute, and Controller.
Or
UCS 220 M4/M5 with 7 HDD and 1 external SSD. Pod can be expanded to
18 computes. Each compute has 2x1.2
TB HDD
Note Refer the
BOM for
SSD-based install for
M5; Also the M5
BOM is based on
Intel X710 for control and data plane and
XL710 for
SRIOV
UCS M4 Support:
OVS/VLAN or VPP/VLAN or
ACI/VLAN.
UCS M5 Support:
OVS/VLAN or VPP/VLAN
C-Series
Hyperconverged
B-Series
B-Series with UCS
Manager Plugin
UCS 240 M4.
UCS B200 M4.
UCS B200 M4s
UCS C240 M4 (SFF) with 12
HDD and two external SSDs, also acts a compute node.
OVS/VLAN
UCS C240 M4 (SFF) with two internal SSDs.
VXLAN/Linux Bridge or
OVS/VLAN.
UCS C240 M4 (SFF) with two internal SSDs.
OVS/VLAN
48
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Installing the Cisco NFVI Hardware
Note The storage nodes boot off two internal SSDs. It also has four external solid state drives (SSDs) for journaling, which gives a 1:5 SSD-to-disk ratio (assuming a chassis that is filled with 20 spinning disks). Each C-Series pod has either a 2 port 10-GE Cisco vNIC 1227 card or 2 of 4 port Intel 710 X card. UCS M4 blades only support Cisco 1340 and 1380 NICs. For more information about the Cisco vNICs, see LAN and SAN
Connectivity for a Cisco UCS Blade . Cisco VIM has a micro pod (based on UCS M4 hardware) which works on Cisco VIC 1227 or Intel NIC 710, with OVS/VLAN or VPP/VLAN as the virtual network protocol. The micro pod supports users with a small, functional, but redundant cloud with capability of adding standalone computes to an existing pod. The manifestation of the UCS-M4 micro-pod works on Cisco VIC (1227) or
Intel NIC 710, with OVS/VLAN of VPP/VLAN as the virtual network protocol.
Cisco VIM supports M4-based micropod on a VIC/NIC system with OVS, to extend the SRIOV support on a 2x2-port Intel 520 NIC card. Also, the M5 based Micro pod is based on Intel NIC 710, and supports SRIOV over XL710, with OVS/VLAN or VPP/VLAN as the virtual network protocol. In Cisco VIM 2.4.1, we have added the support of M5-based micropod on a VIC/NIC system, to extend the SRIOV support on a 2x2 port
Intel XL710 NIC card.
In addition, the Cisco Nexus 9372 or 93180YC, or 9396PX must be available to serve the Cisco NFVI ToR function.
After verifying that you have the required Cisco UCS servers and blades and the Nexus 93xx, install the hardware using the following links:
• Cisco UCS C220 M4 Server Installation and Service Guide
• Cisco UCS C240 M4 Server Installation and Service Guide
• Cisco UCS B200 Blade Server and Installation Note
• Cisco Nexus 93180YC, 9396PX, 9372PS, and 9372PX-E NX-OS Mode Switches Hardware Installation
Guide
The following figure shows a C-Series Cisco NFVI pod. Although the figure shows that a full complement of UCS C220 computes nodes, the number of compute nodes can vary, depending on the implementation requirements. The UCS C220 control and compute nodes can be replaced with UCS 240 series. However in that case the number of computes fitting in one chassis system is reduced by half.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
49
Configuring ToR Switches for C-Series Pods
Figure 27: Cisco NFVI C-Series Pod
Preparing for Cisco NFVI Installation
Note The combination of UCS-220 and 240 within the compute and control nodes is not supported.
For more information on wiring schematic of various pod configurations, refer to Appendix section.
Configuring ToR Switches for C-Series Pods
During installation, the Cisco VIM installer creates vNIC's on each of the two physical interfaces and creates a bond for the UCS C-Series pod. Before this you have to manually configure the ToR switches to create a vPC with the two interfaces connected to each server. Use identical Cisco Nexus 9372, or 93180YC, or
9396PX switches for the ToRs. We recommend you to use the N9K TOR software versions for setup:
7.0(3)I4(6) 7.0(3)I6(1). Also, you can refer to, the Appendix section for the wiring details for each pod type on a C-series-based install.
Complete the following steps to create a vPC on a pair of Cisco Nexus ToR switches. The steps use the following topology as an example. Modify the configuration as it applies to your environment. In Cisco VIM, we have introduced a feature which is called auto-configuration of ToR (for N9K series only). This is an optional feature, and if you decide to take this route, the following steps can be skipped.
50
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Figure 28: ToR Configuration Sample
Configuring ToR Switches for C-Series Pods
Step 1
Step 2
Change the vPC domain ID for your configuration. The vPC domain ID can be any number as long as it is unique. The
IP address on the other switch mgmt0 port is used for the keepalive IP. Change it to the IP used for your network.
For the preceding example, the following is the configuration:
ToR-A (mgmt0 is 172.18.116.185) feature vpc vpc domain 116 peer-keepalive destination 172.18.116.186
ToR-B (mgmt0 is 172.18.116.186) feature vpc vpc domain 116 peer-keepalive destination 172.18.116.185
Because both switches are cabled identically, the remaining configuration is identical on both switches. In this example, topology Eth2/3 and Eth2/4 are connected to each other and combined into a port channel that functions as the vPC peer link.
feature lacp interface Ethernet2/3-4 channel-group 116 mode active interface port-channel116 switchport mode trunk vpc peer-link
For each VLAN type, (mgmt_vlan, tenant_vlan_range, storage, api, external, provider), execute the following on each
ToR:
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
51
Preparing for Cisco NFVI Installation
Configuring ToR Switches for C-Series Pods
Step 3 vlan <vlan_type> no shut
Configure all the interfaces are connected to the servers to be members of the port channels. In the example, only ten interfaces are shown. But you must configure all interfaces that are connected to the server.
Note If interfaces have configurations from previous deployments, you can remove them by entering default interface
Eth1/1-10, then no interface Po1-10 .
1. For deployment with any mechanism driver on Cisco VIC
There is no configuration differences among different roles (controllers/computes/storages). The same configuration applies to all interfaces.
interface Ethernet 1/1 channel-group 1 mode active interface Ethernet 1/2 channel-group 2 mode active interface Ethernet 1/3 channel-group 3 mode active interface Ethernet 1/4 channel-group 4 mode active interface Ethernet 1/5 channel-group 5 mode active interface Ethernet 1/6 channel-group 6 mode active interface Ethernet 1/7 channel-group 7 mode active interface Ethernet 1/8 channel-group 8 mode active interface Ethernet 1/9 channel-group 9 mode active interface Ethernet 1/10 channel-group 10 mode active
2. For deployment with OVS/VLAN or LinuxBridge on Intel VIC
The interface configuration is the same as Cisco VIC case as shown in the preceding section. However, number of switch interfaces that are configured is more in the case of Intel NIC as we have dedicated control, and data physical ports participating in the case of Intel NIC. Also for SRIOV switchport, no port channel is configured, and the participating VLAN can be in trunk mode.
3. For deployment with VPP/VLAN or VTS on Intel VIC
In this case VPP/VLAN or VTS is used as the mechanism driver. The interface configuration varies based on the server roles. Assume Ethernet1/1 to Ethernet1/3 are controller interfaces, Ethernet1/4 to Ethernet1/6 are storage interfaces, and Ethernet1/7 to Ethernet1/10 are the compute interfaces. The sample configurations looks like: interface Ethernet 1/1 channel-group 1 mode active interface Ethernet 1/2 channel-group 2 mode active interface Ethernet 1/3 channel-group 3 mode active interface Ethernet 1/4 channel-group 4 mode active interface Ethernet 1/5 channel-group 5 mode active interface Ethernet 1/6 channel-group 6 mode active interface Ethernet 1/7 channel-group 7
52
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Configuring ToR Switches for C-Series Pods
Step 4
Step 5
Step 6
Note interface Ethernet 1/8 channel-group 8 interface Ethernet 1/9 channel-group 9 interface Ethernet 1/10 channel-group 10
When using VPP/VLAN with Intel NIC, ensure that LACP is turned off for those port channels that are connected to the compute nodes. In the sample configurations that is given, preceding codes corresponds to Ethernet 1/7 to 1/10"
Configure the port channel interface to be vPC, and trunk all VLANs. Native vlan has to be configured and set to the mgmt vlan on the control ports for Intel NIC. Without it PXE boot fails. Skip to listen or learn in spanning tree transitions, and do not suspend the ports if they do not receive LACP packets. Also, configure it with large MTU of 9216 (this is important or else Ceph install hangs).The last configuration allows you to start the servers before the bonding is set up.
interface port-channel1-9 shutdown spanning-tree port type edge trunk switchport mode trunk switchport trunk native vlan mgmt_vlan for the control ports when Intel NIC is used switchport trunk allowed vlan <mgmt_vlan, tenant_vlan_range, storage, api, external, provider> no lacp suspend-individual mtu 9216 vpc <1-9> no shutdown
Identify the port channel interface that connects to the management node on the ToR: interface port-channel10 shutdown spanning-tree port type edge trunk switchport mode trunk switchport trunk allowed vlan <mgmt_vlan> no lacp suspend-individual vpc 10 no shutdown
Check the port channel summary status. The ports connected to the neighbor switch have to be in (P) state. Before the server installation, the server facing interfaces has to be in (I) state. After installation, they have to be in (P) state, which means they are up and in port channel mode.
gen-leaf-1# show port-channel summary
Flags: D - Down P - Up in port-channel (members)
I - Individual H - Hot-standby (LACP only) s - Suspended r - Module-removed
S - Switched R - Routed
U - Up (port-channel)
M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port- Type Protocol Member Ports
Channel
--------------------------------------------------------------------------------
1 Po1(SD) Eth LACP Eth1/1(I)
2 Po2(SD) Eth LACP Eth1/2(I)
3 Po3(SD) Eth LACP Eth1/3(I)
4 Po4(SD) Eth LACP Eth1/4(I)
5 Po5(SD) Eth LACP Eth1/5(I)
6 Po6(SD) Eth LACP Eth1/6(I)
7 Po7(SD) Eth LACP Eth1/7(I)
8 Po8(SD) Eth LACP Eth1/8(I)
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
53
Preparing for Cisco NFVI Installation
Configuring ToR Switches for UCS B-Series Pods
Step 7
Step 8
9 Po9(SD) Eth LACP Eth1/9(I)
10 Po10(SD) Eth LACP Eth1/10(I)
116 Po116(SU) Eth LACP Eth2/3(P) Eth2/4(P)
Enable automatic Cisco NX-OS errdisable state recovery: errdisable recovery cause link-flap errdisable recovery interval 30
Cisco NX-OS places links that flap repeatedly into errdisable state to prevent spanning tree convergence problems caused by non-functioning hardware. During Cisco VIM installation, the server occasionally triggers the link flap threshold, so enabling automatic recovery from this error is recommended.
errdisable recovery cause link-flap errdisable recovery interval 30
If you are installing Cisco Virtual Topology Systems, an optional Cisco NFVI application, enable jumbo packets and configure 9216 MTU on the port channel or Ethernet interfaces. For example:
Port channel: interface port-channel10 switchport mode trunk switchport trunk allowed vlan 80,323,680,860,2680,3122-3250 mtu 9216 vpc 10
Ethernet: interface Ethernet1/25 switchport mode trunk switchport trunk allowed vlan 80,323,680,860,2680,3122-3250 mtu 9216
Configuring ToR Switches for UCS B-Series Pods
Complete the following steps to create a vPC on a pair of Cisco Nexus ToR switches for a UCS B-Series pod.
The steps are similar to configuring ToR switches for C-Series pods, with some differences. In the steps, the two ToR switches are Storm-tor-1 (mgmt0 is 172.18.116.185), and Storm-tor-2 (mgmt0 is 172.18.116.186).
Modify the configuration as it applies to your environment. If no multicast or QOS configuration is required, and Auto-configuration of TOR is chosen as an option, the steps listed below can be skipped.
Before you begin
Step 1 Change the vPC domain ID for your configuration. The vPC domain ID can be any number as long as it is unique. The
IP address on the other switch mgmt0 port is used for the keepalive IP. Please change it to the IP used for your network.
Storm-tor-1 (mgmt0 is 172.18.116.185) a) feature vpc vpc domain 116 peer-keepalive destination 172.18.116.186
54
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Configuring ToR Switches for UCS B-Series Pods
Step 2
Step 3
Step 4 for each vlan_type (mgmt_vlan, tenant_vlan_range, storage, api, external, provider); # execute the following for each vlan vlan <vlan_type> no shut vrf context management ip route 0.0.0.0/0 172.18.116.1
interface mgmt0 vrf member management ip address 172.18.116.185/24
Storm-tor-2 (mgmt0 is 172.18.116.186) feature vpc vpc domain 116 peer-keepalive destination 172.18.116.185
for each vlan_type (mgmt_vlan, tenant_vlan_range, storage, api, external, provider); # execute the following for each vlan vlan <vlan_type> no shut vrf context management ip route 0.0.0.0/0 172.18.116.1
interface mgmt0 vrf member management ip address 172.18.116.186/24
Since both switches are cabled identically, the rest of the configuration is identical on both switches. Configure all the interfaces connected to the fabric interconnects to be in the VPC as well.
feature lacp interface port-channel1 description “to fabric interconnect 1” switchport mode trunk vpc 1 interface port-channel2 description “to fabric interconnect 2” switchport mode trunk vpc 2 interface Ethernet1/43 description "to fabric interconnect 1" switchport mode trunk channel-group 1 mode active interface Ethernet1/44 description "to fabric interconnect 2" switchport mode trunk channel-group 2 mode active
Create the port-channel interface on the ToR that is connecting to the management node: interface port-channel3 description “to management node” spanning-tree port type edge trunk switchport mode trunk switchport trunk allowed vlan <mgmt_vlan> no lacp suspend-individual vpc 3 interface Ethernet1/2 description "to management node" switchport mode trunk channel-group 3 mode active
Enable jumbo frames for each ToR port-channel that connects to the Fabric Interconnects:
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
55
Preparing for Cisco NFVI Installation
Preparing Cisco IMC and Cisco UCS Manager interface port-channel<number> mtu 9216
Note You must also enable jumbo frames in the setup_data.yaml file. See the UCS Manager Common Access
Information for B-Series Pods topic in
Setting Up the Cisco VIM Data Configurations, on page 95
Preparing Cisco IMC and Cisco UCS Manager
Cisco NFVI requires specific Cisco Integrated Management Controller (IMC) and Cisco UCS Manager firmware versions and parameters. The Cisco VIM bare metal installation uses the Cisco IMC credentials to access the server Cisco IMC interface, which is used to delete and create vNICS and to create bonds.
Complete the following steps to verify Cisco IMC and UCS Manager are ready for Cisco NFVI installation:
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Verify that each Cisco UCS server has one of the following Cisco IMC firmware versions is running 2.0(13i) or greater
(preferably 2.0(13n)). Cisco IMC version can be 3.0 series (use 3.0.3(f) or later).. The latest Cisco IMC ISO image can be downloaded from the Cisco Software Download site. For upgrade procedures, see the Cisco UCS C-Series Rack-Mount
Server BIOS Upgrade Guide .
For UCS B-Series pods, verify that the Cisco UCS Manager version is one of the following: 2.2(5a), 2.2(5b), 2.2(6c),
2.2(6e), 3.1(c).
For UCS C-Series pods, verify the following Cisco IMC information is added: IP address, username, and password.
For UCS B-Series pods, verify the following UCS Manager information is added: username, password, IP address, and resource prefix. The resource prefix maximum length is 6. The provisioning network and the UCS Manager IP address must be connected.
Verify that no legacy DHCP/Cobbler/PXE servers are connected to your UCS servers. If so, disconnect or disable the interface connected to legacy DHCP, Cobbler, or PXE server. Also, delete the system from the legacy cobbler server.
Verify Cisco IMC has NTP enabled and is set to the same NTP server and time zone as the operating system.
Installing the Management Node
This procedure installs RHEL 7.4 with the following modifications:
• Hard disk drives are setup in RAID 6 configuration with one spare HDD for eight HDDs deployment, two spare HDDs for 9 to 16 HDDs deployment, or four spare HDDs for 17 to 24 HDDs deployment
• Networking—Two bridge interfaces are created, one for the installer API and one for provisioning. Each bridge interface has underlying interfaces bonded together with 802.3ad. Provision interfaces are 10 GE
Cisco VICs. API interfaces are 1 GE LOMs. If the NFVIBENCH, is planned to be used, another 2xIntel
520 or 4xIntel710 X is needed.
• The installer code is placed in /root/.
• SELinux is enabled on the management node for security.
56
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Installing the Management Node
Step 1
Step 2
Step 3
Step 4
Step 5
Before you begin
Verify that the Cisco NFVI management node where you plan to install the Red Hat for Enterprise Linux
(RHEL) operating system is a Cisco UCS C240 M4 Small Form Factor (SFF) with 8, 16 or 24 hard disk drives
(HDDs). In addition, the management node must be connected to your enterprise NTP and DNS servers. If your management node server does not meet these requirements, do not continue until you install a qualified
UCS C240 server. Also, verify that the pod has MRAID card.
Log into the Cisco NFVI management node.
Follow steps in Configuring the Server Boot Order to set the boot order to boot from Local HDD.
Follow steps in Cisco UCS Configure BIOS Parameters to set the following advanced BIOS settings:
For Management node based on UCS M4 boxes set the following for BIOS Parameters:
• PCI ROM CLP—Disabled
• PCH SATA Mode—AHCI
• All Onboard LOM Ports—Enabled
• LOM Port 1 OptionROM—Disabled
• LOM Port 2 OptionROM—Disabled
• All PCIe Slots OptionROM—Enabled
• PCIe Slot:1 OptionROM—Enabled
• PCIe Slot:2 OptionROM—Enabled
• PCIe Slot: MLOM OptionROM—Disabled
• PCIe Slot:HBA OptionROM—Enabled
• PCIe Slot:FrontPcie1 OptionROM—Enabled
• PCIe Slot:MLOM Link Speed—GEN3
• PCIe Slot:Riser1 Link Speed—GEN3
• PCIe Slot:Riser2 Link Speed—GEN3
• • MLOM OptionROM—Enabled
Click Save Changes .
Add the management node vNICs to the provisioning VLAN to provide the management node with access to the provisioning network: a) In the CIMC navigation area, click the Server tab and select Inventory .
b) In the main window, click the Cisco VIC Adapters tab.
c) Under Adapter Card, click the vNICs tab.
d) Click the first vNIC and choose Properties .
e) In the vNIC Properties dialog box, enter the provisioning VLAN in the Default VLAN field and click Save Changes .
f) Repeat Steps a through e for the second vNIC.
Note Delete any additional vNICs configured on the UCS server beyond the two default ones.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
57
Preparing for Cisco NFVI Installation
Installing the Management Node
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Step 12
Step 13
Step 14
Step 15
Step 16
Step 17
Step 18
Step 19
Download the Cisco VIM ISO image to your computer from the location that is provided to you by the account team.
In CIMC, launch the KVM console.
Mount the Cisco VIM ISO image as a virtual DVD.
Reboot the UCS server, then press F6 to enter the boot menu.
Select the KVM-mapped DVD to boot the Cisco VIM ISO image supplied with the install artifacts.
When the boot menu appears, select Install Cisco VIM Management Node . This is the default selection, and is automatically be chosen after the timeout.
At the prompts, answer the following questions to install the Management node as unified management node only or not:
• Hostname—Enter the management node hostname (The hostname length must be 32 or less characters).
• Select Yes to Install as Unified Management only when the node is only planned to be used as unified management node; Migration from one to another is not supported)
• API IPv4 address—Enter the management node API IPv4 address in CIDR (Classless Inter-Domain Routing) format. For example, 172.29.86.62/26
• API Gateway IPv4 address—Enter the API network default gateway IPv4 address.
• MGMT IPv4 address—Enter the management node MGMT IPv4 address in CIDR format. For example,
10.30.118.69/26
Note This field is not be prompted if the management node is installed as “unified management node only”
• Prompt to enable static IPv6 address configuration—Enter 'yes' to continue input similar IPv6 address configuration for API and MGMT network or 'no' to skip if IPv6 is not needed.
• API IPv6 address—Enter the management node API IPv6 address in CIDR (Classless Inter-Domain Routing) format. For example, 2001:c5c0:1234:5678:1001::5/8.
• Gateway IPv6 address—Enter the API network default gateway IPv6 address.
• MGMT IPv6 address—Enter the management node MGMT IPv6 address in CIDR format. For example,
2001:c5c0:1234:5678:1002::5/80
• DNS server—Enter the DNS server IPv4 address or IPv6 address if static IPv6 address is enabled.
• Option for Teaming Drier for Link Aggregation (answer ‘yes’ when Nexus Switch is the TOR, and answer ‘no’ when NCS-5500 is TOR): <yes|no> "
After you enter the management node IP addresses, the Installation options menu appears. In the installation menu, there are more options, fill in the options that are listed below (option8 and 2) and leave everything else as it is. If there is problem to start the installation, enter"r" to refresh the Installation menu.
In the Installation menu, select option 8 to enter the root password.
At the password prompts, enter the root password, then enter it again to confirm.
At the Installation Menu, select option 2 to enter the time zone.
At the Timezone settings prompt, select the option 1 as option 2 is not supported.
Enter the number corresponding to your time zone.
At the next prompt, enter the number for your region.
At the next prompt, choose the city, then confirm the time zone settings.
58
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Setting Up the UCS C-Series Pod
Step 20
Step 21
Step 22
After confirming your time zone settings, enter b to start the installation.
After the installation is complete, press Return to reboot the server.
After the reboot, check the management node clock using the Linux date command to ensure that the TLS certificates are valid, for example:
#date
Mon Aug 22 05:36:39 PDT 2016
To set date:
#date -s '2016-08-21 22:40:00'
Sun Aug 21 22:40:00 PDT 2016
To check for date:
#date
Sun Aug 21 22:40:02 PDT 2016
Setting Up the UCS C-Series Pod
After you install the RHEL OS on the management node, perform the following steps to set up the Cisco UCS
C-Series servers:
Step 1
Step 2
Follow steps in Configuring the Server Boot Order to set the boot order to boot from Local HDD.
Follow steps in Configure BIOS Parameters to set the LOM, HBA, and PCIe slots to the following settings:
For servers based on UCS M4 boxes set the following for BIOS Parameters:
• CDN Support for VIC—Disabled
• PCI ROM CLP—Disabled
• PCH SATA Mode—AHCI
• All Onboard LOM Ports—Enabled
• LOM Port 1 OptionROM—Disabled
• LOM Port 2 OptionROM—Disabled
• All PCIe Slots OptionROM—Enabled
• PCIe Slot:1 OptionROM—Enabled
• PCIe Slot:2 OptionROM—Enabled
• PCIe Slot: MLOM OptionROM—Enabled
• PCIe Slot:HBA OptionROM—Enabled
• PCIe Slot:N1 OptionROM—Enabled
• PCIe Slot:N2 OptionROM—Enabled
• PCIe Slot:HBA Link Speed—GEN3
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
59
Preparing for Cisco NFVI Installation
Setting Up the UCS C-Series Pod
• For servers based on UCS M5 boxes set the following for BIOS Parameters:
• • All Onboard LOM Ports—Enabled
• • LOM Port 1 OptionROM—Disabled
• • LOM Port 2 OptionROM—Disabled
• • PCIe Slot:1 OptionROM—Enabled
• • PCIe Slot:2 OptionROM—Enabled
• • MLOM OptionROM—Enabled
• • MRAID OptionROM—Enabled
For other parameters, leave it at their default settings.
• More steps have to be taken to setup C-series pod with Intel NIC. In the Intel NIC testbed, each C-series server has
2, 4-port Intel 710 NIC cards. Ports A, B, and C for each Intel NIC card has to be connected to the respective TOR.
Also, ensure that the PCI slot in which the Intel NIC cards are inserted are enabled in the BIOS setting (BIOS >
Configure BIOS >Advanced > LOM and PCI Slot Configuration -> All PCIe Slots OptionROM-Enabled and enable respective slots). To identify the slots, check the slot-id information under the Network-Adapter tab listed under the
Inventory link on the CIMC pane. All the Intel NIC ports should be displayed in the BIOS summary page under the
Actual Boot Order pane, as IBA 40G Slot xyza with Device Type is set to PXE.
For UCS M5 look for “IBA 40G Slot …” under the BIOS Properties
60
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Setting Up the UCS C-Series Pod
In case, the boot-order for the Intel NICs are not listed as above, the following one-time manual step needs to be executed to flash the Intel NIC x710 to enable PXE.
1.
Boot each server with a CentOS image.
2.
Download Intel Ethernet Flash Firmware Utility (Preboot.tar.gz) for X710 from the above link for Linux platform: https://www.intel.com/content/www/us/en/support/software/manageability-products/000005790.html.
3.
Copy downloaded PREBOOT.tar to UCS server having X710 card.
mkdir -p /tmp/Intel/ tar xvf PREBOOT.tar -C /tmp/Intel/ cd /tmp/Intel/ cd APPS/BootUtil/Linux_x64 chmod a+x bootutili64e
./bootutil64e –h # help
./bootutil64e # list out the current settings for NIC
./bootutil64e -bootenable=pxe -all shutdown -r now
# now go with PXE
# Check result of the flash utility (watch out for PXE Enabled on 40GbE interface)
#./bootutil64e
Intel(R) Ethernet Flash Firmware Utility
BootUtil version 1.6.20.1
Copyright (C) 2003-2016 Intel Corporation
Type BootUtil -? for help
Port Network Address Location Series WOL Flash Firmware Version
==== =============== ======== ======= === ============================= =======
1 006BF10829A8 18:00.0 Gigabit YES UEFI,CLP,PXE Enabled,iSCSI 1.5.53
2 006BF10829A8
3 3CFDFEA471F0
18:00.1 Gigabit YES UEFI,CLP,PXE Enabled,iSCSI
10:00.0 40GbE N/A UEFI,CLP,PXE Enabled,iSCSI
1.5.53
1.0.31
4 3CFDFEA471F1
5 3CFDFEA471F2
6 3CFDFEA471F3
7 3CFDFEA47130
8 3CFDFEA47131
9 3CFDFEA47132
10 3CFDFEA47133
#
10:00.1 40GbE
10:00.2 40GbE
10:00.3 40GbE
N/A UEFI,CLP,PXE Enabled,iSCSI
N/A UEFI,CLP,PXE,iSCSI
N/A UEFI,CLP,PXE,iSCSI
14:00.0 40GbE N/A UEFI,CLP,PXE Enabled,iSCSI
14:00.1 40GbE N/A UEFI,CLP,PXE Enabled,iSCSI
14:00.2 40GbE N/A UEFI,CLP,PXE,iSCSI
14:00.3 40GbE N/A UEFI,CLP,PXE,iSCSI
1.0.31
-------
-------
1.0.31
1.0.31
-------
-------
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
61
Preparing for Cisco NFVI Installation
Setting Up the UCS B-Series Pod
Note If the message 'FLASH Not Present' is displayed on execution of “./bootutil64e”, on some UCS-M5 servers you need to perform a server reboot. To perform the reboot run the shutdown commandshutdown –r now .
After the server reboot, execution of “./bootutil64e”, reveals that the PXE is enabled on the targeted Intel NIC port.
Setting Up the UCS B-Series Pod
After you install the RHEL OS on the management node, complete the following steps to configure a Cisco
NFVI B-Series pod:
Step 1
Step 2
Log in to Cisco UCS Manager, connect to the console of both fabrics and execute the following commands:
# connect local-mgmt
# erase config
All UCS configurations are erased and system starts to reboot. Are you sure? (yes/no): yes
Removing all the configuration. Please wait….
Go through the management connection and clustering wizards to configure Fabric A and Fabric B:
Fabric Interconnect A
# connect local-mgmt
# erase config
Enter the configuration method. (console/gui) console
Enter the setup mode; setup newly or restore from backup. (setup/restore) ?
setup
You have chosen to setup a new Fabric interconnect. Continue? (y/n): y
Enforce strong password? (y/n) [y]: n
Enter the password for "admin":
Confirm the password for "admin":
Is this Fabric interconnect part of a cluster(select 'no' for standalone)? (yes/no) [n]: yes
Enter the switch fabric (A/B) []: A
Enter the system name: skull-fabric
Physical Switch Mgmt0 IPv4 address : 10.30.119.58
Physical Switch Mgmt0 IPv4 netmask : 255.255.255.0
IPv4 address of the default gateway : 10.30.119.1
Cluster IPv4 address : 10.30.119.60
Configure the DNS Server IPv4 address? (yes/no) [n]: y
DNS IPv4 address : 172.29.74.154
Configure the default domain name? (yes/no) [n]: y
Default domain name : ctocllab.cisco.com
Join centralized management environment (UCS Central)? (yes/no) [n]: n
Following configurations are applied:
Switch Fabric=A
System Name=skull-fabric
Enforced Strong Password=no
Physical Switch Mgmt0 IP Address=10.30.119.58
Physical Switch Mgmt0 IP Netmask=255.255.255.0
Default Gateway=10.30.119.1
DNS Server=172.29.74.154
Domain Name=ctocllab.cisco.com
Cluster Enabled=yes
Cluster IP Address=10.30.119.60
NOTE: Cluster IP is configured only after both Fabric Interconnects are initialized
62
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Preparing for Cisco NFVI Installation
Configuring the Out-of-Band Management Switch
Step 3
Step 4
Step 5
Step 6
Apply and save the configuration (select 'no' if you want to re-enter)? (yes/no): yes
Applying configuration. Please wait..
Fabric Interconnect B
Enter the configuration method. (console/gui) ?
console
Installer has detected the presence of a peer Fabric interconnect. This Fabric interconnect is added to the cluster. Continue (y/n) ? y
Enter the admin password of the peer Fabric interconnect:
Connecting to peer Fabric interconnect... done
Retrieving config from peer Fabric interconnect... done
Peer Fabric interconnect Mgmt0 IP Address: 10.30.119.58
Peer Fabric interconnect Mgmt0 IP Netmask: 255.255.255.0
Cluster IP address : 10.30.119.60
Physical Switch Mgmt0 IPv4 address : 10.30.119.59
Apply and save the configuration (select 'no' if you want to re-enter)? (yes/no): yes
Applying configuration. Please wait.
Configure the NTP: a) In UCS Manager navigation area, click the Admin tab.
b) In the Filter drop-down list, choose Time Zone Management .
c) In the main window under Actions, click Add NTP Server .
d) In the Add NTP Server dialog box, enter the NTP hostname or IP address, then click OK .
Following instructions in Cisco UCS Manager GUI Configuration Guide, Release 2.2
, "Configuring Server Ports with the Internal Fabric Manager" section, configure the Fabric Interconnect A and Fabric Interconnect B uplinks to the Cisco
NFVI top of rack (ToR) switches as Uplink Ports , Server Ports , and Port Channels .
Configure the downlinks to the B-Series server chassis as Server Ports .
Acknowledge all chassis.
Configuring the Out-of-Band Management Switch
Cisco VIM installer API and SSH bonded interface occurs on 1-GB Intel NICs that connect the Cisco NFVI management node and the Cisco Catalyst switch. Following is a sample configuration for creating a port channel on a Catalyst switch. Modify the configuration for your environment: interface GigabitEthernet0/39 channel-group 2 mode active speed 1000 interface GigabitEthernet0/40 channel-group 2 mode active speed 1000 interface Port-channel2 switchport access vlan 165 switchport mode access
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
63
Configuring the Out-of-Band Management Switch
Preparing for Cisco NFVI Installation
64
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
5
Installing Cisco VTS
If your Cisco NFVI package includes Cisco Virtual Topology System, the following topics tell you how to install Cisco VTS for use with Cisco NFVI. The Cisco VTS installation procedures are customized for Cisco
NFVI from the standard Cisco VTS 2.6 installation procedures located on the Cisco VTS product site . You must install Cisco VTS before you install Cisco VIM.
•
Overview to Cisco VTS Installation in Cisco NFVI, on page 65
•
System Requirements for VTC VM, on page 68
•
System Requirements for VTSR VM, on page 69
•
Supported Platforms, on page 69
•
Installing Cisco VTS in a Cisco NFVI Environment, on page 70
•
Installing the VTSR VMs, on page 75
•
Verifying Cisco VTS Installation in Cisco NFVI, on page 77
•
Configuring Cisco VTS and VTSR After Installation, on page 79
•
Installing VTS in an HA Configuration, on page 80
•
Sample Cisco VTS Configurations for Cisco NFVI, on page 84
Overview to Cisco VTS Installation in Cisco NFVI
The Cisco Virtual Topology System (VTS) is an overlay management and provisioning system for data center networks. It automates data center overlay fabric provisioning for both physical and virtual workloads. It provides a policy-based approach for overlay provisioning, and can be used for multitenant data centers for cloud services, including Cisco NFVI.
To install Cisco VTS with Cisco NFVI, you must manually install the Cisco VTS Virtual Topology Controller
(VTC) and its VTSR VMs before you start the Cisco VIM installation. The VTC and VTSR VMs must be run on an independent pair of servers, that is, not on a Cisco NFVI control, compute, storage, or management node. You set up the networking on those servers as described and outlined in the installation procedures.
When you run the Cisco VIM installer, you have to provide the VTC VIP and appropriate VTS credentials.
The following figure shows how Cisco VTS Virtual Topology Controller (VTC) and the VTSR virtual machines
(VMs) connect to the Cisco NFVI networks.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
65
Overview to Cisco VTS Installation in Cisco NFVI
Figure 29: Cisco VTS Connectivity to Cisco NFVI
Installing Cisco VTS
The following table maps Cisco VTS network names to Cisco VIM network names.
Table 6: Cisco VTS to Cisco VIM Network Name Mapping
Cisco VTS VM
VTC
VTC
VTSR
VTSR
Cisco VTS Network Name Cisco VIM Network Name
Management Network API (a)
Underlay Network
Management Network
Underlay Network
Management or Provision (mx)
Management or Provision (mx)
Tenant (t)
The following table describes the required IP address allocations for VTS components.
Table 7: Cisco VTS IP Address Allocations
Cisco VIM Network
API (a)
Management or Provisioning (mx)
Required Cisco VTS IP Addresses Description
3 total (1 VIP + 1 IP per VTC VM) Set up in the VTC config.iso and cluster.conf
• 5 total—Three for VTC (one
VTC VIP and one IP per VTC
VM)
• Two for VTSR: one IP per
VTSR VM.
Set up in VTSR config.iso.
Note : VTS component IP addresses cannot overlap with the pool ranges configured in the Cisco VIM setup_data.yaml.
66
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Cisco VTS Usernames and Passwords in Cisco NFVI
Cisco VIM Network
Tenant (t)
Required Cisco VTS IP Addresses Description
2 total—(one IP address VTSR
VM.
Set up in VTSR config.iso
Note : The VTS component IPs cannot overlap with pool ranges that are configured in the Cisco
VIM setup_data.yaml.
The following is the VTS IP distribution and setup mechanism.
VIM API network
• VTC1—api (a) network IP1 (associated through the VTC1 config ISO)
• VTC2—api (a) network IP2 (associated through the VTC2 config ISO)
• VTC VIP—api (a) network IP3 (associated through the HA step cluster.conf)
VIM Management/Provisioning network
• VTC1—management/provisioning (mx) network IP1 (associated through the VTC1 config ISO)
• VTC2—management/provisioning (mx) network IP2 (associated through the VTC2 config ISO)
• VTC VIP—management/provisioning (mx) network IP3 (associated through the HA step cluster.conf)
• VTSR 1—management/provisioning (mx) network IP4 (associated through the VTSR-1 config ISO)
• VTSR 2—management/provisioning (mx) network IP5 (associated through the VTSR-2 config ISO)
VIM Tenant network:
• VTSR 1—tenant (t) network IP1 (associated through the VTSR-1 config ISO)
• VTSR 2—tenant (t) network IP2 (associated through the VTSR-2 config ISO)
Cisco VTS Usernames and Passwords in Cisco NFVI
The following table lists the Cisco VTS usernames and passwords that are deployed after you install Cisco
VTS in Cisco NFVI.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
67
Installing Cisco VTS
System Requirements for VTC VM
Table 8: Cisco VTS Usernames and Passwords in Cisco NFVI
Configuration Location Value Requirements Description/Comments mercury: openstack-configs/setup_data.yaml
VTS_PARAMETERS:
VTS_USERNAME
VTS_PASSWORD
VTS_USERNAME must be admin Used by VTF to register with the
VTC / VTSR.
VTS_PASSWORD must match
VTC UI login password for the admin user. Password must have a minimum of 8 characters and at least one uppercase letter, one digit, and one special character.
The following two parameters are optional, only required if
VTS_DAY0 is enabled
The VTC_SSH_PASSWORD and
VTC_SSH_USERNAME are ssh credentials to login to VTC VMs.
VTC_SSH_PASSWORD
VTC_SSH_USERNAME
VTC ISO config.txt : vts-adminPassword
VTC ISO config.txt :
AdministrativeUser
AdministrativePassword
Must match the Cisco VIM setup_data.yaml
VTS_SSH_PASSWORD parameter.
Configures VTC admin user initial password.
SSH username/password for VTC
VM
SSH username/password for VTC
VM
VTSR ISO:
USERNAME
PASSWORD
VTSR VM SSH username/password
The VTSR adds this in VTS
Inventory > Authorization Group
> vtsgroup3 Device User Name associated with VTC admin user
System Requirements for VTC VM
The following table provides information about the minimum system requirements for the VTC virtual machine:
Requirement Details
Disk space
CPU
Memory
Computing Host
Hypervisor
48 GB
8
16 GB
Certified with Cisco UCS B-series, Cisco UCS
C-series Rack Servers
• Red Hat Enterprise Linux 7.1 with KVM
68
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
System Requirements for VTSR VM
System Requirements for VTSR VM
The following table gives details about the minimum system requirements for the VTSR virtual machine:
Note The VTSR VM serves two purposes. It is required to enable VTS High Availability. It also acts as the control plane for the VTF. You need to install VTSR only if you consider enabling High Availability or if you plan to have a VTF in your set up.
Requirement
Disk Space
CPUs
Memory
Computing Host
Hypervisor
Details
Primary disk must be 2 GB.
6
48 GB RAM
Certified with Cisco UCS B-series,
Cisco UCS C-series Rack Servers
• Red Hat Enterprise Linux 7.1
with KVM
Supported Platforms
The following tables provide information about the platforms that Cisco VTS support, and their roles.
Note VTS supports VXLAN overlays using the BGP EVPN control plane.
Role
Top-of-rack (ToR) leaf switch
Platform Supported
• Cisco Nexus 9300TX and 9300PX platform switches
• Cisco Nexus 9332PQ and 93128TX switches
• Cisco Nexus 9200 platform switches
• Cisco Nexus 9500 platform switches
Data center spine • Cisco Nexus 9300TX and 9300PX platform switches
• Cisco Nexus 9500 platform switches
• Cisco Nexus 9200 platform switches
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
69
Installing Cisco VTS
Installing Cisco VTS in a Cisco NFVI Environment
Border leaf • Cisco Nexus 9300TX and 9300PX platform switches
• Cisco Nexus 9500 platform switches
• Cisco Nexus 9200 platform switches
Data center interconnect (DCI)
Virtual machine manager (VMM)
• Cisco ASR 9000 Series Aggregation Services routers
• Cisco Nexus 9300 platform switches
• OpenStack Liberty on CentOS versions: 12.0.0;
12.0.1; 12.0.
• OpenStack Newton on RHEL versions
• OpenStack Kilo versions: 2015.1.0; 2015.1.1;
2015.1.2; 2015.1.3
• Red Hat Enterprise Linux 7.1 with KVM Hypervisor
Virtual forwarders Cisco Virtual Topology Forwarder (VTF)
The following table lists the software images supported for the different devices.
Table 9: Software Images Supported
Cisco Nexus 93xx
Cisco Nexus 95xx
Cisco ASR 9000
NX OS Release 7.0(3)I2(2c)
NX OS Release 7.0(3)I2(2c).
Cisco IOS XR Software Release 5.3.2 and later.
The following table lists the VPC modes supported for the different devices.
Note If Cisco Nexus 9000 series ToR is not configured with vPC related configuration, including peer-link, also known as a multichassis etherChannel trunk (MCT), you must not configure feature vpc on the
ToR. This may bring loopback interface used for NVE to admin down state.
Table 10: VPC Modes Supported
Cisco Nexus 93xx
Cisco Nexus 95xx
Server VPC
Server VPC
Installing Cisco VTS in a Cisco NFVI Environment
Installing Cisco VTS inside Cisco NFVI involves installing the Virtual Topology Controller (VTC) VM. You can install the VTC VM using either the automatic or manual configuration options.
70
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Installing VTC VM - Automatic Configuration Using ISO File
• To install the VTC VM using an ISO file (auto configuration), see
Configuration Using ISO File, on page 71 .
• To install the VTC VM using the virt-manager application (manual configuration), see
VM - Manual Configuration Using Virt-Manager, on page 72
.
• To install the VTC VM using VNC (manual configuration), see
Configuration using VNC, on page 73
Installing VTC VM - Automatic Configuration Using ISO File
To install a VTC VM and enable configuration using an ISO file, create a text file with the VM settings, wrap the text file in an ISO file, and then attach the ISO file to the VM CD drive.
Step 1
Step 2
Step 3
Connect to the controller node via SSH, and copy the vtc.qcow2 file to /var/lib/libvirt/images/ folder.
Copy the vtc.sample.xml file to your controller. The
Installing Cisco VTS in a Cisco NFVI Environment, on page 70
topic provides the file contents.
Create a config.txt
file containing the following parameters:
Hostname=vtc
ManagementIPv4Method=Static
ManagementIPv4Address= <VM's a-net IP address in a.b.c.d form>
ManagementIPv4Netmask= <a-net IP mask in a.b.c.d form>
ManagementIPv4Gateway= <a-net gateway IP address in a.b.c.d form>
UnderlayIPv4Method=Static
UnderlayIPv4Address= <VM's mx-net IP address in a.b.c.d form>
UnderlayIPv4Netmask=<mx-net IP mask in a.b.c.d form>
DNSv4=<DNS server--ie. setup_data.yaml::NETWORKING['domain_name_servers'][0]>
Domain=<domain name--ie. setup_data.yaml::NETWORKING['domain_name']>
NTPv4=<NTP server--ie. setup_data.yaml::NETWORKING['ntp_servers'][0]> vts-adminPassword=<password for user 'admin'--setup_data.yaml::VTS_PARAMETERS['VTS_SSH_PASSWORD']>
AdministrativeUser=<VM ssh login user--can be setup_data.yaml::VTS_PARAMETERS['VTS_USERNAME']>
AdministrativePassword=<VM ssh login user--can be setup_data.yaml::VTS_PARAMETERS['VTS_SSH_PASSWORD']>
ManagementIPv6Method: Unused by NFVI
UnderlayIPv6Method: Ununsed by NFVI
Note
Note config.txt file must have a blank line at the end.
Before entering the VTS_PASSWORD, review
Cisco VTS Usernames and Passwords in Cisco NFVI, on page
Parameter descriptions:
• Hostname—The VM hostname.
• ManagementPv4Method—Whether to use DHCP or static addressing for the Cisco NFVI API network (a-net) interface (eth0).
• ManagementIPv4Address—The api (a) network IPv4 address of the VM (required only for static addressing).
• ManagementIPv4Netmask—The a network IPv4 net mask of the VM (required only for static addressing).
• ManagementIPv4Gateway—The a network API IPv4 gateway of the VM (required only for static addressing).
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
71
Installing Cisco VTS
Installing VTC VM - Manual Configuration Using Virt-Manager
Step 4
Step 5
• UnderlayIPv4Method—Whether to use DHCP or static addressing for the Cisco NFVI management/provisioning
(mx) network interface (eth1).
• UnderlayIPv4Address—The mx network IPv4 address of the VM (required only for static addressing).
• UnderlayIPv4Netmask—The mx network IPv4 net mask of the VM (required only for static addressing).
• DNSv4—DNS IPv4 address (required only for static addressing).
• Domain—DNS search domain (required only for static addressing).
• NTPv4—NTP IPv4 address or FQDN (required only for static addressing).
• vts-admin Password—Password for the vts-admin user. This should match the value in setup_data.yaml::VTS_PARAMETERS['VTS_PASSWORD'] or subsequently changed through the VTC UI to match the value in setup_data.yaml::VTS_PARAMETERS['VTS_PASSWORD']
• Administrative User—New administrative user for login using SSH.
• Administrative Password—Password for the new administrative user.
Use mkisofs to create an ISO file, for example: mkisofs -o config.iso config.txt
Create the VTC VM using following command: virsh create vtc.sample.xml
Installing VTC VM - Manual Configuration Using Virt-Manager
To install the VTC VM configuring it manually using the virt-manager application:
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Connect to the controller node via SSH, and copy the vtc.qcow2 file to /var/lib/libvirt/images/ folder.
Copy the Cisco NFVI vtc.sample.xml file to your controller. Modify it as per your setup. See
Configurations for Cisco NFVI, on page 84
for examples.
Create the VTC VM using following command: virsh create vtc.sample.xml
Run the command: virsh list --all
It should display:
Id Name State
--------------------------------------------------
2 VTC running
Start virt-manager. Run: virt-manager
After the virt-manager window opens, click the VTC VM to open up the VTC VM console.
72
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Installing VTC VM - Manual Configuration using VNC
Step 7
Step 8
The console displays an installation wizard that takes you through the initial VTC VM configuration.
Enter the following:
Note For items that take multiple values, such as DNS and NTP, each value must be separated by a space.
• VTS Hostname
• DHCP / Static IP configuration for static IP
• Management IP address for VTC—This is the Cisco NFVI api (a) network IP address.
• Management IP Netmask (api network)
• Management Gateway address (api network)
• DNS Address—One of the DNS servers in setup_data.yaml::NETWORKING['domain_name_servers'
• DNS Search domain—-- setup_data.yaml::NETWORKING['domain_name']
• Underlay IP address—This is the IP address for Cisco NFVI management/provisioning (mx) network.
• Underlay IP Netmask (mx network)
• NTP address—One of the setup_data.yaml::NETWORKING['ntp_servers'] addresses
• Password change for user vts-admin—Enter the default user vts-admin password. The vts-admin user is used for password recovery and to revisit a configuration screen if you make a mistake or need to change the information.
If you log in to the VTC VM using vts-admin username and password again, you get the same dialog to go through the VTC VM setup again. The password must match the value in setup_data.yaml::VTS_PARAMETERS['VTS_PASSWORD'] or subsequently changed through the VTC UI to match the value in setup_data.yaml::VTS_PARAMETERS['VTS_PASSWORD']
Before entering the VTS_PASSWORD, reviewing
Cisco VTS Usernames and Passwords in Cisco NFVI, on page
is recommended.
• Administrator User—Enter administrative username and password. This username and password are used to login to the VM via SSH.
• Password for administrator user
VTC VM reboots at this time. Wait for two minutes for the VTC VM to be up. You can ping the IP address given for
VTC VM in the setup process to verify whether the VTC VM is up.
SSH into VTC VM using the IP address, administrative username/password given in the setup process (not vts-admin user).
Installing VTC VM - Manual Configuration using VNC
If the server where you install VTC is in a remote location with network latency or low bandwidth, you can use VNC to access the VTC VM and manually configure it using the CTC VM graphic console. To do this:
Step 1 Connect to the controller node via SSH, and copy the vtc.qcow2 file to /var/lib/libvirt/images/ folder.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
73
Installing Cisco VTS
Installing VTC VM - Manual Configuration using VNC
Step 2
Step 3
Step 4
Step 5
Copy the vtc.sample.xml file to your controller. Modify it as per your setup. The sample VTC XML file output is provided in
Sample Cisco VTS Configurations for Cisco NFVI, on page 84
.
Replace the following sections of the vtc.sample.xml file:
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
</graphics> with the following:
<graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
Note Setting the listen address to 0.0.0.0 allows external clients to connect to the VNC port (5900). You have to make sure that iptables configuration (if any) allows inbound TCP port 5900 connections.
Create the VTC VM using following command: virsh create vtc.sample.xml
You should now be able to use a VNC client to connect to the VTC VM graphic console and continue the setup.
Enter the following:
Note For items that take multiple values, such as DNS and NTP, use a space to separate each value.
• VTS Hostname
• DHCP/Static IP configuration for static IP
• Management IP address for VTC—This is the Cisco NFVI api (a) network IP address.
• Management IP Netmask (api network)
• Management Gateway address (api network)
• DNS Address—One of the DNS servers in setup_data.yaml::NETWORKING['domain_name_servers'
• DNS Search domain—-- setup_data.yaml::NETWORKING['domain_name']
• Underlay IP address—This is the IP address for Cisco NFVI management/provisioning (mx) network.
• Underlay IP Netmask (mx network)
• NTP address—One of the setup_data.yaml::NETWORKING['ntp_servers'] addresses
• Password change for user vts-admin—Enter the default user vts-admin password. The vts-admin user is used for password recovery and to revisit a configuration screen if you make a mistake or need to change the information.
If you log into the VTC VM using vts-admin username and password again, you get the same dialog to go through the VTC VM setup again. This should match the value in setup_data.yaml::VTS_PARAMETERS['VTS_PASSWORD'] or subsequently changed through the VTC UI to match the value in setup_data.yaml::VTS_PARAMETERS['VTS_PASSWORD']
• Administrator User—Enter administrative username and password. This username and password are used to login to the VM via SSH.
• Password for administrator user.
VTC VM reboots at this time. Wait for two minutes for the VTC VM to come up. You can ping the IP address given for
VTC VM in the setup process to verify whether the VTC VM is up.
74
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Installing the VTSR VMs
Step 6 SSH into VTC VM using the IP address, administrative username/password given in the setup process (not vts-admin user).
Installing the VTSR VMs
Before you can install Cisco VTS for Cisco NFVI, you must install the VTSR VM and register it to VTS.
VTSR VM is the control plane VM. Installing and registering the VTSR VM requires you to complete the following procedures:
•
•
Creating an ISO for IOS VTSR, on page 75
Creating VTSR VM
The VTSR VM is essential to the Virtual VTEP topology. The VTSR VM contains a nested VM so VTSR must enable nesting.
Before you begin
You must complete a VTS VM installation, and the VTC UI initial password must be changed to the password that you enter for Cisco VIM when you install Cisco VIM. This password is set in setup_data.yaml or the
Cisco VIM Insight.
Bringing up the KVM-based VTSR VM
Step 1
Step 2
Step 3
Create the VTSR VM XML referring the Cisco NFVI sample (VTSR.XML).
Generate an ISO file for the VTSR. See
Creating an ISO for IOS VTSR, on page 75
.
Create the VM using the XML.
virsh create VTSR.xml
Creating an ISO for IOS VTSR
To create an ISO file for VTSR:
Step 1 Create the system.cfg file based on the sample below.
Note Verify that the configuration file has no spaces or extra characters.
Note Before you enter the VTS_USERNAME and VTS_PASSWORD, review
Cisco VTS Usernames and Passwords in Cisco NFVI, on page 67
.
# This is a sample VTSR configuration file
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
75
Creating an ISO for IOS VTSR
# Copyright (c) 2015 cisco Systems
# Please protect the generated ISO, as it contains authentication data
# in plain text.
#The following are the common configurations for VTSR
# VTS Registration Information
#VTS_ADDRESS has to be VTS IP. Value has to be eithe IP or IP/mask.
#VTS_ADDRESS is mandatory
VTS_ADDRESS=10.10.50.90
# VTS_REGISTRATION_USERNAME used to login to VTS.
VTS_REGISTRATION_USERNAME=admin
# VTS_REGISTRATION_PASSWORD is in plaintext.
VTS_REGISTRATION_PASSWORD="Cisco123!"
# VTSR VM Admin user/password
USERNAME='cisco'
PASSWORD='cisco123'
#The following are the XR configurations for XR Node1
# VTSR VM Network Configuration for Node 1
# NETWORK_IP_ADDRESS, NETWORK_IP_NETMASK, and NETWORK_IP_GATEWAY
# are required to complete the setup. Netmask can be in the form of
# "24" or "255.255.255.0"
# The first network interface configured with the VTC VM is used for
# underlay connectivity; the second is used for the management network.
# For both the MGMT and UNDERLAY networks, a <net-name>_NETWORK_IP_GATEWAY
# variable is mandatory; they are used for monitoring purposes.
NODE1_MGMT_NETWORK_IP_ADDRESS="10.10.50.95"
NODE1_MGMT_NETWORK_IP_NETMASK="255.255.255.0"
NODE1_MGMT_NETWORK_IP_GATEWAY="10.10.50.1"
NODE1_UNDERLAY_NETWORK_IP_ADDRESS="10.10.10.28"
NODE1_UNDERLAY_NETWORK_IP_NETMASK="255.255.255.0"
NODE1_UNDERLAY_NETWORK_IP_GATEWAY="10.10.10.1"
# AUX network is optional
#NODE1_AUX_NETWORK_IP_ADDRESS="169.254.20.100"
#NODE1_AUX_NETWORK_IP_NETMASK="255.255.255.0"
#NODE1_AUX_NETWORK_IP_GATEWAY="169.254.20.1"
# XR Hostname
NODE1_XR_HOSTNAME="VTSR-1"
# Loopback IP and netmask
NODE1_LOOPBACK_IP_ADDRESS="88.8.8.8"
NODE1_LOOPBACK_IP_NETMASK="255.255.255.255"
#The following are the XR configurations for XR Node2
# If there is no HA then the following Node 2 configurations remains commented and
# is not be used and Node 1 configurations alone is applied
# For HA , the following Node 2 configurations has to be uncommented
# VTSR VM Network Configuration for Node 2
# NETWORK_IP_ADDRESS, NETWORK_IP_NETMASK, and NETWORK_IP_GATEWAY
#
# are required to complete the setup. Netmask can be in the form of
"24" or "255.255.255.0"
# The first network interface configured with the VTC VM is used for
# underlay connectivity; the second is used for the management network.
# For both the MGMT and UNDERLAY networks, a <net-name>_NETWORK_IP_GATEWAY
# variable is mandatory; they are used for monitoring purposes.
#NODE2_MGMT_NETWORK_IP_ADDRESS="10.10.50.96"
#NODE2_MGMT_NETWORK_IP_NETMASK="255.255.255.0"
#NODE2_MGMT_NETWORK_IP_GATEWAY="10.10.50.1"
#NODE2_UNDERLAY_NETWORK_IP_ADDRESS="10.10.10.38"
#NODE2_UNDERLAY_NETWORK_IP_NETMASK="255.255.255.0"
#NODE2_UNDERLAY_NETWORK_IP_GATEWAY="10.10.10.1"
# AUX network is optional
# Although Aux network is optional it has be either present in both nodes
# or not present in both nodes.
Installing Cisco VTS
76
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Verifying Cisco VTS Installation in Cisco NFVI
Step 2
Step 3
Step 4
Step 5
# It cannot be present on Node1 and not present on Node2 and vice versa
#NODE2_AUX_NETWORK_IP_ADDRESS="179.254.20.200"
#NODE2_AUX_NETWORK_IP_NETMASK="255.255.255.0"
#NODE2_AUX_NETWORK_IP_GATEWAY="179.254.20.1"
# XR Hostname
#NODE2_XR_HOSTNAME="VTSR-2"
# Loopback IP and netmask
#NODE2_LOOPBACK_IP_ADDRESS="98.8.8.8"
#NODE2_LOOPBACK_IP_NETMASK="255.255.255.255"
Copy your VTSR system.cfg files to the same path where the script resides. For example: admin:/opt/cisco/package/vts/bin$ ls -l total 1432
-rwxr-xr-x 1 vts-admin vts-admin 4767 Sep 29 16:40 build_vts_config_iso.sh
-rw-r--r-- 1 root root 1242 Sep 29 23:54 system.cfg
Create the ISO file as shown below (you need to log in as root): root:/opt/cisco/package/vts/bin# ./build_vts_config_iso.sh vtsr system.cfg.
Validating input.
Generating ISO File. Done!
Spawn the VTSR VM with the ISO connected to it.
Power on the VM.
In case you spawn a new VTSR VM later, it comes up with VTSR Day Zero configuration and get re-registered with the
VTC. Use the sync-to option available in the Config Sync feature to synchronize the configuration with the latest VTC configuration. See the Synchronizing Configuration section for more information on this feature.
Verifying Cisco VTS Installation in Cisco NFVI
The following procedures provide information about how to verify the Cisco VTS installation in Cisco NFVI.
Verifying VTC VM Installation
To verify VTC VM installation:
Step 1
Step 2
Step 3
Log into the VTC VM just created using the VTC VM console.
• If you installed the VTC VM in an RedHat KVM based-OpenStack environment, - telnet 0 < console-port > (The console port is the Telnet port in the VTC.xml file.)
Ping the Cisco NFVI api network gateway.
If ping fails, verify the VM networking to the Cisco NFVI api network.
For the VTC VM CLI, ping the Cisco NFVI management/provisioning (mx) network gateway.
If ping fails, verify VM networking to the mx network.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
77
Installing Cisco VTS
Verifying VTSR VM Installation
Step 4
Note Underlay network gateway is the switched virtual interface (SVI) created for IOSXRv and VTF on the leaf where the controller is connected.
After a few minutes, verify whether the VTS UI is reachable by typing in the VTS api network IP in the browser.
Verifying VTSR VM Installation
To verify VTSR VM installation:
Before you begin
Ensure the tenant network (t) gateway and management network (mx) gateway are reachable from the VTSR server.
Step 1
Step 2
Step 3
Log into the VTSR VM using the VTC VM console.
• If you installed the VTC VM in an RedHat KVM based-OpenStack environment, use virt-manager or VNC console to log into the VM. See
Installing VTC VM - Manual Configuration using VNC, on page 73
Ping the Cisco NFVI tenant (t) network gateway IP address.
In case ping fails, verify Cisco NFVI tenant network.
Ping the VTC Cisco NFVI management/provisioning (mx) network IP address.
In case ping fails, verify the mx network.
Note You should be able to ping the gateway IP address for both Cisco NFVI mx and t networks, as VTSR registers to the VTC using the VTC mx network IP address.
Troubleshooting VTF Registration
If VTF registration issues arise, you can use the following commands to find the VTF registration logs on each Cisco NFVI compute node:
[root@devstack-71 neutron]# docker exec -it neutron_vtf_4269 bash
[root@devstack-71 /]# cd /var/log/vpfa
[root@devstack-71 vpfa]# ls vpfa_err.log
vpfa_med.log
vpfa_server.log
vpfa_server_frequent.log
vpfa_stdout.log
vpfa_freq.log
vpfa_reg.log
vpfa_server_errors.log
vpfa_server_slow.log
[root@devstack-71 vpfa]# tail vpfa_reg.log
2016-06-23 02:47:22,860:INFO:VTF-REG: Sent PATCH {"vtf": {"username": "admin",
"vpp-client-name": "devstack-71", "ip": "34.34.34.5", "binding-host-name": "devstack-71",
"gateway-ip": "34.34.34.1", "local-mac": "00:3a:7d:6a:13:c9"}} to https://172.18.96.15:8888/api/running/cisco-vts/vtfs/vtf
2016-06-23 02:47:23,050:INFO:VTF-REG-ERR: Failure:400!!!
A successful log example is shown below:
[root@devstack-71 vpfa]# tail vpfa_reg.log
2016-06-23 15:27:57,338:INFO:AUTH: Successful Login - User: admin
URI:/yang-api/datastore/interfaces Host:IPv4Address(TCP, '34.34.34.5', 21345) Method:GET
78
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Configuring Cisco VTS and VTSR After Installation
2016-06-23 15:28:07,340:INFO:AUTH: Successful Login - User: admin
URI:/yang-api/datastore/interfaces Host:IPv4Address(TCP, '34.34.34.5', 21345) Method:GET
If a VTF registration fails, check the following:
• IP network connectivity between the compute nodes and the VTC and VTSR VMs (Cisco NFVI tenant and management/provisioning networks)
• VTS_PARAMETERS—The VTS_USERNAME must be admin.
• The VTC and VTSR must be up and the VTS configurations must be applied. The VTSR must be registered with VTC.
• Check that the VTS UI shows "vtsgroup3" in Inventory->Authorization Groups.
• Check that the VTC Admin Username is admin and Device Username is what was set for
XRVR_USERNAME in the VTSR config ISO.
Configuring Cisco VTS and VTSR After Installation
The following steps cover the Cisco VTS configurations you need to provision after installation.
Step 1
Step 2
Step 3
Step 4
If you changed the Cisco VTS username/password when you configured the VTS HA configuration, continue with Step
3. If not, log into the Cisco VTS GUI using the default username/password admin/admin.
Change the Cisco VTS password using the UI Change Password tab.
Note Before you enter the Cisco VTS password, review
Cisco VTS Usernames and Passwords in Cisco NFVI, on page 67 .
Log into the VTC VM by running the following command: cd /opt/vts/bin vts-cli.sh -applyTemplate vtsr-underlay-loopback-template
./vts-cli.sh -applyTemplate vtsr-underlay-loopback-template command is applyTemplate and template name is vtsr-underlay-loopback-template
Enter device name: <hostname of vtsr>
Enter loopback-interface: <loopback interface name>
Enter ipaddress: <loopback interface ip>
Enter netmask: <loopback interface netmask>
Similarly configure IGP config in VTSR
Log into the VTC VM by running the following command: cd /opt/vts/bin vts-cli.sh -applyTemplate vtsr-underlay-ospf-template
./vts-cli.sh -applyTemplate vtsr-underlay-ospf-template command is applyTemplate and template name is vtsr-underlay-ospf-template
Enter device name: <hostname of vtsr>
Enter process-name: <ospf process id >
Enter router-id: <ospf router id>
Enter area-address: <ospf area address>
Enter physical-interface: <VTSR interface connected to NFVI t-network>
Enter loopback-interface: <vtsr loopback interface>
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
79
Installing Cisco VTS
Installing VTS in an HA Configuration
Enter default-cost: <ospf default >
Installing VTS in an HA Configuration
Complete the following steps to install Cisco VTS in a Layer 2 HA configuration.
Step 1
Step 2
Step 3
Step 4
Create two VTC VMs. (In the following steps, these are referred to as VTC1 and VTC2.) When you create the VMs, reserve three IP addresses for each Cisco VIM network to which the VTC VM are connected as described in
Overview to Cisco VTS Installation in Cisco NFVI, on page 65
.
If you changed the initial VTC password in a previous installation step, proceed to Step 4. If not, log into the VTC GUI using the default username/password admin/admin.
Change the VTC password using the UI Change Password tab. See
Cisco VTS Usernames and Passwords in Cisco NFVI, on page 67
for information about Cisco VTS usernames and passwords.
Edit the cluster.conf file on VTC1 and VTC2 located in /opt/vts/etc/. Both VTCs must have identical information in the cluster.conf file. Parameters includes:
• vip_public—VIP address used for the Cisco VIM API (a) network.
• vip_private—VIP address used for VTS on the Cisco VIM management/provisioning (mx) network. Cisco VIM uses VTFs, so this field must be entered. The vip_private field is the VIP for the VTS master private interface
• master_name—Enter the name of the VTC you want to be the primary one in the HA configuration.
• master_ip—The master VTC IP address used for the Cisco NFVI API network.
• slave_name—Enter the name of the VTC you want to be the secondary one in the HA configuration.
• slave_ip—The secondary VTC IP address used for the Cisco NFVI API network.
• external_ip—The external IP address. This comes from the Cisco VIM setup_data.yaml file after you complete the
Cisco VIM installation and the
Cisco VIM Configurations for Cisco VTS Installation , on page 120
procedure.
###Virtual Ip of VTC Master on the public interface. Must fill in at least 1 vip_public= vip_public_ipv6=
###VTC1 Information. Must fill in at least 1 ip address master_name= master_ip= master_ipv6=
###VTC2 Information. Must fill in at least 1 ip address slave_name= slave_ip= slave_ipv6=
###In the event that a network failure occurs evenly between the two routers, the cluster needs an outside ip to determine where the failure lies
###This can be any external ip such as your vmm ip or a dns but it is recommended to be a stable ip within your environment
###Must fill in at least 1 ip address
80
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Installing VTS in an HA Configuration external_ip= external_ipv6=
############################
### Non-mandatory fields ###
############################
###If you intend to use a virtual topology forwarder (VTF) in your environment, please fill in the vip for the underlay as well as the underlay gateway. Otherwise leave blank.
###Virtual Ip of VTC Master on the private interface. You can fill in ipv4 configuration, ipv6, or both if you use both vip_private= private_gateway= vip_private_ipv6= private_gateway_ipv6=
###If you have your vtc's in different subnets, xrvr needs to be configured to route traffic and the below section needs to be filled in
###If you have your vtc's on the same subnet, the below section has be skipped
###Name of your vrf. Example: VTS_VIP vrf_name=
###Ip of your first Xrvr. Example: 11.1.1.5
xrvr1_mgmt_ip=
###List of neighbors for xrvr1, separated by comma. Example: 11.1.1.1,11.1.1.2
xrvr1_bgp_neighbors= xrvr1_bgp_neighbors_ipv6=
###Ip of your second Xrvr. Example: 12.1.1.5
xrvr2_mgmt_ip=
###List of neighbors for xrvr2, separated by comma. Example: 12.1.1.1,12.1.1.2
xrvr2_bgp_neighbors= xrvr2_bgp_neighbors_ipv6=
###Username for Xrvr xrvr_user=
###Xrvr ASN information remote_ASN= local_ASN=
###Xrvr BGP information bgp_keepalive= bgp_hold=
###Update source for Xrvr1 (i.e. loopback) xrvr1_update_source=
###Update source for Xrvr2 (i.e. loopback) xrvr2_update_source=
###Router BGP Id for Xrvr1 xrvr1_router_id=
###Router BGP Id for Xrvr2 xrvr2_router_id=
###XRVR1 name xrvr1_name=
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
81
Installing Cisco VTS
Installing VTS in an HA Configuration
Step 5
###XRVR2 name xrvr2_name=
###If you plan on having your VTC's on different subnets and intend to use a virtual topology forwarder
(VTF) in your environment,
### please fill out the following fields. Otherwise, leave blank
###List of neighbors for xrvr1, separated by comma. Example: 2.2.2.2,2.2.2.3
xrvr1_underlay_neighbors= xrvr1_underlay_neighbors_ipv6=
###List of neighbors for xrvr2, separated by comma. Example: 3.3.3.2,3.3.3.3
xrvr2_underlay_neighbors= xrvr2_underlay_neighbors_ipv6=
###Directly connected Tor information for Xrvr1 xrvr1_directly_connected_device_ip= xrvr1_directly_connected_device_ipv6= xrvr1_directly_connected_device_user= xrvr1_directly_connected_device_neighbors= xrvr1_directly_connected_device_neighbors_ipv6= xrvr1_directly_connected_ospf= xrvr1_directly_connected_router_id= xrvr1_directly_connected_update_source=
###Directly connected Tor information for Xrvr2 xrvr2_directly_connected_device_ip= xrvr2_directly_connected_device_user= xrvr2_directly_connected_device_neighbors= xrvr2_directly_connected_device_neighbors_ipv6= xrvr2_directly_connected_ospf= xrvr2_directly_connected_router_id= xrvr2_directly_connected_update_source=
###VPC Peer information if any. Otherwise leave blank xrvr1_vpc_peer_ip= xrvr1_vpc_peer_user= xrvr1_vpc_peer_ospf= xrvr1_vpc_peer_router_id= xrvr1_vpc_peer_update_source= xrvr2_vpc_peer_ip= xrvr2_vpc_peer_user= xrvr2_vpc_peer_ospf= xrvr2_vpc_peer_router_id= xrvr2_vpc_peer_update_source=
###VTC Underlay Addresses vtc1_underlay= vtc2_underlay= vtc1_underlay_ipv6= vtc2_underlay_ipv6=
##Gateway of secondary L3 underlay vtc2_private_gateway= vtc2_private_gateway_ipv6=
Execute the cluster installer script, cluster_install.sh, located in /opt/vts/bin/ on VTC1 and VTC2. Do not run the script until have completed Steps 1-5.
admin@vtc1:/opt/vts/bin$ sudo ./cluster_install.sh
[sudo] password for admin:
Change made to ncs.conf file.
82
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Installing VTS in an HA Configuration
Step 6
Need to restart ncs
Created symlink from /etc/systemd/system/multi-user.target.wants/pacemaker.service to
/lib/systemd/system/pacemaker.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/corosync.service to
/lib/systemd/system/corosync.service.
Please run cluster_install.sh on vtc2.waits until finished Both nodes are online.
Configuring master Configuring Pacemaker resources
Master node configuration finished
HA cluster is installed
Note In order for HA to run, the cluster_install.sh script updates /etc/hosts with the VTC information. If run on the node you specified as master, it completes the basic cluster setup, then wait for the slave to complete. Once the slave is finished, the master completes the remainder of the setup.
When the cluster_install script is finished on the master, you can see both the public and private vip using 'ip addr'. If you use VTFs, now that the VIP is up, both VTSRs completes their auto-registration.
Verify the HA Status: admin@vtc1:/opt/cisco/package/vtc/bin$ sudo crm status
Last updated: Wed May 4 00:00:28 2016
Last change: Wed May 4 00:00:10 2016 via crm_attribute on vtc2
Stack: corosync
Current DC: vtc2 (739533872) - partition with quorum
Version: 1.1.10-42f2063
2 Nodes configured
4 Resources configured
Online: [ vtc1 vtc2 ]
ClusterIP (ocf::heartbeat:IPaddr2):
Master/Slave Set: ms_vtc_ha [vtc_ha]
Masters: [ vtc1 ]
Slaves: [ vtc2 ]
ClusterIP2 (ocf::heartbeat:IPaddr2):
Started vtc1
Started vtc1 admin@vtc1:/opt/cisco/package/vtc/bin$ sudo ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:00:bd:0f brd ff:ff:ff:ff:ff:ff inet 11.1.1.4/24 brd 11.1.1.255 scope global eth0 valid_lft forever preferred_lft forever inet 11.1.1.2/32 brd 11.1.1.2 scope global eth0 valid_lft forever preferred_lft forever inet6 2001:420:10e:2010:5054:ff:fe00:bd0f/64 scope global dynamic valid_lft 2591955sec preferred_lft 604755sec inet6 fe80::5054:ff:fe00:bd0f/64 scope link valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:4c:11:13 brd ff:ff:ff:ff:ff:ff inet 15.15.15.4/24 brd 11.1.1.255 scope global eth1 valid_lft forever preferred_lft forever inet 15.15.15.20/32 brd 11.1.1.20 scope global eth1
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
83
Installing Cisco VTS
Completing the VTSR HA Configuration
Completing the VTSR HA Configuration
Complete the following steps to set up the VTSR HA configuration:
Before you begin
Ensure the tenant network (t) gateway and management network (mx) gateway are reachable from the VTSR server.
Power on the 2 VTSR VM ' s as per the VTSR install step. The VTSR VM comes up in active/active HA mode.
Uninstalling VTC HA
To move VTC back to it's original pre-HA state, run the following script on both the active and standby nodes.
sudo /opt/vts/bin/cluster_uninstall.sh
Sample Cisco VTS Configurations for Cisco NFVI
Sample VTC VM libvert Domain Configuration
<domain type='kvm' id='1332'>
<name>VTC-release2.1</name>
<uuid>5789b2bb-df35-4154-a1d3-e38cefc856a3</uuid>
<memory unit='KiB'>16389120</memory>
<currentMemory unit='KiB'>16388608</currentMemory>
<vcpu placement='static'>8</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode='custom' match='exact'>
<model fallback='allow'>Westmere</model>
<feature policy='require' name='vmx'/>
</cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/home/cisco/VTS2.1/vtc.qcow2'/>
<target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
84
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Sample Cisco VTS Configurations for Cisco NFVI
</disk>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='virtio-serial' index='0'>
<alias name='virtio-serial0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</controller>
<interface type='bridge'>
<mac address='52:54:00:5b:12:3a'/>
<source bridge='br-ex'/>
<virtualport type='openvswitch'>
<parameters interfaceid='263c1aa6-8f7d-46f0-b0a3-bdbdad40fe41'/>
</virtualport>
<target dev='vnet0'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<interface type='bridge'>
<mac address='52:54:00:8d:75:75'/>
<source bridge='br-control'/>
<virtualport type='openvswitch'>
<parameters interfaceid='d0b0020d-7898-419e-93c8-15dd7a08eebd'/>
</virtualport>
<target dev='vnet1'/>
<model type='virtio'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
</interface>
<serial type='tcp'>
<source mode='bind' host='127.0.0.1' service='4888'/>
<protocol type='telnet'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='tcp'>
<source mode='bind' host='127.0.0.1' service='4888'/>
<protocol type='telnet'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<alias name='channel0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<input type='mouse' bus='ps2'/>
<graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'>
<listen type='address' address='127.0.0.1'/>
</graphics>
<sound model='ich6'>
<alias name='sound0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</sound>
<video>
<model type='qxl' ram='65536' vram='65536' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
85
Installing Cisco VTS
Sample Cisco VTS Configurations for Cisco NFVI
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</memballoon>
</devices>
<seclabel type='dynamic' model='selinux' relabel='yes'>
<label>system_u:system_r:svirt_t:s0:c26,c784</label>
<imagelabel>system_u:object_r:svirt_image_t:s0:c26,c784</imagelabel>
</seclabel>
</domain>
Sample VTSR VM libvirt Domain Configuration
<domain type='kvm' id='20'>
<name>SAMPLE-VTSR-1</name>
<memory unit='GiB'>48</memory>
<cpu mode='host-passthrough'/>
<vcpu placement='static'>14</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
<boot dev='hd'/>
<boot dev='cdrom'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='cdrom'>
<driver name='qemu'/>
<source file='/home/admin/VTS20/images/vtsr_node1_cfg.iso'/>
<target dev='hda' bus='ide'/>
<readonly/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/home/admin/VTS20/images/vtsr.qcow2'/>
<target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</disk>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='ide' index='0'>
<alias name='ide0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
86
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VTS
Sample Cisco VTS Configurations for Cisco NFVI
<interface type='bridge'>
<source bridge='br-ex'/>
<virtualport type='openvswitch'>
<parameters interfaceid='4ffa64df-0d57-4d63-b85c-78b17fcac60a'/>
</virtualport>
<target dev='vtsr-dummy-mgmt'/>
<model type='virtio'/>
<alias name='vnet1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</interface>
<interface type='bridge'>
<source bridge='br-inst'/>
<virtualport type='openvswitch'>
<parameters interfaceid='4ffa64df-0d67-4d63-b85c-68b17fcac60a'/>
</virtualport>
<target dev='vtsr-dummy-2'/>
<model type='virtio'/>
<alias name='vnet1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<interface type='bridge'>
<source bridge='br-inst'/>
<virtualport type='openvswitch'>
<parameters interfaceid='4ffa64df-0f47-4d63-b85c-68b17fcac70a'/>
</virtualport>
<target dev='vtsr-dummy-3'/>
<model type='virtio'/>
<alias name='vnet1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</interface>
<interface type='bridge'>
<source bridge='br-inst'/>
<virtualport type='openvswitch'>
<parameters interfaceid='4ffa64df-0d47-4d63-b85c-58b17fcac60a'/>
</virtualport>
<vlan>
<tag id='800'/>
</vlan>
<target dev='vtsr-gig-0'/>
<model type='virtio'/>
<alias name='vnet1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</interface>
<interface type='bridge'>
<source bridge='br-ex'/>
<virtualport type='openvswitch'>
<parameters interfaceid='3ffa64df-0d47-4d63-b85c-58b17fcac60a'/>
</virtualport>
<target dev='vtsr-gig-1'/>
<model type='virtio'/>
<alias name='vnet1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</interface>
<interface type='bridge'>
<source bridge='br-inst'/>
<virtualport type='openvswitch'>
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
87
Installing Cisco VTS
Sample Cisco VTS Configurations for Cisco NFVI
<parameters interfaceid='a2f3e85a-4de3-4ca9-b3df-3277136c4054'/>
</virtualport>
<vlan>
<tag id='800'/>
</vlan>
<target dev='vtsr-gig-2'/>
<model type='virtio'/>
<alias name='vnet3'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/0'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/0'>
<source path='/dev/pts/0'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
<input type='tablet' bus='usb'>
<alias name='input0'/>
</input>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0' keymap='en-us'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<alias name='video0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</video>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
</memballoon>
</devices>
</domain>
88
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
6
Installing Cisco VIM
The following topics tell you how to configure and install Cisco VIM:
•
Cisco VIM Installation Overview, on page 89
•
Installing Cisco VIM, on page 90
•
Cisco VIM Client Details, on page 91
•
Cisco VIM Configuration Overview, on page 95
•
Updating Cisco NFVI Software, on page 131
•
Upgrading Cisco NFVI Software, on page 132
Cisco VIM Installation Overview
Before you can install Cisco Virtual Infrastructure Manager, complete the procedures in Preparing for Cisco
NFVI Installation.
If your management node does not have Internet access, complete the m_Preparing_USB_
Stick.ditamap#id_38540 procedure. The Cisco VIM installation procedure provides two methods for downloading and installing the Cisco VIM installation files, from USB stick prepared for installation, or from the Internet.
Completing these procedures ensures the Cisco NFVI network infrastructure is set up before the Cisco VIM installation. The bootstrap script is then kicked off, which downloads installer repository, installs Docker and dependencies and starts installer web service,
The Cisco VIM installer can then be launched. It validates the testbed configuration file (setup_data.yaml), creates new vNICs on the controller, compute, and dedicated storage nodes based on the configuration provided in the setup_data.yaml file. This is followed by the Preboot Execution Environment (PXE) boot of RHEL7.2
onto the target nodes (control, compute and storage) through the Cobbler server set up on the management node. After the installation, the Cisco VIM installer performs common steps across all the Cisco NFVI nodes.
Next, Ceph related packages required for managing the cluster and creating OSD and monitor nodes are installed on the control and storage nodes. By default, the minimum three Ceph monitor nodes are installed at the host level on the control nodes. These serve as management nodes and have the administration keyring.
Ceph configurations, such as ceph.conf and Ceph client keyrings files, are stored under /etc/ceph on each controller. Each Ceph storage node associates an Object Storage Daemon (OSD) to a physical hard drive with a write journal on a separate SSD to support small block random I/O.
The following illustration provides an overview to the Cisco VIM installation.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
89
Installing Cisco VIM
Figure 30: Cisco VIM Installation Flow
Installing Cisco VIM
If you have Cisco Unified Management, complete only part of the Cisco VIM installation procedure and proceed to the
Installing Cisco VIM Unified Management
on page procedure followed by
VIM through Cisco VIM Unified Management, on page 147
to complete the configuration and setup of Cisco
VIM using the Cisco VIM Insight. If you do not have Cisco VIM UM, configure Cisco VIM by editing the data_setup.yaml as described in the Cisco VIM installation.
Installing Cisco VIM
This procedure allows you to install Cisco VIM on a Cisco NFVI management node:
90
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Cisco VIM Client Details
Before you begin
• You need Cisco NFVI installation files download site credentials from your Cisco account representative.
• For Management nodes with NO Internet access, you need USB stick containing the Cisco NFVI installation files. To prepare the USB stick, see the Preparing to Install Cisco NFVI on Management
Nodes Without Internet Access.
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
If your management node does not have Internet access and you prepared a USB stick in Preparing to Install Cisco NFVI on Management Nodes Without Internet Access.
, complete the following steps: a) Insert the USB stick into the management node drive.
b) Run the import_artifacts.sh script to copy all artifacts onto the management node, for example: cd ~/insight-<tag_id>/tools
./import_artifacts.sh
All the installation artifacts are copied to /var/cisco/artifacts/ on the management node
If you are installing Cisco VIM Insight, navigate to
Installing Cisco VIM Unified Management , on page 133
and complete the Cisco VIM Insight installation.
If you are not installing Cisco VIM Insight, complete the following steps.
Change to the installer directory by running the following command: cd ~/insight-<tag_id>
Create a dir (for example, ~/Save/) to contain a copy of the setup_data.yaml file, the file that configures the Cisco NFVI for your particular implementation.
Change to the openstack-configs directory and copy the example Cisco VIM setup_data.yaml file into the directory you just created: cd openstack-configs/ cp setup_data.yaml.<C_or_B>_Series_EXAMPLE setup_data.yaml
~/Save/setup_data.yaml
With a yaml editor, modify the copied example setup_data.yaml file as the data setup file for your implementation. This includes both Cisco NFVI data and OpenStack parameters.
Run the installation: ciscovim --setupfile ~/Save/setup_data.yaml run
After the installation is complete, you can view the installation logs at /var/log/mercury.
Cisco VIM Client Details
Cisco VIM combines the CLI and API so that you can use the CLI or API installer transparently.
Note For a complete list of Cisco VIM REST API commands, see the Cisco NFVI Administrator Guide .
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
91
Installing Cisco VIM
Cisco VIM Client Details
Before you use the Cisco VIM CLI, check that the API server is up and pointing to the right installer directory.
You can execute the following command to validate the state of the API server and the installer directory it is referencing:
# cd installer-<tagid>/tools
#./restapi.py -a status
Status of the REST API Server: active (running) since Thu 2016-08-18 09:15:39 UTC; 9h ago
REST API launch directory: /root/installer-<tagid>/
Verify the server status is active and the restapi launch directory is the same the directory from where the installation is launched. If the installer directory, or the REST API state is not correct, go to the target installer directory and execute the following:
# cd new-installer-<tagid>/tools
#./restapi.py -a setup
Check if the REST API server is running from the correct target directory
#./restapi.py -a status
Status of the REST API Server: active (running) since Thu 2016-08-18 09:15:39 UTC; 9h ago
REST API launch directory: /root/new-installer-<tagid>/
The REST API tool also provides the options to restart, tear down and reset password for the REST API server as listed:
# ./restapi.py -–h usage: restapi.py [-h] --action ACTION [--yes] [--verbose]
REST API setup helper optional arguments:
-h, --help show this help message and exit
--action ACTION, -a ACTION setup - Install and Start the REST API server.
teardown - Stop and Uninstall the REST API server.
restart - Restart the REST API server.
regenerate-password - Regenerate the password for REST API server.
reconfigure-tls - Reconfigure SSL certificates and key.
upgrade - Upgrade to new workspace.
reset-password - Reset the REST API password with user given password.
--yes, -y
--verbose, -v status - Check the status of the REST API server.
Skip the dialog. Yes to the action.
Perform the action in verbose mode.
If the REST API server is not running, executing ciscovim will show the following error message:
# ciscovim –setupfile ~/Save/<setup_data.yaml> run
If the installer directory, or the REST API state is not correct or it is pointing to an incorrect REST API launch directory, go to the installer-<tagid>/tools dir and execute:
# ./restapi.py -–action setup
To confirm that the Rest API server state and launch directory is correct, execute:
# ./restapi.py -–action status
If you ran the REST API recovery step on an existing pod, run the following command to ensure that the
REST API server continues to manage the existing pod:
92
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Cisco VIM Client Details
# ciscovim --setup_file <setup_data_file_path> --perform 7 -y
For an overview to the commands you can execute from the CLI, enter the following command: ciscovim --help usage: ciscovim [--setupfile <setupdata_file>] <subcommand> ...
Command-line interface to the Cisco Virtualized manager
Positional arguments:
<subcommand> run install-status list-steps add-computes add-storage list-nodes remove-computes remove-storage replace-controller list-openstack-configs
Perform/terminate an install operation
Status of installation of the Openstack cloud
List steps
Add compute-nodes to the Openstack cloud
Add a storage-node to the Openstack cloud
List the nodes in the Openstack cloud
Remove compute-nodes from the Openstack cloud
Remove a storage-node from the Openstack cloud
Replace a controller in the Openstack cloud list-password-keys reconfigure cluster-recovery
List of Openstack configs that can be changed using reconfigure
List of password keys that can be changed using reconfigure
Reconfigure the Openstack cloud
Recover the Openstack cluster after a network partition or power outage
Show health of the Management node
Commit an update
Rollback an update mgmtnode-health commit rollback update update-status upgrade check-fernet-keys
Update the Openstack cloud
Status of the update operation
Upgrade the Openstack cloud
Check whether the fernet keys are successfully synchronized across keystone nodes nfvbench nfvimon
Launch NFVBench Flows
NFVI Monitoring / Zenoss management operations period-rotate-fernet-keys Set the frequency of fernet keys rotation on resync-fernet-keys keystone
Resynchronize the fernet keys across all the rotate-fernet-keys client-version version help keystone nodes
Trigger rotation of the fernet keys on keystone
Show Virtualized Infrastructure Manager
Version
Show Virtualized Infrastructure Manager
Version
Display help about this program or one of its subcommands.
Optional arguments:
--setupfile <setupdata_file>
See "ciscovim help COMMAND" for help on a specific command.
To look at the help for a sub-command (e.g. run) execute the following:
# ciscovim help run usage: ciscovim run [--join] [--perform <perform>] [--skip <skip>] [-y] Perform a install operation
Optional arguments:
--join Join the installation process
--perform <perform> Perform the following steps.
--skip <skip> Skip the following steps.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
93
Installing Cisco VIM
Cisco VIM Client Details
-y, --yes Yes option to skip steps without prompt [root@MercRegTB1 installer]#
You can also run the installer in multiple smaller steps. To understand the steps involved during installation execute the following command:
# ciscovim list-steps
Virtualized Infrastructure Manager:
===================================
+-------------------------+--------------+
| Operations | Operation ID |
+-------------------------+--------------+
| INPUT_VALIDATION | 1 |
| MGMTNODE_ORCHESTRATION | 2 |
| VALIDATION
| BAREMETAL
|
|
3
4
|
|
| COMMONSETUP
| CEPH
| ORCHESTRATION
|
|
|
5
6
7
| VMTP | 8 |
+-------------------------+--------------+
|
|
|
To execute the installer in steps, include specific steps from above. For example:
$ ciscovim run --perform 1,3 –y
Similarly, you can execute the installation using the skip option, where you explicitly indicate which options to skip. For example
$ ciscovim run --skip 1,3 –y
Note When using the step-by-step installation, keep a track of what steps are already completed, or unpredictable results might occur.
While the install time varies from pod to pod, typical installation times through the Internet for a UCS C-series with three controller, nine compute, and three storage are listed in the following table.
Table 11:
7
8
5
6
Operation ID
3
4
1
2
Operation
Common setup
Ceph
Orchestration
VMTP (external and provider networks)
Estimated Time
Input validation
Management node orchestration
6 minutes
40 minutes
Validation (software and hardware) 30 seconds
Bare metal install 60 minutes
10 minutes
5 minutes
25 minutes
14 minutes
94
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Cisco VIM Configuration Overview
Cisco VIM Configuration Overview
The following topics provide a list of Cisco NFVI configurations you must enter in setup_data.yaml with a yaml editor. These configurations has to be performed prior to running the Cisco VIM installation. If you are installing Cisco Insight, you have to complete the Cisco VIM data and OpenStack configurations using VIM
Insight as described in
Installing Cisco VIM through Cisco VIM Unified Management, on page 147
.
Configuring ToR Automatically
Cisco VIM, provides a complete automation of the cloud deployment. Cisco VIM, of this feature is to automate day-0 configuration of N9xxx series Top of Rack(ToR) switches. The feature is optional and only applies to
Pods that are running without ACI. For ToR switch details related to ACI, refer to the section, Enabling ACI in Cisco VIM . Purpose is to automate Power-On Auto Provisioning (post-POAP) configuration on ToR offering of Cisco VIM, constitutes of one or more pair of identical Cisco N9300 series switches. The day-0
ToR automation configures the interfaces that are connected to the management (br_mgmt), control, compute, and storage nodes of the pod. In addition, it configures the VPC peer link interfaces for ToR pairs. The automation handles both B and C-series pods. The automation includes configuration of the edge ports in the leaf switches off which the hosts hang-out and the VPC peer link between the switches. Auto-Configuration feature does not include the configuration of the spine switches, and the connectivity between the leaf and the spine; that is the upstream link of the spine switches that carry the external VLAN connectivity.
As the feature is a post-POAP automation provisioning, the management interface, vrf, and admin user have to be pre-provisioned on each of the ToR switch. Also, ssh has to be enabled in each ToRs. The recommended
N9K switch software versions are 7.0(3)I4(6) and 7.0(3)I6(1). Bootstraping the ToR image is still a manual process. Installer API interface (br_api) on the management node have to be up and running, and the ssh to the management node through SSH must be working. You can access each of the ToRs through its management interface from the Cisco VIM management node using SSH.
Setting Up the Cisco VIM Data Configurations
The Cisco VIM configuration file, setup_data.yaml, installs and configures the VIM deployment. When creating this file, take extreme care. Any change to this configuration after deployment, with the exception
(example: NFVIMON, of adding and removing nodes and so on) causes a stack redeployment. Pay particular attention to the pod networking layout plan configured in setup_data.yaml because any future changes to it requires the pod to be reinstalled.
If your configurations are correct, the installation goes smoothly. Cisco recommends using a YAML editor on Linux (PyCharm, Komodo or vi/vim with YAML plugin) to edit this file. Items shown in brown must be changed to your specific testbed. Do not copy the examples shown below into your YAML file, because your browser might render the characters differently. If you are using the Cisco VIM installer, you cannot update the OpenStack config files (for example, ml2_conf.ini, and other files) directly. All OpenStack configurations must be in the setup_data.yaml file. This ensures that the installer has a view of the OpenStack deployment, so that it can reliably perform later software updates and upgrades. This ensures a consistent and repeatable installation, which is important. Key setup file parts are shown in the following sections.
Setting Up the ToR Configurations for B-series and C-series
The ToR configuration is driven through the mercury setup_data.yaml configuration. The information for automated TOR configuration is provided in two parts in the setup_data.yaml file. The common information is in the TORSWITCHINFO section, whereas the information on individual switch ports connected to specific
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
95
Installing Cisco VIM
Setting Up the ToR Configurations for B-series and C-series nodes are under SERVERS section for C-seires, and UCSM-COMMON section for B-series. If the
TORSWITCHINFO section is not provided or CONFIGURE_TORS attribute under TORSWITCHINFO then all the ToR provisioning related steps are skipped. The ToR section contains attributes related to ToR connection, configuration for the management interface for the management node, and vPC peer details in case of ToR pairs.
Note The port-channel number for the vPC peer link interfaces, is derived from the Vpc domain. The ToRs are paired with each other based on their corresponding vpc_peer_link addresses.
TORSWITCHINFO:
CONFIGURE_TORS: True
SWITCHDETAILS:
hostname: K09-n9k-a # mandatory for NFVbench username: admin # mandatory for NFVbench password: <redacted> # mandatory for NFVbench ssh_ip: <a.b.c.d> # mandatory for NFVbench ssn_num: <xyz> vpc_peer_keepalive: <f.g.h.i> vpc_domain: <int> vpc_peer_port_info: <'eth1/45,eth1/46,eth1/47’> vpc_peer_vlan_info: <’NNNN,NNNN-NNNN’> br_mgmt_port_info: 'eth1/19' br_mgmt_po_info: <'NN'>
hostname: K09-n9k-b # mandatory for NFVbench username: admin # mandatory for NFVbench password: <redacted> # mandatory for NFVbench ssh_ip: <f.g.h.i> # mandatory for NFVbench ssn_num: < xyz> vpc_peer_keepalive: < a.b.c.d> vpc_domain: <int> vpc_peer_port_info: <'eth1/45,eth1/46,eth1/47’> vpc_peer_vlan_info: <’NNNN,NNNN-NNNN’> br_mgmt_port_info: 'eth1/19' br_mgmt_po_info: <'NN'>
The attributes for vpc peer vlan info, vpc domain and br_mgmt_po_info have to match across the ToRs, and should only be defined in only two of the TORs, where the management node is hanging off. The attribute for vpc_peer_vlan_info is optional. If it is not specified, it derives a list of VLAN ids from the host/FI facing interfaces and br_mgmt interface. Also, the attribute for ssn_num which represents the chassis serial number is optional.
The chassis serial number can be obtained by executing the following command on each of the ToRs: show license host-id
In the case of B-series, Cisco VIM configures the UCSMCOMMON section to declare the interface configuration under tor_info_fi and tor_info_fi_redundant for the FI.
Note ToR names need to match with names provided in the TORSWITCHINFO section.
UCSMCOMMON:
ENABLE_QOS_FOR_PORT_PROFILE: true,
ENABLE_QOS_POLICY: true,
96
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Setting Up Server Level information for C-series with Intel NIC
ENABLE_UCSM_PLUGIN: true, ucsm_ip: <p.q.r.s>, ucsm_password: <redacted>, ucsm_resource_prefix: c43b, ucsm_username: admin, tor_info_fi: {po: 18, K09-n9k-a: eth1/17, K09-n9k-b: eth1/17} tor_info_fi_redundant: {po: 19, K09-n9k-a: eth1/19, K09-n9k-b: eth1/19}
In this example of B-Series, tor_info is not declared in the SERVERES section as all connectivity is through the FI (controller, compute, and storage) declared in the UCSCOMMON section. VLANs for the FI facing interfaces are derived from the NETWORK segment ROLES for controller, compute, and storage nodes.
The SERVERS section declares the interface configurations for each of the controller, compute, and storage nodes under tor_info.
SERVERS: controller-1: rack_info: {rack_id: rack43X} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 5, B9-TOR-9K-1: eth1/5, B9-TOR-9K-2: eth1/5} controller-2: rack_info: {rack_id: rack43Y} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 7, B9-TOR-9K-1: eth1/7, B9-TOR-9K-2: eth1/7} controller-3: rack_info: {rack_id: rack43Z} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 9, B9-TOR-9K-1: eth1/9, B9-TOR-9K-2: eth1/9} compute-1: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 11, B9-TOR-9K-1: eth1/11, B9-TOR-9K-2: eth1/11} compute-2: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 13, B9-TOR-9K-1: eth1/13, B9-TOR-9K-2: eth1/13} storage-1: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 14, B9-TOR-9K-1: eth1/14, B9-TOR-9K-2: eth1/14} storage-2: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 15, B9-TOR-9K-1: eth1/15, B9-TOR-9K-2: eth1/15} storage-3: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 16, B9-TOR-9K-1: eth1/16, B9-TOR-9K-2: eth1/16}
VLANS for host facing interfaces are derived from NETWORK section based on the server ROLES definition of each of the servers and their corresponding network profile roles assigned for each of the segments.
Setting Up Server Level information for C-series with Intel NIC
When the C-series pod is configured to run in a complete Intel NIC environment, the ToR configurations have an additional configuration ,that is, dp_tor_info section. Control plane and data plane traffic are broken out into two separate interfaces with VLAN limiting applied on each of the control and data interfaces facing each for the controller and compute nodes.
c43b-control-1: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 9, K09-n9k-a: ‘eth1/9, eth1/12’}
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
97
Installing Cisco VIM
Server Level Setup_data info for C-series with Intel NIC with SRIOV dp_tor_info: {po: 12, K09-n9k-a: ‘eth1/12, eth1/12’} c43b-compute-1: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 10, K09-n9k-a: ‘eth1/10, eth1/13’} dp_tor_info: {po: 13, K09-n9k-a: ‘eth1/13, eth1/13’}
Server Level Setup_data info for C-series with Intel NIC with SRIOV
When the C-series pod is configured to support SRIOV with Intel NIC, a third interface is configured to allow
SRIOV traffic for the compute nodes. Switchports configured for SRIOV are not placed in a port-channel.
VLAN limiting is applied to this interface for all the data plane related VLAN IDs.
c43b-compute-1: rack_info: {rack_id: rack43} cimc_info: {cimc_ip: <ip_addr>} tor_info: {po: 10, K09-n9k-a: ‘eth1/10, eth1/13’} dp_tor_info: {po: 13, K09-n9k-a: ‘eth1/13, eth1/13’} sriov_tor_info: { K09-n9k-a: eth1/33, K09-n9k-b: eth1/33}
Support for Custom Configuration
Custom Configuration is an optional procedure. The setup_data.yaml file has a section called
CUSTOM_CONFIG to support custom configuration. Under the CUSTOM_CONFIG section, raw CLI commands can be provided at the global, port channel, and switchport level. CUSTOM_CONFIG is applied at the time of bootstrap and add-interfaces workflow steps.
For example: setup_data.yaml
TORSWITCHINFO:
CONFIGURE_TORS: true
CUSTOM_CONFIG:
GLOBAL:
[<’cli line 1’>,
<’cli line 2’>,]
PORTCHANNEL:
[<’cli line 1’>]
SWITCHPORT:
[<’cli line 1’>,
<’cli line 2’>,]
Setting Up ToR Configurations for NCS-5500
Note In CVIM 2.4, the following caveats apply to a Cisco VIM deployment with NCS:
• BGP: For a fresh install of Cisco VIM, assure no BGP configuration is present on the NCS, otherwise the peering between the two NCS does not come up properly. Un-configure any existing BGP configuration. If additional BGP complimentary configuration is needed, add it after a successful Cisco
VIM install.
• Segment-Routing: The global block of Segment Routing IDs have to be pre-defined by the admin. Make sure that the prefix defined within the setup_data.yaml is within the Segment Routing global block range
• NCS Interface Naming: There are a set of different Interface naming variations. We support the following:
[Te0/0/0/0, TenGigE0/0/0/0, Gi0/0/0/0, Hu0/0/1/0, HundredGigE 0/0/1/0, FortyGigE0/0/0/0]
• Any manual adjustments to the ISIS, L2VPN sections (on top of the configuration provided by the CVIM automation) causes subsequent Cisco VIM installs to fail.
98
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Setting Up ToR Configurations for NCS-5500
For a Cisco VIM with NCS-5500 Auto-ToR is a must-have. You can use the Auto-ToR configuration feature to setup NCS-5500. The mercury Cisco VIM setup_data.yaml configuration file is used as an input file for the configuration.
The setup_data.yaml file contains the following three sections:
• TORSWITCHINFO: This section provides the general information.
• SERVERS section for C-series: This section provides the information on the switch ports that are connected to the specific nodes. When the micro pod is configured to run in a complete Intel NIC environment with NCS-5500 as the ToR, the SERVER level configurations include tor_info (for control plane) and dp_tor_info (data plane) section. Control plane and data plane traffic are broken out into two separate interfaces with bridge domains applied on each of the control and data interfaces facing each for the controller and compute nodes.
• MULTI_SEGMENT_ROUTING_INFO: This section provides the information related to routing.
NCS-5500 supports a micro-pod with additional computes running on Intel 710 NICs with no SR-IOV with mechanism driver of VPP.
Note The current release supports the use of two NCS-5500 within a single pod.
The following snippet shows an example of the mercury setup_data.yaml configuration file for NCS-5500
TORSWITCHINFO:
CONFIGURE_TORS: true # Mandatory
TOR_TYPE: NCS-5500 # Mandatory
SWITCHDETAILS:
hostname: <NCS-5500-1> # hostname of NCS-5500-1 username: admin password: <ssh_password of NCS-5500-1> ssh_ip: <ssh_ip_address of NCS-5500-1> vpc_peer_keepalive: <ssh IP address of the peer NCS-5500-2> br_mgmt_port_info: <interface of which br_mgmt of management node is hanging of
NCS-5500-1> br_mgmt_po_info: <int; bundle Ethernet interface to pxe the management node> vpc_peer_port_info: <local interface to which peer NCS-5500 is connected, “,” separated, max of 2 entries>’ > vpc_peer_port_address: <local address with mask for vpc_peer_port_info, “,” separated, max of 2 entries>’ > isis_loopback_addr: <local isis loopback interface address without mask> # assumes
/32 isis_net_entity_title: <isis network_entity_title> isis_prefix_sid: <int between 16000-1048575> # has to be unique in the ISIS domain and depends on the global segment routing block define by the admin
hostname: <NCS-5500-2> # hostname of NCS-5500-2 username: admin password: <ssh_password of NCS-5500-2> ssh_ip: <ssh_ip_address of NCS-5500-2> vpc_peer_keepalive: <ssh IP address of the peer NCS-5500-1> br_mgmt_port_info: <interface of which br_mgmt of management node is hanging of
NCS-5500-2> br_mgmt_po_info: <int; bundle Ethernet interface to pxe the management node> vpc_peer_port_info: <local interface to which peer NCS-5500 is connected>,"," seperated, max of two entries
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
99
Installing Cisco VIM
NCS Day-0 Configuration (Prior to starting Cisco VIM install) vpc_peer_port_address: <local address with mask for vpc_peer_port_info>,"," seperated, max of two entries isis_loopback_addr: <local isis loopback interface address without mask> # assumes
/32 isis_net_entity_title: <isis network_entity_title> isis_prefix_sid: <int between 16000-1048575> has to be unique in the ISIS domain and depends on the global segment routing block define by the admin. # has to be unique in the
ISIS domain
SERVER SECTION FOR C SERIES: a27-fretta-micro-1: cimc_info: {cimc_ip: 172.28.121.172} dp_tor_info: {NCS-5500-1: TenGigE0/0/0/1, NCS-5500-2: TenGigE0/0/0/1, po: 1} hardware_info: {VIC_slot: MLOM} rack_info: {rack_id: RackA} tor_info: {NCS-5500-1: TenGigE0/0/0/0, NCS-5500-2: TenGigE0/0/0/0, po: 2} a27-fretta-micro-2: cimc_info: {cimc_ip: 172.28.121.174} dp_tor_info: {NCS-5500-1: TenGigE0/0/0/3, NCS-5500-2: TenGigE0/0/0/3, po: 3} hardware_info: {VIC_slot: MLOM} rack_info: {rack_id: RackB} tor_info: {NCS-5500-1: TenGigE0/0/0/2, NCS-5500-2: TenGigE0/0/0/2, po: 4} a27-fretta-micro-3: cimc_info: {cimc_ip: 172.28.121.175} dp_tor_info: {NCS-5500-1: TenGigE0/0/0/5, NCS-5500-2: TenGigE0/0/0/5, po: 5} hardware_info: {VIC_slot: MLOM} rack_info: {rack_id: RackC} tor_info: {NCS-5500-1: TenGigE0/0/0/4, NCS-5500-2: TenGigE0/0/0/4, po: 6}
MULTI_SEGMENT_ROUTING_INFO: bgp_as_num: <1 to 65535> isis_area_tag: <string> loopback_name: <loopback<0-2147483647>> api_bundle_id: <1 to 65535> api_bridge_domain: <string> #Optional, only needed when br_api of mgmt node is also going via NCS-5500; #this item and api_bundle_id are mutually exclusive ext_bridge_domain: <string> # user pre-provisions physical, bundle interface, subinterface and external BD” for external uplink and provides external BD info in the setup_data
NCS Day-0 Configuration (Prior to starting Cisco VIM install)
The following snippets have to be defined on the NCS before starting Cisco VIM installation:
SSH: ssh server v2 ssh server vrf default ssh server netconf port 831 ssh server netconf vrf default ssh timeout 60 ssh server rate-limit 600
USERNAME: username admin group root-lr group cisco-support secret 0 <password>
100
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Pre-requisites for Segment Routing Global Block and ISIS Prefix
Note For SSH to work generate a key using crypto key generate rsa .
Pre-requisites for Segment Routing Global Block and ISIS Prefix
The segment routing configuration has to be predefined by the admin.
The following snippet provides an example: segment-routing global-block 16000 20000
The prefix within the ISIS setup_data.yaml configuration has to be within the global-block
IDs. Example:
TORSWITCHINFO:
CONFIGURE_TORS: true
SWITCHDETAILS:
- {br_mgmt_po_info: 1, br_mgmt_port_info: TenGigE0/0/0/10, hostname: a25-ncs5500-1-ru30, isis_loopback_addr: 10.10.10.10, isis_net_entity_title: 49.0001.1720.1625.5011.00, isis_prefix_sid: 16001, password: CTO1234!, ssh_ip: 172.28.123.176, username: admin, vpc_peer_keepalive: 172.28.123.177, vpc_peer_port_address:
'100.100.100.2/29,100.100.101.2/29', vpc_peer_port_info: 'HundredGigE0/0/1/4,HundredGigE0/0/1/5'}
- {br_mgmt_po_info: 1, br_mgmt_port_info: TenGigE0/0/0/10, hostname: a25-ncs5500-2-ru29, isis_loopback_addr: 20.20.20.20, isis_net_entity_title: 49.0001.1720.1625.4022.00, isis_prefix_sid: 16002, password: CTO1234!, ssh_ip: 172.28.123.177, username: admin, vpc_peer_keepalive: 172.28.123.176, vpc_peer_port_address:
'100.100.100.3/29,100.100.101.3/29', vpc_peer_port_info: 'HundredGigE0/0/1/2,HundredGigE0/0/1/3'}
TOR_TYPE: NCS-5500
Pre-requisites for API and External Network Segments with NCS-5500 as TOR
Pre- Provision the NCS-5500 with the Bridge domains for API and External network segments.The configured bridge domain names for api and external need to be the same as those defined in setup_data.yaml
(api_bridge_domain and ext_bridge_domain) under the MULTI_SEGMENT_ROUTING_INFO section defined above.
A check on each of the NCS-5500 should show the following:
RP/0/RP0/CPU0:NCS-5500-2#sh run l2vpn bridge group cvim l2vpn bridge group cvim bridge-domain api l2vpn bridge group cvim bridge-domain external
During the deployment of NCS-5500 as TOR, we also support the workloads off the provider network along with the tenant network.
Listed below are some of the assumptions under which this combination works.
• Provider network segment has to be in scope from day-0. Few of the PROVIDER_VLAN_RANGES has to be defined.
• You can always expand the PROVIDER_VLAN_RANGES with additional VLAN range (minimum starting VLAN range is 2)
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
101
Installing Cisco VIM
Support and pre-requisites for Provider Network with NCS-Concept
• The maximum number of PROVIDER_VLAN_RANGES and TENANT_VLAN_RANGES should add up to 200.
• Bridge domain for provider starts with prefix: provider VLANId. They are created manually on the
NCS-5500, before the VIM deployment begins; and upstream interfaces are stitched in.
Support and pre-requisites for Provider Network with NCS-Concept
In a deployment of NCS-5500 as TOR, along with the tenant network, we also support provider networks.
The following points are key to use provider_networks with a NCS TOR:
• Provider network segment has to be defined on day-0; also, a handful of PROVIDER_VLAN_RANGES has to be defined in the setup_data.yaml.
Note You cannot add it after a Cisco VIM deployment!
• The PROVIDER_VLAN_RANGES can be extended after a Cisco VIM install by running reconfigure with a updated setup_data.yaml (min starting VLAN range is 2, for example
PROVIDER_VLAN_RANGES: 3200:3202 (existing range),3204:3206 (newly added range))
• The maximum number of PROVIDER_VLAN_RANGES and TENANT_VLAN_RANGES should not exceed 200.
• Bridge domain for provider starts with prefix: provider<VLANId> and are created manually on the
NCS-5500 before VIM deployment begins with necessary upstream interfaces configured accordingly.
Pre-requisites for Provider Network with NCS-5500 as TOR
Provider network support requires the following pre-requisites:
Step 1
Step 2
Define the network and provider vlan ranges sections in setup_data.yaml.
NETWORKING:
- segments: [provider] vlan_id: None
PROVIDER_VLAN_RANGES: 127,3406:3409
Pre-provisioning the NCS with bridge-domains for corresponding VLANs and plumbing the uplink configuration into these bridge-domains.
RP/0/RP0/CPU0:NCS-5500-2#sh run l2vpn bridge group cvim l2vpn bridge group cvim bridge-domain provider127 l2vpn bridge group cvim bridge-domain provider3406 l2vpn bridge group cvim bridge-domain provider3407
Note The CVIM Automation will then configure all the host facing subinterfaces for these provider vlans, EVIs and plumb them into each of the pre-provisioned provider bridge-domains.
102
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Installing CVIM with NCS-5500 as TOR
Note When pre-provisioning bridge-domain, ensure that the BD names follow the naming convention of
"provider<vlan-id>".
Installing CVIM with NCS-5500 as TOR
Note CVIM does not support Jumbo Frame with NCS-5500; so plan your deployment without it in place.
Note Currently there is an Intel X710 issue with the i40e driver version 1.6.27-k shipped with RHEL7.4, intermittent traffic drop/not forward on one of the bonding member interface. This problem becomes more apparent when the same traffic flow conversation is asymmetrically forwarded, that is the same traffic flow conversation transmitting on bond member 1 and receiving back on bond member 2. It goes away when the driver is upgraded to the latest official Intel driver version 2.3.6: https://downloadmirror.intel.com/24411/eng/i40e-2.3.6.tar.gz
The official Intel i40e version 2.3.6 is compiled at the time of the mercury’s hotfix repo build. This takes care of the step 4 baremetal install of all the Controller, Storage, and Compute nodes except Management node.
So we recommend you to do step wise installation to incorporate the changes made into the management node.
Following are the steps to install CVIM:
Step 1
Step 2
Step 3
Step 4
Step 5
Deploy the Management node with the corresponding matching 2.2.x ISO
Execute the step1 and step 2 ciscovim --setupfile <setup_data_path> run --perform step 1,2
After step 2, install the updated i40e driver.
yum install i40e
After installing, activate the new i40e driver.
modprobe -r i40e && modprobe i40e
Check if driver is correctly loaded.
ethtool -i <enp10s0f0> driver: i40e Look for “i40e” version: 2.3.6
Look for “2.3.6” firmware-version: 5.04 0x80002542 0.385.7
expansion-rom-version: bus-info: 0000:0a:00.0
supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
103
Installing Cisco VIM
Intel NIC Support
Step 6
Step 7
Bring the MGMT interfaces back up ifup bond0
Resume the install from step 3 onwards ciscovim --setupfile <setup_data_path> run --perform 3,4,5…
Intel NIC Support
Cisco VIM supports C-series pod running with either all Intel 710X NICs or Cisco VICs. In the case of Intel
NIC, each server needs to have 2 of 4 port 710X cards. The orchestrator identifies the NIC support based on the following INTEL_NIC_SUPPORT values:
• False-This is the default value. The orchestrator assumes that all the servers have Cisco VIC
• True-The orchestrator assumes that all the servers have Intel NIC.
To define the value, run the following command
# INTEL_NIC_SUPPORT: <True or False>
A C-series pod, running Intel NIC, also supports SRIOV. By Default, SRIOV is not supported. To enable, define a value in the range 1-32 (32 is maximum number of INTEL_SRIOV_VFS: <integer>.
By default in the C-series pod running with Intel 710, 1 port (port #c) from each of the Intel NICs are used for SRIOV, but there might be some VNFs which need additional SRIOV ports to function. To meet the requirement in VIM 2.2 and higher releases, an additional variable has been introduced in setup_data.yaml
by which you can include a 2 nd port (port d) of the Intel NIC for SRIOV.
To adjust the number of SRIOV ports, set the following option in the setup_data.yaml
#INTEL_SRIOV_PHYS_PORTS: <2 or 4>
The parameter, INTEL_SRIOV_PHYS_PORTS is optional, and if nothing is defined a value of 2 is used.
The only 2 integer values parameter takes is 2 or 4.
Intel NIC Support for SRIOV only
In Cisco VIM 2.2 and higher releases , we support C-series pod running with 1 2-port Cisco VIC for control plane and 2 2-port Intel 520s or 2 2-port XL710 for SRIOV (called VIC/NIC deployment).
The orchestrator identifies the VIC/NIC support based on the following CISCO_VIC_INTEL_SRIOV values:
• False-This is the default value. The orchestrator assumes that all the servers have Cisco VIC.
• True-The orchestrator assumes that all the servers have Intel NIC.
To define the value, run the following command:
# CISCO_VIC_INTEL_SRIOV: <True or False>
A C-series pod, running Cisco VIC/Intel NIC (520), also supports SRIO V on the Intel 520 Nics . By Default,
SRIOV is not supported. To enable, define a value in the range 1-63 (63 is maximum) (for X520) or 1-32 (32 is maximum for XL710) number of INTEL_SRIOV_VFS: <integer>
By default in the C-series pod running with Cisco VIC and Intel 520/XL710, the control plane runs on the
Cisco VIC ports, and all the 4 ports from the 2 Intel 520 NICs or 2 intel XL710 are used for SRIOV. In the pods running with CISCO_VIC_INTEL_SRIOV enabled, some computes can run only with Cisco VIC without
SRIOV option present on it.
104
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Intel NIC Support
Define the following parameter in the setup_data yaml to setup the card type, in SRIOV
#SRIOV_CARD_TYPE: <X520 or XL710>
Note There are different card types present in the compute. If SRIOV_CARD_TYPE is not provided, CVIM chooses the first 2 slots from all SRIOV compute nodes, and ensures that they are consistent in card type across the cluster. If they are found to be different, the installation fails. If SRIOV_CARD_TYPE is provided, CVIM chooses the first 2 slots matching the target card type, from each of the SRIOV compute nodes, and ensures there is a match between intent and reality.
Support of Third Party Compute in Hybrid Mode (HP DL360 Gen9)
Cisco VIM 2.4.x introduces the first third-party compute. The first SKU chosen is HPE ProLiant DL360 Gen9.
With this support we were able to clearly demonstrate that the CVIM software is flexible enough to be enhanced to accommodate for other SKUs. In CVIM 2.4, the supported deployment is a full-on pod, with OVS as the mechanism driver, where the management, control, and storage nodes are based on existing Cisco UCS c220/240M4 BOM, and the compute nodes are on HPE ProLiant DL360 Gen9 hardware.
To minimize the changes to the existing orchestration workflow and Insight UI, we adopted to reuse the existing Cisco VIC+NIC combo deployment scenario which minimize the changes needed for the hardware topology and the "setup_data.yaml" configuration file. Refer to the above section "Intel NIC Support for
SRIOV only", on the NIC settings that need to be passed. to enable HPE ProLiant DL360 Gen9 third-party compute.
The following table shows the port type mapping between Cisco UCS C-Series compute and HPE ProLiant
DL360 compute:
Port Type
Control and Data Plane
Cisco UCS c220/c240M4 Compute
MLOM - Cisco UCS VIC 1227
HPE ProLiant DL360 Gen9 Compute
FlexLOM - HP Ethernet 10Gb
2-port 560FLR-SFP+ Adapter
SRIOV
SRIOV
PCIe - Intel X520-DA2 10 Gbps 2 port NIC
PCIe - HP Ethernet 10Gb 2-port
560SFP+ Adapter
PCIe - Intel X520-DA2 10 Gbps 2 port NIC
PCIe - HP Ethernet 10Gb 2-port
560SFP+ Adapter
As this deployment do not support Auto-ToR configuration, the TOR switch needs to have Trunk configuration with native VLAN, jumbo MTU, and no LACP suspend-individual on the control and data plane switch ports.
Sample Nexus 9k port-channel configuration is as follows: interface port-channel30 description compute-server-hp-1 control and data plane switchport mode trunk switchport trunk native vlan 201 spanning-tree port type edge trunk mtu 9216 no lacp suspend-individual vpc 30
!
interface Ethernet1/30 description compute-server-hp-1 flexlom port 1 switchport mode trunk switchport trunk native vlan 201
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
105
Installing Cisco VIM
Intel NIC Support mtu 9216 channel-group 30 mode active
Once the physical connection to the top-of-rack switches and the switch ports' configuration have been completed, enable/add the following additional variables in the VIM's "setup_data.yaml" configuration file:
CISCO_VIC_INTEL_SRIOV: True
INTEL_SRIOV_VFS: 63
Remote Registry Credentials
REGISTRY_USERNAME: '<username>'
REGISTRY_PASSWORD: '<password>'
REGISTRY_EMAIL: '<[email protected]>'
Common CIMC Access Information for C-series POD
CIMC-COMMON: cimc_username: "admin" cimc_password: <"cisco123">
UCSM Common Access Information for B-series POD
UCSMCOMMON: ucsm_username: "admin" ucsm_password: <"cisco123"> ucsm_ip: <"a.b.c.d"> ucsm_resource_prefix: <"skull"> # max of 6 chars
ENABLE_UCSM_PLUGIN: <True> #optional; if True, Cisco-UCSM is used, if not defined, default is False
MRAID_CARD: <True or False>
ENABLE_QOS_POLICY: True or False # only allowed if ENABLE_UCSM_PLUGIN is True
ENABLE_QOS_FOR_PORT_PROFILE: <True or False>
Note When you use Cisco UCS Manager to enable QOS Policy, remember that in certain NFV solutions guest VM
(SRIOV) traffic must have heartbeat messages moving across the VMs at a higher priority. In this case the
UCS Manager plugin uses a predefined QOS policy name, created by the installer, to attach to the port profile.
Cisco VIM does not change the QOS flags that UCS Manager provides by default. You can configure two types of QOS profiles: nfvi (default) or media. For NFV, VM heartbeat messages have a higher priority. For media, multicast traffic is prioritized on the tenant/provider network over other types of traffic such as SSH and HTTP. The QOS policy with UCS Manager is an optional feature. By default this feature is not enabled.
Configure Cobbler
## Cobbler specific information.
## kickstart: static values as listed below
## cobbler_username: cobbler #username to access cobbler server; static value of Cobbler; not user configurable
## admin_username: root # static value of root; not user configurable
## admin_ssh_keys: This is a generated key which is put on the hosts.
## This is needed for the next install step, using Ansible.
COBBLER: pxe_timeout: 45 and max of 120, defaults to 45 mins
# Optional parameter (in minutes); min of 30 cobbler_username: cobbler # cobbler UI user; currently statically mapped to cobbler; not user configurable admin_username: root not user configurable
# cobbler admin user; currently statically mapped to root;
#admin_password_hash has be the output from:
# python -c "import crypt; print crypt.crypt('<plaintext password>')"
106
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Intel NIC Support admin_password_hash: <Please generate the admin pwd hash using the step above; verify the output starts with $6> admin_ssh_keys: # Optional parameter
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAoMrVHLwpDJX8j2DiE55WtJ5NWdiryP5+FjvPEZcjLdtdWaWA7W dP6EBaeskmyyU9B8ZJr1uClIN/sT6yD3gw6IkQ73Y6bl1kZxu/ZlcUUSNY4RVjSAz52/oLKs6n3wqKnn
7rQuLGEZDvXnyLbqMoxHdc4PDFWiGXdlg5DIVGigO9KUncPK cisco@cisco-server kickstart: # not user configurable control: ucs-b-and-c-series.ks
compute: ucs-b-and-c-series.ks
block_storage: ucs-b-and-c-series.ks
Configure Network
NETWORKING: domain_name: domain.example.com
#max of 4 NTP servers ntp_servers:
- <1.ntp.example.com>
- <2.ntp.example2.com > or ntp_servers: ['2001:c5c0:1234:5678:1002::1', 15.0.0.254] <== support for IPv6 address
#max of 3 DNS servers domain_name_servers:
- <a.b.c.d> or domain_name_servers: ['2001:c5c0:1234:5678:1002::5', 15.0.0.1] <== support for IPv6 address http_proxy_server: <a.b.c.d:port> # optional, needed if install is through internet, and the pod is behind a proxy https_proxy_server: <a.b.c.d:port> # optional, needed if install is through internet, and the pod is behind a proxy admin_source_networks: # optional, host based firewall to white list admin's source IP
- 10.0.0.0/8
- 172.16.0.0/12
Note External access to the management node is made through the IP address configured on the br_api interface.
To provide additional security for this connection, the optional admin_source_networks parameter is provided.
When specified, access to administrator services is only allowed from the IP addresses specified on this list.
Use this setting with care, since a misconfiguration can lock out an administrator from accessing the management node through the network. Recovery can be made by logging in through the console and reconfiguring this setting.
Define Network Segments networks:
- # CIMC network section is applicable only for B-series vlan_id: <107> subnet: <10.30.115.192/28> # true routable network gateway: <10.30.115.193> pool:
- 10.30.115.194 to 10.30.115.206
segments:
- cimc vlan_id: <108> subnet: <10.30.116.192/28> # true routable network gateway: <10.30.116.193> ipv6_gateway: 2001:c5c0:1234:5678:1003::1 enabled ipv6_subnet: 2001:c5c0:1234:5678:1003::/80
<== require if IPv6 OpenStack public API is
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
107
Installing Cisco VIM
Intel NIC Support segments:
- api
vlan_id: 3000 subnet: 13.13.1.0/24 gateway: 13.13.1.1
pool:
# specify the pool range in form of <start_ip> to <end_ip>, IPs without the "to"
# is treated as an individual IP and is used for configuring
- 13.13.1.11 to 13.13.1.200
# optional, required if managemen_ipv6 is defined at server level ipv6_gateway: 2001:c5c0:1234:5678:1002::1 ipv6_subnet: 2001:c5c0:1234:5678:1002::/80 ipv6_pool: ['2001:c5c0:1234:5678:1002::11 to 2001:c5c0:1234:5678:1002::20'] segments: #management and provisioning is always be the same
- management
- provision
# OVS-VLAN requires VLAN-id as "None"
# LinuxBridge-VXLAN requires valid VLAN-id
vlan_id: <vlan_id or None> subnet: 14.13.1.0/24 gateway: 14.13.1.1
pool:
- 14.13.1.11 to 14.13.1.254
segments:
- tenant
vlan_id: 3005 subnet: 15.13.1.0/24 gateway: 15.13.1.1
pool:
- 15.13.1.11 to 15.13.1.254
segments:
- storage
# optional network "external"
vlan_id: <108> segments:
- external
# optional network "provider"; None for C-series, vlan range for B-series
vlan_id: "<None or 3200-3210>" segments:
- provider
Define Server Roles
In the Roles section, add the hostname of the servers and their corresponding roles. In the case of micro-pod, specify the same server names under control, compute, and ceph. Also, the number of servers under each role has to be three for micro-pod. One can optionally expand the micro-pod, to include additional computes. In the case of HC (Hyperconverged deployment), all storage nodes acts as compute nodes, but not vice-versa.
ROLES: -> for PODTYPE: fullon control:
- Your-Controller-Server-1-HostName
- Your-Controller-Server-2-HostName
- Your-Controller-Server-3-HostName
108
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM compute:
- Your-Compute-Server-1-HostName
- Your-Compute-Server-2-HostName
- ……
- Your-Compute-Server-n-HostName block_storage:
- Your-Ceph-Server-1-HostName
- Your-Ceph-Server-2-HostName
- Your-Ceph-Server-3-HostName object_storage: networker:
ROLES: -> for PODTYPE: micro control:
- Your-Server-1-HostName
- Your-Server-2-HostName
- Your-Server-3-HostName compute:
- Your-Server-1-HostName
- Your-Server-2-HostName
- Your-Server-3-HostName
- Your-Server-4-HostName (optional expansion of computes)
- Your-Server-5-HostName (optional expansion of computes) block_storage:
- Your-Server-1-HostName
- Your-Server-2-HostName
- Your-Server-3-HostName object_storage: networker:
ROLES: -> for PODTYPE: UMHC control:
- Your-Controller-Server-1-HostName
- Your-Controller-Server-2-HostName
- Your-Controller-Server-3-HostName compute:
- Your-Compute-Server-1-HostName
- Your-Compute-Server-2-HostName
- Your_HC_Server-1_HostName
- Your_HC_Server-2_HostName
- Your_HC_Server-3_HostName block_storage:
- Your_HC_Server-1_HostName
- Your_HC_Server-2_HostName
- Your_HC_Server-3_HostName object_storage: networker:
# Server common
# Provide the username (default: root)
SERVER_COMMON: server_username: root
Intel NIC Support
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
109
Installing Cisco VIM
Intel NIC Support
Note The maximum length of non-FQDN hostname is 32 characters. In this example, the length of
Your-Controller-Server-1-HostName hostname is 33 characters. So, change the hostname length to 32 or less characters in both the ROLES and SERVERS section. The maximum length including the FQDN is 64 characters, where the hostname can only have characters that are in any combination of “A-Za-z0-9-.”, and the TLD is not all numeric.
Cisco VIM introduces a new topology type called micro-pod to address solutions that have requirements of high availability, but with limited compute and storage needs. In this deployment model,the control, compute, and storage services reside on each of the three nodes that constitute the pod. Starting Cisco VIM 2.2, we support the expansion of the micro-pod to accommodate more number of compute nodes. Each cloud application can decide the type of pod needed based on their resource (mem, storage consumption) requirements. In Cisco
VIM Release 2.4, the micro-pod option supports only OVS/VLAN or VPP/VLAN with Cisco-VIC or Intel
710 NICon a specific BOM. Also, ACI/VLAN is supported on micro-pod with Cisco-VIC.
To enable the micro-pod option, update the setup_data as follows:
PODTYPE: micro
In the same vein, if customers want to converge compute and storage nodes together, in Cisco VIM Release2.2
and higher releases, the hyper-convergence (UMHC) option is supported as well. The UMHC option supports only OVS/VLANwith a combination of Cisco-VIC and Intel 520 NIC on a specific BOM.
To enable the hyper convergence (UMHC) option, update the setup_data as follows:
PODTYPE: UMHC
Define Servers - C-Series Pod Example
Note The UCS C-Series maximum host name length is 32 characters.
SERVERS:
Your_Controller_Server-1_HostName: cimc_info: {'cimc_ip': '172.22.191.36'} rack_info: {'rack_id': 'RackA'}
#hardware_info: {'VIC_slot': '7'} # optional; only needed if vNICs need to be created on a specific slot, e.g. slot 7
#management_ip: <static_ip from management pool> #optional, if defined for one server, has to be defined for all nodes
#management_ipv6: 2001:c5c0:1234:5678:1002::12
IPv6 addressing
<== optional, allow manual static
#cimc username, password at a server level is only needed if it is different from the one defined in the CIMC-COMMON section
Your_Controller_Server-2_HostName: cimc_info: {'cimc_ip': '172.22.191.37', 'cimc_username': 'admin','cimc_password': 'abc123'} rack_info: {'rack_id': 'RackB'}
Your_Controller_Server-3_HostName: cimc_info: {'cimc_ip': '172.22.191.38'} rack_info: {'rack_id': 'RackC'} hardware_info: {'VIC_slot': '7'} # optional only if the user wants a specific VNIC to be chosen
Your_Storage_or_Compute-1_HostName: cimc_info: {'cimc_ip': '172.22.191.40'} rack_info: {'rack_id': 'RackA'}
110
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Intel NIC Support hardware_info: {'VIC_slot': '3'} # optional only if the user wants a specific VNIC to be chosen
.. .. similarly add more computes and 3 storage info
Note Cisco VIM installation requires that controller node Rack IDs be unique. The intent it to indicates the physical rack location so that physical redundancy is provided within the controllers. If controller nodes are installed all in the same rack, you must assign a unique rack ID to prepare for future Cisco NFVI releases that include rack redundancy. However, compute and storage nodes does not have rack ID restrictions.
Define Servers - B-Series Pod Example
Note For UCS B-Series servers, the maximum host name length is 16 characters.
SERVERS:
Your_Controller_Server-1_HostName: rack_info: {'rack_id': 'rack2'} ucsm_info: {'server_type': 'blade',
'chassis_id': 1,
'blade_id' : 1}
Your_Controller_Server-2_HostName: rack_info: {'rack_id': 'rack3'} ucsm_info: {'server_type': 'blade',
'chassis_id': 2,
'blade_id' : 1}
Your_Controller_Server-3_HostName: rack_info: {'rack_id': 'rack4'} ucsm_info: {'server_type': 'blade',
'chassis_id': 2,
'blade_id' : 4}
#management_ip: <static_ip from management pool> #optional, if defined for one server, has to be defined for all nodes
Your_Compute-1_HostName: rack_info: {'rack_id': 'rack2'} ucsm_info: {'server_type': 'blade',
'chassis_id': 2,
'blade_id' : 2}
.. add more computes as needed
Your_Storage-1_HostName: rack_info: {'rack_id': 'rack2'} ucsm_info: {'server_type': 'rack',
'rack-unit_id': 1}
Your_Storage-2_HostName: rack_info: {'rack_id': 'rack3'} ucsm_info: {'server_type': 'rack',
'rack-unit_id': 2}
Your_Storage-3_HostName: rack_info: {'rack_id': 'rack4'} ucsm_info: {'server_type': 'rack',
'rack-unit_id': 3}
# max # of chassis id: 24
# max # of blade id: 8
#max # of rack-unit_id: 96
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
111
Installing Cisco VIM
Setting Up Cisco VIM OpenStack Configurations
Note Cisco VIM requires that controller Rack IDs be unique to indicate the physical rack location and provide physical redundancy for controllers. If your controllers are all in the same rack, you must still assign a unique rack ID to controllers to provide for future rack redundancy. Compute and storage nodes have no Rack ID restrictions.
Multiple VLAN Trunking with SRIOV using UCSM for UCS B-Series Pods
Some NFV solutions require the guest VM single root I/O virtualization (SRIOV) to send and receive VLAN tagged packets. Because the UCSM plugin in Cisco VIM creates the SR-IOV ports and attaches them to the guest VM, the port must be brought up in trunk mode. To support this, special network names are provided to the UCSM plugin at initialization. Each network supports a different set of application VLANs, which are included in the Cisco VIM configuration. When the port profile is created in UCSM, it checks to see if the port is created on one of the special neutron networks. If so, it adds the VLANs provided in the setup_data.yaml
to the UCSM port profile. In effect, this allows the VM-FEX port to trunk all of the VLANs. A typical configuration example in setup_data is shown below. This is an optional feature which, by default, is not enabled. If it is not enabled, the section shown below is absent. SRIOV with Multi-VLAN trunking is only available in the UCS B-Series pod enabled with UCSM plugin.
SRIOV_MULTIVLAN_TRUNK:
- network_name1: 124, 2:3,9:13
- network_name2: 4, 5:7, 8
#all the vlans listed are unique in the entire setup_data.yaml
Setting Up Cisco VIM OpenStack Configurations
The following sections provide examples of Cisco VIM OpenStack configurations in the setup_data.yaml
file.
OpenStack Admin Credentials
ADMIN_USER: <admin>
ADMIN_TENANT_NAME: <admin tenant>
OpenStack HAProxy and Virtual Router Redundancy Protocol Configuration external_lb_vip_address: An externally routable ip address in API nework
VIRTUAL_ROUTER_ID: vrrp_router_id #eg: 49 (range of 1-255) internal_lb_vip_address: <Internal IP address on mgmt network>
OpenStack DNS Name Configuration
For web and REST interfaces, names are commonly used instead of IP addresses. You can set the optional external_lb_vip_fqdn parameter to assign a name that resolves to the external_lb_vip_address. You must configure the services to ensure the name and address match. Resolution can be made through DNS and the
Linux /etc/hosts files, or through other options supported on your hosts. The Cisco VIM installer adds an entry to /etc/hosts on the management and other Cisco NFVI nodes to ensure that this resolution can be made from within the pod. You must ensure the resolution can be made from any desired host outside the pod.
external_lb_vip_fqdn: host or DNS name matching external_lb_vip_address
OpenStack TLS and HTTPS Configuration
Enabling TLS is important to ensure the Cisco VIM network is secure. TLS encrypts and authenticates communication to the cloud endpoints. When TLS is enabled, two additional pieces of information must be provided to the installer: haproxy.pem and haproxy-ca-crt. These must be placed in the
~/installer-xxxx/openstack-configs directory.
112
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Setting Up Cisco VIM OpenStack Configurations haproxy.pem is the server side certificate file in PEM format. It must include the server certificate, any intermediate certificates, and the private key for the server. The common name of the certificate must match the external_lb_vip_address and/or the external_lb_vip_fqdn as configured in the setup_data.yaml file.
haproxy-ca.crt is the certificate of the trusted certificate authority that signed the server side.
For production clouds, these certificates is be provided by a trusted third party CA according to your company
IT policy. For test or evaluation clouds, self-signed certificates can be used quickly enable TLS. For convenience, the installer includes a script that creates and install self-signed certificates
Note Do not use the certificates generated by this tool for production. They are for test purposes only.
To use this tool, make the following changes to the setup data file, then run the tool: external_lb_vip_address: <IP address on external network> external_lb_vip_tls: True external_lb_vip_fqdn: host or DNS name matching external_lb_vip_address (if FQDN is needed)
To run the tool, from the /working_dir/ directory, execute ./tools/tls_cert_gen.sh -f openstack-configs/setup_data.yaml.
OpenStack Glance Configuration with Dedicated Ceph/Netapp
For OpenStack Glance, the OpenStack image service, the dedicated Ceph object storage configuration is show below. Do not change it. The Ceph and Glance keys are generated during the Ceph installation step, so you do not need to specify the keys in setup_data.yaml file.
STORE_BACKEND: ceph/netapp #supported as ‘ceph’ for ceph backend store;and netapp for netapp backend
CEPH Placement Group Info (Optional)
If you need to change the default percentages for placement group calculation use this section they indicate amount of data you expect in cinder/glance/nova. For NOVA_BOOT_FROM local give values for cinder and glance. For NOVA_BOOT_FROM ceph also fill nova_percentage_data for ephemeral data. All Percentages need to add up to 100. If no information is provided, the code defaults to 60% cinder and 40% glance for
NOVA_BOOT_FROM local. Similarly, if no information is provided the code defaults to 40% cinder, 30% glance and 30% nova ephemeral for NOVA_BOOT_FROM ceph. One cannot be changed these values after deployment via update or reconfigure.
# For NOVA_BOOT_FROM local
# CEPH_PG_INFO: {cinder_percentage_data: x, glance_percentage_data: y}
# where x and y are integers and must add up to 100
# For NOVA_BOOT_FROM Ceph
# CEPH_PG_INFO: {cinder_percentage_data: x, glance_percentage_data: y, nova_percentage_data: z}
# where x, y and z are integers and must add up to 100
OpenStack Glance Configuration
STORE_BACKEND: <set to ‘file’ for local filesystem store>
OpenStack Cinder Configuration with Dedicated Ceph/Netapp
For OpenStack Cinder, the OpenStack storage service, the dedicated Ceph object storage configuration is show below. Do not change it. The Ceph and Cinder keys are generated during the Ceph installation step, so you do not need to specify the keys in setup_data.yaml file. Use the vgs command to check your volume groups available on your controller nodes. The controller nodes run the Cinder volume containers and hold
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
113
Installing Cisco VIM
Setting Up Cisco VIM OpenStack Configurations the volume groups for use by Cinder. If you have available disks and want to create a new volume group for
Cinder use the vgcreate command.
VOLUME_DRIVER: ceph/netapp
OpenStack Nova Configuration
To reduce the boot time, the NOVA_BOOT_FROM parameter is set to local for Cisco VIM in the OpenStack
Newton release. While this reduces the boot time, it does not provide Ceph back end redundancy. To overwrite it, you can set NOVA_BOOT_FROM to ceph . This only applies to when the backend is ceph. For Netapp, no entry for this parameter is allowed..
# Nova boot from CEPH
NOVA_BOOT_FROM: <ceph> #optional
OpenStack Neutron Configuration
OpenStack Neutron configuration is shown below.
# ML2 Conf – choose from either option 1 or option 2
# option 1: LinuxBridge-VXLAN
MECHANISM_DRIVERS: linuxbridge
TENANT_NETWORK_TYPES: "VXLAN"
Or
## option 2: OVS VLAN
MECHANISM_DRIVERS: openvswitch
TENANT_NETWORK_TYPES: "VLAN"
# VLAN ranges can be one continuous range or comma separated discontinuous ranges
TENANT_VLAN_RANGES: 3001:3100,3350:3400
# Jumbo MTU functionality. Only in B series, OVS-VLAN
# more info here [Mercury] Jumbo MTU feature in Mercury (B Series)
# ENABLE_JUMBO_FRAMES: True
# for Provider networks, just specifying the provider in the segments under
# the NETWORKING section is enough.
# Note : use phys_prov as physical_network name when creating a provider network
Note When creating an external or provider network, use physical_network=phys_ext (need to be specified) or physical_network=phys_prov (need to be specified), respectively.
The JUMBO_MTU functionality is available only for OVS over VLAN in a UCS B-Series pod. In a VLAN setup, by default the MTU size is set to 1500 (1450 for VXLAN) and 8972 bytes. When JUMBO_MTU is enabled (with 28 bytes left for the header), the VLAN MTU is 9000 and VXLAN is 8950.
Cisco VIM also supports the installation of a handful of optional services, namely, Keystone v3 and Heat.
OpenStack Heat, an orchestration service that allows you to spin up multiple instances, logical networks, and other cloud services in an automated fashion. To enable Heat, add the following in the setup_data.yaml.
# Optional Services:
OPTIONAL_SERVICE_LIST:
- heat
To disable Heat, remove the Optional Services section from the setup_data.yaml file. The Optional Services support provides an infrastructure to support additional services in the future.
Note Auto-scaling is not supported in Cisco VIM, release 2.2 and later releases.
114
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Setting Up Cisco VIM OpenStack Configurations
To continue enhancing the security portfolio, and multi-tenancy with the use of domains, Keystone v3 support has been added in Cisco VIM from an authentication end-point. It is be noted that Keystone v2 and Keystone v3 are mutually exclusive; that is the administrator has to decide during installation: the authentication end-point version is be Keystone v2 or Keystone v3 . By default, VIM orchestrator picks keystone v2 as the authentication end-point.
To enable Keystone v3, you need to define the following under the optional services section.
# Optional Services:
OPTIONAL_SERVICE_LIST:
- keystonev3
LDAP support with Keystone v3
With the introduction of Keystone v3, the OpenStack service authentication can now be delegated to an external LDAP server. In Cisco VIM, this feature has been introduced optionally if the authorization is done by Keystone v3.
An important pre-requisite for enabling LDAP integration is that the LDAP endpoint has to be reachable from all the Controller nodes that run OpenStack Keystone Identity Service.
To benefit LDAP support with Keystone v3 feature, the setup_data needs to be augmented with the following information during the installation of the pod.
LDAP: domain: <Domain specific name> user_objectclass: <objectClass for Users> # e.g organizationalPerson group_objectclass: <objectClass for Groups> # e.g. groupOfNames user_tree_dn: '<DN tree for Users>' # e.g. 'ou=Users,dc=cisco,dc=com' group_tree_dn: '<DN tree for Groups>' # e.g. 'ou=Groups,dc=cisco,dc=com' suffix: '<suffix for DN>' # e.g. 'dc=cisco,dc=com' url: '<ldap:// host:port>' # e.g. 'ldap://172.26.233.104:389' user: '<DN of bind user>' # e.g. 'dc=admin,dc=cisco,dc=com' password: <password> # e.g. password of bind user
Note The values for the parameters may differ based on the Directory Service provider. For Example: OpenLDAP or Microsoft Active Directory.
Integrating identity with LDAP over TLS: The automation supports keystone integration with LDAP over
TLS. In order to enable TLS, the CA root certificate must be presented as part of the
/root/openstack-configs/haproxy-ca.crt file. The url parameter within the LDAP stanza must be set to ldaps .
url parameter supports the following formats url: '<ldaps | ldap>://<FQDN | IP-Address>:[port]’
The protocol can be ldap for non-ssl OR ldaps if TLS is to be enabled
The ldap host can be a fully-qualified domain name (FQDN) or an IP Address depending on how the SSL certificates are generated.
The port number is optional and if it is not provided it is assumed that the ldap services are running on the default ports For Example:389 for non-ssl and 636 for ssl. However, if these ports are not the default ports, then the non-standard port numbers must be provided.
OpenStack Object Storage integration with Cisco VIM
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
115
Installing Cisco VIM
Setting Up Cisco VIM OpenStack Configurations
Cisco VIM supports automated integration with a customer-managed object storage solution. The integration points reside primarily in the OpenStack Identity (Keystone) component of Cisco VIM. In the current release, this integration is restricted to Keystone v2 only. It currently integrates with SwiftStack as the choice of object storage solution. The deployment assumes a customer-managed SwiftStack solution. Installation of the
SwiftStack Controller/PACO cluster is out of scope of this document and customer has to reach out to the
SwiftStack team for license and installation details. While OpenStack can support multiple endpoints for a given object-store service, the current setup in the context of automation supports a single Keystone object-store service per SwiftStack PACO cluster endpoint.
The current automation uses the admin role for authentication and authorization of SwiftStack users between the Keystone SwiftStack tenant and SwiftStack account.
Pre-requisites
Since it is a customer-managed deployment model, the minimum pre-requisite is to have a SwiftStack controller,
Cluster deployed with appropriate PAC (Proxy/Account/Container) and Object configured ahead of time. The swift endpoint of the PAC outward facing ip address, the corresponding admin user, password and service tenant information is known at the time of configuring Keystone integration. The networking has to be configured in such a way that the PAC outward facing ip address and the POD API network can talk to each other. Also the Keystone Auth and Keystone Auth Token middleware are pre-configure in SwiftStack (see the steps in subsequent section).
In order for Horizon and Cinder Backup Service to talk to the SwiftStack endpoints, it is necessary for the
OpenStack controllers to have network reachability to the SwiftStack API endpoints.
Keystone Configuration Requirements in SwiftStack
Configuring Keystone Authorization: From the SwiftStack controller, select the Cluster> Manage >
Middleware > Keystone Auth option.
Note reseller_prefix enables the Keystone Auth middleware invocation at the time of authentication.
Figure 31: Configuring Keystone
Configuring Keystone Auth Token Support: From the SwiftStack controller, select the Cluster > Manage
> Middleware > Keystone Auth Token Support option.
116
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Note auth_uri is deprecated
Figure 32: Keystone Auth
Setting Up Cisco VIM OpenStack Configurations
Usage in Cisco VIM
In order to support SwiftStack endpoint configuration, the following section needs to be configured in setup_data.yaml.
##########################################
# Optional Swift configuration section
##########################################
# SWIFTSTACK: # Identifies the objectstore provider by name
# cluster_api_endpoint: <IP address of PAC (proxy-account-container) endpoint>
# reseller_prefix: <Reseller_prefix configured in Swiftstack Keystone middleware E.g KEY_>
# admin_user: <admin user for swift to authenticate in keystone>
# admin_password: <swiftstack_admin_password>
# admin_tenant: <The service tenant corresponding to the Account-Container used by
Swiftstack>
# protocol: <http or https> # protocol that swiftstack is running on top
The automation supports two modes of Integration with SwiftStack- Integration during fresh install of the pod and a reconfigure option to add a SwiftStack endpoint to an existing Pod running CiscoVIM 2.0.
In the Fresh Install mode, adding the setup_data.yaml is automatically provision the following in Keystone.
• Keystone service for Object Store.
• Keystone endpoints for the Object Store service.
• A SwiftStack admin user with admin role in a SwiftStack tenant.
Integration Testing: In order to test if the Keystone integration has been successful, request a token for the configured swift user, tenant
Output must contain a properly generated endpoint for the object-store service that points to the SwiftStack
PAC cluster endpoint with the expected "reseller_prefix" For example: KEY_
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
117
Installing Cisco VIM
Setting Up Cisco VIM OpenStack Configurations curl -d '{"auth":{"passwordCredentials":{"username": "<username>", "password":
"<password>"},"tenantName":"<swift-tenant>"}}' -H "Content-type: application/json" < OS_AUTH_URL
>/tokens
Output has to list endpoints generated by Keystone for the object-store cluster endpoint of SwiftStack for the user tenant (SwiftStack account).
Sample output snippet (all IP and Keys are just examples, they vary from Pod to Pod):
{
"access": {
"metadata": {
"is_admin": 0,
"roles": [
"33f4479e42eb43529ec14d3d744159e7"
]
},
"serviceCatalog": [
{
"endpoints": [
{
"adminURL": "http://10.30.116.252/v1",
"id": "3ca0f1fee75d4e2091c5a8e15138f78a",
"internalURL":
"http://10.30.116.252/v1/KEY_8cc56cbe99ae40b7b1eaeabb7984c77d",
"publicURL":
"http://10.30.116.252/v1/KEY_8cc56cbe99ae40b7b1eaeabb7984c77d",
"region": "RegionOne"
}
],
"endpoints_links": [],
"name": "object-store",
"type": "object-store"
},
......
Verify that the Keystone user has access to the SwiftStack cluster. Using the token generated preceding for the swiftstack user and tenant, make a request to the SwiftStack cluster curl -v -H "x-auth-token: <auth-token>" http://10.30.116.252/v1/KEY_8cc56cbe99ae40b7b1eaeabb7984c77d
This lists all the containers (if present) for the SwiftStack tenant (account)
Integrating SwiftStack over TLS: The automation supports SwiftStack integration over TLS. To enable
TLS, the CA root certificate must be presented as part of the /root/openstack-configs/haproxy-ca.crt file. The protocol parameter within the SWIFTSTACK stanza must be set to https.
As a pre-requisite, the SwiftStack cluster has to be configured to enable HTTPS connections for the SwiftStack APIs with termination at the proxy servers.
Cinder Volume Backup on SwiftStack
Cisco VIM, enables cinder service to be configured to backup its block storage volumes to the SwiftStack object store. Cinder Volume Backup on SwiftStack feature is automatically configured if the SWIFTSTACK stanza is present in the setup_data.yaml. The mechanism to authenticate against SwiftStack during volume backups leverages the same keystone SwiftStack endpoint configured for use to manage objects. The default
SwiftStack container to manage cinder volumes within the Account (Keystone Tenant as specified by
"admin_tenant") is currently defaulted to volumebackups .
Once configured, cinder backup service is automatically be enabled as follows.
cinder service-list
+------------------+----------------+------+---------+-------+----------------------------+-----------------+
118
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Setting Up Cisco VIM OpenStack Configurations
| Binary
| Disabled Reason
| Host
|
| Zone | Status | State | Updated_at
+------------------+----------------+------+---------+-------+----------------------------+-----------------+
| cinder-backup | c43b-control-1 | nova | enabled | up | 2017-03-27T18:42:29.000000
| -
| cinder-backup
| -
| cinder-backup
| -
|
|
|
| c43b-control-2 | nova | enabled | up
| c43b-control-3 | nova | enabled | up
| 2017-03-27T18:42:35.000000
| 2017-03-27T18:42:33.000000
| cinder-scheduler | c43b-control-1 | nova | enabled | up
| |
| cinder-scheduler | c43b-control-2 | nova | enabled | up
| |
| cinder-scheduler | c43b-control-3 | nova | enabled | up
| -
| cinder-volume
| -
| cinder-volume
| -
|
|
|
| c43b-control-1 | nova | enabled | up
| c43b-control-2 | nova | enabled | up
| 2017-03-27T18:42:32.000000
| 2017-03-27T18:42:32.000000
| 2017-03-27T18:42:31.000000
| 2017-03-27T18:42:35.000000
| 2017-03-27T18:42:30.000000
| cinder-volume
| |
| c43b-control-3 | nova | enabled | up | 2017-03-27T18:42:32.000000
+------------------+----------------+------+---------+-------+----------------------------+-----------------+
Backing up of an existing cinder volume is as follows openstack volume list
+--------------------------------------+--------------+-----------+------+-------------+
| ID | Display Name | Status | Size | Attached to |
+--------------------------------------+--------------+-----------+------+-------------+
| f046ed43-7f5e-49df-bc5d-66de6822d48d | ss-vol-1 | available | 1 | |
+--------------------------------------+--------------+-----------+------+-------------+ openstack volume backup create f046ed43-7f5e-49df-bc5d-66de6822d48d
+-------+--------------------------------------+
| Field | Value |
+-------+--------------------------------------+
| id | 42a20bd1-4019-4571-a2c0-06b0cd6a56fc |
| name | None |
+-------+--------------------------------------+ openstack container show volumebackups
+--------------+--------------------------------------+
| Field | Value |
+--------------+--------------------------------------+
| account | KEY_9d00fa19a8864db1a5e609772a008e94 |
| bytes_used | 3443944
| container | volumebackups
| object_count | 23 |
+--------------+--------------------------------------+
|
| swift list volumebackups volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00001 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00002 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00003 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00004 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00005 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00006 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00007 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00008 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00009 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00010 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00011 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00012 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00013
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
119
Installing Cisco VIM
Cisco VIM Configurations for VPP/VLAN Installation volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00014 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00015 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00016 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00017 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00018 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00019 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00020 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc-00021 volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc_metadata volume_f046ed43-7f5e-49df-bc5d-66de6822d48d/20170327185518/az_nova_backup_42a20bd1-4019-4571-a2c0-06b0cd6a56fc_sha256file
Cisco VIM Configurations for VPP/VLAN Installation
If you are installing Cisco VIM with VPP/VLAN, the mechanism driver in the setup_yaml file should reflect the same.
Cisco VPP/VLAN Mechanism Driver Configuration
MECHANISM_DRIVERS: vpp
TENANT_NETWORK_TYPES: "VLAN"
TENANT_VLAN_RANGES: <START>:<END>
NFV_HOSTS: ALL
# arbitrary VLAN range***
Cisco VIM Configurations for Cisco VTS Installation
If you are installing Cisco VIM with Cisco Virtual Topology Systems, you must enter the Cisco VTS parameters in Cisco VIM setup_yaml file.
Cisco VTS Mechanism Driver Configuration
MECHANISM_DRIVERS: vts
TENANT_NETWORK_TYPES: "VLAN"
TENANT_VLAN_RANGES: <START>:<END> # arbitrary VLAN range***
ENABLE_JUMBO_FRAMES: True
Note VLAN range overlap on the physical network could occur if a hardware VTEP is configured on a top of rack
(ToR) switch. (VTEPs are Virtual Extensible Local Area Network (VXLAN) tunnel end points.)
NFV Parameters
NFV_HOSTS: ALL
# Only enabled when NFV_HOSTS has an info
#########################################
## Only 2 Values allowed is: 2M or 1G
#VM_HUGEPAGE_SIZE: 2M or 1G
## Percentagae of huge pages assigned to VM
## On NFV_HOSTS enabled hosts, VM memory can be a mix of regular pages and huge
## pages. This setting sets the ratio. By default, all VM memories (100%)
## has huge pages.
## Only input of type integer is allowed, in the range of 0-100 (including 0 and 100)
#VM_HUGEPAGE_PERCENTAGE: 100
Networking Parameters
120
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Enabling ACI in Cisco VIM
NETWORKING:
...
networks:
...
vlan_id: <VLAN to carry VTS tenant traffic> subnet: <subnet IP cidr> gateway: <tenant GW IP> pool:
- "<begin tenant IP> to <end tenant IP>" segments:
- tenant
# required for VTS
# ***
Note The tenant network pool size has to take into account the IP addresses that are statically assigned through the
VTS VTSR VM bootstrap configuration. For more information, see the
Installing Cisco VTS, on page 65
Cisco VTS Parameters
VTS_PARAMETERS:
VTS_USERNAME: 'admin'
VTS_PASSWORD: <VTC UI password>
# Required to be 'admin'
VTS_NCS_IP: <VTC mx-net IP> range)
# VTC mx-net VIP for VTC HA (cannot be in mx-net pool
VTC_SSH_USERNAME: '<vtc_ssh_username>' # Required parameter when VTS Day0 is enabled or running NFVbench and/or VMTP
VTC_SSH_PASSWORD: '<vtc_ssh_password>' # Required parameter when VTS Day0 is enabled or running NFVbench and/or VMTP
VTS_Day0_PARAMETERS:
VTS_2.5 mandates the VTC inventory generation and day0 configuration for VTF's tp register.
without VTS_DAY0 the cloud is not operational as VTF does not register to VTC. Hence all cloud operations fail
This is a boolean variable set as True or False. If set True, VTC day0 can be configured by the CiscoVIM Installer
By default values is 'False', i.e. if VTS_DAY0 is not set, the orchestrator sets itto internall to 'False'
VTS_DAY0: '<True|False>'
## Optional, BGP_ASN:
BGP_ASN: int # Optional, min=1, max=65535; if it is not defined, the default to 23
Note The mx-net IP pool configuration must take into account the IP addresses that are allocated to the VTC
(VTS_NCS_IP). For more information, see the
Installing Cisco VTS, on page 65
Enabling ACI in Cisco VIM
Cisco VIM integrates the Opflex ML2 plugin (in Unified mode) to manage the tenant VLANs dynamically, as VMs come and go in the cloud. In addition, Cisco VIM supports the administrator driven automated workflow to provison the provider networks. In Cisco VIM, this is supported on a C-series based Fullon or micropod running with Cisco VIC 1227. Where as in Cisco VIM 2.4, we have further extended the support to include the C-series based Fullon BOM with Intel NIC 710 for ACI.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
121
Installing Cisco VIM
Enabling ACI in Cisco VIM
VIM orchestrator configures the day-0 aspects of the ACI fabric, along with the Opflex ML2 plugin integration.
The only exception is the manual configuration of L3 out.
Before you begin
As Cisco VIM does the day-0 configuration of the ACI, following are the assumptions that VIM makes for the integration to happen.
• Before the VIM installation the APIC 3.0 controllers running in a cluster of three should be installed and active.
• All spine and leaf switches are booted in ACI mode and discovered under Fabric Inventory. The number of leaf switches cannot be changed after the initial install.
The IP address should be assigned to each device from the TEP_ADDRESS_POOL.
• Network should be designed such that the management node and controllers are reachable to APIC controllers.
• ACIINFRA a new networking segment is introduced for ACI policy management; ACIINFRA segment should not overlap with the VLANID across the infrastructure
• Tunnel end point address pool (TEP_ADDRESS_POOL) is set to ACI default at 10.0.0.0/16; care should be taken not to assign this address space anywhere else in the cloud.
• Multicast address pool is set to ACI default at 225.0.0.0/15; care should be taken not to assign this address space anywhere else in the cloud.
• ACIINFRA VLANID, the TEP_ADDRESS_POOL, and the multicast address pool are immutable for the lifecycle of the infrastructure.
• Pre-provision of L3 out API network is done before the VIM install as listed:
• Create installer tenant and VRF and provide the name of it in setup_data
• Create L3out routed outside object and provide its name in the setup_data
• Ensure, that this api-l3out must be associated to the tenant VRF.
Note The L3-out object for OpenStack API network needs to be consistently named tha is Name of the L3 Outside object must be the same as the name provided for its corresponding External Network Instance Profile.
Example: if you provide api_l3out_network: api-l3out in setup_data, then your dn for the api network should resolve to something like the following: cvim-installer-tenant|uni/tn-cvim-installer-tenant/out-api-l3out/instP-api-l3out.
122
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Enabling ACI in Cisco VIM
Note By default optimised DHCP and optimised metadata services are deployed with ACI integration.
Note The plugin automation configures DHCP and Metadata agents in optimized mode. There is no option provided in setup_data to change that setting in the current implementation.
Run the following setup_data in the VIM to add a new APICINFO:
APICINFO: apic_hosts: '<ip1|host1>:[port], <ip2|host2>:[port], <ip3|host3>:[port]' # max of 3, min of 1, not 2; reconfigurable apic_username: # common across the 3; apic_password: apic_system_id:
# common across the 3;
# string max length of 8 apic_resource_prefix: string e.g. cvim-1 # max length of 6 apic_tep_address_pool: 10.0.0.0/16 # static today multicast_address_pool: 225.0.0.0/15 # static, today apic_pod_id: <int> #All(int, Range(min=1, max=65535)), apic_installer_tenant: # String, max length 32
# string (max length32) this is the VRF which is associated with the apic_installer_vrf: pre-provisioned API L3out api_l3out_network: # String, max length 32
# mgmt_l3out_network: # String, max length 32 (optional)
NOTE: mgmt_l3out_network and mgmt_l3out_vrf MUST coexist together if defined
# mgmt_l3out_vrf: # String, max length 32 (optional)
NOTE: mgmt_l3out_network and mgmt_l3out_vrf MUST coexist together if defined
As the APIC manages the Leaf switches, its mandatory to define the Leaf switches in the following format:
TORSWITCHINFO: (mandatory)
SWITCHDETAILS:
hostname: <leaf-hostname-1> vpc_peer_keepalive: <leaf-hostname-2> vpc_domain: 1 # Must be unique across pairs br_mgmt_port_info: 'eth1/27' # br_mgmt_* attributes must exist on at least one pair br_mgmt_vlan_info: '3401' node_id: <int> # unique across switches
hostname: <leaf-hostname-2> vpc_peer_keepalive: <leaf-hostname-1> vpc_domain: 1 br_mgmt_port_info: 'eth1/27' # br_mgmt_* attributes must exist on at least one pair br_mgmt_vlan_info: '3401' node_id: <int> # unique across switches
hostname: <leaf-hostname-3> vpc_peer_keepalive: <leaf-hostname-4> vpc_domain: 2 # Must be unique across pairs node_id: <int> # unique across switches
hostname: <leaf-hostname-4> vpc_peer_keepalive: <leaf-hostname-3> vpc_domain: 2 node_id: <int> # unique across switches
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
123
Installing Cisco VIM
Enabling ACI in Cisco VIM
hostname: <leaf-hostname-5> node_id: <int> # unique across switches br_mgmt_port_info: 'eth1/27, eth1/30' # br_mgmt_* attributes must exist on at least one pair, only if info is not in peer br_mgmt_vlan_info: '3401'
CVIM orchestrator does the day-0 configuration of the ACI.The SERVERS section of the setup_data needs to be augmented to include the server and the switch port associations as shown in the following steps: c32-control-1.cisco.com: cimc_info: {cimc_ip: 172.26.229.67} management_ip: 192.168.37.17
rack_info: {rack_id: RackC} tor_info: {<leaf-hostname-1>: eth1/15, <leaf-hostname-2>: eth1/15} c32-control-2.cisco.com: cimc_info: {cimc_ip: 172.26.229.68} management_ip: 192.168.37.18
rack_info: {rack_id: RackC} tor_info: {<leaf-hostname-1>: eth1/16, <leaf-hostname-2>: eth1/16} c32-control-3.cisco.com: cimc_info: {cimc_ip: 172.26.229.69} management_ip: 192.168.37.19
rack_info: {rack_id: RackC} tor_info: {<leaf-hostname-1>: eth1/17, <leaf-hostname-2>: eth1/17} c32-compute-1.cisco.com: cimc_info: {cimc_ip: 172.26.229.70} management_ip: 192.168.37.20
rack_info: {rack_id: RackC} tor_info: {<leaf-hostname-3>: eth1/18, <leaf-hostname-4>: eth1/18}
In the case of Intel 710 Based full on BOM the corresponding configuration will look as follows:
INTEL_NIC_SUPPORT: True
INTEL_SRIOV_VFS: 32 Only for SRIOV
…..
c32-control-1.cisco.com: cimc_info: {cimc_ip: 172.26.229.67} management_ip: 192.168.37.17 rack_info: {rack_id: RackC} tor_info: {<leaf-hostname-1>: eth1/15, <leaf-hostname-2>: eth1/15} dp_tor_info: {<leaf-hostname-1>: eth1/19, <leaf-hostname-2>: eth1/19}
…..
c32-compute-1.cisco.com: cimc_info: {cimc_ip: 172.26.229.70} management_ip: 192.168.37.20 rack_info: {rack_id: RackC} tor_info: {<leaf-hostname-3>: eth1/15, <leaf-hostname-4>: eth1/15} dp_tor_info: {<leaf-hostname-3>: eth1/16, <leaf-hostname-4>: eth1/16} sriov_tor_info: {<leaf-hostname-3>: eth1/17, <leaf-hostname-4>: eth1/17} on
Assuming SRIOV is turned
…..
c32-storage-1.cisco.com: cimc_info: {cimc_ip: 172.26.229.70} management_ip: 192.168.37.20 rack_info: {rack_id: RackC} tor_info: {<leaf-hostname-3>: eth1/25, <leaf-hostname-4>: eth1/25}
Addtionally the mechanism_driver needs to be “aci” and ACINFRA section needs to be defined in the networks section.
Note that SRIOV is not supported for ACI based installs.
MECHANISM_DRIVERS: aci TENANT_NETWORK_TYPES: "VLAN"
TENANT_VLAN_RANGES: <START>:<END> # arbitrary VLAN range*** NFV
Networking Parameters
NETWORKING: networks:
124
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Setting of Memory Oversubscription Usage
- segments: [aciinfra] vlan_id: user_defined_unique_vlan_id. This vlan should not overlap with any of the vlans defined in setup data; new item other segments same as OVS/VLAN.
Note Refer to the ACI documentation for usage of L3out external network that is consumed by VMTP below. Also, ensure that the L3 out routed configuration is provisioned in the ACI "common" tenant.
We support execution of VMTP for external network with ACI in place. For the VMTP the NET_NAME key for EXT_NET needs to match the name of the L3out for external network
VMTP_VALIDATION:
EXT_NET:
NET_NAME: <name of L3out for the external network>
Support for Provider Networks in ACI OpFlex plugin integration (3.0) does not currently support a fully automated workflow to provision Provider Networks in neutron. CVIM has provided a utility that will support provisioning neutron provider networks.
• After the installer has completed deployment, ensure that Fabric Access policies for the external link from the border leaf switches have been created manually. This is the link that will carry the L2 traffic between the external ToRs and the border leaf switches. These may be configured as desired (direct PC, PC or VPC). This is typically a one-time admin setup.
• Create a neutron network and subnet in the OpenStack tenant as usual. This is the provider subnet that will be carried through L2 into the fabric. Do not provide segmentation_id. Enable DHCP.
• Run the following command to provision the provider network in ACI: cd installer-<tagid>/tools
./apic_create_provider_net.py –netid <neutron-provider-net-id> --staticpath
<path-to-external-interface-on-borderleaf>
--segmentationid <vlan-id> --tenantid <openstack-tenant-id>
Setting of Memory Oversubscription Usage
Cloud allows you for over-subscription of resources (CPU, Memory, storage). The memory oversubscription value that is set to is 1.5. Cisco VIM 2.2.17 and higher releases gives the flexiblility to change the default values at the start of the install. In Cisco VIM 2.2.17 and higher releases you can adjust the memory oversubscription value between 1.0 to 4.0.
Following are the steps to set the NOVA_RAM_ALLOCATION_RATIO on fresh install.
Run the following command to set the NOVA_RAM_ALLOCATION_RATIO:
# cd installer-<tagid>/openstack-configs/
# update NOVA_RAM_ALLOCATION_RATIO value in openstack_config.yaml
What to do next
Once the NOVA_RAM_ALLOCATION_RATIO is done continue with the rest of the steps as planned for installation
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
125
Installing Cisco VIM
Enabling NFVBench on Cisco VIM
Enabling NFVBench on Cisco VIM
This section describes how to setup and use NFVBench with Cisco VIM.
Once the pre-requisites for the management node hardware (Intel NIC) are met, add the NFVBench configurations in the setup_data.yaml. By default, NFVBench configuration is not enabled in Cisco VIM 2.0.
Before you begin
• NFVBench offering in Cisco VIM, requires a 10GE Intel NIC (Intel X710 NIC (4 x 10G) or Intel-520
(2x10G)) to be installed on the management node.
• To interact with Intel NIC, TRex traffic generator uses DPDK interface, and makes use of hardware instead of just software to generate packets. This approach is more scalable and enables NFVBench to perform tests without software limitations.
If your NIC has more than two ports, use the first two ports only. Connect the first port to the first ToR switch
(order is given by setup_data.yaml) and the second port to the second TOR switch. In case of only one ToR switch connect the first two ports to it as shown in the NFVBench Topology figure.
Figure 33: NFVBench topology setup
Step 1 To enable the NFVBench, set the following command:
NFVBENCH: enabled: True # True or False tor_info: {switch_a_hostname: ethx/y, switch_b_hostname: ethx/y} # mandatory
# tor_info: {switch_c_hostname: 'etha/b,ethx/y'} # use if there is only one TOR switch vtep_vlans: vlan_id1,vlan_id2 # mandatory only when mechanism driver is VTS, or tenant type is
VXLAN
# nic_ports: int1,int2 # Optional input, indicates which 2 of the 4 ports in the 10 G intel NIC ports on the on the management node is the NFVBENCH tool using to send and receive traffic. If nothing is specified, the tool assumes its Port 1,2 i.e. the first 2 ports that will be us
# Please refer to the VTS_PARAMETERS and TORSWITCHINFO if NFVbench is enabled
# Required when mechanism driver is VTS
VTS_PARAMETERS:
…
VTS_NCS_IP: '<vtc_ssh_username>' # Required parameter when VTS enabled
VTC_SSH_USERNAME: '<vtc_ssh_username>' # mandatory for NFVbench
VTC_SSH_PASSWORD: '<vtc_ssh_password>' # mandatory for NFVbench
126
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
NFV Host Configuration
Step 2
# Minimal settings always required with NFVbench
TORSWITCHINFO:
CONFIGURE_TORS: True
…
SWITCHDETAILS:
- hostname: <switch_a_hostname> username: admin password: <password> ssh_ip: <ssh access to the switch a
- hostname: <switch_b_hostname> username: admin password: <password> ssh_ip: <ssh access to the switch b
The tor_info provides the information to configure the TOR switches. Two ports specified by interfaces will be configured in trunk mode in the same port-channel po . NFVBench needs the login details to access ToR details and retrieve TX/RX counters. Manual configuration is required if the 'CONFIGURE_TORS' is set to 'True'.
With VTS as mechanism driver additional settings are needed. NFVBench needs access to VTS NCS to perform cleanup after it detaches traffic generator port from VTS. Also a pair of VTEP VLANs is required for VLAN to VxLAN mapping.
Value can be any random VLAN ID. Note that vtep_vlans field is required if VxLAN is used as encapsulation without
VTS.
To do manual configuration on the ToRs, we recommend you to perform the following configurations: interface <port-channela> switchport mode trunk switchport trunk allowed vlan <3000-3049> interface Ethernetx/y switchport mode trunk switchport trunk allowed vlan <3000-3049> channel-group <a>
NFV Host Configuration
NFV Host configuration describes how to configure NFV hosts and Cisco VIM monitoring.
Cisco VIM supports CPU pinning and huge page on the compute nodes. To enable non-uniform memory access (NUMA), you can use ALL (case insensitive) to configure all compute nodes. For VTS and VPP/VLAN, only the value of ALL is allowed. For OVS/VLAN, alternatively, you can list the compute nodes where
NUMA must be enabled.
# For VPP and VTS, only NFV_HOSTS: ALL is allowed
NFV_HOSTS: ALL or
NFV_HOSTS: ['compute-server-1']
By default, hyper-threading is enabled across compute nodes in Cisco VIM. Based on certain VNF characteristics, Cisco VIM offers user the capability to disable hyper-threading across the pod on day-0. You can also disable it on a single compute node on day-n, updating the setup_data and doing remove or add of compute nodes (see Utilizing NUMA features in Cisco NFV Infrastructure section in the Cisco VIM 2.2
Admin Guide for details on day-n operation). To disable hyper-threading, update the setup_data with the following name or value pair before starting the installation.
DISABLE_HYPERTHREADING: True or False; this is optional and default value is false.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
127
Installing Cisco VIM
Install Mode
Note NFV Host configuration does not support micro-pod.
Install Mode
Cisco VIM can be deployed on the setup in one of the following install modes:
1.
Connected-In this mode, the setup must be connected to Internet to fetch artifacts and docker images.
2.
Dis-connected: In this mode, Cisco VIM is not connected to Internet. The artifacts and docker images are loaded from USB device.
Based on the deployment type, select the install mode as connected or disconnected.
# Install Mode: connected/disconnected
INSTALL_MODE: connected
Enabling NFVIMON on Cisco VIM
The Cisco VIM solution uses Cisco NFVI Monitor (NFVIMON) to monitor the health and performance of the NFVI. This includes monitoring both the physical and logical components of one or multiple NFVI pods.
The NFVIMON feature enables extensive monitoring and collection of performance data for various components of the cloud infrastructure including Cisco UCS blade and rack servers, service profiles, Nexus top of rack switches, fabric connections, and also the OpenStack instances. The monitoring system is designed such that it can monitor single or multiple pods from a single management system. NFVIMON is enabled by extending the setup_data.yaml file with relevant information. Also, NFVIMON can be enabled on an existing pod, through the reconfigure option. Then, the pod is added as a VIM resource to be monitored in a Control Center.
NFVIMON consists of four components: dispatcher, collector, resource manager (RM), and control-center with Cisco Zenpacks (CZ). Integration of NFVIMON into VIM is loosely coupled and the VIM automation only deals with installing the minimal software piece (dispatcher) needed to monitor the pod. The installing of the other NFVIMON components (collector, resource manager (RM) and control-center with Cisco Zenpacks
(CZ), are outside the scope of the current install guide.
Before you Begin
Ensure that you have engaged with the account team for services engagement on the planning and installation of the NFVIMON accessories along with its network requirements. The image information of collector,
Resource Manager (RM) and control-center with Cisco Zenpacks (CZ) is available only through Cisco Advance
Services. At a high level, have a node designated to host a pair of collector VM for each pod, and a common node to host CC and RM VMs, which can aggregate and display monitoring information from multiple pods.
In terms of networking, the collectors VMs need to have two interfaces: an interface in br_mgmt of the VIM, and another interface that is routable, which can reach the VIM Installer REST API and the RM VMs. As the collector VM is in an independent node, four IPs from the management network of the pod should be pre-planned and reserved. Install steps of the collector, resource manager (RM) and control-center with Cisco
Zenpacks (CZ) are Cisco advance services activities.
Installation of NFVIMON Dispatcher
The dispatcher is the only component in NFVIMON that is managed by VIM orchestrator. While the dispatcher acts as a conduit to pass OpenStack information of the pod to the collectors, it is the Cisco Zenpack sitting in the controller node, that gathers the node level information.
128
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Installation of NFVIMON Dispatcher
To enable dispatcher as part of the VIM Install, update the setup_data with the following information:
#Define the PODNAME
PODNAME: <PODNAME with no space>; ensure that this is unique across all the pods
NFVIMON:
MASTER: # Master Section admin_ip: <IP address of Control Centre VM>
COLLECTOR: # Collector Section management_vip: <VIP for ceilometer/dispatcher to use> #Should be unique across the VIM
Pod; Should be part of br_mgmt network
Collector_VM_Info:
hostname: <hostname of Collector VM 1> password: <password_for_collector_vm1> # max length of 32 ccuser_password: <password from master for 'ccuser' (to be used for self monitoring)>
# max length of 32 admin_ip: <ssh_ip_collector_vm1> # Should be reachable from br_api network management_ip: <mgmt_ip_collector_vm1> # Should be part of br_mgmt network
hostname: <hostname of Collector VM 2> password: <password_for_collector_vm2> # max length of 32 ccuser_password: <password from master for 'ccuser' (to be used for self monitoring)>
# max length of 32 admin_ip: <ssh_ip_collector_vm2> # Should be reachable from br_api network management_ip: <mgmt_ip_collector_vm2> # Should be part of br_mgmt network
DISPATCHER: rabbitmq_username: admin # Pod specific user for dispatcher module in ceilometer-collector
To monitor ToR, ensure that the following TORSWITCHINFO sections are defined in the setup_data.yaml
file.
TORSWITHCINFO:
SWITCHDETAILS:
needed hostname: <switch_a_hostname>: needed username: <TOR switch username> password: <TOR switch password> if switch monitoring is needed ssh_ip: <TOR switch ssh ip> needed
....
needed hostname: <switch_b_hostname>: needed username: <TOR switch username> needed password: <TOR switch password> ssh_ip: <TOR switch ssh ip> needed
....
# Mandatory for NFVIMON if switch monitoring is
# Mandatory for NFVIMON if switch monitoring is
# Mandatory for NFVBENCH; Mandatory for NFVIMON
# Mandatory for NFVIMON if switch monitoring is
# Mandatory for NFVIMON if switch monitoring is
# Mandatory for NFVIMON if switch monitoring is
# Mandatory for NFVIMON if switch monitoring is
# Mandatory for NFVIMON if switch monitoring is
Note TORSWITCH monitoring is disabled when running Cisco VIM with ACI plugin enabled.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
129
Installing Cisco VIM
Enabling or Disabling Autobackup of Management Node
Enabling or Disabling Autobackup of Management Node
Cisco VIM supports the backup and recovery of the management node. By default, the feature is enabled.
Auto-snapshots of the management node happens during pod management operation. You can disable the autobackup of the management node.
To enable or disable the management node, update the setup_data.yaml file as follows:
# AutoBackup Configuration
# Default is True
#autobackup: <True or False>
Enabling Custom Policy for VNF Manager
Some of the VNF managers operates, using specific OpenStack features that require the admin role. Cisco
VIM introduces a feature to enable non-admin role for VNF managers (such as Cisco ESC). VNF manager is used to operate and manage tenant VMs in the OpenStack cloud, with minimally enhanced privileges.
To enable this option, the administrator needs to add the following line in the setup_data.yaml:
ENABLE_ESC_PRIV: True # optional; default is false
Forwarding ELK logs to External Syslog Server
Cisco VIM supports backup and recovery of the management node, to keep the process predictable and avoid loss of logs. The software supports the capability of forwarding the ELK logs to an external syslog server.
Before launching the installation, update the setup_data.yaml file with the following information:
###################################
## SYSLOG EXPORT SETTINGS
###################################
SYSLOG_EXPORT_SETTINGS:
remote_host: <Syslog_ipv4_or_v6_addr> # required IP address of the remote syslog server protocol : udp # defaults to udp facility : <string> # required; possible values local[0-7]or user severity : <string; suggested value: debug> port : <int>; # defaults, port number to 514 clients : 'ELK' # defaults and restricted to ELK;
# Please note other than the remote host info, most of the other info is not needed; Also the client list is restricted to ELK only
With this configuration, the ELK logs are exported to an external syslog server. You can add this configuration to a pod that is already up and running. For more details, refer to Forwarding ELK logs to External Syslog
Server section in the admin guide.
Configuring Additional VIM Administrators
Cisco VIM supports management of VIM Administrators. VIM administrator has the permissions to login to the management through SSH or the console using the configured password . Administrators have their own accounts. Each administrators has their own account. If at least one individual VIM administrator account has been configured, then root login through SSH to the management node can be disabled through configuration.
Before launching the installation, update the setup_data.yaml file with the following information:
130
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM
Updating Cisco NFVI Software vim_admins:
- vim_admin_username: non_root_admin_1 vim_admin_password_hash: $6.....
- vim_admin_username: non_root_admin_2 vim_admin_password_hash: $6.....
vim_admin_public_key: ssh-rsa AAAA.....
- vim_admin_username: non_root_admin_3 vim_admin_public_key: ssh-rsa
The value of password hash must be in the standard sha512 format. The value of SSH public key must in the standard
RSA public key format. VIM Administrators may be configured with a password hash, a public key, or both. If it is desired for only individual VIM Administrators to have access to SSH to the management node, permit_root_login should be set to false. If it is desired to allow for administrators to use root to SSH to the management node, then permit_root_login should be set to true. In either case, the root account has a login permission through the console.
Note The VIM Administrator password hash is in the standard sha512 format. One way to generate this hash is using the following python command. The hash has a string that begins with “$6”.
python -c 'import crypt; print crypt.crypt("<plaintext_strong_password>")'
The VIM Administrator public key is in the standard sha512 format. One way to generate this hash is using the following linux command. The public key has a string that begins with “ssh-rsa AAAA” ssh-keygen
Updating Cisco NFVI Software
The Cisco VIM installer provides a mechanism to update all OpenStack services and some infrastructure services such as RabbitMQ, MariaDB, HAProxy, and VMTP. Updating host-level packages and management node ELK and Cobbler containers are not supported. Updating Cisco NFVI software has minimal service impact because the update runs serially, component-by-component, one node at a time. If errors occur during an update, an automatic rollback will bring the cloud back to its previous state. After an update is completed, check for any functional cloud impacts. If everything is fine, you can then commit the update which clears the old containers from the system. Cisco recommends that you commit the update before you perform any other pod management functions. Skipping the commit option might lead to double faults. If you see any functional impact on the cloud, perform a manual rollback to start the old containers again.
Note Cisco NFVI software updates are not supported for registry related containers and authorized_keys. Also, after the management node repo containers are updated, they cannot be rolled back to the older versions because this requires node packages to be deleted, which might destabilize the cloud.
To prevent double faults, a cloud sanity check is done before the update is started, and another cloud sanity check is performed at the end of the update.
To complete the software update, perform the Installing Cisco VIM m_Install_VIM.ditamap#id_33373 . If your management node does not have Internet, complete the m_Preparing_USB_Stick.ditamap#id_38540 procedure first, then follow the Cisco VIM installation instructions. Differences between a software update and regular Cisco VIM installation:
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
131
Installing Cisco VIM
Upgrading Cisco NFVI Software
• You do not need to modify setup_data.yaml like you did during the first installation. In most cases, no modifications are needed.
• You do not need to repeat the Cisco VIM Insight installation.
• Minor differences between NFVI software installation and updates are listed in the installation procedure.
Note After you complete the software update, you must commit it before you can perform any pod management operations. During software updates the following operations are locked: add/remove compute/storage node, replace controllers, and rotate fernet key. Before you commit, you can roll back the update to return the node to its previous software version.
For information about updating the Cisco NFVI software, see the Managing Cisco NFVI chapter in the Cisco
NFV Infrastructure Administrator Guide, Release 2.2
Upgrading Cisco NFVI Software
Cisco VIM's design allows the graceful upgrade of a cloud from version 1.0 (liberty based) to 2.2 (newton based). The seamless process upgrades both OpenStack and infrastructure services to the newer version. As the upgrade involves moving the kernel version (from RHEL 7.2 to 7.4), proper down-time should be planned to upgrade the VIM cloud. The upgrade cause limited service impact, critical components such as controller and storage nodes are upgrade serially, whereas compute nodes are upgraded in a bulk-and-batch manner.
As the OpenStack does not support the skipping of major releases during upgrade from liberty to newton, the
VIM upgrade orchestrator internally moves the stack to mitaka as an intermediate step. As part of the upgrade, the REST API server managing the VIM orchestrator also gets upgraded. A script called vim_upgrade_orchestrator.py is used to upgrade the cloud. Also, as part of the upgrade, automatic translation
(from Liberty to Newton) of the setup_data.yaml happens so that it is compatible to the target release (2.2.0) version.
Note After you complete the software upgrade you will not be able to roll back to the prior release. During software upgrade all pod management operations are blocked.
For information about upgrading the Cisco NFVI software, see the "Managing Cisco NFVI" chapter in the
Cisco NFV Infrastructure Administrator Guide, Release2.2.
132
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
7
Installing Cisco VIM Unified Management
Note Cisco VIM Insight is known as Cisco VIM Unified Mangamnet. They are intercahngable all across the guide.
Cisco VIM offers a unified management solution which will be available in the subsequent releases.
Cisco VIM Unified Managment can be installed on two modes:
• Standalone/non-HA mode on a dedicated node to manage multiple VIM pods.
• Standalone/non-HA mode on the management node to manage a single VIM pods.
You can start installing in a Standalone/non-HA mode initially (on the management node of the pod) or a standalone (BOM) server. If VIM UM is hosted on the node where the VIM management service of a pod is running, ensure that the workspace for Insight is different from that of the installer. Rendition and migration from one install mode to another is easy because the UI interacts to each pod through REST API and very little RBAC information of the admin and user is kept in the database. As the UI interacts with the REST API, it is not necessary that the pod should be managed by Insight from day 0. You can register a pod, with an
Insight instance after it is up and running.
Also, the UI has two types of Admin: UI Admin and Pod Admin. UI Admin is for the administrators who can add more folks as UI Admin or Pod admin. Pod Admin has privileges only at the pod level, where as an UI
Admin has privileges both at UI and pod level.
Complete the following procedure to install Cisco VIM Insight on the Cisco NFVI management node.
•
Cisco VIM Insight with Internet Access, on page 133
•
Installing Cisco VIM Insight without Internet Access , on page 137
•
VIM Insight Admin Login for Standalone Setup, on page 144
•
VIM UM Pod Admin Login for Standalone Setup, on page 144
Cisco VIM Insight with Internet Access
Complete the following steps to install Cisco VIM Insight on the Cisco NFVI management node. As security is paramount to pod management, the web-service hosting the single pane of glass is protected through TLS.
Following are the steps to get the TLS certificate setup going.
You can select one of the following approaches for the TLS certificate configurations:
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
133
Installing Cisco VIM Unified Management
Cisco VIM Insight with Internet Access
1.
Provide your own certificate: You can bring in your certificate on the management node and provide the absolute path of .pem and CA certificate files in the insight_setup_data.yaml file. The path must be provided as a value for the key 'PEM_PATH' in the insight_setup_data.yaml file.
2.
Generate a new certificate on the node: You can create a new certificate on the node by running the following command: #./tls_insight_cert_gen.py -f
<path_to_insight_setup_data.yaml>/insight_setup_data.yaml This script will search for the 'PEM_PATH' inside the insight_setup_data.yaml. As the path is not provided it will create a new certificate inside install-dir/openstack-configs.
Step 1
Step 2
Step 3
Before you begin
You must complete all Cisco NFVI preparation tasks described in Preparing for Cisco NFVI Installation , and also the management node has to be installed as described Cisco VIM Management Node Networking
.The procedure to bootstrap the node hosting the Insight is same as installing the buildnode.iso. If you plan for a standalone unified management node clcik Yes option to Install as Unified Management node only.
Enter ip a to verify the br_mgmt and br_api interfaces are up and are bound to bond1 and bond0 respectively. For example:
$ ip a br_api: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:42:68:6f:79:f2 brd ff:ff:ff:ff:ff:ff inet nnn.nnn.nnn.nnn/25 brd nnn.nnn.nnn.nnn scope global br_api valid_lft forever preferred_lft forever inet6 fe80::3c67:7aff:fef9:6035/64 scope link valid_lft forever preferred_lft forever bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master br_api state UP link/ether
00:42:68:6f:79:f2 brd ff:ff:ff:ff:ff:ff br_mgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:78:88:46:ee:6e brd ff:ff:ff:ff:ff:ff inet nnn.nnn.nnn.nnn/24 brd nnn.nnn.nnn.nnn scope global br_mgmt valid_lft forever preferred_lft forever inet6 fe80::278:88ff:fe46:ee6e/64 scope link valid_lft forever preferred_lft forever bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master br_mgmt state UP link/ether 00:78:88:46:ee:6e brd ff:ff:ff:ff:ff:ff
Note The br_mgmt and br_api interfaces are created when you install RHEL on the management node in the Management Node .
Installing
Run the following commands to copy the installer directory and the standalone insight_setup_data_yaml.
a) Copy the installer dir to a another directory in /root/. The name of the new directory should start with Insight-tag_id.
# cd /root/
# cp -pr installer-<tag_id> <Insight-tag_id> b) Copy the Standalone insight_setup_data.yaml. Standalone_EXAMPLE file from the Insight-dir/openstack-configs to any other location on the management node or the BOM.
# cp /root/Insight-<tag_id>/openstack-configs/insight_setup_data.yaml.
Standalone_EXAMPLE /root/insight_setup_data.yaml
Modify the insight setup data according to your requirements.
#Configuration File:
#########################################################
# User Defined Configuration File.
# Information in this file is specific to the user setup.
########################################################
134
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM Unified Management
Cisco VIM Insight with Internet Access
# This file is used as an inventory file to setup Insight Container.
#######################################################
# Registry credentials
#######################################################
REGISTRY_USERNAME: '<username>'
REGISTRY_PASSWORD: '<password>'
# Install Mode: connected/disconnected, Optional parameter; default is connected
INSTALL_MODE: connected
# https_proxy: <Name of the proxy server without https://> ; Optional Parameter for INSTALL_MODE
# Needed for connected install only and not required for disconnected mode.
####################################################
# Super Admin Username Password
###################################################
# This User will be the default Super Admin of the System and can Grant Access to all other Users getting registered to PODs.
# This is a mandatory field and is required to be filled every time.
UI_ADMIN_USERNAME: '<username>'
UI_ADMIN_EMAIL_ID: '<[email protected]>'
# Please define the mail server off which the Insight email alias works;
# For example, outbound.cisco.com
# Mandatory: Valid SMTP Server is required for sending mails to the customers.
INSIGHT_SMTP_SERVER: <smtp.domain.com>
#INSIGHT_SMTP_PORT: <port no.>
#optional, defaults to 25, if undefined
# for Insight UI, customer needs to create a mailer, so that automated mails come from that alias;
# For example, [email protected]
# Mandatory: You need to create a valid email alias that would be responsible for sending email notification for Users and UI Admin.
INSIGHT_EMAIL_ALIAS: <[email protected]>
# Optional: Insight Email Alias Password is required if log in on a SMTP server requires authentication.
INSIGHT_EMAIL_ALIAS_PASSWORD: <password> #Optional
#TLS certificate path;
#Absolute TLS certificate path, can also be generated using the script tls_insight_cert_gen.py located at
# installer-<tagid>/insight/; if generated by: tls_insight_cert_gen.py, then entry of the info is optional;
# the script will copy the certs to installer-<tagid>/openstack-configs/ dir
PEM_PATH: <abs_location_for_cert_path>
#If using tls_insight_cert_gen.py to create the cert, please define the following:
CERT_IP_ADDR: <br_api of the insight node> # Mandatory
CERT_HOSTNAME: <Domain name for Cert>
And then execute:
# Optional
# cd installer-<tagid>/insight
# ./tls_insight_cert_gen.py --file <absolute path of insight_setup_data.yaml>
The script will generate the certs at installer-<tagid>/openstack-configs/ dir
If bringing in a 3rd part Cert, skip the above step and define the following
CERT_IP_ADDR: <br_api of the insight node> # Mandatory
CERT_HOSTNAME: <Domain name for Cert> # Optional
PEM_PATH in insight_setup_data.yaml, and go to step 4 instead of executing # ./tls_insight_cert_gen.py
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
135
Installing Cisco VIM Unified Management
Cisco VIM Insight with Internet Access
Step 4
Step 5
As part of insight bootstrap the script will copy the certs to installer-<tagid>/openstack-configs/ dir
Save the edited insight_setup_data.yaml file.
Start the insight installation process.
$ cd /root/Insight-<tag_id>/insight/
$./bootstrap_insight.py --help usage: bootstrap_insight.py [-h] –-action ACTION
[--regenerate_secrets] [--setpassword]
[--file INSIGHTSETUPDATA] [--keep] [--verbose]
[--backupdir BACKUPDIR] [-y]
Insight install setup helper.
optional arguments:
-h, --help show this help message and exit
--action ACTION, -a ACTION install - Install Insight UI install-status - Display Insight Install Status reconfigure - reconfigure - Reconfigure Insight DB password,
TLS Certificate, INSIGHT_SMTP_SERVER,
INSIGHT_EMAIL_ALIAS_PASSWORD,
INSIGHT_EMAIL_ALIAS, INSIGHT_SMTP_PORT update - Update Insight UI update-status - Display Insight Update Status rollback - Rollback Insight UI update commit - Commit Insight UI update backup - Backup Insight UI uninstall - Uninstall Insight UI
--regenerate_secrets, -r
--setpassword, -s
System generated INSIGHT_DB_PASSWORD
User supplied INSIGHT_DB_PASSWORD,
--file INSIGHTSETUPDATA, -f INSIGHTSETUPDATA
--keep, -k
Location of insight_setup_data.yaml
Preserve Insight artifacts during uninstall
--verbose, -v Verbose on/off
--backupdir BACKUPDIR, -b BACKUPDIR
Path to backup Insight
-y, --yes Option to skip reconfigure or uninstall steps without prompt
$ ./bootstrap_insight.py –a install –f </root/insight_setup_data.yaml>
VIM Insight install logs are at: /var/log/insight/bootstrap_insight/bootstrap_insight_<date>_<time>.log
Management Node Validations!
+-------------------------------+--------+-------+
| Rule | Status | Error |
+-------------------------------+--------+-------+
| Check Kernel Version | PASS | None |
| Check Ansible Version | PASS | None |
| Check Docker Version | PASS | None |
| Check Management Node Tag | PASS | None |
| Check Bond Intf. Settings | PASS | None |
| Root Password Check | PASS | None |
| Check Boot Partition Settings | PASS | None |
| Check LV Swap Settings | PASS | None |
| Check Docker Pool Settings | PASS | None |
| Check Home Dir Partition | PASS | None |
| Check Root Dir Partition | PASS | None |
| Check /var Partition | PASS | None |
| Check LVM partition | PASS | None |
136
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM Unified Management
Installing Cisco VIM Insight without Internet Access
| Check RHEL Pkgs Install State | PASS | None |
+-------------------------------+--------+-------+
Insight standalone Input Validations!
+-------------------------------------------+--------+-------+
| Rule | Status | Error |
+-------------------------------------------+--------+-------+
| Insight standalone Schema Validation | PASS | None |
| Valid Key Check in Insight Setup Data | PASS | None |
| Duplicate Key Check In Insight Setup Data | PASS | None |
| Test Email Server for Insight | PASS | None |
Downloading VIM Insight Artifacts, will take time!!!
Cisco VIM Insight Installed successfully!
+-----------------------+--------+---------------------------------------------------------+
| Description | Status | Details |
+-----------------------+--------+---------------------------------------------------------+
| VIM Insight UI URL | PASS | https://<br_api:9000> |
| VIM UI Admin Email ID | PASS | Check for info @: <abs path of insight_setup_data.yaml> |
| | | |
| VIM UI Admin Password | PASS | Check for info @ /opt/cisco/insight/secrets.yaml
| VIM Insight Workspace | PASS | /root/Insight-<tag_id>/insight/
|
+-----------------------+--------+---------------------------------------------------------+
|
Cisco VIM Insight backup Info!
+----------------------+-------+-------------------------------------------------------------------+
| Description | Status| Details
|
+----------------------+-------+-------------------------------------------------------------------+
| Insight backup Status| PASS | Backup done @
|
| | | /var/cisco/insight_backup/insight_backup_<release_tag>_<date_time>|
+----------------------+-------+-------------------------------------------------------------------+
Done with VIM Insight install!
VIM Insight install logs are at: "/var/log/insight/bootstrap_insight/"
Logs of Insight Bootstrap will be generated at : /var/log/insight/bootstrap_insight/ on the management node. Log file name for Insight Bootstrap will be in the following format : bootstrap_insight_<date>_<time>.log. Only ten bootstrap Insight log files are displayed at a time.
Once the bootstrap process is completed a summary table preceding provides the information of the UI
URL and the corresponding login credentials. After first login, for security reasons, we recommend you to change the Password.
Insight autobackup takes place after an install and is located at default backup location
/var/cisco/insight_backup; details of which is provided in the backup summary table.
To add a new UI Admin in a setup that just got created, login to VIM insight and add a new UI admin user from the Manage UI Admin Users menu. Without doing a fresh install (that is un-bootstrap, followed by bootstrap) of the insight application, the UI admin that was bootstrapped cannot be changed.
Refer Cisco VIM Insight Post Bootstrap Validation Checks section, to verify the bootstrap status of
Cisco VIM Insight.
Installing Cisco VIM Insight without Internet Access
Complete the following steps to install Cisco VIM Insight on the Cisco NFVI management node.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
137
Installing Cisco VIM Unified Management
Installing Cisco VIM Insight without Internet Access
Management Node setup (without Internet):
For many service providers, the infrastructure on which Management Node setup is run is air-gapped. This presents an additional dimension for the orchestrator to handle. To support install that is air-gapped, refer to the section Preparing for Installation on Servers Without InternetAccess , and follow the steps to prepare64G
USB 2.0.
Before you begin
You must complete all Cisco NFVI preparation tasks described in Preparing for Cisco NFVI Installation , and the management node as described in Cisco VIM Management Node Networking .
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Enter ip a to verify the br_mgmt and br_api interfaces are up and are bound to bond1 and bond0. For example:
$ ip a br_api: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:42:68:6f:79:f2 brd ff:ff:ff:ff:ff:ff inet nnn.nnn.nnn.nnn/25 brd nnn.nnn.nnn.nnn scope global br_api valid_lft forever preferred_lft forever inet6 fe80::3c67:7aff:fef9:6035/64 scope link valid_lft forever preferred_lft forever bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master br_api state UP link/ether
00:42:68:6f:79:f2 brd ff:ff:ff:ff:ff:ff br_mgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether 00:78:88:46:ee:6e brd ff:ff:ff:ff:ff:ff inet nnn.nnn.nnn.nnn/24 brd nnn.nnn.nnn.nnn scope global br_mgmt valid_lft forever preferred_lft forever inet6 fe80::278:88ff:fe46:ee6e/64 scope link valid_lft forever preferred_lft forever bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master br_mgmt state UP link/ether 00:78:88:46:ee:6e brd ff:ff:ff:ff:ff:ff
Note The br_mgmt and br_api interfaces are created when you install RHEL on the management node in Installing the Management Node .
Run the following commands to copy the installer directory and the standalone insight_setup_data_yaml.
a) Copy the installer dir to a another directory in /root/. The name of the new directory should start with Insight-tag_id.
# cd /root/
# cp –pr installer-<tag_id>Insight-<tag_id> b) Copy the Standalone insight_setup_data.yaml.Standalone_EXAMPLE file from the Insight-dir/openstack-configs to any other location on the management node or the BOM.
# cp /root/Insight-<tag_id>/openstack-configs/insight_setup_data.yaml.Standalone_EXAMPLE
/root/insight_setup_data.yaml
Modify the insight setup data according to the requirements. Refer to the insight_setup_data.yaml and cert generation as listed in step 5 of the preceding section.
Save the edited insight_setup_data.yaml file.
Run Import Artifacts:
$ cd /root/insight-<tag_id>/tools
./import_artifacts.sh
This verifies that /var/cisco/artifcats on the management node has the following Insight artifacts, along with the other components 'insight-K9.tar', 'mariadb-app-K9.tar'.'
Start the insight installation process.
138
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM Unified Management
Installing Cisco VIM Insight without Internet Access
$ cd /root/Insight-<tag_id>/insight/
$./bootstrap_insight.py --help usage: bootstrap_insight.py [-h] --action ACTION
[--regenerate_secrets] [--setpassword]
[--file INSIGHTSETUPDATA] [--keep] [--verbose]
[--backupdir BACKUPDIR] [-y]
Insight install setup helper.
optional arguments:
-h, --help show this help message and exit
--action ACTION, -a ACTION install - Install Insight UI install-status - Display Insight Install Status reconfigure - reconfigure - Reconfigure Insight DB password,
TLS Certificate, INSIGHT_SMTP_SERVER,
INSIGHT_EMAIL_ALIAS_PASSWORD,
INSIGHT_EMAIL_ALIAS, INSIGHT_SMTP_PORT update - Update Insight UI update-status - Display Insight Update Status rollback - Rollback Insight UI update commit - Commit Insight UI update backup - Backup Insight UI uninstall - Uninstall Insight UI
--regenerate_secrets, -r
System generated INSIGHT_DB_PASSWORD
--setpassword, -s User supplied INSIGHT_DB_PASSWORD,
--file INSIGHTSETUPDATA, -f INSIGHTSETUPDATA
--keep, -k
--verbose, -v
Location of insight_setup_data.yaml
Preserve Insight artifacts during uninstall
Verbose on/off
--backupdir BACKUPDIR, -b BACKUPDIR
Path to backup Insight
-y, --yes Option to skip reconfigure or uninstall steps without prompt
$ ./bootstrap_insight.py –a install –f </root/insight_setup_data.yaml>
VIM Insight install logs are at: /var/log/insight/bootstrap_insight/bootstrap_insight_<date>_<time>.log
Management Node Validations!
+-------------------------------+--------+-------+
| Rule | Status | Error |
+-------------------------------+--------+-------+
| Check Kernel Version | PASS | None |
| Check Ansible Version | PASS | None |
| Check Docker Version | PASS | None |
| Check Management Node Tag | PASS | None |
| Check Bond Intf. Settings | PASS | None |
| Root Password Check | PASS | None |
| Check Boot Partition Settings | PASS | None |
| Check LV Swap Settings | PASS | None |
| Check Docker Pool Settings | PASS | None |
| Check Home Dir Partition | PASS | None |
| Check Root Dir Partition | PASS | None |
| Check /var Partition | PASS | None |
| Check LVM partition | PASS | None |
| Check RHEL Pkgs Install State | PASS | None |
+-------------------------------+--------+-------+
Insight standalone Input Validations!
+-------------------------------------------+--------+-------+
| Rule | Status | Error |
+-------------------------------------------+--------+-------+
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
139
Installing Cisco VIM Unified Management
Cisco VIM Insight Post Bootstrap Validation Checks
| Insight standalone Schema Validation
| Valid Key Check in Insight Setup Data
| PASS | None |
| PASS | None |
| Duplicate Key Check In Insight Setup Data | PASS | None |
| Test Email Server for Insight | PASS | None |
+-------------------------------------------+--------+-------+
Setting up Insight, Kindly wait!!!
Cisco VIM Insight Installed successfully!
+-----------------------+--------+---------------------------------------------------------+
| Description | Status | Details |
+-----------------------+--------+---------------------------------------------------------+
| VIM Insight UI URL | PASS | https://<br_api:9000> |
| VIM UI Admin Email ID | PASS | Check for info @: <abs path of insight_setup_data.yaml> |
| | |
| VIM UI Admin Password | PASS | Check for info @ /opt/cisco/insight/secrets.yaml
| VIM Insight Workspace | PASS | /root/Insight_<tag_id>/insight/
+-----------------------+--------+---------------------------------------------------------+
|
|
|
Cisco VIM Insight backup Info!
+----------------------+-------+-------------------------------------------------------------------+
| Description | Status| Details
|
+----------------------+-------+-------------------------------------------------------------------+
| Insight backup Status| PASS | Backup done @
|
| | | /var/cisco/insight_backup/insight_backup_<release_tag>_<date_time>|
+----------------------+-------+-------------------------------------------------------------------+
Done with VIM Insight install!
VIM Insight install logs are at: /var/log/insight/bootstrap_insight/
Logs of Insight Bootstrap will be generated at : /var/log/insight/bootstrap_insight/ on the management node. Log file name for Insight Bootstrap will be in the following format : bootstrap_insight_<date>_<time>.log. Only ten bootstrap Insight log files are displayed at a time.
Once the bootstrap process is completed a summary table preceding provides the information of the UI
URL and the corresponding login credentials. After first login, for security reasons, we recommend you to change the Password.
Insight autobackup takes place after an install and is located at default backup location
/var/cisco/insight_backup; details of which is provided in the backup summary table.
To add a new UI Admin in a setup that just got created, login to VIM insight and add a new UI admin user from the Manage UI Admin Users menu. Without doing a fresh install (that is un-bootstrap, followed by bootstrap) of the insight application, the UI admin that was bootstrapped with cannot be changed.
Refer Cisco VIM Insight Post Bootstrap Validation Checks section to verify the bootstrap status of
Cisco VIM Insight.
Cisco VIM Insight Post Bootstrap Validation Checks
1.
After the VIM Insight bootstrap, you can view the status of Insight installation through install-status action using bootstrap.
$ Cisco VIM Insight Install Status!
+-----------------------+--------+------------------------------------------------+
| Description | Status | Details |
+-----------------------+--------+------------------------------------------------+
| VIM Insight Version | PASS | <release_tag>
| VIM Insight UI URL | PASS | https://<br_api:9000>
|
|
140
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM Unified Management
Cisco VIM Insight Post Bootstrap Validation Checks
| VIM Insight Container | PASS | insight_<tag_id>
| VIM Mariadb Container | PASS | mariadb_<tag_id>
|
|
| VIM Insight Autobackup| PASS | [ACTIVE]: Running 'insight-autobackup.service' |
| VIM Insight Workspace | PASS | /root/installer-<tag_id>/insight |
+-----------------------+--------+------------------------------------------------+
2.
You can also verify if the Insight and Mysql containers are up or not by running the following command:
$ docker ps -a
CONTAINER ID
COMMAND cbe582706e50
IMAGE
CREATED STATUS NAMES cvim-registry.com/mercury-rhel7-osp10/insight:7434
"/start.sh"
68e3c3a19339
10 hours ago
"/usr/bin/my_init /ma" 10 hours ago Up
Up 10 hours cvim-registry.com/mercury-rhel7-osp10/mariadb-app:7434
10 hours insight_7321 mariadb <tag-id>
3.
Check the status of Insight by running the following command :
$ systemctl status docker-insight docker-insight.service - Insight Docker Service
Loaded: loaded (/usr/lib/systemd/system/docker-insight.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2017-04-07 13:09:25 PDT; 36s ago Main PID: 30768
(docker-current)
Memory: 15.2M
CGroup: /system.slice/docker-insight.service
└─30768 /usr/bin/docker-current start -a insight_<tag-id>
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: Tables_in_rbac
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: buildnode_master
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: permission_master
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: role_master
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: role_permission
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: user_master
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: user_role
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: user_session
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: Starting the apache httpd
Apr 07 13:09:26 i11-tb2-ins-3 docker[30768]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 2.2.2.6.
Set the 'ServerName' directive gl... this message
Hint: Some lines were ellipsized, use -l to show in full.
4.
Check if the Insight is up by running the following command:
$curl https://br_api:9000 -k (or --insecure)
Your response of curl should show the DOCTYPE HTML:
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8 lt-ie7">
<![endif]-->
<!--[if IE 7]>
<![endif]-->
<html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8">
<!--[if IE 8]> <html lang="en" ng-app="myApp" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" ng-app="mercuryInstaller" class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Cisco VIM Installer</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<link rel="stylesheet"
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
141
Installing Cisco VIM Unified Management
Cisco VIM Insight Post Bootstrap Validation Checks href="../static/lib/html5-boilerplate/dist/css/normalize.css">
<link rel="stylesheet" href="../static/lib/html5-boilerplate/dist/css/main.css">
<link rel="stylesheet" href="../static/lib/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="../static/lib/font-awesome/font-awesome.min.css">
<!--<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">-->
<link rel="stylesheet" href="../static/lib/bootstrap/bootstrap-theme.min.css">
<link rel="stylesheet" href="../static/lib/uigrid/ui-grid.min.css">
<link rel="stylesheet" href="../static/lib/chart/angular-chart.min.css">
<script src="../static/lib/html5-boilerplate/dist/js/vendor/modernizr-2.8.3.min.js"></script>
<link rel="stylesheet" href="../static/css/app.css">
<!--new dashboard css starts-->
<link rel="stylesheet" href="../static/css/dashboard.css">
<!--new dashboard css end-->
</head>
<body class="skin-blue sidebar-collapse" ng-controller="DashboardCtrl" id="ToggleNavbar">
<div class="wrapper" id="wrapper">
<div class="content-wrapper" id="contentclass">
<mi-header></mi-header>
<mi-left-side-navbar></mi-left-side-navbar>
<message-box> </message-box>
<div class=" viewheight" ng-view autoscroll="true"></div>
</div>
<mi-footer></mi-footer>
</div>
<!--new dashboard js starts-->
<script src="../static/lib/bootstrap/jquery.min.js"></script>
<script src="../static/lib/jquery/jquery-ui.js"></script>
<script src="../static/lib/bootstrap/progressbar.js"></script>
<!--new dashboard js ends-->
<script src="../static/lib/chart/Chart.min.js"></script>
<script src="../static/lib/bootstrap/bootstrap.min.js"></script>
<script src="../static/lib/angular/angular.js"></script>
<script src="../static/lib/chart/angular-chart.min.js"></script>
<script src="../static/lib/uigrid/angular-touch.js"></script>
<script src="../static/lib/uigrid/angular-animate.js"></script>
<script src="../static/lib/uigrid/csv.js"></script>
<script src="../static/lib/uigrid/pdfmake.js"></script>
<script src="../static/lib/uigrid/vfs_fonts.js"></script>
<script src="../static/lib/uigrid/ui-grid.js"></script>
<script src="../static/lib/angular/smart-table.min.js"></script>
<script src="../static/lib/angular-route/angular-route.js"></script>
<script src="../static/lib/angular-cookies/angular-cookies.js"></script>
<script src="../static/lib/angular/angular-translate.js"></script>
<script src="../static/lib/angular/angular-translate-loader-static-files.min.js"></script>
<script src="../static/lib/angular/angular-translate-storage-cookie.min.js"></script>
<script src="../static/lib/angular/angular-translate-storage-local.min.js"></script>
<script src="../static/lib/yamltojson/yaml.js"></script>
<script src="../static/lib/yaml/js-yaml.min.js"></script>
<script src="../static/lib/d3/d3min.js"></script>
<script src="../static/utility/utility.js"></script>
<script src="../static/widgets/widgets.js"></script>
<script src="../static/app.js"></script>
142
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM Unified Management
Cisco VIM Insight Post Bootstrap Validation Checks
<script src="../static/layout/layout.js"></script>
<script src="../static/login/login.js"></script>
<script src="../static/globals/globals.js"></script>
<script src="../static/dashboard/dashboard.js"></script>
<script src="../static/cloudpulse/cloudpulse.js"></script>
<script src="../static/blueprintsetup/physicalsetupwizard/ucsmcommon.js"></script>
<script src="../static/blueprintsetup/physicalsetupwizard/cimccommon.js"></script>
<script src="../static/vmtp/runvmtp.js"></script>
<script src="../static/blueprintsetup/physicalsetupwizard/networking.js"></script>
<script src="../static/blueprintsetup/physicalsetupwizard/serverandroles.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/cephsetup.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/cindersetup.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/glancesetup.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/haproxy.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/keystonesetup.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/swiftstack.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/neutronsetup.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/vmtpsetup.js"></script>
<script src="../static/blueprintsetup/physicalsetupwizard/physicalsetupwizard.js"></script>
<script src="../static/blueprintsetup/servicesSetupWizard/systemlog.js"></script>
<script src="../static/blueprintsetup/servicesSetupWizard/nfvbench.js"></script>
<script src="../static/blueprintsetup/servicesSetupWizard/servicesSetupWizard.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/openstacksetupwizard.js"></script>
<script src="../static/blueprintsetup/blueprintsetup.js"></script>
<script src="../static/blueprintmanagement/blueprintmanagement.js"></script>
<script src="../static/topology/topology.js"></script>
<script src="../static/monitoring/monitoring.js"></script>
<script src="../static/horizon/horizon.js"></script>
<script src="../static/podmanagement/podmanagement.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/tlssupport.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/elksetup.js"></script>
<script src="../static/systemupdate/systemupdate.js"></script>
<script src="../static/blueprintsetup/physicalsetupwizard/registrysetup.js"></script>
<script src="../static/registertestbed/registertestbed.js"></script>
<script src="../static/registersaas/registersaas.js"></script>
<script src="../static/useradministration/manageusers.js"></script>
<script src="../static/useradministration/rolemanagement.js"></script>
<script src="../static/saasadmindashboard/saasadmindashboard.js"></script>
<script src="../static/saasadmindashboard/buildnodes.js"></script>
<script src="../static/saasadmindashboard/buildnodeusers.js"></script>
<script src="../static/saasadmindashboard/managesaasuser.js"></script>
<script src="../static/saasadminusermanagement/saasadminusermgmt.js"></script>
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
143
Installing Cisco VIM Unified Management
VIM Insight Admin Login for Standalone Setup
<script src="../static/blueprintsetup/physicalsetupwizard/nfvisetup.js"></script>
<script src="../static/blueprintsetup/physicalsetupwizard/torswitch.js"></script>
<script src="../static/blueprintsetup/openstacksetupwizard/vtssetup.js"></script>
<script src="../static/rbacutilities/rbacutility.js"></script>
<script src="../static/forgotpassword/forgotpassword.js"></script>
<script src="../static/changepassword/changepassword.js"></script>
<script src="../static/passwordreconfigure/passwordreconfigure.js"></script>
<script src="../static/openstackconfigreconfigure/openstackconfigreconfigure.js"></script>
<script src="../static/reconfigureoptionalservices/reconfigureoptionalservices.js"></script>
</body>
5.
VIM Insight Autobackup: Insight will invoke Insight Autobackup as a daemon process. Autobackup is taken as an incremental backups of database and /opt/cisco/insight/mgmt_certs dir if there is any change.
You can check the status of Insight Autobackup service: systemctl status insight-autobackup insight-autobackup.service - Insight Autobackup Service
Loaded: loaded (/usr/lib/systemd/system/insight-autobackup.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2017-09-04 05:53:22 PDT; 19h ago
Process: 21246 ExecStop=/bin/kill ${MAINPID} (code=exited, status=0/SUCCESS)
Main PID: 21287 (python)
Memory: 9.2M
CGroup: /system.slice/insight-autobackup.service
└─21287 /usr/bin/python
/var/cisco/insight_backup/insight_backup_2.1.10_2017-08-31_03:02:06/root
/rohan/installer-10416/insight/playbooks/../insight_autobackup.py
Sep 04 05:53:22 F23-insight-4 systemd[1]: Started Insight Autobackup Service.
Sep 04 05:53:22 F23-insight-4 systemd[1]: Starting Insight Autobackup Service...
VIM Insight Admin Login for Standalone Setup
For security reasons, the UI Admin need to login to the UI with Insight that was bootstrapped, and add other folks as UI Admin. UI Admin needs to add new users as Pod Admin.
Registration of UI Admin to Insight
1.
Enter the following address on the browser: http://<br_api>:9000.
2.
Enter the Email ID and the Password. Email ID should be the one specified as 'UI_ADMIN_EMAIL_ID in insight_setup_data.yaml during bootstrap. Password for UI Admin is generated at :
/opt/cisco/insight/secrets.yaml and key is 'UI_ADMIN_PASSWORD.
3.
Click Login as UI Admin User.
You will be redirected to Insight UI Admin Dashboard.
VIM UM Pod Admin Login for Standalone Setup
Step 1
Step 2
Login as Insight UM Admin.
Navigate to Manage Pod Admin and click Add Pod Admin
144
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM Unified Management
VIM UM Pod Admin Login for Standalone Setup
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Enter a new email ID in Add Pod Admin pop-up.
Enter the username of the Pod Admin.
Click Save . User Registration mail is sent to a newly added Pod Admin with a token.
Click the URL with token and if token is valid then Pod Admin will be redirected to Insight-Update Password page.
Enter new password and then confirm the same password.
Click Submit .
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
145
VIM UM Pod Admin Login for Standalone Setup
Installing Cisco VIM Unified Management
146
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
8
Installing Cisco VIM through Cisco VIM Unified
Management
The VIM UM has an UI admin, who has the privilege to manage the UI offering. The Insight UI admin, has the rights to add the right users as Pod administrators. Post bootstrap, the URL for the UI will be: https://br_api:9000.
The following topics helps you to install and configure Cisco Virtual Infrastructure Manager with VIM Insight:
•
Unified Management Dashboard, on page 147
•
•
Pod Administrator, on page 150
•
Unified Management (UM) Administrator, on page 150
•
Registering New Pod to Insight , on page 151
•
Configuring OpenStack Installation, on page 155
•
Post Installation Features for Active Blueprint, on page 209
Unified Management Dashboard
When you login as UM admin, you will be redirected to the UM admin Dashboard.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
147
Pods
Installing Cisco VIM through Cisco VIM Unified Management
The UM dashboard displays the following information about the pods it is currently managing:
Pod Status
• Active - Number of Pods which has health status OK (Example: Mgmt Node health of the pod is good).
• Inactive - Number of Pods whose health status is not good (Example:. Mgmt Node health of the pod is not good).
• Total number of Pods - Number of Pods registered in the system.
Pod Users
• Total – Total number of users registered who are associated with at-least one Pod.
• Registered – Number of users who have completed the registration process and are associated with at-least one Pod.
• Active – Number of Online users who are associated with at-least one Pod.
You can see the list of Pod with its Pod name, description, IP address, location, Pod status along with the
Total users and Active users of each pod. You can search for a Pod using Name, IP and location in the search option.
If you click Get health of current nodes icon (spin) it does the health check of the Pod.
Pods
Pods allows you to check the health status (indicated through green and red dot) of the pod respectively.
To fetch the latest health status, click Refresh which is at the upper right corner.
148
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Pod Users
• Green dot – Pod is reachable and health is good.
• Red dot – Pod is not reachable.
Pod Users
The Pod Users page, gives you the details associated the pod, status (Online or Offline) and their Roles.
UM admin has the right to manage all Pod users in the system. The user with UM admin access can manage the following actions:
• Revoke User’s permission from a specific Pod.
• Delete User from the system.
Revoking User
UM admin revokes the user’s permission from a Pod by clicking (undo) icon. If the user is the only user with a Full-Pod-Access role for that particular Pod, then the revoke operation is not permitted. In this case, another user is granted with a Full-Pod-Access role for that Pod and then proceeds with revoking the old user.
Note If the user is revoked from the last associated Pod, then the user is deleted from the system.
Deleting Users
UM admin can delete any user from the system by clicking X from an Action column. The delete operation is not permitted if the user has Full-Pod-Access. In, such case another user is granted with Full-Pod-Access role for that Pod and then proceed with deleting the old user. UM admin must revoke respective permission first and then proceed further.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
149
Installing Cisco VIM through Cisco VIM Unified Management
Pod Administrator
Pod Administrator
Pod admins are the users who has the permission to register new Pods in the system. UM admin can add any number of Pod admins in the system.
Adding Pod Admin
Step 1
Step 2
Step 3
Step 4
Step 5
Log in as UI Admin and navigate to POD Administrator page.
Click Add Pod Administrator .
Enter the Email ID of the user.
• If email is already registered, then Username gets populated automatically.
• If not registered, an email is sent to the user email ID.
Navigate to https://br_api :9000.
Enter the Email ID and the Password of the Pod Admin and click Login as Pod User , it redirects to the landing page.
Now the Pod admin can register a new Pod.
Revoking Pod Admin
UM admin can revoke Pod admin’s permission anytime. To revoke Pod admin permission for the user, click undo icon.
Note You cannot revoke self permission.
Unified Management (UM) Administrator
UM admins have the access to the UM profile. Only a UM admin can add another UM admin in the system.
There should be at least one UM admin in the system.
150
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Adding UM Admin
Adding UM Admin
To add a UM admin perform the following steps.
Step 1
Step 2
Step 3
Step 4
Step 5
Log in as UI Admin and navigate to UM Administrator page.
Click Add UM Administrator .
Enter the Email ID of the user.
• If email is already registered then Username gets populated automatically.
• If not registered, an email is sent to the user Email ID.
Navigate to https://br_api: 9000.
Enter the Email ID and the Password of the UM Admin and click Log in as UM admin it will redirect to UM dashboard.
Revoking UM Admin
UM admin can revoke another UM admin’s permission. To revoke UM Admin permission for any user, click undo icon.
Note You cannot revoke a self’s permission. You can revoke a user if the user is not associated with any pod. After, revoking the user is deleted from the system.
Registering New Pod to Insight
In this step the user registers a new pod.
Before you begin
UI Admin has to register a Pod Admin to allow the user to access a pod.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
151
Installing Cisco VIM through Cisco VIM Unified Management
Registering New Pod to Insight
Following are the steps required for UI Admin to register a Pod Admin:
Step 1
Step 2
Step 3
Step 4
Login as UI Admin and navigate to Manage Pod Admin(s) page.
Click Add Pod Admin .
Enter the Email ID of the user.
a) If email is already registered then Username will be populated automatically.
b) If not registered, an email would be sent to the user Email ID.
Navigate to https://br_api:9000.
Step 5 Enter the Email ID and the Password of the Pod Admin and click on “Login as Pod User”, then it will redirect to landing page.
152
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Registering New Pod to Insight
Step 6
VIM Unified Management Landing Page provides list of all Pods associated with the user. It also display the Pod status which contains pod count i.e Active, Inactive & Total number of Pods. You can see the list of Pod with Pod name, description, IP address, location & Pod status. You can search a Pod using search option. If you click on “Get health of current nodes” icon(spin) each Pod health check call and it gives latest status of Pod. On click of any Pod it will redirect to dashboard page.
Click Add New Pod to register a Pod.
Step 7 Enter he Add New Pod filed values:
• Enter the Endpoint IP for the management node. Run time validation will check if the endpoint is already registered.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
153
Installing Cisco VIM through Cisco VIM Unified Management
Registering New Pod to Insight
• Give the name or tag for the particular management node
• Enter the REST API Password (REST Password is present on the Pod at "/opt/cisco/ui_config.json")
• Provide the Location and the brief description about the management node (Max 200 characters are allowed).
• Enter the Email ID of the Pod Admin. Run time validation will check if the entered Email ID belong to the Pod
Admin.
1.
Run time validation will check if the entered Email ID belong to the Pod Admin.
2.
If entered Email ID is not the Pod Admin's ID, then User is not registered as Pod Admin error is displayed.
3.
If entered Email ID is the Pod Admin's ID, then User-Name is auto-populated.
4.
Section to upload Management Node CA
• Server certificate is located on management node at /var/www/mercury/mercury-ca.crt.
• Validation to check the cert file size and extensions are handled.
• Click on Upload and Update button.
• If certificate file passes all the validation then a message would be visible "Uploaded Root CA Certificate).
• Click Register and management node health validation would take place.
• • If Management Node Validation fails due to invalid certificate, then Insight will delete the certificate from the uploaded path.
• If Management Node Validation fails due to Password mismatch, then password mismatch message will be displayed. The certificate will not be deleted hence you can fix the password then go ahead with the Registration.
• If Rest API service is down on the Management Node then error message "Installer REST API Service is not available" message would be visible.
154
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Configuring OpenStack Installation
Before you begin
You need to create a Blueprint (B or C Series) to initiate OpenStack Installation through the VIM.
Step 1
Step 2
In the navigation pane, choose Pre-Install > Blueprint Setup .
To create a B Series Blueprint :
1.
On the Blueprint Initial Setup page of the Cisco VIM Insight, complete the following fields:
Name
Blueprint Name field
Platform Type drop-down list
Tenant Network drop-down list
Description
Enter blueprint configuration name.
Choose one of the following platform types:
• B-Series (By default) choose B series for this section.
• C-Series
Choose one of the following tenant network types:
• Linuxbridge/VXLAN
• OVS/VLAN
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
155
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Pod Type drop-down list
Ceph Mode drop-down list
Description
Choose one of the following pod types:
• Fullon(By Default)
• Micro
• UMHC
Note
Note
UMHC pod type is only supported for
OVS/VLAN tenant type.
Pod type micro is supported for OVS/VLAN,
ACI/VLAN, VPP/VLAN.
Choose one of the following Ceph types:
• Dedicated
• Central (By Default) - Not supported in Production
Optional Features and Services
Import Existing YAML file
Checkbox Swiftstack, LDAP, Syslog Export Settings, Install Mode,
TorSwitch Information, TLS, Nfvmon, Pod Name, VMTP,
Nfvbench, Auto Backup, Heat, Keystone v3, Enable Esc
Priv.
If any one is selected, the corresponding section is visible in various Blueprint sections.
By default all features are disabled except Auto Backup.
Click Browse button to import the existing yaml file.
If you have an existing B Series YAML file you can use this feature to upload the file.
Insight will automatically fill in the fields and if any mandatory field is missed then it gets highlighted in the respective section.
2.
Click Physical Setup to navigate to the Registry Setup configuration page. Fill in the following details for Registry
Setup:
156
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Registry User Name
Registry Password
Registry Email text field text field text field
Description
User-Name for Registry (Mandatory) .
Password for Registry (Mandatory) .
Email ID for Registry (Mandatory) .
Once all mandatory fields are filled the Validation Check Registry Page will show a Green Tick.
3.
Click UCSM Common Tab and complete the following fields:
Name
User name disabled field
Password text field
UCSM IP text field
Resource Prefix text field
QOS Policy Type drop-down
Description
By default value is Admin.
Enter Password for UCSM Common (Mandatory) .
Enter IP Address for UCSM Common(Mandatory).
Enter the resource prefix (Mandatory) .
Choose one of the following types:
• NFVI (Default)
• Media
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
157
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Max VF Count
Enable VF Performance
Enable Prov FI PIN
MRAID-CARD text field
Enable QoS Policy optional checkbox optional checkbox optional checkbox
Enable UCSM Plugin optional checkbox optional checkbox
Enable QOS for Port Profile
SRIOV Multi VLAN Trunk optional checkbox optional grid
Description
Select the Max VF Count.
<1-54> Maximum VF count 54, default is 20.
If VF performance is enabled we recommend you to keep
MAX_VF_COUNT to 20 else may fail on some VICs like 1240.
Default is false. Set to true to apply adaptor policy at VF level.
Default is false.
Enables JBOD mode to be set on disks. Applicable only if you have RAID controller configured on Storage C240
Rack servers.
Visible when Tenant Network type is OVS/VLAN
Visible only when UCSM Plugin is enabled. If UCSM
Plugin is disabled then this option is set to False.
Visible only when UCSM Plugin is enabled.
Visible when UCSM Plugin is enabled. Enter the values for network and vlans ranges. Grid can handle all CRUD operations like Add, Delete, Edit and, Multiple Delete.
4.
Click Networking to advance to the networking section of the Blueprint:
158
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Domain Name field
HTTP Proxy Server field
HTTPS Proxy Server field
IP Tables on Management Pods
NTP Server
Domain Name Server
Description
Enter the domain name (Mandatory) .
If your configuration uses an HTTP proxy server, enter the IP address of the server.
If your configuration uses an HTTPS proxy server, enter the IP address of the server.
Specifies the list of IP Address with Mask.
Enter a maximum of four and minimum of one IPv4 and
/or IPv6 addresses in the table.
Enter a maximum of three and minimum of one IPv4 and/or IPv6 addresses.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
159
Configuring OpenStack Installation
Name
Network table
Installing Cisco VIM through Cisco VIM Unified Management
Description
160
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Configuring OpenStack Installation
Description
Network table is pre-populated with segments. To add
Networks you can either clear all the table using Delete
All or click Edit icon for each segment and fill in the details.
You can add, edit, or delete network information in the table:
• Click + to enter new entries (networks) to the table.
• Specify the following fields in the Edit Entry to
Networks dialog box.
Name
VLAN field
Segment drop-down list
Description
Enter the VLAN ID.
For Segment - Provider, the
VLAN ID value is always
"none".
You can select any one segment from the dropdown list.
• API
• Management/Provision
• Tenant
• CIMC
• Storage
• External
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
161
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
Name Description
• Provider (optional)
Note Some segments do not need some of the values listed in the preceding points.
Subnet field
IPv6 Subnet
Gateway
IPv6 Gateway
Pool field
IPv6 Pool field field field field
Enter the IPv4 address for the subnet.
Enter IPv6 address. This field will be available only for Management provision and API.
Enter the IPv4 address for the Gateway.
Enter IPv6 gateway. This field will only available only for Management provision and API network.
Enter the pool information in the required format, for example: 10.30.1.1 or
10.30.1.1 to 10.30.1.12
Enter the pool information in the required format, for example:
10.1.1.5-10.1.1.10,10.2.1.5-10.2.1.10
This field is only available for the Mgmt/Provision.
Click Save .
5.
On the Servers and Roles page of the Cisco VIM Suite wizard, you will see a pre-populated table filled with Roles:
Control, Compute and Block Storage (Only if CEPH Dedicated is selected in Blueprint Initial Setup.
162
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Server User Name field
Disable Hyperthreading
Description
Enter the username of the server.
Default value is false. You can set it as true or false.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
163
Configuring OpenStack Installation
Name
Cobbler
Installing Cisco VIM through Cisco VIM Unified Management
Description
Enter the Cobbler details in the following fields:
Name
Cobbler Timeout field
Description
The default value is 45 min.
This is an optional parameter. Timeout is displayed in minutes, and its value ranges from 30 to
120.
Block Storage Kickstart field
Kickstart file for Storage
Node.
Admin Password Hash field
Cobbler Username
Control Kickstart field field
Enter the Admin Password.
Password should be
Alphanumeric. Password should contain minimum 8 characters and maximum of
32 characters.
Enter the cobbler username to access the cobbler server.
Kickstart file for Control
Node.
Compute Kickstart field Kickstart file for Compute
Node.
Cobbler Admin Username field
Enter the admin username of the Cobbler.
164
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Add Entry to Servers and Roles
Description
Configuring OpenStack Installation
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
165
Configuring OpenStack Installation
Name
Installing Cisco VIM through Cisco VIM Unified Management
Description
Click Edit or + to add a new server and role to the table.
166
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Server Name Enter a server name
Server Type list
Rack ID
Chassis ID drop-down Choose Blade or Rack from the drop-down list.
The Rack ID for the server.
Enter a Chassis ID.
If Rack is chosen, the Rack
Unit ID field is displayed.
Enter a Rack Unit ID.
If Blade is chosen, the
Blade ID field is displayed.
Enter a Blade ID.
Select the Role from the drop-down list.
Management IP
If Server type is Blade then select Control and
Compute . If server is Rack then select Block Storage .
It is an optional field but if provided for one server then it is mandatory to provide
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
Management IPv6 details for other Servers as well.
Enter the Management IPv6
Address.
Click Save .
6.
Click ToR Switch checkbox in Blueprint Initial Setup to enable the TOR SWITCH configuration page. It is an
Optional section in Blueprint Setup but once all the fields are filled it is a part of the Blueprint.
Name
Configure ToR optional checkbox.
Description
Enabling this checkbox, changes the configure ToR section from false to true.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
167
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
ToR Switch Information mandatory table.
Description
168
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Configuring OpenStack Installation
Description
Click (+) to add information for ToR Switch.
Name
Hostname
Username
Password
SSH IP
SSN Num
VPC Peer Keepalive
VPC Domain
Description
ToR switch hostname.
ToR switch username.
Tor switch password.
ToR switch SSH IP Address.
ToR switch ssn num.
Peer Management IP. You do not define if there is no peer.
Do not define if peer is absent.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
169
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
VPC Peer Port Info Interface for vpc peer ports.
BR Management Port Info Management interface of management node.
BR Management PO Info Port channel number for management interface of management node.
Click Save .
On clicking save button, Add ToR Info Connected to Fabric field will be visible.
Port Channel field.
Switch Name field.
Enter the Port Channel input.
Enter the Port number.
7.
Click OpenStack Setup tab to advance to the OpenStack Setup Configuration page. On the OpenStack Setup page of the Cisco VIM Insight wizard, complete the following fields:
Name
HA Proxy
Description
Fill in the following details:
170
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
External VIP Address field Enter IP address of External
VIP.
External VIP Address IPv6 field
Enter IPv6 address of
External VIP.
Virtual Router ID field Enter the Router ID for HA.
Internal VIP Address IPv6 field
Enter IPv6 address of Internal
IP.
Internal VIP Address field Enter IP address of Internal
VIP.
Installing Cisco VIM through Cisco VIM Unified Management
Name
Keystone
Configuring OpenStack Installation
Description
Pre-populated field values. This option would always be true.
Admin Username field
Admin Tenant Name field admin admin
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
171
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
LDAP (Only if Keystonev3 is enabled)
Note This option is only available with Keystone v3
Description
172
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Configuring OpenStack Installation
Description
This is available only when Keystone v3 and LDAP both are enabled under Optional Features and Services in Blueprint
Initial Setup.
Domain Name field Enter name for Domain name.
Object Class for Users field Enter a string as input.
Object Class for
Groups field
Domain Name Tree for
Users field
Enter a string.
Enter a string.
Domain Name Tree for
Groups field
Enter a string.
Suffix for Domain Name field
URL field
Enter a string.
Domain Name of bind user field
Enter a string.
Password field
Enter a URL with ending port number.
Enter Password as string format.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
173
Configuring OpenStack Installation
Name
Installing Cisco VIM through Cisco VIM Unified Management
Description
User Filter field Enter filter name as string.
User ID Attribute field Enter a string.
User Name Attribute field Enter a string.
User Mail Attribute field Enter a string.
Group Name Attribute field Enter a string.
174
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Neutron
Description
Configuring OpenStack Installation
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
175
Configuring OpenStack Installation
Name
Installing Cisco VIM through Cisco VIM Unified Management
Description
Neutron fields would change on the basis of Tenant Network
Type Selection from Blueprint Initial Setup . Following are the options available for Neutron for OVS/VLAN:
176
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Tenant Network Type field Auto Filled based on the
Tenant Network Type selected in the Blueprint
Initial Setup page.
Mechanism Drivers
NFV Hosts field field Auto Filled based on the
Tenant Network Type selected in Blueprint Initial
Setup page.
Auto filled with the Compute you added in Server and
Roles.
If you select All in this section NFV_HOSTS: ALL will be added to the Blueprint or you can select one particular compute. For Eg:
NFV_HOSTS: compute-server-1, compute-server-2.
Tenant VLAN Ranges field List of ranges separated by comma form start:end.
Provider VLAN Ranges field
List of ranges separated by comma form start:end.
VM Hugh Page Size
(available for NFV_HOSTS option) field
2M or 1G
Installing Cisco VIM through Cisco VIM Unified Management
Name
Configuring OpenStack Installation
Description
Enable Jumbo Frames field Enable the checkbox
For Tenant Network Type Linux Bridge everything remains the same but Tenant VLAN Ranges will be removed.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
177
Configuring OpenStack Installation
Name
CEPH
Installing Cisco VIM through Cisco VIM Unified Management
Description
178
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Configuring OpenStack Installation
Description
1.
1. When Object Storage Backend is selected Central in blueprint initial setup.
CEPH Mode
Cluster ID
Monitor Host
Monitor Members
Secret UUID
By default Central.
Enter Cluster ID.
Enter Monitor Host for CEPH
Enter Monitor Members for CEPH
Enter Secret UUID for CEPH
NOVA Boot from Drop down selection. You can choose CEPH or local.
NOVA RBD POOL Enter NOVA RBD Pool (default's to vms)
CEPH NAT Optional, needed for Central Ceph and when mgmt network is not routable
2.
When Object Storage Backend is selected Dedicated in blueprint initial setup.
• CEPH Mode: By default Dedicated.
• NOVA Boot: From drop down selection you can choose
CEPH or local.
3.
When Object Storage Backend is selected NetApp in blueprint initial setup.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
179
Configuring OpenStack Installation
Name
GLANCE
CINDER
Installing Cisco VIM through Cisco VIM Unified Management
Description
1. When Object Storage Backend is selected Central in blueprint initial setup.
By default Populated for CEPH Dedicated with Volume
Driver value as CEPH .
180
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
VMTP
VMTP optional section will only be visible once
VMTP is selected from Blueprint Initial Setup.
Description
Configuring OpenStack Installation
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
181
Configuring OpenStack Installation
Name
Installing Cisco VIM through Cisco VIM Unified Management
Description
Check one of the check boxes to specify a VMTP network:
• Provider Network
• External Network
For the Provider Network complete the following:
182
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Network Name
Subnet field
Network IP Start
Network IP End
Network Gateway
DNS Server field field field field field
Enter the name for the external network.
Enter the Subnet for Provider
Network.
Enter the starting floating
IPv4 address.
Enter the ending floating
IPv4 address.
Enter the IPv4 address for the
Gateway.
Enter the DNS server IPv4 address.
Enter the segmentation ID.
Segmentation ID field
For External Network fill in the following details:
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
Network Name
Subnet field field
Network IP Start
Network IP End
DNS Server field field field
Network Gateway field
Enter the name for the external network.
Enter the Subnet for External
Network.
Enter the starting floating
IPv4 address.
Enter the ending floating
IPv4 address.
Enter the IPv4 address for the
Gateway.
Enter the DNS server IPv4 address.
TLS This optional section will only be visible once
TLS is selected from Blueprint Initial Setup Page.
TLS has two options:
• External LB VIP FQDN -Text field.
• External LB VIP TLS True/False. By default this option is false.
Under the OpenStack setup tab, Vim_admins tab will be visible only when Vim_admins is selected from the Optional Features & Services under the
Blueprint Initial setup tab
Following are the field descriptions for VIM Admins:
• User Name - Text field.
• Password -Password field. Admin hash password should always start with $6.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
183
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
SwiftStack optional section will be visible once
SwiftStack is selected from Blueprint Initial Setup
Page. SwiftStack is only supported with KeyStonev2
. If you select Keystonev3, swiftstack will not be available for configuration.
Following are the options that needs to be filled for
SwiftStack:
Cluster End Point
Admin User field
Admin Tenant
Reseller Prefix field field field
Admin Password field
Protocol
IP address of PAC
(proxy-account-container) endpoint.
Admin user for swift to authenticate in keystone.
The service tenant corresponding to the
Account-Container used by
Swiftstack.
Reseller_prefix as configured for Keysone Auth,AuthToken support in Swiftstack E.g
KEY_ swiftstack_admin_password http or https
8.
If Syslog Export or NFVBENCH is selected in Blueprint Initial Setup Page, the Services Setup page will be enabled for the user to view. Following are the options under Services Setup Tab:
184
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Syslog Export
Configuring OpenStack Installation
Description
Following are the options for Syslog Settings:
Remote Host
Protocol
Facility
Severity
Clients
Port
Enter Syslog IP address.
Only UDP is supported.
Defaults to local5.
Defaults to debug.
Defaults to ELK.
Defaults to 514 but can be modified by the User.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
185
Configuring OpenStack Installation
Name
NFVBENCH
Installing Cisco VIM through Cisco VIM Unified Management
Description
NFVBENCH enable checkbox which by default is false .
ENABLE_ESC_PRIV
Add ToR information connected to switch:
• Select a TOR Switch and enter the Switch name.
• Enter the port number. For example:eth1/5. VTEP VLANS
(mandatory and needed only for VXLAN): Enter 2 different
VLANs for VLAN1 and VLAN2
• NIC Ports: INT1 and INT2 optional input. Enter the 2 port numbers of the 4-port 10G Intel NIC at the management node used for NFVBench.
Enable the checkbox to set it as True. By default it is False .
Step 3 To create a C Series Blueprint :
1.
On the Blueprint Initial Setup page of the Cisco VIM Insight, complete the following fields:
186
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Blueprint Name field.
Platform Type drop-down list
Tenant Network drop-down list
Description
Enter the name for the blueprint configuration.
Choose one of the following platform types:
• B-Series (By default)
• C-Series ( Select C Series)
Choose one of the following tenant network types:
• Linux Bridge/VXLAN
• OVS/VLAN
• VTS/VLAN
• VPP/VLAN
• ACI/VLAN
Note when VTS/VLAN or ACI/VLAN is selected then respective tabs are available on Blueprint setup. When Mechanism driver OVS or ACI is selected,
VM_HUGEPAGE_PERCENTAGE field is enabled for all standalone compute nodes, when NFV_HOSTS is enabled.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
187
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Pod Type drop-down list
Description
Choose one of the following pod type :
• Fullon(By Default)
• Micro
• UMHC
• NGENAHC
Note • UMHC pod type is only supported for
OVS/VLAN tenant type.
• NGENAHC is supported for VPP/VLAN tenant type with no SRIOV
• Pod type micro is supported for
OVS/VLAN, ACI/VLAN,VPP/VLAN.
Ceph Mode drop-down list
Optional and Services Features
Import Existing YAML file checkbox
Choose one of the following Ceph types:
• Dedicated (By Default)
• Central. Central is not supported in Production
Swiftstack, LDAP, Syslog Export Settings, Install Mode,
TorSwitch Information, TLS, NFVMON, Pod Name,
VMTP, NFVBench, Autbackup, Heat, Keystone v3,
Enable Esc Priv.
If any one is selected, the corresponding section is visible in various Blueprint sections.
By default all features are disabled except Auto Backup.
If you have an existing C Series YAML file you can use this feature to upload the file.
Insight will automatically fill in the fields and any missed mandatory field will be highlighted in the respective section.
2.
Click Physical Setup to advance to the Registry Setup configuration page. Fill in the following details for Registry
Setup:
188
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Registry User Name text field
Registry Password text field
Registry Email text field
Description
User-Name for Registry (Mandatory) .
Password for Registry (Mandatory) .
Email ID for Registry (Mandatory) .
Once all the mandatory fields are filled the Validation Check Registry Page will be changed to a Green Tick.
3.
Click CIMC Common Tab and complete the following fields:
Name
User Name disabled field
Password text field
Description
By default value is Admin.
Enter Password for UCSM Common (Mandatory) .
4.
Click Networking to advance to the networking section of the Blueprint.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
189
Configuring OpenStack Installation
Installing Cisco VIM through Cisco VIM Unified Management
Name
Domain Name field
HTTP Proxy Server field
HTTPS Proxy Server field
IP Tables on Management Pods
NTP Servers field
Domain Name Servers field
Description
Enter the domain name.
(Mandatory)
If your configuration uses an HTTP proxy server, enter the IP address of the server.
If your configuration uses an HTTPS proxy server, enter the IP address of the server.
Specifies the list of IP Address with Mask.
Enter a maximum of four and minimum of one IPv4 and/or IPv6 addresses in the table.
Enter a maximum of three and minimum of one IPv4 and/or IPV6 addresses.
190
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Networks table
Description
Configuring OpenStack Installation
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
191
Configuring OpenStack Installation
Name
Installing Cisco VIM through Cisco VIM Unified Management
Description
Network table is pre-populated with Segments. To add
Networks you can either clear all the table with Delete all or click edit icon for each segment and fill in the details.
You can add, edit, or delete network information in the table.
192
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
• Click Add (+) to add new entries (networks) to the table.
• Specify the following fields in the Edit Entry to
Networks dialog:
Name
VLAN field
Segment drop-down list
Description
Enter the VLAN ID .
For Segment - Provider, the
VLAN ID value is 'none'.
When you add/edit new segment then following segments types are available in the form of dropdown list and you can select only one.
• API
• Management/provision
• Tenant
• Storage
Installing Cisco VIM through Cisco VIM Unified Management
Name
Configuring OpenStack Installation
Description
Subnet field
IPv6 Subnet field
Gateway field
Gateway IPv6 field
Pool field
IPv6 Pool field
• External
• Provider
• ACIINFRA
Note Aciinfra segment is available only when ACI/VLAN tenant type is selected)
Depending upon the segment some of the entries below are not needed. Please refer to the example file in openstack-configs dir for details.
Enter the IPv4 address for the subnet.
Enter IPv6 Address. This field will be available only for Management provision and API
Enter the IPv4 address for the Gateway.
Enter the IPv6 address for the gateway. This will support for API and management provision.
Enter the pool information in the required format, for example:
10.1.1.5-10.1.1.10,10.2.1.5-10.2.1.10
This field is available only for the Mgmt/Provision,
Storage, and Tenant segments.
Enter the pool information in the required format. For example:
10.1.1.5-10.1.1.10,10.2.1.5-10.2.1.10
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
193
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
Click Save .
5.
On the Servers and Roles page of the Cisco VIM Suite wizard, a pre-populated table filled with Roles : Control,
Compute and Block Storage (Only if CEPH Dedicated is selected in Blueprint Initial Setup is available.
Note
Name
If you choose mechanism driver as OVS or ACI, VM_HUGEPAGE_PERCENTAGE field column is available for compute nodes, where you can fill values from 0 to 100%, when NFV_HOSTS: ALL is chosen.
Server User Name field
Disable Hyperthreading
Description
Enter the username of the Server.
Default value is false. You can set it as true or false.
194
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
Cobbler
Configuring OpenStack Installation
Description
Enter the Cobbler details in the following fields:
Name Description
Cobbler Timeout field The default value is 45 min.
This is an optional parameter.
Timeout is displayed in minutes, and its value ranges from 30 to 120.
Block Storage Kickstart field
Admin Password Hash field Enter the Admin Password.
Password should be
Alphanumeric. Password should contain minimum 8 characters and maximum of
32 characters.
Cobbler Username field
Kickstart file for Storage
Node.
Enter the cobbler username to access the cobbler server.
Control Kickstart field
Compute Kickstart field
Kickstart file for Control
Node.
Kickstart file for Compute
Node.
Cobbler Admin Username field
Enter the admin username of the Cobbler.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
195
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Add Entry to Servers and Roles
Note when Pod type micro is selected then all the three servers will be associated with control, compute and block storage role.
For Example:
Roles
• Block Storage
• -Server 1
• -Server 2
• -Server 3
• Control
• -Server 1
• -Server 2
• -Server 3
• Compute
• -Server 1
• -Server 2
• -Server 3
Description
Click Edit or + to add a new server and role to the table.
Server Name Entry a friendly name.
Rack ID field
VIC Slot field
The rack ID for the server.
Enter a VIC Slot.
CIMC IP field
CIMC Username
CIMC Password field field
Enter a IP address.
Enter a Username.
Enter a Password for CIMC.
Select the Role from the drop down list
Choose Control or Compute or Block Storage from the drop-down list.
Management IP
Management IPv6
It is an optional field but if provided for one Server then it is mandatory to provide it for other Servers as well.
Routable and valid IPv6 address. It is an optional field but if provided for one server then it is mandatory for all other servers as well.
Note When Pod type UMHC is selected then auto ToR configuration is not supported and the ToR info at server and roles level is not allowed to be entered.
Click Save or Add .
If Configure ToR checkbox is True with at-least one switch detail, these fields will be displayed for each server and this is similar to DP Tor: Port Channel and Switch Name (Mandatory if Configure ToR is true)
On clicking Save or Add all information related to Servers and Roles gets saved.
• Port Channel field
• Switch Name field
• Switch Port Info field
• Enter the port channel input.
• Enter the switch name.
• Enter the switch port information.
196
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
DP ToR (Only for Control and Compute) : Mandatory if Intel NIC and Configure TOR is True.
Description
• Port Channel field
• Switch Name field
• Switch Port Info field
• Enter the port channel input.
• Enter the switch name.
• Enter the switch port information.
SRIOV TOR INFO (Only for Compute Nodes). It is mandatory in server and roles if Intel NIC and
Configure TOR is True.
Switch Name (Mandatory if Configure ToR is true).
This field appears only when Intel NIC support is true, as Auto TOR config is not supported in VIC_NIC combo
•
• Switch Name field
Switch Port Info field
• Enter the switch name.
• Enter the switch port information.
Intel SRIOV VFS (valid for Intel NIC testbeds) and can be integer.
For SRIOV support for Intel NIC. By Default, SRIOV support is disabled. To enable, define a value in the range #
* 1-32 when INTEL_NIC_SUPPORT is set True (X710 Max
VFs = 32) # * 1-63 when CISCO_VIC_INTEL_SRIOV is set True (X520 Max VFs = 63)
INTEL_SRIOV_PHYS_PORTS (valid for Intel NIC test beds) and can be of value 2 or 4 (default is 2)
In some cases the # of Physical SRIOV port needed is 4; to meet that requirement, define the following: # this is optional, if nothing is defined code will assume it to be 2; the only 2 integer values this parameter # takes is 2 or 4 and is true when INTEL_NIC_SUPPORT is True and
INTEL_SRIOV_VFS is valid
Click Save or Add .
Disable Hyperthreading
If all mandatory fields are filled click Save or Add to add information on Servers and Roles.
Default value is false. You can set it as true or false.
Click Save
Note
Note
Note
Maximum two ToR info needs to be configured for each connection type on each node (control, compute and block_storage node).
If pod type UMHC is selected then CISCO_VIC_INTEL_SRIOV is enabled to be TRUE.
For Tenant type ACI/VLAN, port channel for each ToR port will not be available in servers and roles, as
APIC will automatically assign port-channel numbers. Also, for ACI in full on mode you can select Intel
NIC Support in the “Servers and Roles” section.
6.
Click ToR Switch checkbox in Blueprint Initial Setup to enable the TOR SWITCH configuration page. It is an
Optional section in Blueprint Setup but once all the fields are filled in then it will become a part of the Blueprint.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
197
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Configure ToR optional checkbox.
Note If UMHC is selected as podtype, configure TOR is not allowed.
Description
Enabling this checkbox, changes the configure ToR section from false to true.
Note Configure tor is true then ToR switch info maps in servers
ToR Switch Information mandatory table if you want to enter ToR information.
Click (+) to add information for ToR Switch.
Name
Name
Description
ToR switch name.
ToR switch username.
Username
Password
SSH IP
ToR switch password.
ToR switch SSH IP.
SSN Num
VPC Peer Keepalive
VPC Domain
VPC Peer Port Info
VPC Peer VLAN Info
BR Management Port Info
BR Management PO Info
ToR switch ssn num.
Peer Management IP. You cannot define if there is no peer.
Cannot define if there is no peer.
Interface for vpc peer ports.
VLAN ids for vpc peer ports
(optional).
Management interface of build node.
Port channel number for management interface of build node.
BR Management VLAN info VLAN id for management interface of build node (access).
Click Save .
Note When tenant type ACI/VLAN is selected, the TOR switch information table differs and is mandatory.
Name
Configure ToR optional checkbox.
Note If UMHC is selected as podtype, configure TOR is not allowed.
Description
Enabling this checkbox, changes the configure ToR section from false to true.
Note Configure tor is true then ToR switch info maps in servers
198
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
ToR Switch Information mandatory table if you want to enter ToR information.
Description
Click (+) to add information for ToR Switch.
Name
Name
Username
Description
ToR switch name.
ToR switch username.
Password
SSH IP
SSN Num
VPC Peer Keepalive
VPC Domain
VPC Peer Port Info
ToR switch password.
ToR switch SSH IP.
ToR switch ssn num.
Peer Management IP. You cannot define if there is no peer.
Cannot define if there is no peer.
Interface for vpc peer ports.
VPC Peer VLAN Info
BR Management Port Info
VLAN ids for vpc peer ports
(optional).
Management interface of build node.
BR Management PO Info Port channel number for management interface of build node.
BR Management VLAN info VLAN id for management interface of build node (access).
Click Save .
Note When the Tenant type ACI/VLAN is selected, the ToR switch information table differs and is mandatory.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
199
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Configure ToR
Description
Is not checked, as by default ACI will configure the ToRs
Host Name ToR switch name.
VPC Peer keep alive
VPC Domain
Enter Peer must be exist pair.
Enter an integer.
BR management port info Enter BR management port info eg. Eth1/19 ,atleast one pair to be exist.
Enter Node ID Entered integer must be unique.
Note If TOR_TYPE is selected as NCS-5500, the TOR switch information table differs and is mandatory.
Name
Configure ToR optional checkbox
Note If NSC-5500 is selected as TOR_TYPE, configure TOR is set as mandatory.
Description
Enabling this checkbox, changes the configure ToR section from false to true.
Note Configure TOR is true then ToR switchinfo maps in servers.
200
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
If you want to enter Fretta details fill in the NCS-5500
Information table.
Description
Click (+) to add information for Fretta Switch.
Name Description
Name
User Name
Password
SSH IP
Enter the NCS-5500 hostname.
Enter the NCS-5500 username.
Enter the NCS-5500 password.
Enter the NCS-5500 ssh IP
Address.
Peer management IP.
VPC Peer Link
BR Management PO Info Port channel number for management interface of build node.
BR Management VLAN info
VLAN id for management interface of build node
(access).
VPC Peer Port Info
VPC Peer Port Address
Interface for vpc peer ports.
Address for ISIS exchange.
ISIS Loopback Interface address
ISIS loopack IP Address.
ISIS net entity title Enter a String.
ISIS prefix SID Integer between 16000 to
1048575.
When TOR-TYPE selected as NCS-5500 and 2 NCS-5500 are configured it is mandatory to configure
MULTI_SEGMENT_ROUTING_INFO
Name Description
BGP AS Number
ISIS Area Tag
API bundle ID field field
Loopback Interface name field field
Integer between 1 to 65535.
A valid string.
Loopback Interface name.
Integer between 1 to 65535.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
201
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
API bridge domain
EXT bridge domain field field
Description
String (Optional, only needed when br_api of mgmt node is also going through NCS-5500; this item and api_bundle_id are mutually exclusive).
A valid string (user pre-provisions physical, bundle interface, sub-interface and external BD for external uplink and provides external BD info setup_data).
7.
Click OpenStack Setup Tab to advance to the OpenStack Setup Configuration page.
8.
On the OpenStack Setup Configuration page of the Cisco VIM Insight wizard, complete the following fields:
Name
HA Proxy
Description
Fill in the following details:
External VIP Address field Enter IP address of External
VIP.
External VIP Address IPv6 field
Virtual Router ID field
Internal VIP Address IPv6 field
Internal VIP Address field
Enter IPv6 address of External
VIP.
Enter the Router ID for HA.
Enter IPv6 address of Internal
IP.
Enter IP address of Internal
VIP.
Keystone Mandatory fields are pre-populated.
Admin User Name admin.
Admin Tenant Name admin.
202
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Name
LDAP
Configuring OpenStack Installation
Description
LDAP enable checkbox which by default is false , if LDAP is enabled on keystone.
Domain Name field
Object Class for Users field
Enter name for Domain name.
Enter a string as input.
Object Class for Groups field Enter a string.
Domain Name Tree for Users field
Enter a string.
Domain Name Tree for
Groups field
Enter a string.
Suffix for Domain Name field Enter a string.
URL field Enter a URL with ending port number.
Domain Name of Bind User field
Enter a string.
Password
User Filter field field
User ID Attribute field
User Name Attribute field
Enter Password as string format.
Enter filter name as string.
Enter a string.
Enter a string.
User Mail Attribute field Enter a string.
Group Name Attribute field Enter a string.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
203
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Neutron
CEPH
GLANCE
CINDER
Description
Neutron fields would change on the basis of Tenant Network
Type Selection from Blueprint Initial Setup . Following are the options available for Neutron for OVS/VLAN:
Tenant Network Type field
Mechanism Drivers
NFV Hosts field field
Auto Filled based on the Tenant
Network Type selected in the
Blueprint Initial Setup page.
Auto Filled based on the Tenant
Network Type selected in
Blueprint Initial Setup page.
Auto filled with the Compute you added in Server and Roles.
If you select All in this section
NFV_HOSTS: ALL will be added to the Blueprint or you can select one particular compute. For Eg:
NFV_HOSTS: compute-server-1, compute-server-2.
Tenant VLAN Ranges field List of ranges separated by comma form start:end.
Provider VLAN Ranges field List of ranges separated by comma form start:end.
VM Hugh Page Size
(available for NFV_HOSTS option) field
2M or 1G
Enable Jumbo Frames field Enable the checkbox
For Tenant Network Type Linux Bridge everything remains the same but Tenant VLAN Ranges will be removed.
Ceph has two pre-populated fields:
• CEPH Mode : By default Dedicated .
• NOVA Boot: From drop down selection you can choose
Ceph or local .
By default Populated for CEPH Dedicated with Store Backend value as CEPH .
By default Populated for CEPH Dedicated with Volume Driver value as CEPH .
204
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
VMTP optional section, this will be visible only if VMTP is selected from Blueprint Initial Setup.
For VTS tenant type Provider network is only supported.
Check one of the check boxes to specify a VMTP network:
• Provider Network
• External Network
For the Provider Network complete the following:
Network Name field
Subnet field
Network IP Start field
Enter the name for the external network.
Enter the Subnet for Provider
Network.
Enter the starting floating IPv4 address.
Network IP End field
Network Gateway
DNS Server field
Segmentation ID field field
Enter the ending floating IPv4 address.
Enter the IPv4 address for the
Gateway.
Enter the DNS server IPv4 address.
Enter the segmentation ID.
For External Network fill in the following details:
Network Name field Enter the name for the external network.
IP Start field Enter the starting floating IPv4 address.
IP End field
Gateway
DNS Server
Subnet field field field
Enter the ending floating IPv4 address.
Enter the IPv4 address for the
Gateway.
Enter the DNS server IPv4 address.
Enter the Subnet for External
Network.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
205
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name Description
TLS optional section, this will be visible only if
TLS is selected from Blueprint Initial Setup Page.
TLS has two options:
• External LB VIP FQDN Text Field.
• External LB VIP TLS True/False. By default this option is false.
SwiftStack optional section will be visible only if SwiftStack is selected from Blueprint Initial
Setup Page. SwiftStack is only supported with
KeyStonev2 . If you select Keystonev3 , swiftstack will not be available to configure.
Following are the options that needs to be filled for SwiftStack:
Cluster End Point IP address of PAC
(proxy-account-container) endpoint.
Admin User Admin user for swift to authenticate in keystone.
Admin Tenant
Reseller Prefix
Admin Password
The service tenant corresponding to the
Account-Container used by
Swiftstack.
Reseller_prefix as configured for Keysone Auth,AuthToken support in Swiftstack E.g KEY_ swiftstack_admin_password
Protocol http or https
Note When the Tenant type ACI/VLAN is selected then ACIINFO tab is available in blueprint setup.
206
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Note When ACI/VLAN is selected then ToR switch from initial setup is mandatory.
Name Description
APIC Hosts field apic_username field
Enter host input. Example: <ip1|host1>:[port] . max of 3, min of 1, not 2;
Enter a string format.
apic_password apic_system_id filed field apic_resource_prefix field apic_tep_address_ pool field
Enter Password.
Enter input as string. Max length 8.
Enter string max length 6.
Allowed only 10.0.0.0/16 multiclass_address_pool field apic_pod_id field apic_installer_tenant field apic_installer_vrf field api_l3out_network field
Allowed only 225.0.0.0/15
Enter integer(1- 65535)
Enter String, max length 32
Enter String, max length 32
Enter String, max length 32
Note
Note
Name
VTS Day0 (checkbox)
VTS User name
VTS Password
VTS NCS IP
VTC SSH Username
VTC SHH Password
Description
True or false default is false.
Enter as string does not contain special characters.
Enter password
Enter IP Address format.
Enter a string
Enter password
When Tenant Type is VTS/VLAN then VTS tab is available in blueprint setup.
If vts day0 is enabled then SSH username and SSH password is mandatory.
If SSH_username is input present then SSH password is mandatory vice-versa
9.
If Syslog Export or NFVBENCH is selected in Blueprint Initial Setup Page, then Services Setup page will be enabled for user to view. Following are the options under Services Setup Tab:
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
207
Installing Cisco VIM through Cisco VIM Unified Management
Configuring OpenStack Installation
Name
Syslog Export
NFVBENCH
ENABLE_ESC_PRIV
Description
Following are the options for Syslog Settings:
Remote Host Enter Syslog IP Address.
Protocol
Facility
Severity
Clients
Port
Supports only UDP.
Defaults to local5.
Defaults to debug.
Defaults to ELK.
Defaults to 514 but can be modified by the User.
NFVBENCH enable checkbox by default is false .
Add ToR information connect to Switch:
• Select a TOR Switch and enter the Switch name.
• Enter the port number. For Example: eth1/5 . VTEP VLANS (mandatory and needed only for VTS/VXLAN,): Enter 2 different VLANs for VLAN1 and
VLAN2.
• NIC Ports: INT1 and INT2 optional input. Enter the 2 port numbers of the
4-port 10G Intel NIC at the management node used for NFVBench.
Enable the checkbox to set it as True. By default it is False .
Step 4
Step 5
Click Offlinevalidation , to initiate an offline validation of the Blueprint.
Blueprint can also be created using an Upload functionality :
• In Blueprint Initial Setup.
• Click Browse in the blueprint initial setup.
• Select the YAML file you want to upload.
• Click Select button.
• Clicking on load button in the Insight UI Application. All the fields present in the YAML file would be uploaded to the respective fields in UI.
• Enter the name of the Blueprint (Make sure you enter unique name while saving Blueprints. There would be no two
Blueprints with same name.)
• Click Offline Validation .
• If all the mandatory fields in the UI are populated, then Offline Validation of the Blueprint will start else a pop up would be visible which will inform which section of Blueprint Creation has a missing information error.
• On Validation Success of Blueprint Save Blueprint button will be enabled with Cancel button
• A pop up will be generated asking to initiate the deployment with Blueprint Name and the stages you need to run.
208
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Post Installation Features for Active Blueprint
On Validation Failure of Blueprint Cancel button will be enabled.
Once the Offlinevalidation is successful, Save option will be enabled which will redirect you to the Blueprint Management
Page.
The wizard advances to the Blueprint Management page. On the Blueprint Management page you can select the recently added valid Blueprint and click Install button which is disabled by default.
A pop up will be generated asking to initiate the deployment with Blueprint Name and the stages you need to run.
By default all stages are selected but you can also do an incremented install.
In case of Incremented Install you should select stages in the order. For Example: If you select Validation Stage then the 2 nd stage Management Node Orchestration will be enabled. You cannot skip stages and run a deployment.
Once you click Proceed the Cloud Deployment would be initiated and the progress can be viewed from "Dashboard".
Note Once the Blueprint is in Active State, the Post-Install features listed in Navigation Bar will changed to Active stage.
Post Installation Features for Active Blueprint
This option is only available to a pod, which is successfully deployed. There are multiple sublinks available to manage the day-n operation of the pod. However, often Insight cross-launches the relevant services, through delegating the actual rendering to the individual services.
Monitoring the Pod
Cisco VIM uses ELK (elasticsearch, logstash and Kibana) to monitor the OpenStack services, by cross-launching the Kibana dashboard.
To cross launch Kibana, complete the following instructions:
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Login as POD User.
Naviagte to POD.
Navigate to Post-install
Click Monitoring
The Authentication Required browser pop up is displayed.
Enter the username as admin.
Enter the ELK_PASSWORD password obtained from /root/installer-<tagid>/openstack-configs/secrets.yaml in the management node.
Kibana is launched in an I-Frame
Note Click Click here to view Kibana logs in new tab link to view Kibana Logs in a new tab.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
209
Installing Cisco VIM through Cisco VIM Unified Management
Cross Launching Horizon
Cross Launching Horizon
Horizon is the canonical implementation of Openstack's Dashboard, which provides a web based user interface to OpenStack services including Nova, Swift and, Keystone.
Step 1
Step 2
In the Navigation pane, click Post-Install > Horizon .
Click Click here to view Horizon logs in new tab .
You will be redirected to Horizon landing page in a new tab.
NFVI Monitoring
NFVI monitoring is a Cross launch browser same as Horizon. NFVI monitoring link is available in the post install only if the setupdata has NFVI Monitoring configuration during the cloud deployment which basically pings the monitoring and checks status of Collector VM1 Info and Collector VM2 Info .
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Login as POD User.
Naviagte to POD.
Navigate to Post-install
Click Reconfigure .
Click NFVI Monitoring
Click the link Click here to view NFVI monitoring.
.
You will be redirected to NFVI monitoring page
Run VMTP
VIM 2.0, provides an integrated data and control plan test tool (called VMTP).VMTP helps you to test the cloud at any given time.
Run VMTP is divided in two sections:
• Results for Auto Run : Auto run shows the results of VMTP which was run during the cloud deployment
(Blueprint Installation).
• Results for Manual Run : To run VMTP on demand click Run VMTP .
Note If VMTP stage was skipped or not-run during Blueprint Installation, this section of POST Install gets disabled for the user.
210
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Run CloudPulse
Run CloudPulse
In VIM 2.2, we provide an integrated tool, called Cloud Pulse, that periodically checks the cloud services endpoint. The results of these tests are reflected under the Cloud Pulse link. You can also run these API endpoint tests on demand, and fetch the result of these tests by refreshing the table.
Endpoints Tests:
1.
cinder_endpoint
2.
glace_endpoint
3.
keystone_endpoint
4.
nova_endpoint
5.
neutron_endpoint
6.
all_endpoint_tests
Operator Tests:
1.
rabbitmq_check
2.
galera_check
3.
ceph_check
4.
node_check
5.
docker_check
6.
all_operator_tests
Run NFV Bench
One can Run NFV Bench for B and C series Pod, through Cisco VIM Insight. On a pod running with CVIM
2.2 and higher releases, click on the NFVBench link on the NAV-Menu.
You can run either fixed rate test or NDR/PDR test. As the settings and results for the test types differ, the options to run these tests are presented in two tabs, with its own settings and results .
NDR/PDR Test
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Login as POD User.
Naviagte to POD.
Navigate to Post-install
Click Run NFV Bench .
Log-in to CISCO VIM Insight .
Click on NDR/PDR test and complete the following fields
Name Description
Iteration Duration Select duration from 10 to 60 sec. Default is 20 sec
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
211
Installing Cisco VIM through Cisco VIM Unified Management
Fixed Rate Test
Name
Frame Size
Run NDR/PDR test
Description
Select the correct frame size to run
Click on Run NDR/PDR test. Once NDR/PDR test is finished it will display each type of test with its own settings and results.
Fixed Rate Test
Step 1
Step 2
Step 3
Log-in to CISCO VIM Insight .
In the Navigation pane, click Post-Install >Run NFV Bench.
Click Fixed rate test and complete the following fields.
Name Description
Rate
Iteration Duration
Rate: Select right configuration pps or bps from drop down-list and enter values :
For pps: minimum: 2500pps; maximum: 14500000pps
(=14.5Mpps); default: 1000000pps (=1Mpps)
For bps: minimum: 1400000bps; maximum:
10000000000bps (=10Gbps); default: 1000000000 (=1Gbps)
Select duration from 10-60Sec. Default is 20sec.
Select the right frame size(64,IMIX,1518) to run.
Frame Size
Run Fixed rate test Click on Run Fixed rate test. Once Fixed rate test is finished it will display each type of test with its own settings and results.
POD Management
One of the key aspects of Cisco VIM is that it provides the ability for the admin to perform pod life-cycle management from a hardware and software perspective. Nodes of a given pod corrupts at times and VIM provides the ability to add, remove or replace nodes, based on the respective roles with some restrictions.
Details of pod management will be listed in the admin guide, however as a summary the following operations are allowed on a running pod:
Step 1
Step 2
Add or Remove Storage Nodes : You can add one node at a time, given that we run Ceph as a distributed storage offering.
Add or Remove Computes Nodes : N-computes nodes can be replaced simultaneously; however at any given point, at least one compute node should be active.
212
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
System Update
Step 3 Replace Control Nodes : We do not support double fault scenarios, replacement of one controller at a time is supported.
System Update
As part of the lifecycle management of the cloud, VIM has the ability to bring in patches (bug fixes related to code, security, etc.), thereby providing the additional value of seamless cloud management from software perspective. Software update of the cloud is achieved by uploading a valid tar file following initiation of a
System Update from the Insight as follows:
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Login as POD User.
Naviagte to POD.
Navigate to Post-install
Click System Update .
Click Openstack Password
Click Browse button.
Select the valid tar file.
Click Open > Upload and Update .
Message stating System Update has been initiated will be displayed. Logs front-ended by hyperlink would be visible in the section below before Update Logs to help see the progress of the update. During the software update, all other pod management activities will be disabled. Post-update, normal cloud management will commence.
Reconfiguring CIMC Password through Insight
Update the cimc_password in the CIMC-COMMON section, and/or the individual cimc_password for each server and then run the update password option.
To update a password, you need to follow the password rules:
• Must contain at least one lower case letter.
• Must contain at least one upper case letter.
• Must contain at least one digit between 0 to 9.
• One of these special characters !$#@%^-_+=*&
• Your password has to be 8 to 14 characters long.
Before you begin
You must have a C-series pod up and running with Cisco VIM to reconfigure CIMC password.
Note Reconfigure CIMC password section would be disabled if the pod is in failed state as indicated by ciscovim install-status.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
213
Installing Cisco VIM through Cisco VIM Unified Management
Reconfiguring OpenStack Password
Step 1
Step 2
Step 3
Step 4
Step 5
Login as POD User.
Naviagte to POD.
Navigate to Post-install
Click Reconfigure .
Click Openstack Password
Name
CIMC_COMMON old Password
CIMC-COMMON new Password
Click Update Password
Description
CIMC_COMMON old password field cannot be edited.
Enter new CIMC-COMMON password. Password should be alphanumeric according to the password rule.
Old CIMC-COMMON password will be updated with new CIMC-COMMON password.
Reconfiguring OpenStack Password
Cisco VIM has been designed with security to accommodate users password policy.
There are two options to regenerate the Password:
1. Regenerate all passwords : Check the Regenerate all passwords checkbox and click Set Password .
This automatically regenerates all passwords in alphanumeric format.
2. Regenerate single or more password : If you want to set a specific password for any service like Horizon's
ADMIN_USER_PASSWORD you can add it by doing an inline edit. Double click field under Password and then enter the password which enables Set Password .
Note During the reconfiguration of password, all other pod management activities are disabled. Postupdate, normal cloud management commences.
Reconfiguring OpenStack Services, TLS certs and ELK configurations
Cisco VIM supports the reconfiguration of OpenStack log level services, TLS certificates, and ELK configuration. Listed below are the steps to reconfigure the OpenStack and other services:
Step 1
Step 2
Step 3
Step 4
Step 5
Login as POD User.
Naviagte to POD.
Navigate to Post-install
Click Reconfigure OpenStack Config .
Click on the specific item to be changed and updated; For TLS certificate it is the path to certificate location.
214
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Reconfiguring Optional Services
Step 6 Enter Set Config and the process will commence.
During the reconfiguration process, all other pod management activities will be disabled. Post-update, normal cloud management will commence.
Reconfiguring Optional Services
Cisco VIM offers optional services such as heat, migration to Keystone v3, NFVBench, NFVIMON and so on, that can be enabled as post-pod deployment. Optional services can be un-configured as post-deployment in Cisco VIM feature set. These services can be enabled in one-shot or selectively. Listed below are the steps to enable optional services:
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Login as POD User.
Naviagte to POD.
Navigate to Post-install
Click Reconfigure Optional Services .
Choose the right service and update the fields with the right values.
Enter Reconfigure to commence the process.
During the reconfiguration process, all other pod management activities will be disabled. Post-update, normal cloud management will commence. Once reconfigure is initiated than optional feature would be updated in active blueprint. If reconfigure of Optional Services fail in the time of reconfigure process then it is advised to contact CiscoTAC to resolve the situation through CLI.
Note All reconfigure operation feature contains repeated deployment true or false.
• Repeated re-deployment true - Feature can be re-deployed again.
• Repeated re-deployment false- Deployment of feature allowed only once.
Deployment Status :
Optional Features
APICINFO
EXTERNAL_LB_VIP_FQDN
EXTERNAL_LB_VIP_TLS
INSTALL_MODE
LDAP
NETWORKING
NFVBENCH
NFVIMON
Repeated re-deployment Options
True
False
False
True
True
True
False
False
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
215
Installing Cisco VIM through Cisco VIM Unified Management
Pod User Administration
Optional Features
PODNAME
PROVIDER_VLAN_RANGES
SWIFTSTACK
SYSLOG_EXPORT_SETTINGS
TENANT_VLAN_RANGES
TORSWITCHINFO
VIM _ ADMINS
VMTP
VTS_PARAMETERS
AUTOBACKUP
Heat
Keystone v3
HTTP Proxy Server
HTTPS Proxy Server
`
True
False
False
True
True
True
False
True
False
False
Repeated re-deployment Options
False
True
True
False
Pod User Administration
Cisco VIM Insight offers Users (Pod Admin(s) or Pod Users) to manage Users and roles associated with them.
Managing Users
To add new User
Step 1
Step 2
Step 3
Step 4
Step 5
Click Login as POD User .
Navigate to POD User Administration .
Click Manage Users .
Click Add Users to add a new user.
Complete the following fields in the Add Users page of the Cisco VIM Insight:
Field Name
Email ID
Field Description
Enter the Email ID of the User.
216
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Installing Cisco VIM through Cisco VIM Unified Management
Managing Roles
Step 6
Field Name
User Name
Field Description
Enter the User Name if the User is new. If the User is already registered to the Insight the User-Name gets auto-populated.
Select the Role from the drop-down list.
Role
Click Save .
Managing Roles
To create a new Role:
Step 1
Step 2
Step 3
Step 4
Step 5
Click Log in as POD User.
Navigate to Pod User Administration and click Manage Roles . By default you will see a full-pod-access role in the table.
Click Add Role to create a new role.
Complete the following fields on the Add Roles page in Cisco VIM Insight:
Field Name Field Description
Role
Description
Permission
Enter the name of the role.
Enter the description of the role.
Check the Permission checkbox to select the permission.
Click Save . Once, the Blueprint is in an Active state all the permissions are same for C-series and B-series Pods other than Reconfigure CIMC Password which is missing for B-series Pod.
Note Permissions are divided in the granular level where viewing creating a role.
Dashboard is the default role that is added while
Managing Root CA Certificate
You can update the CA Certificate during the registration of the POD. Once, logged in as POD User and if you have the permission to update the certificate you can view under POD User Administration>> Manage
Root CA Certificate.
To update the Certificate:
Step 1
Step 2
Step 3
Step 4
Click Login as POD User
Navigate to POD User Administration>>Manage Root CA certificate .
Click Browse and select the certificate that you want to upload.
Click Upload.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
217
Installing Cisco VIM through Cisco VIM Unified Management
Managing Root CA Certificate
• If the certificate is Invalid, and does not matches with the certificate on the management node located at
(var/www/mercury/mercury-ca.crt) then Insight will revert the certificate which was working previously.
• If the Certificate is valid, Insight will run a management node health check and then update the certificate with the latest one.
Note The CA Certificate which is uploaded should be same as the one which is in the management node.
218
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
C H A P T E R
9
Verifying the Cisco NFVI Installation
The following topics provide quick methods for checking and assessing the Cisco NFVI installation.
•
Displaying Cisco NFVI Node IP Addresses, on page 219
•
Verifying Cisco VIM Client CLI Availability, on page 220
•
Displaying Cisco NFVI Logs, on page 221
•
Accessing OpenStack API Endpoints, on page 221
•
Assessing Cisco NFVI Health with CloudPulse, on page 222
•
Displaying HA Proxy Dashboard and ELK Stack Logs, on page 224
•
Checking Cisco NFVI Pod and Cloud Infrastructure, on page 224
Displaying Cisco NFVI Node IP Addresses
To display the IP addresses for all Cisco NFVI nodes, enter the following command:
# cd /root/openstack-configs
[root @nfvi_management_node openstack-configs]# cat
/root/installer/openstack-configs/mercury_servers_info
The following is the sample output:
Total nodes: 8
Controller nodes: 3
+---------------+---------------+------------+------------+-----------+---------+
| Server | CIMC | Management | Provision | Tenant | Storage |
+---------------+---------------+------------+------------+-----------+---------+
| c44-control-1 | 172.26.233.54 | 10.21.1.25 | 10.21.1.25 | 10.2.2.22 | None
| | | | | |
|
|
| c44-control-3 | 172.26.233.56 | 10.21.1.27 | 10.21.1.27 | 10.2.2.24 | None
| | | | | |
| c44-control-2 | 172.26.233.55 | 10.21.1.28 | 10.21.1.28 | 10.2.2.25 | None
| | | | | | |
+---------------+---------------+------------+------------+-----------+---------+
|
|
|
Compute nodes: 2
+---------------+---------------+------------+------------+-----------+---------+
| Server | CIMC | Management | Provision | Tenant | Storage |
+---------------+---------------+------------+------------+-----------+---------+
| c44-compute-1 | 172.26.233.57 | 10.21.1.26 | 10.21.1.26 | 10.2.2.23 | None |
| | | | | | |
| c44-compute-2 | 172.26.233.58 | 10.21.1.23 | 10.21.1.23 | 10.2.2.21 | None |
| | | | | | |
+---------------+---------------+------------+------------+-----------+---------+
Storage nodes: 3
+---------------+---------------+------------+------------+--------+-----------+
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
219
Verifying the Cisco NFVI Installation
Verifying Cisco VIM Client CLI Availability
| Server | CIMC | Management | Provision | Tenant | Storage |
+---------------+---------------+------------+------------+--------+-----------+
| c44-storage-3 | 172.26.233.53 | 10.21.1.22 | 10.21.1.22 | None | 10.3.3.22 |
| | | | | | |
| c44-storage-2 | 172.26.233.52 | 10.21.1.24 | 10.21.1.24 | None | 10.3.3.23 |
| | | | | | |
| c44-storage-1 | 172.26.233.51 | 10.21.1.21 | 10.21.1.21 | None | 10.3.3.21 |
| | | | | | |
+---------------+---------------+------------+------------+--------+-----------+
[root@c44-top-mgmt openstack-configs]#
Verifying Cisco VIM Client CLI Availability
Cisco VIM Client CLI is used for managing Cisco NFVI pods. After the Cisco NFVI installation is complete, verify that the Cisco VIM user is running and pointing to the right management node in the installer directory.
Cisco NFVI provides a tool that you can use to check the REST API server status and directory where it is running.
To start the tool, enter the following:
# cd installer-<tagid>/tools
#./restapi.py -a status
Status of the REST API Server: active (running) since Thu 2016-08-18 09:15:39 UTC; 9h ago
REST API launch directory: /root/installer-<tagid>/
Confirm that the server status is active and check that the REST API directory matches the directory where the installation is launched.
The REST API command also provides options to start, tear down, and reset the REST API server password.
Run the following REST API command to rest the password.
# ./restapi.py -h usage: restapi.py [-h] --action ACTION [--yes] [--verbose]
REST API setup helper optional arguments:
-h, --help show this help message and exit
--action ACTION, -a ACTION setup - Install and Start the REST API server.
teardown - Stop and Uninstall the REST API server.
restart - Restart the REST API server.
regenerate-password - Regenerate the password for
REST API server.
reset-password - Reset the REST API password with user given password.
--yes, -y
--verbose, -v status - Check the status of the REST API server
Skip the dialog. Yes to the action.
Perform the action in verbose mode.
If the REST API server is not running, executing ciscovim displays the following error message:
# cd installer-<tagid>/
# ciscovim –setupfile ~/Save/<setup_data.yaml> run
If the installer directory or the REST API state is not correct or pointing to an incorrect REST API directory, go to the installer-<tagid>/tools dir and execute the following command:
220
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Verifying the Cisco NFVI Installation
Displaying Cisco NFVI Logs
# ./restapi.py –action setup
Confirm that the REST API server state and directory is correct:
# ./restapi.py –action status
If the REST API recovery step was run on an existing pod, run the following command to ensure that the
REST API server continues to manage it:
# cd installer-<tagid>/
# ciscovim --setup_file <setup_data_file_path> --perform 7 -y
Note Detailed information about the Cisco NFVI REST API is provided in the Cisco Network Function Virtualization
Infrastructure Administrator Guide.
Displaying Cisco NFVI Logs
Cisco NFVI installation logs are generated in the management node /var/log/mercury//< install_uuid >/ directory.
The last 20-log directories are tarred and kept in this directory. The logs are archived (tar.gz file) after each run.
The following table lists the Cisco NFVI installation steps and corresponding log files:
Table 12: Cisco NFVI Installation Logs
Step
3
4
1
2
7
8
5
6
Description
INPUT_VALIDATION
MGMTNODE_ORCHESTRATION
VALIDATION
BAREMETAL
COMMONSETUP
CEPH
ORCHESTRATION
VMTP
Log File mercury_baremetal_install.log
mercury_buildorchestration.log
mercury_baremetal_install.log
mercury_baremetal_install.log
mercury_os_install.log
mercury_ceph_install.log
mercury_os_install.log
None
Accessing OpenStack API Endpoints
The Cisco NFVI installer stores access credentials in the management node
/root/installer-< tag-number >/openstack-configs/openrc. The external_lb_vip_address provided in setup_data.yaml is the IP address where OpenStack APIs are handled.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
221
Verifying the Cisco NFVI Installation
Assessing Cisco NFVI Health with CloudPulse
Following is an example: export OS_AUTH_URL=http://172.26.233.139:5000/v2.0 or https://172.26.233.139:5000/v2.0 (if TLS is enabled) export OS_USERNAME=admin export OS_PASSWORD=xyzabcd export OS_TENANT_NAME=admin export OS_REGION_NAME=RegionOne
# For TLS, add export OS_CACERT=/root/openstack-configs/haproxy-ca.crt
The corresponding setup_data.yaml entry:
###############################################
# HA Proxy
################################################ external_lb_vip_address: 172.26.233.139
Assessing Cisco NFVI Health with CloudPulse
You can use the OpenStack CloudPulse tool to verify Cisco NFVI health. CloudPulse servers are installed in containers on all Cisco NFVI control nodes, and CloudPulse users are installed on the management node. Run the following commands to display Cisco NFVI information. For information about CloudPulse, visit the
OpenStack CloudPulse website .
To check the results of periodic CloudPulse runs:
# cd /root/openstack-configs
# source openrc
# cloudpulse result
+--------------------------------------+------+-------------------+----------+---------+
| uuid | id | name | testtype | state |
+--------------------------------------+------+-------------------+----------+---------+
| bf7fac70-7e46-4577-b339-b1535b6237e8 | 3788 | glance_endpoint | periodic | success |
| 1f575ad6-0679-4e5d-bc15-952bade09f19 | 3791 | nova_endpoint | periodic | success |
| 765083d0-e000-4146-8235-ca106fa89864 | 3794 | neutron_endpoint | periodic | success |
| c1c8e3ea-29bf-4fa8-91dd-c13a31042114 | 3797 | cinder_endpoint | periodic | success |
| 04b0cb48-16a3-40d3-aa18-582b8d25e105 | 3800 | keystone_endpoint | periodic | success |
| db42185f-12d9-47ff-b2f9-4337744bf7e5 | 3803 | glance_endpoint | periodic | success |
| 90aa9e7c-99ea-4410-8516-1c08beb4144e | 3806 | nova_endpoint | periodic | success |
| d393a959-c727-4b5e-9893-e229efb88893 | 3809 | neutron_endpoint | periodic | success |
| 50c31b57-d4e6-4cf1-a461-8228fa7a9be1 | 3812 | cinder_endpoint | periodic | success |
| d1245146-2683-40da-b0e6-dbf56e5f4379 | 3815 | keystone_endpoint | periodic | success |
| ce8b9165-5f26-4610-963c-3ff12062a10a | 3818 | glance_endpoint | periodic | success |
| 6a727168-8d47-4a1d-8aa0-65b942898214 | 3821 | nova_endpoint | periodic | success |
| 6fbf48ad-d97f-4a41-be39-e04668a328fd | 3824 | neutron_endpoint | periodic | success |
To run a CloudPulse test on demand:
# cd /root/openstack-configs
# source openrc
# cloudpulse run --name <test_name>
# cloudpulse run --all-tests
# cloudpulse run --all-endpoint-tests
# cloudpulse run --all-operator-tests
To run a specific CloudPulse test on demand:
[root@vms-line2-build installer-3128.2]# cloudpulse run –-name neutron_endpoint
+------------+--------------------------------------+
| Property | Value |
222
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Verifying the Cisco NFVI Installation
Assessing Cisco NFVI Health with CloudPulse
+------------+--------------------------------------+
| name | neutron_endpoint |
| created_at | 2016-03-29T02:20:16.840581+00:00
| updated_at | None
|
|
| state
| result
| scheduled
| NotYetRun
| testtype | manual
|
|
|
| id
| uuid
| 3827 |
| 5cc39fa8-826c-4a91-9514-6c6de050e503 |
+------------+--------------------------------------+
[root@vms-line2-build installer-3128.2]#
To show detailed results from a specific CloudPulse run:
[root@vms-line2-build installer-3128.2]# cloudpulse show 5cc39fa8-826c-4a91-9514-6c6de050e503
+------------+--------------------------------------+
| Property | Value |
+------------+--------------------------------------+
| name | neutron_endpoint |
| created_at | 2016-03-29T02:20:16+00:00
| updated_at | 2016-03-29T02:20:41+00:00
|
|
| state
| result
| success
| success
| testtype | manual
| id
| uuid
| 3827 |
| 5cc39fa8-826c-4a91-9514-6c6de050e503 |
+------------+--------------------------------------+
|
|
|
CloudPulse has two test sets: endpoint_scenario (runs as a cron or manually) and operator test (run manually).
Endpoint tests include:
• nova_endpoint
• neutron_endpoint
• keystone_endpoint
• glance_endpoint
• cinder_endpoint
Operator tests include
• ceph_check
• docker_check
• galera_check
• node_check
• rabbitmq_check
The following table lists the operator tests that you can perform with CloudPulse.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
223
Verifying the Cisco NFVI Installation
Displaying HA Proxy Dashboard and ELK Stack Logs
Table 13: CloudPulse Operator Tests
Test
Ceph Check
Docker Check
Galera Check
Node Check
RabbitMQ Check
Description
Executes the ceph -f json status command on the Ceph-mon nodes and parses the output. If the result of the output is not HEALTH_OK, the ceph_check reports an error.
Finds out if all Docker containers are in running state on all nodes and reports an error if any containers are in the Exited state. The Docker check runs the command, docker ps -aq --filter 'status=exited'.
Executes the command, mysql 'SHOW STATUS, on the controller nodes and displays the status.
Checks if all the nodes in the system are up and online. It also compares the results of the Nova hypervisor list and determines whether all the compute nodes are available.
Runs the command, rabbitmqctl cluster_status, on the controller nodes and finds out if the RabbitMQ cluster is in quorum. If nodes are offline, the rabbitmq_check reports a failure.
Displaying HA Proxy Dashboard and ELK Stack Logs
You can view the HA Proxy dashboard at: http://< external_lb_vip_address >:1936 using the following username and password.
• Username—haproxy
• Password—Value for HAPROXY_PASSWORD in
/root/installer-<tag-number>/openstack-configs/secrets.yaml
You can use the Kibana dashboard to view logs aggregated by Logstash at: http://< management_node_IP >:5601 using the following username and password.
• Username—admin
• Password—Value for ELK_PASSWORD in /root/installer-<tag-number>/openstack-configs/secrets.yaml
Checking Cisco NFVI Pod and Cloud Infrastructure
To test the Cisco NFVI pod and cloud infrastructure (host connectivity, basic mraiadb, rabbit, ceph cluster check, and RAID disks), you can use the cloud-sanity tool available on the management node.
To execute, enter:
# cd installer-<tagid>/tools
# ./cloud_sanity.py -–h usage: cloud_sanity.py [-h] [--check CHECK]
[--list] [--verbose]
224
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Verifying the Cisco NFVI Installation
Checking Cisco NFVI Pod and Cloud Infrastructure cloud sanity helper optional arguments:
-h, --help show this help message and exit
--check CHECK, -c CHECK all - Run all sanity checks. [default action] control - Run controller sanity checks.
compute - Run compute sanity checks.
cephmon - Run cephmon sanity checks.
cephosd - Run cephosd sanity checks.
management - Run Management node sanity checks
--list, -l List all the available sanity checks.
--verbose, -v Run the sanity in verbose mode.
To list the available cloud-sanity checks, execute:
# ./cloud_sanity.py -l
Available sanity checks
-----------------------
-----------------------
1 cloud-sanity : Management - Disk maintenance RAID Health
2 cloud-sanity : Management - Disk maintenance VD Health
3 cloud-sanity : Control - Ping All Controller Nodes
4 cloud-sanity : Control - Ping internal VIP
5 cloud-sanity : Control - Check Mariadb cluster size
6 cloud-sanity : Control - Check RabbitMQ is running
7 cloud-sanity : Control - Check RabbitMQ cluster status
8 cloud-sanity : Control - Check Nova service list
9 cloud-sanity : Control - Disk maintenance RAID Health
10 cloud-sanity : Control - Disk maintenance VD Health
11 cloud-sanity : Compute - Ping All Compute Nodes
12 cloud-sanity : Compute - Check Nova Hypervisor list
13 cloud-sanity : Compute - Disk maintenance RAID Health
14 cloud-sanity : Compute - Disk maintenance VD Health
15 cloud-sanity : CephMon - Check cephmon is running
16 cloud-sanity : CephMon - CEPH cluster check
17 cloud-sanity : CephMon - Check Ceph Mon status
18 cloud-sanity : CephMon - Check Ceph Mon results
19 cloud-sanity : CephOSD - Ping All Storage Nodes
20 cloud-sanity : CephOSD - Check OSD result with osdinfo
21 cloud-sanity : CephOSD - Check OSD result without osdinfo
Results for a test can be either passed, failed, or skipped.
A skipped test indicates a test which couldn’t be run on this particalur PoD – i.e. a hardware RAID test is skipped on a node which doesn’t have hardware RAID.
A successful compute node check is shown below:
#./cloud_sanity.py -c compute
Executing Compute Cloud Sanity in quiet mode. This takes some time.
+---------+-----------------------------------------------------------+--------+
| Role | Task | Result |
+---------+-----------------------------------------------------------+--------+
| Compute | Compute - Ping All Compute Nodes *********************** | PASSED |
| | | |
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
225
Verifying the Cisco NFVI Installation
Checking Cisco NFVI Pod and Cloud Infrastructure
| Compute | Compute - Check Nova Hypervisor list ******************* | PASSED |
| | | |
+---------+-----------------------------------------------------------+--------+
[PASSED] Cloud Sanity Compute Checks Passed
Following is a failure example:
[root@MercTB1 tools]# ./cloud_sanity.py -c control
Executing Control Cloud Sanity in quiet mode. This takes some time.
+---------+-----------------------------------------------------------+--------+
| Role | Task | Result |
+---------+-----------------------------------------------------------+--------+
| Control | Control - Ping All Controller Nodes ******************** | PASSED |
| | | |
| Control | Control - Ping internal VIP **************************** | PASSED |
| | | |
| Control | Control - Check Mariadb cluster size ******************* | PASSED |
| | | |
| Control | Control - Check RabbitMQ is running ******************** | FAILED |
| | | |
+---------+-----------------------------------------------------------+--------+
[FAILED] FATAL ERROR occured when running sanity checks.
[NOTE] One or more testcase[s] skipped. Use --list to see the complete list.
To view the details of a failure, use the v option:
# ./cloud_sanity.py -c control -v
PLAY [Executes Cloud Sanity] **************************************************
GATHERING FACTS *************************************************************** ok: [7.7.7.15] ok: [7.7.7.11] ok: [7.7.7.14]
TASK: [cloud-sanity | Control - Ping All Controller Nodes] ******************** changed: [7.7.7.15 -> localhost] => (item=7.7.7.15) changed: [7.7.7.15 -> localhost] => (item=7.7.7.11) changed: [7.7.7.15 -> localhost] => (item=7.7.7.14)
TASK: [cloud-sanity | Control - Ping internal VIP] **************************** changed: [7.7.7.15 -> localhost]
TASK: [cloud-sanity | Control - Check Mariadb cluster size] ******************* changed: [7.7.7.11] changed: [7.7.7.15] changed: [7.7.7.14]
TASK: [cloud-sanity | Control - Check RabbitMQ is running] ******************** failed: [7.7.7.11] => {"changed": true, "cmd": "docker ps -a | grep rabbit | grep Up | awk
'{print $NF}' | cut -f2 -d '_'", "delta": "0:00:00.021044", "end": "2016-08-18
23:45:34.838817", "failed": true, "failed_when_result": true, "rc": 0, "start": "2016-08-18
23:45:34.817773", "stdout_lines": [], "warnings": []} changed: [7.7.7.15] changed: [7.7.7.14]
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
7.7.7.11
: ok=4 changed=3 unreachable=0 failed=1
7.7.7.14
7.7.7.15
: ok=5
: ok=5 changed=4 changed=4 unreachable=0 unreachable=0 failed=0 failed=0
226
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Verifying the Cisco NFVI Installation
Checking Cisco NFVI Pod and Cloud Infrastructure
[FAILED] FATAL ERROR occured when running sanity checks.
[NOTE] One or more testcase[s] skipped. Use --list to see the complete list.
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
227
Checking Cisco NFVI Pod and Cloud Infrastructure
Verifying the Cisco NFVI Installation
228
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Appendix
•
Cisco VIM Wiring Diagarams, on page 229
Cisco VIM Wiring Diagarams
Figure 34: M4-Micropod With Cisco VIC
C H A P T E R
10
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
229
Cisco VIM Wiring Diagarams
Figure 35: M4-Micropod With Intel NIC (X710)
Figure 36: M4-Micropod With Intel NIC (X710)
Appendix
230
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Appendix
Figure 37: M4-FULL-On With Intel NIC (X710)
Cisco VIM Wiring Diagarams
Figure 38: M4-FULL-On With Cisco VIC/NIC (2xXL710/2x520)
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
231
Cisco VIM Wiring Diagarams
Figure 39: M4 -Micropod With Cisco VIC/NIC (2xXL710/2x520)
Appendix
Figure 40: M5-Micropod With Intel NIC (X710)
232
Cisco Virtualized Infrastructure Manager Installation Guide, 2.4
Download
Advertisement