Creating backups of DB2 HADR databases
You can create online backups of the DB2 databases on the current DB2 HADR primary.
About this task
To determine the current primary, use the knife
os manage services status command to see the status of one
of the HA controllers. Look for the ibm-os-db2hadr resources.
ibm-os-db2hadr (ocf::ibm-openstack:db2hadr): Master vs181.example.com
ibm-os-db2hadr (ocf::ibm-openstack:db2hadr): Started vs184.example.com
ibm-os-db2hadr (ocf::ibm-openstack:db2hadr): Started vs182.example.com
ibm-os-db2hadr (ocf::ibm-openstack:db2hadr): Started vs183.example.com
Masters: [ vs181.example.com ]
Slaves: [ vs182.example.com vs183.example.com vs184.example.com]
Stopped: [ vs185.example.com ]The node that is identified
as Master is the current DB2 HADR primary.Create a backup of the DB2 databases by completing the following steps: