Backup ODA_BASE: Database Appliance ODA X5

By | June 6, 2019

There are situations we may need to backup ODA_BASE, especially before patching ODA_BASE.
This article applies only to virtual deployment of ODA.
In this Article I’ve used ODA-X5-2 appliance to backup.
The procedure is applicable for ODA X5 or higher versions.
ODA_BASE is backed up from the DOM machines, i.e. the parent machine from where ODA_BASE was created.
Login to the DOM machine of the ODA Appliance.

NODE 1:
— ODA_BASE – DOM Server, STOP ODA_BASE —

[root@oda1-dom0 ~]# oakcli show oda_base
ODA base domain
ODA base CPU cores      :16
ODA base domain memory  :244
ODA base template       :/OVS/oda_base_12.1.2.5.gz
ODA base vlans          :['net1', 'net2', 'vbr1']
ODA base current status :Running

[root@oda1-dom0 ~]#  oakcli stop oda_base
INFO: Stopping ODA base domain... It may take several minutes.
INFO: Stopping all the shared repos

[root@oda1-dom0 ~]# oakcli show oda_base
ODA base domain
ODA base CPU cores      :16
ODA base domain memory  :244
ODA base template       :/OVS/oda_base_12.1.2.5.gz
ODA base vlans          :['net1', 'net2', 'vbr1']
ODA base current status :Stopped

— ODA_BASE – DOM Server, BACKUP ODA_BASE —

[root@oda1-dom0 OVS]# mkdir -p /OVS/Repo_backup/oda1-dom0
[root@oda1-dom0 OVS]# vi bkp_odabase.sh
[root@oda1-dom0 OVS]# cat bkp_odabase.sh
/usr/bin/rsync -vaz --delete --progress --exclude *zip --exclude *gz \
/OVS/Repositories/odabaseRepo /OVS/Repo_backup/oda1-dom0
[root@oda1-dom0 OVS]# nohup sh bkp_odabase.sh &

[root@oda1-dom0 OVS]# cat nohup.out
sending incremental file list
p16186172_121250_Linux-x86-64_2of2.zip
  3832727042 100%   36.50MB/s    0:01:40 (xfer#1, to-check=8/9)
odabaseRepo/
odabaseRepo/VirtualMachines/
odabaseRepo/VirtualMachines/dad5e4e6-b1ad-444a-8c69-4fa23d96fe98 -> oakDom1
odabaseRepo/VirtualMachines/oakDom1/
odabaseRepo/VirtualMachines/oakDom1/System.img
 62914560000 100%   37.30MB/s    0:26:48 (xfer#2, to-check=3/9)
odabaseRepo/VirtualMachines/oakDom1/swap.img
 20971520000 100%   33.91MB/s    0:09:49 (xfer#3, to-check=2/9)
odabaseRepo/VirtualMachines/oakDom1/u01.img
104857600000 100%   40.81MB/s    0:40:50 (xfer#4, to-check=1/9)
odabaseRepo/VirtualMachines/oakDom1/vm.cfg
         977 100%    2.94kB/s    0:00:00 (xfer#5, to-check=0/9)

sent 192641055167 bytes  received 122 bytes  40560281.14 bytes/sec
total size is 192576408026  speedup is 1.00

--- Used nohup to run took approx 2hrs~---

— ODA_BASE – DOM Server, START ODA_BASE —

[root@oda1-dom0 OVS]# oakcli start oda_base
INFO: Starting ODA base domain...
INFO: Started ODA base domain

-- ODA_BASE --
[root@oda1-dom0 OVS]# oakcli show oda_base
ODA base domain
ODA base CPU cores      :16
ODA base domain memory  :244
ODA base template       :/OVS/oda_base_12.1.2.5.gz
ODA base vlans          :['net1', 'net2', 'vbr1']
ODA base current status :Running

Check MOS Note IDs 888888.1 & 1461102.1 for more details.


Thanks for visiting my post. Excuse Typos.

One thought on “Backup ODA_BASE: Database Appliance ODA X5

  1. Pingback: ODA Bundle Patch: Upgrade to OAK 18.3.0.0.0 - SaumyaPadhi.com

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.