To configure the ZENworks Server to point to the new database (MSDB2), perform the following tasks on the ZENworks Server:
Take back up, and edit the zdm.xml and zenaudit.xml files (located in ZENworks_installation_path\conf\datamodel on Windows and in /etc/opt/novell/zenworks/datamodel on Linux) to do the following:
Ensure that the value of the Port entry key is the port number on which the MS SQL database is running.
Set the value of the Server entry key to the IP address of the MSDB2 device.
Set the value of the Database entry key to path of the database directory of the MSDB2 device.
If user name or password of the database is changed, then you must change the user name and password in the following locations:
dmaccounts.properties and zenaudit_dmaccounts.properties files. (located in ZENworks_installation_path\conf\datamodel on Windows and in /etc/opt/novell/zenworks/datamodel on Linux). It is recommended that do not use the SA user for ZENworks database access.
username=password
The password will be encrypted automatically when you restart the ZENworks services.
dmmappings.properties located in /etc/opt/novell/zenworks/datamodel on Linux and ZENworks_installation_path\conf\datamodel on Windows.
If you have changed the ZEN user name, then update readonly and superuser fields. If you have changed audit user, then change the audit field.
(Conditional) If you have enabled Kafka, then Run zman server-role-kafka-recreate-connectors -f true command to recreate the Kafka connectors.
For more information, See Server Commands in the ZENworks Command Line Utilities.
Restart the ZENworks services.
On Windows:
From the Windows desktop Start menu, click Settings > Control Panel.
Double-click Administrative Tools > Services.
Start the following services: Novell ZENworks Server, Novell ZENworks services Monitor, and Novell ZENworks Agent Service.
On Linux: At the console prompt, enter the following commands:
/etc/init.d/novell-zenmntr restart
/etc/init.d/novell-zenserver restart
/etc/init.d/novell-zenloader restart
Start the ZENworks services on all other ZENworks Servers in the Management Zone.
On Windows:
Execute the following command at the server prompt:
novell-zenworks-configure -c Start
Enter the number next to the Start action.
On Linux:
Execute the following command at the server prompt:
/opt/novell/zenworks/bin/novell-zenworks-configure -c Start
Enter the number next to the Start action.