I want one of my db2 user to be able to issue queries on a primary database that are replicated to a secondary database via HADR
.
That user on my linux box is called EUSR
.
Now logged as user db2inst1
(that is the user having administrative privileges) I call the following command
db2 "START HADR ON DATABASE MAMBO USER USR AS PRIMARY"
Enter current password for user:
When I give the correct linux password I got the following
SQL1092N "EUSR" does not have the authority to
perform the requested command or operation.
What credentials I need to grant to that user to have HADR running?
If I enable HADR by using db2inst1
will then user EUSR
replicate its query on the database MAMBO?