Contrail Command - kratna888/Contrail_Command GitHub Wiki
- Welcome to the Contrail Command install wiki!
Pre-Requisites
We recommend installing Contrail Command in an x86 server with Centos 7.5 as the baseOS.
Deployment Steps :
Step 1: On your Contrail-Command Server install the below mentioned packages - epel, python-pip, git, ansible. python-pip MUST be installed after epel-release is installed when using CentOS7. These packages are needed to automate the deployment of Contrail-Command software. The 2.4.2.0 Ansible version is mandatory for this installation.
yum -y install epel-release
yum -y install python-pip
yum -y install git
yum -y install ansible-2.4.2.0
Step 2: The Contrail-Command server comprised two docker containers : Contrail-Command and sql containers. These containers images are hosted on hub.juniper.net. To download these containers , customer must request for username/password from appropriate Juniper channel. ( AI - Vineet Gupta /Richard Hendricks )
The containers will be posted on hub.juniper.net. External customers need to get the username /password from appropriate channels
If it's internal - then do a git clone of the below mentioned link
git clone https://github.com/Juniper/contrail-command-deployer.git
Please Note: The container images needed for contrail-command-deployer will be published in hub.juniper.net with the General Availability version. The path to this image needs to be provided in file config/command_server.yml
Step 3: Then Goto Contrail-Command-Deployer directory ; Update the username /password in file contrail-command-deployer/config/command_server.yml;
default login: admin password: contrail123
cd Contrail-Command-Deployer
Step 4: Run the Playbook deploy.yml to deploy the Contrail-Command server
ansible-playbook playbooks/deploy.yml
step 5: Once the playbook completes, log into Contrail-Command using
https://< Contrail-Command-Server-IP-Address > : 9091
Use the same username password that was provided in Step3.
default login: admin password: contrail123
The UI for Contrail-Command will be shows as below:
