Environment
ZENworks Configuration Management
Situation
ZENworks Upgrade where the database needs to be upgraded.
After upgrading to the new database platform (example MSSQL 2008
> MSSQL 2016) for the zone, and moving the database over but using a new database
user and password, ZCC login fails.
Verifying all the details in the
ZENworks Database Management Reference Guide.
Login Error: Unable to find credentials for the identity:
administration
zcc.log
[TRACE] [10/01/2018 12:47:26.206] [7044] [ZENLoader] [24] [] [Loader.DataModelModule] [] [com.novell.zenworks.datamodel.exceptions.DataModelConfigurationException: Unable to find credentials for the identity: default [DEBUG] [10/01/2018 12:59:05.584] [1804] [ZENServer] [104] [__z_200_181__] [ZCC] [] [com.novell.zenworks.datamodel.exceptions.DataModelConfigurationException: Unable to find credentials for the identity: administration
Resolution
Be sure to modify all the related files for proper "database" communication and authentication:
zdm.xml (FQDN or IP of new server and path to the db)zenaudit.xml (FQDN or IP of new server and path to the db)dmmappings.properties (audit, readonly, superuser)
dmaccounts.properties (ID=pw) (pw will encrypt on restart of services)
zenaudit_dmaccounts.properties (ID=pw) (pw will encrypt on restart of services)
Additional Information
Documentation should specify the dmmappings.properties file
which has the new user name.
audit=readonly=superuser=
dmaccounts.properties and zenaudit_dmaccounts.properties will
encrypt the password after reboot.