Open cnoffsin opened 11 years ago
In the modeler, you will not be able to run this statement if the DB is in a roll forward state or not active as in a db that is a slave:
SELECT DB_NAME, DB_STATUS, SERVER_PLATFORM FROM SYSIBMADM.SNAPDB
To get that info you have to take a metrics snapshot of the DB.
So in its current form, the zenpack will not work on a non-active db2 instance
db2 "get db cfg for " | grep "Rollforward pending" | awk '{ print $NF}'
This would get the output to tell if the DB is in Roll Forward state.
"get db cfg" gets config info.
In the modeler, you will not be able to run this statement if the DB is in a roll forward state or not active as in a db that is a slave:
SELECT DB_NAME, DB_STATUS, SERVER_PLATFORM FROM SYSIBMADM.SNAPDB
To get that info you have to take a metrics snapshot of the DB.
So in its current form, the zenpack will not work on a non-active db2 instance