DB/kafka until the router init is received. This addresses the issue with port scaner and similar clients connecting to the listening port, resulting in invalid routers and peers
docker logs obmp-collector
to view the collector logsIf you haven’t upgraded to 2.0.3 yet, you will need to follow the Fresh Upgrade instructions.
Only supported for 2.0.3 or greater
export OBMP_DATA_ROOT=/var/openbmp
Upgrade Grafana by copying over the latest provisioning data
git clone https://github.com/OpenBMP/obmp-grafana.git
# OR git pull
cp -r obmp-grafana/dashboards obmp-grafana/provisioning ${OBMP_DATA_ROOT}/grafana/
sudo chmod o+rx -R ${OBMP_DATA_ROOT}/grafana/
docker restart obmp-grafana
Make sure the files copied are owned by the container user. If not, provisioning will not load.
Upgrade docker compose file to include the latest versions
# Get latest compose file - Your previous file will be saved as docker-compose.yml.<N>
wget --backups=3 https://raw.githubusercontent.com/OpenBMP/obmp-docker/main/docker-compose.yml
Update the docker-compose.yml file variables and volumes based on your previous compose file. You can use diff
to see the differences that need to be merged/updated. diff -u docker-compose.yml.1 docker-compose.yml
Update psql-app configuration The psql-app
container uses a persistent configuration ${OBMP_DATA_ROOT}/config/obmp-psql.yml
.
You will need to update this file to uncomment the subscribe_topic_patterns
list item - "openbmp[.]parsed[.]l3vpn"
.
Run docker compose to recreate the containers
OBMP_DATA_ROOT=${OBMP_DATA_ROOT} docker-compose -p obmp up -d
When psql-app
container starts, it'll check if l3vpn_rib table exists. If it does not exist, it will apply the l3vpn schema changes as well as all the other upgrades. This should upgrade the current postgres DB.
Some of the upgrade changes rebuild indexes. This can take several minutes
Use docker logs -f obmp-psql-app
to monitor the progress