18.2 Configuring the ZENworks Server to Point to the New MS SQL Database

To configure the ZENworks Server to point to the new database (MSDB2), perform the following tasks on the ZENworks Server:

  1. 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:

      1. 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.

      2. 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.

  2. Restart the ZENworks services.

    • On Windows:

      1. From the Windows desktop Start menu, click Settings > Control Panel.

      2. Double-click Administrative Tools > Services.

      3. 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

  3. Start the ZENworks services on all other ZENworks Servers in the Management Zone.

    On Windows:

    1. Execute the following command at the server prompt:

      novell-zenworks-configure -c Start

    2. Enter the number next to the Start action.

    On Linux:

    1. Execute the following command at the server prompt:

      /opt/novell/zenworks/bin/novell-zenworks-configure -c Start

    2. Enter the number next to the Start action.