Shutdown the HADR completely on both primary & standby on DB2

Shutdown the HADR completely on both primary & standby on DB2

Stop the DB2 Database

--Stop HADR ON standby
db2 deactivate db zinga
db2 STOP HADR ON db zinga
db2stop

--Stop HADR ON primary
db2 STOP HADR ON DB zinga
db2stop

Start the DB2 database

--Start HADR ON peer:
db2 START HADR ON DB zinga AS STANDBY

–Start HADR ON primary:
db2 START HADR ON DB zinga AS PRIMARY

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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