Versions Compared

Key

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

...

  1. Connect to Host Server iLO interface.
  2. Start Virtual Console.
  3. Mount Virtual Media with CentOS 7 ISO.
  4. Install CentOS
    1. Assign correct IP address, Subnet, Gateway and DNS to the NIC.
    2. Include OpenSSH Server.
    3. Install KVM/virtualization.
    4. Add a user with admin privileges: onaplab user is used in this guide.

Prepare Host Server for EMCO Deployment

...

Code Block
languagebash
ip route 10.121.7.128 255.255.255.224 10.121.1.12


Deploy EMCO

Step 1. Generate SSH Keys


Code Block
languagebash
# Run commands below on the Host Server
ssh-keygen
cd ~/.ssh
chmod 600 id_rsa
chmod 600 id_rsa.pub
chmod 700 config
chmod 600 known_hosts

cat id_rsa.pub >> authorized_keys
chmod 600 authorized_keys

Step 2. Download software and install EMCO


Code Block
languagebash
#### On the Host Server 

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

## Download zip file from 
https://drive.google.com/file/d/1aFtChA454uAMuoEyV4m-jWiRDrZGyYgx/view?usp=sharing

unzip amcop_install_v1.0.zip

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/anod_lite/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 3. Monitor the installation


Code Block
languagebash
# On the Host Server

cd /home/onaplab/aarna-stream/anod_lite/logs
[onaplab@os12 logs]$ ls -l
total 1980
-rw-r--r--. 1 root    root     510417 Nov 24 07:06 cluster_setup.log
-rw-r--r--. 1 root    root       2019 Nov 24 06:54 create_vm.log
-rw-r--r--. 1 root    root    1366779 Nov 24 07:15 deploy_emco_components.log
-rw-r--r--. 1 root    root     138233 Nov 24 07:35 deploy_onap.log
-rw-rw-r--. 1 onaplab onaplab      83 Nov 24 06:53 README.md

tail -f create_vm.log
tail -f cluster_setup.log
tail -f deploy_emco_components.log
tail -f deploy_onap.log


Deploy Edge Clusters

Deployment Verification

Uninstall Guide

...