0% found this document useful (0 votes)
2K views3 pages

Stop-Start DB2 On HADR

This document provides steps to start and stop DB2 HADR (High Availability Disaster Recovery) on primary and secondary nodes. It outlines starting the DB2 instances, starting HADR on the secondary node first for each database including BPMDB, then starting HADR on the primary node. To stop HADR, it describes stopping HADR on the primary node first for each database before stopping on the secondary, then stopping the DB2 instances.

Uploaded by

Sathish Pillai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views3 pages

Stop-Start DB2 On HADR

This document provides steps to start and stop DB2 HADR (High Availability Disaster Recovery) on primary and secondary nodes. It outlines starting the DB2 instances, starting HADR on the secondary node first for each database including BPMDB, then starting HADR on the primary node. To stop HADR, it describes stopping HADR on the primary node first for each database before stopping on the secondary, then stopping the DB2 instances.

Uploaded by

Sathish Pillai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Start DB2 on HADR

1. Start DB2 instance on the Primary and Secondary

Steps
1. Start the all the db2 instances in the primary and standby node with their respective
instance owner id.
2. Instance name and owner are same in DB2 standby node as well. The DB2 instances can be
started in any order.
3. Login in to AIX using the respective instance owner account and execute “db2start” to start
the respective instances.

2. Start DB2 HADR

The HADR has to be started on the standby node first before HADR is initiated on the primary node.
HADR service has to start on every database.

Starting of HADR on BPMDB database – db2 instance i.e. <Username> is running.

Steps to start HADR:

Logon to AIX on the standby node using the DB2 instance owner, “user”.

Deactivate the database BPMDB using the following command “db2 deactivate database BPMDB”

Start the standby HADR on BPMDB using the following command “db2 start hard on db BPMDB as
standby”

Logon to AIX on the primary node using the DB2 instance owner, “<Username>”.

Deactivate the database BPMDB using the following command “db2 deactivate database BPMDB”

Start the standby HADR on BPMDB using the following command “db2 start hard on db BPMDB as
standby”
Following command can be used to check the HADR status on both the
nodes
“db2pd --hadr --db BPMDB”

The above procedure has to be followed for all the databases part of the HADR configuration.

Stop DB2 on HADR


1. Stop DB2 HADR

The HADR has to be stopped on the primary node first before HADR is stopped on the
standby node. HADR service has to stop on every database.
Stopping HADR on BPMDB database.
Steps to stop HADR:

1. Logon to AIX on the standby node using the DB2 instance owner, “<Username>”.
2. Deactivate the database BPMDB on primary node using the following command
“db2 deactivate database BPMDB”
3. Stop the primary HADR on BPMDB using the following command
“db2 stop hard on db BPMDB”
4. Logon to AIX on the primary node using the DB2 instance owner, “<Username>”.
5. Deactivate the database BPMDB on secondary node using the following command
“db2 deactivate database BPMDB”
6. Stop the standby HADR on BPMDB using the following command
“db2 stop hard on db BPMDB”

The above procedure has to be followed for all the databases part of the HADR configuration.

2. Stop DB2 instance on the Primary and Secondary

Stop the all the db2 instances in the primary and standby node with their respective instance
owner id.

DB2 instance for IBM BPM is <DB2 Instance> and the owner for the same is <DB2
Instance>.
DB2 instance for DSWM and DSC is <DB2 Instance> and the owner is <DB2 Instance>.

Instance name and owner are same in DB2 standby node as well. The DB2 instances can be
started in any order.
Login in to AIX using the respective instance owner account and execute “db2stop” to stop
the db2 instances.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy