Installation on page 39
• Deploying the Cloud CPE Centralized Deployment Model on page 44
Installing Contrail OpenStack
1. install Contrail OpenStack on the server cluster and set up the roles of the nodes in the cluster..
Refer to the Contrail documentation for information about installing Contrail OpenStack and configuring the nodes..
2. Record the IP address of the server on which you install the Contrail OpenStack software.
You use this IP address to specify the Contrail OpenStack server in the configuration file for the Cloud CPE Centralized Deployment Model Installer.
Customizing the Configuration File for the Cloud CPE Centralized Deployment Model Installation
The Cloud CPE Centralized Deployment Model installer uses a configuration file, which you must customize for your network. After you customize the configuration file, you run the installer to deploy and configure the software on the servers and VMs. The
configuration file is located in the server_manager directory and has the name csp_topology.conf. The configuration file is inYAMLformat.
To customize the configuration file:
1. In the [DEPLOY_OPTIONS] section of the file, specify that you have already installed Contrail OpenStack.
skip_contrail_install = True
CAUTION: Do not set the skip_contrail_install option to False. Doing so may corrupt the installation.
2. In the [SPACE] section, specify the following values for the Junos Space Virtual Appliance.
• ip—IP address for the virtual appliance
• user—Username for logging in to the virtual appliance
• password—Password for logging in to the virtual appliance
3. In the [TARGETS] section, specify values for the network on which the Cloud CPE Centralized Deployment Model resides.
• gateway—IP address of the gateway router
• cidr—Range of IP addresses on the network
• admin_email—Administrator’s e-mail address
• domain—Domain associated with administrators’ e-mail address
• dns_servers—Comma-separated list of DNS name servers, including DNS servers specific to your network.
• timezone—Time zone of the host, in the format specified in the Internet Assigned Numbers Authority (IANA) Time Zone Database. The default is the time zone of the installer.
• ntp_servers—Comma-separated list of Network Time Protocol (NTP) servers. For networks within firewalls, specify NTP servers specific to your network.
• servers—Comma-separated list of hostnames of the following components:
• Server on which you install Contrail OpenStack
• The following VMs on the Contrail Service Orchestration node:
• VM that contains Network Service Orchestrator and other components.
• VM that contains Custom Contrail.
• VM that contains Network Service Designer.
• VM that contains the primary instance of Service and Infrastructure Monitor.
• VM that contains the secondary instance of Service and Infrastructure Monitor.
• VM that contains the controller and the load balancer for Service and Infrastructure Monitor.
4. Specify BGP parameters for the MX Series router.
• external_bgp—IP address of the BGP peer
• router_asn—Autonomous system number used for the BGP peer
5. Using the settings configured when you installed Contrail OpenStack, specify the following settings:
• keystone_password—OpenStack keystone password
• keystone_tenant—OpenStack keystone tenant
• keystone_username—OpenStack keystone username
• service_token—OpenStack keystone service token
6. Specify configuration values for the servers and VMs that you specified in Step3.
• [hostname]—Name of the machine
• management_address—IP address of the Ethernet management interface
• management_interface—Name of the Ethernet management interface, typically eth0
• management_mac—MAC address for the host
• data_net_address—IP address of the interface used to transmit data on a physical server
• data_interface—Name of the Ethernet interface used to transmit data on a physical server
• data_mac—MAC address for the interface used to transmit data on a physical server
• gateway—IP address of the gateway for the host. If you do not specify a value, the value defaults to the gateway defined in the [TARGETS] section
• hostname—Hostname of the machine
• username—Username for logging in to the machine
• password—Password for logging in to the machine
• Roles—Components installed on the machine:
• contrail—Server on which you install Contrail OpenStack
• custom_contrail—Contrail software to support Identity and Access Manager component
• iam—Identity and Access Manager
• loadbalancer—Load-balancing software, which balances the volume of traffic for software components that offer redundancy.
• naas—Network as a Service, an application that manages internal event messages
• nsd—Network Service Designer
• nso—Network Service Orchestrator
• sim—Icinga server software
• sim_client—Icinga client software, which resides on the same machine as any component monitored by Service and Infrastructure Monitor.
• sim_primary—Primary instance of Server and Infrastructure Monitor, which works with the secondary instance to provide redundancy.
• sim_secondary—Secondary instance of Server and Infrastructure Monitor, which works with the primary instance to provide redundancy.
• tssm—Cloud CPE, Tenant, Site and Service Manager
• vnfm—VNF Manager
7. (Optional) If you want to reimage the Ubuntu operating system on the Contrail Cloud Platform server with the Ubuntu version included in the installer, specify values for the following Intelligent Platform Management Interface (IPMI) parameters.
CAUTION: Do not specify IPMI parameters for VMs. Doing so may prevent the Cloud CPE Centralized Deployment Model from working.
• ipmi_address—IP address for IPMI.
• ipmi_username—Username for IPMI operations.
• ipmi_password—Password for IPMI operations.
• ipmi_type = ipmilanType of Intelligent Platform Management Interface (IPMI). The Cloud CPE Centralized Deployment Model supports IPMI over LAN (ipmilan) and Integrated Lights-Out (ilo). The default is ipmilan.
8. Specify whether you want to the installer to complete the following tasks:
a. Map the keystone end points to the management network.
b. Install the vSRX image in the Glance software.
c. Optimize settings for Contrail-Openstack, as described in the documentation for that product.
If you have already installed Contrail-OpenStack and it is working correctly, you can chose to omit Step8. If you do so, you must complete Stepaand Stepbmanually.
skip_configuration—True or False. The default is false.
The following example shows a customized configuration file for an installation in which you do not want to reinstall Contrail on the Contrail Cloud Platform server:
[DEPLOY_OPTIONS]
skip_contrail_install = True [SPACE]
ip = 192.0.2.55 user = admin password = pwd1234 [MYSQL]
ip = 192.0.2.65 admin_user = admin admin_password = pwd1234 [TARGETS]
gateway = 192.0.2.1 cidr = 192.0.2.0/24
domain = location.example.net dns_servers = $next_server, 8.8.8.8 timezone = UTC
ntp_servers = ntp.example.net, ntp.ubuntu.com
servers = ccp-host, custom-contrail-vm, nsd-vm, nso-vm, sim-vm
skip_configuration = False roles = contrail, sim_client [c-c-vm]
management_address = 192.0.2.3/24 hostname = c-c-vm
username = root password = pwd1234
roles = custom_contrail, sim_client [nsd-vm]
management_address = 192.0.2.7/24 hostname = nsd-vm
username = root password = pwd1234 roles = nsd, sim-client [nso-vm]
management_address = 192.0.2.5/24 hostname = nso-vm
username = root password = pwd1234
roles = naas, nso, vnfm, tssm, iam, sim_client [sim1-vm]
password = pwd1234 roles = loadbalancer, aim