On-Premise and Azure Multicloud Deployment
This topic describes the steps involved in deploying an on premise setup and extending it to Microsoft Azure cloud in two different availability zones. This topic also displays examples of the files involved in configuring the setup.
Installing On-Premise Contrail
Before you begin
You must configure VLANs referringthe irb interface units so that nodes are reachable to each other. Also, you must set static routes to the public cloud private network (here 17x.xx.1.0/24 and 17x.xx.3.0/24) on the switch to go through the gateway node (19x.xxx.2.1). Also, routes for the 17x.xx.0.0 network must be set on the controllers and computes to go out through the interface connected to the switch to the irb interface IP.
In real-time deployment scenarios, the controller nodes, compute nodes, and the gateway nodes are in different subnets in a data center. This example on-premise setup topology consists of one controller node, two compute nodes, and one multicloud gateway node.
Configuration
The following steps describe how to bring up on-premise Contrail
setup using contrail-ansible-deployer
.
Extending On-Premise Contrail To Microsoft Azure
Before you begin
You need a deployer node from where to orchestrate the bringing up of the cloud setup on Azure and on-premise gateways. Ensure that you have Git access from the deployer node and also that you have Docker containers on the node.
The Azure cloud setup described in this example consists of two availability zones. Each availability zone has two multicloud gateway nodes in HA and two compute nodes. To bring up the Azure setup you need an Azure account with login credentials.
Configuration
The following steps describe how to bring up of the cloud setup
on Azure and on-premise gateways using contrail-multi-cloud
deployer.
You can now log in to the Azure portal and view your resources.
You can also use the following ssh
key file and log in
to the Azure VMs from the on-premise machines or to the public IP
addresses on Azure from any server.
ssh -i contrail-multicloud-key-11513 ubuntu@17x.xx.1.5
ssh -i contrail-multicloud-key-11513 ubuntu@<public-ip-of-Azure-GW-VM>