Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
#### On the Host Server 

sudo yum install -y git deltarpm
mkdir -p amcop_deploy
cd amcop_deploy

## Download the installation package zip file

wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1PMyc8yULDeTIY0xNvY0RDf_7CSWvli3l' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1PMyc8yULDeTIY0xNvY0RDf_7CSWvli3l" -O amcop_install_v2.0.zip  && rm -rf /tmp/cookies.txt

unzip amcop_install_v2.0.zip

sudo chown -R onaplab:onaplab ~/amcop_deploy/

cd ~/amcop_deploy/aarna-stream/util-scripts
./prep_baremetal_centos.sh


####### Install EMCO/AMCOP
# Edit inventory.ini file. Use IP address of Host Server and the username.

cd ~/amcop_deploy/aarna-stream/anodamcop_litedeploy/ansible/deployment
vi inventory.ini
[deployment_host]
10.121.1.12 ansible_user=onaplab


nohup ansible-playbook ./main.yml -i inventory.ini -e deployment_env=on-prem -e jump_host_user=onaplab --private-key=/home/onaplab/.ssh/id_rsa -e vm_user=onaplab &

...

Step 4. Install Controller Blueprint Archives (CBA)

Update CDS py-executor

https://gitlab.com/akraino-pcei-onap-cds/equinix-pcei-poc

Kubernetes Cluster Registration CBA

https://gitlab.com/aarna-networks/amcop-customers/equinixakraino-pcei-onap-cds/equinix-pcei-poc/-/tree/mastermain/cds-blueprints/emco-api-executor

Terraform Executor CBA

https://gitlab.com/aarna-networks/amcop-customersakraino-pcei-onap-cds/equinix/equinix-pcei-poc/-/tree/mastermain/cds-blueprints/terraform-plan-executor

Helm Chart Processor CBA

https://gitlab.com/aarna-networks/amcop-customersakraino-pcei-onap-cds/equinix/equinix-pcei-poc/-/tree/mastermain/cds-blueprints/helm-chart-processor

Composite App Deployment Processor CBA

https://gitlab.com/aarna-networks/amcop-customersakraino-pcei-onap-cds/equinix/equinix-pcei-poc/-/tree/mastermain/cds-blueprints/composite-app-deployment-processor

Deploy Edge Clusters

Step 1. Edit VM creation script.

...

To connect to EMCOUI GUI use IP address of amcop-vm-01 and port 30480:

http://10.121.1.14552:30480

Image RemovedImage Added


Edge Cluster Deployment Verification

...

Code Block
languagebash
sudo virsh destroy amcop-vm-01
sudo virsh undefine amcop-vm-01
sudo virsh pool-destroy amcop-vm-01
sudo virsh pool-undefine amcop-vm-01
sudo rm /var/lib/libvirt/images/amcop-vm-01/amcop-vm-01-cidata.iso
sudo rm /var/lib/libvirt/images/amcop-vm-01/amcop-vm-01.qcow2

sudo virsh destroy  edge_k8s-1
sudo virsh undefine  edge_k8s-1
sudo virsh pool-destroy  edge_k8s-1
sudo virsh pool-undefine  edge_k8s-1
sudo rm /var/lib/libvirt/images/edge_k8s-1/edge_k8s-1-cidata.iso
sudo rm /var/lib/libvirt/images/edge_k8s-1/edge_k8s-1.qcow2

sudo virsh destroy  edge_k8s-2
sudo virsh undefine  edge_k8s-2
sudo virsh pool-destroy  edge_k8s-2
sudo virsh pool-undefine  edge_k8s-2
sudo rm /var/lib/libvirt/images/edge_k8s-2/edge_k8s-2-cidata.iso
sudo rm /var/lib/libvirt/images/edge_k8s-2/edge_k8s-2.qcow2

sudo rm -rf ~/amcop_deploy
sudo rm -rf ~/aarna_stream 

License

References

AMCOP Quickstart AMCOP 2.0 Quickstart Guide (Bare Metal) - EMCO Install Guide by Aarna Networks
AMCOP User Guide AMCOP 2.0 User Guide - EMCO Config Guide by Aarna Networks

...