Preparing the DB2 Instance
Now we need to configure the database so that the plug-in can work with it. This requires coping some files from the plug-in's folder to the necessary SQLLIB locations.
We also need to change SYSADM_GROUP configuration parameter to use your choice of the SYSADM group name as the SYSADM group for this DB2 instance.
Steps:
- Issue the following comand:
db2auth_prepareinst > out.txt
- This copies the plug-in files to necessary SQLLIB locations, and prepares the local DB2 instance.
- Issue the following command:
configure_db2auth_plugin.bat (your SYSADM group name here)
- This updates the DB2 server instance to use the db2auth security plug-in binaries.
- It also changes the SYSADM_GROUP configuration parameter to use your choice of the SYSADM group name as the SYSADM group for this DB2 instance:
- Re-start the DB2 instance:
db2stop
db2start
You have now finished installing and configuring the plug-in.
For further information or trouble-shooting, please refer to the README documentation provided in the plug-in package.