Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »




blueprint:

NorthStar (v5) and HealthBot (v2.0.2)

video


NortStar or NS login

https://<ip@>:<port>         (   admin // Juniper!1    )

HealthBot

SSH or https://                      ( jcluser // Juniper!1    )

Add Allowed network prefixCommands menu >> Add Allowed network prefix >>> <enter ip address of client>


Start healthbot_listener.py

( Webhook + trigger NS to put the link in maintenance)

Log into ssh jcluser@CentOS     ( jcluser // Juniper!1  )

It's a webhook, listen for HB messages 

Usage:

jcluser@ubuntu:~$ ls
healthbot-2.0.2-1.deb self_healing


jcluser@ubuntu:~$ cd self_healing/

jcluser@ubuntu:~/self_healing$ python healthbot_listener.py

add delay 

Log into the CentOS  ( jcluser / Juniper!1 )

su -   ( Juniper!1 )

./add_delay.sh


[root@CentOS ~]# more add_delay.sh
tc qdisc add dev eth1 root netem delay 300ms
echo "300 ms delay added between vMX-5 and vMX-6"
[root@CentOS ~]#



healthbot_listener.py output













  • No labels