Versions Compared

Key

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




PoC requirement

https://www.juniper.net/documentation/en_US/healthbot/topics/reference/general/healthbot-prerequisites.html

  • RAM: 20 GB

  • Disk space: 100 GB  >>> 21G + 60GB =82GB minimum

  • Free disk space must be at least 20% of total disk space

  • CPU cores: 8

Code Block
title60GB min
collapsetrue
labuser@HealthBot3:~$ sudo healthbot setup
Setting new password for postgres db
Do you want to install on kubernetes? [y/N] y
Checking disk space
Minimum 60 GB of disk space is required in /var partition. Available: 25 GB

labuser@HealthBot3:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            7.9G     0  7.9G   0% /dev
tmpfs           1.6G  8.8M  1.6G   1% /run
/dev/sda1        49G   21G   26G  45% /


Code Block
titlelack of vCPU
Check sse4_2

lscpu | grep sse4_2
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti retpoline rsb_ctxsw fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xsaves arat pku ospke



SW requirement

Ubuntu version 16.04.01 (Xenial Xerus)
kernel version must be 4.4.19 or greater.
We recommend installing Ubuntu as one large disk partition.


Code Block
titleupgrade kernel
collapsetrue
labuser@HealthBot3:~$ sudo healthbot setup
[sudo] password for labuser:
Do you want to install on kubernetes? [y/N] y
Checking disk space
Validating kernel version
Linux kernel 4.4.0-142-generic is not supported. Please upgrade to 4.4.19 or greater version.

For server:
sudo apt-get install --install-recommends linux-generic-hwe-16.04 -y




All nodes must run NTP or other time-synchronization at all times.

Docker version 18.09.3 or later is required >>> Docker Installation on ubuntu

sudo vi /etc/sysctl.conf
net.bridge-nf-call-iptables=1

pip install --upgrade pip

. . . 




sudo apt-get install -y /var/tmp/healthbot-3.0.0.deb
Download the healthbot

sudo wget "https://cdn.juniper.net/software/contrail-healthbot/3.0.0/healthbot-3.0.0-1.deb?SM_USER=xxxxxx&__gda__=xxxxxxx"    /var/tmp/healthbot-3.0.0.deb

install the healthbot
sudo apt-get install -y /var/tmp/healthbot-3.0.0.deb

healthbot status

docker ps

https://172.30.95.90:8080/

...

https://www.juniper.net/documentation/en_US/healthbot/topics/topic-map/healthbot-install-interactive.html

1- sudo apt-get update -y

2- get the .deb package ( https://support.juniper.net/support/downloads/ )

3- get health bot to /var/tmp

cd /var/tmp

wget "https://cdn.juniper.net/software/contrail-healthbot/1.0.1/healthbot-1.0.1.deb?SM_USER=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"  -O  healthbot-1.0.1.deb

4- 






HealthBot 1.0


Install Unbuntu


Code Block
titleubuntu
collapsetrue
Ubuntu Install:  amd64 !!!!!!!!!!!!
RAM: 20GB
vCPU: 6
HHD: 100GB

Mgt IP@: 172.30.92.217/25
GW: 172.30.92.129
name server: 8.8.8.8
domain name: ?????
ubuntu user : seuki / juniper123!



>>> sudo apt-get update <<<<<< only !!!!!!




Code Block
titleUbuntu install on NFX250
collapsetrue
set system memory hugepages page-size 1024 page-count 7
 
set virtual-network-functions ubuntu160401 image /var/third-party/images/ubuntu160401.qcow2
set virtual-network-functions ubuntu160401 storage vdb type cdrom source file /var/third-party/ISO/ubuntu160401.iso
set virtual-network-functions ubuntu160401 virtual-cpu 0 physical-cpu 4
set virtual-network-functions ubuntu160401 virtual-cpu 1 physical-cpu 11
set virtual-network-functions ubuntu160401ubuntu160401 virtual-cpu count 2
set virtual-network-functions ubuntu160401 memory size 4194304
set virtual-network-functions ubuntu160401 memory features hugepages

 
#if you configure the VNF from an xml document use the following commands
#set virtual-network-functions myvsrx init-descriptor /var/third-party/ubuntu160401.xml


Install docker

https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository


Code Block
titleInstall docker
collapsetrue
Docker CE:         
-----------

wget "https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/containerd.io_1.2.5-1_amd64.deb" -O containerd.io.deb
wget "https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce-cli_18.09.4~3-0~ubuntu-xenial_amd64.deb" -O docker-ce-cli.deb
wget "https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce_18.09.4~3-0~ubuntu-xenial_amd64.deb" -O docker-ce.deb
sudo dpkg -i /var/tmp/containerd.io.deb
sudo dpkg -i /var/tmp/docker-ce-cli.deb
sudo dpkg -i /var/tmp/docker-ce.deb

sudo usermod -aG docker seuki 

>>>>>>>>>> Logout and log back in <<<<<<<<<<<<
test:
docker ps  ( with seuki user account )


Install healthbot

https://www.juniper.net/documentation/en_US/healthbot/information-products/pathway-pages/healthbot-installation-guide.pdf


Code Block
titleinstall healthbot
collapsetrue
Download HB:         
-------------

wget "https://cdn.juniper.net/software/contrail-healthbot/1.0.1/healthbot-1.0.1.deb?SM_USER=jkriker&__gd84b6d485074f2" -O /var/tmp/healthbot-1.0.1.deb


sudo apt-get install   /var/temp/healthbot-1.0.1.deb



sudo healthbot setup



sudo healthbot start
healthbot status

healthbot status


Code Block
titleheatlthbot status
collapsetrue
labuser@HealthBot3:~$ healthbot status
Name of service               Status
---------------------------------------------
alerta                        Up
api_server                    Up
debugger                      Up
gateway                       Up
grafana                       Up
hb_proxy_syslog               Up
hbmon                         Up
influxdb_db                   Up
keycloak                      Up
license_client                Up
mgd                           Up
postgres                      Up
redis                         Up
reports                       Up
tsdb_shim                     Up






...