Authorizing users for Impact
Use this information to add authorization for users to access and view IBM® Tivoli® Netcool®/Impact user interfaces in a Netcool Operations Insight® on Red Hat® OpenShift® deployment.
Procedure
-
Update the maproles configmap to map the required user to a Netcool/Impact role.
Add the required user and Netcool/Impact roles for that user to the configmap, using the same format as the existing entries:
user:role1|role2
. For example:
Wherekubectl edit configmap release_name-nciserver-maproles apiVersion: v1 data: allusersandroles: | impactadmin:impactAdminUser|impactOSLCDataProviderUser newuser:impactAdminUser|impactOSLCDataProviderUser kind: ConfigMap
- release_name is the name of your deployment, as specified by the value used for name (OLM UI Form view), or name in the metadata section of the noi.ibm.com_noihybrids_cr.yaml or noi.ibm.com_nois_cr.yaml files (YAML view).
- newuser is the user that you want to assign the Netcool/Impact roles to.
- Restart the Netcool/Impact core server pod with the
following
command:
Where <release_name> is the name of your deployment, as specified by the value used for name (Operator Lifecycle Manager UI Form view), or name in the metadata section of the noi.ibm.com_noihybrids_cr.yaml or noi.ibm.com_nois_cr.yaml files (YAML view).kubectl delete pod release_name-nciserver-0
- Restart the Netcool/Impact GUI server pod with the
following
command:
Where <release_name> is the name of your deployment, as specified by the value used for name (Operator Lifecycle Manager UI Form view), or name in the metadata section of the noi.ibm.com_noihybrids_cr.yaml or noi.ibm.com_nois_cr.yaml files (YAML view).kubectl delete pod release_name-impactgui-0
- When the Netcool/Impact server pod and the Netcool/Impact GUI server pods have both
restarted, verify that the user and its roles have been added correctly, by running the following
command on the Netcool/Impact core server
pod:
Where newuser is the user that you added to the maproles configmap. For example:<IMPACT_HOME>/install/security/mapRoles.sh -list -user newuser
/opt/IBM/tivoli/impact/install/security/mapRoles.sh -list -user newuser newuser roles: impactAdminUser impactOSLCDataProviderUser
- You are now able to login to and view Netcool/Impact UIs.