summaryrefslogtreecommitdiff
path: root/.trash/OVN upgrade Ansible playbook.md
diff options
context:
space:
mode:
Diffstat (limited to '.trash/OVN upgrade Ansible playbook.md')
-rw-r--r--.trash/OVN upgrade Ansible playbook.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/.trash/OVN upgrade Ansible playbook.md b/.trash/OVN upgrade Ansible playbook.md
new file mode 100644
index 0000000..7905071
--- /dev/null
+++ b/.trash/OVN upgrade Ansible playbook.md
@@ -0,0 +1,22 @@
+---
+tags:
+ - groupvps
+---
+- Makes a backup of OVN db's on networking nodes
+ - Creates files on the local system under /tmp
+ - Creates files on the remote system under /var/.ovn-backups
+- Pins the controller version on both compute and networking nodes
+ - `ovs-vsctl set open_vswitch . external_ids:ovn-match-northd-version=true`
+- Upgrades ovn-central, ovn-common and ovn-host on network nodes
+ - Installs packages
+ - restarts ovn-controller, ovn-northd, ovn-ovsdb-server-sb/nb
+ - Checks ovsdb-server is running
+ - Checks the socket file for existence
+- Upgrades ovn controller on compute nodes
+ - Installs package
+ - restart ovn-controller
+
+**Invocation**
+```
+ansible-playbook playbooks/failsafe_install_ovn.yml --limit vps_testpod --extra-vars "ovn_search_version=22.03.8+20250403.1251.35813e0b.systems.jammy1"
+``` \ No newline at end of file