Check db2 HADR status with multiple instances
Those of you that have to deal with multiple db2 instances on 1 machine know that it is annoying to get a quick overview of the HADR status in 1 go. You need to switch accounts, run the commands, etc...
I created a script you can run as root that will give you an overview, I added some color coding for convenience as well
This is a companion discussion topic for the original entry at https://blog.ramsit.com/check-db2-hadr-status-with-multiple-instances/