10.2 Moving the Data from One External Sybase to Another External Sybase

  1. Stop all the ZENworks Services on all the ZENworks Servers that are connected to EDB1.

    • On Windows: Do the following

      1. Execute the following command at the server prompt:

        novell-zenworks-configure -c Stop

      2. Enter the number next to the Stop action.

    • On Linux: Do the following:

      1. Execute the following command at the server prompt:

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

      2. Enter the number next to the Stop action.

  2. On EDB1 and EDB2 devices, stop the Novell ZENworks Embedded Datastore service.

    • On Windows: Do the following:

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

      2. Double-click Administrative Tools > Services.

      3. Right-click the Novell ZENworks Embedded Datastore service, then click Stop, or select the Novell ZENworks Embedded Datastore service, then click Stop icon on the toolbar.

    • On Linux: At the console prompt, enter /etc/init.d/sybase-asa stop.

  3. From the EDB1 device, copy zenworks_database.conf and all files within the database directory to the appropriate directories on the EDB2 device.

    The zenworks_database.conf is located in the ZENworks_installation_path\conf\ directory on Windows and in the /etc/opt/novell/zenworks/ directory on Linux.

    The database directory is located in ZENworks_installation_path by default on Windows and in the /var/opt/novell/zenworks/ directory on Linux.

  4. On the EDB2 device, open zenworks_database.conf and make sure that it contains the correct path of the database file.

  5. On each ZENworks Server that is connected to EDB1, edit zdm.xml (located in ZENworks_installation_path\conf\datamodel on Windows and in /etc/opt/novell/zenworks/datamodel on Linux):

    • Set the value of the Server entry key to the IP address of the EDB2 device.

    • Make sure that the value of the Port entry key is the port number on which the EDB2 device is running.

  6. On the EDB2 device, start the Novell ZENworks Embedded Datastore service:

    • On Windows: Do the following:

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

      2. Double-click Administrative Tools > Services.

      3. Right-click the Novell ZENworks Embedded Datastore service, then click Start, or select the Novell ZENworks Embedded Datastore service, then click Start icon on the toolbar.

    • On Linux: At the console prompt, enter /etc/init.d/sybase-asa start.

  7. Start all the ZENworks Services on the all the ZENworks Servers in the Management Zone.

    • On Windows: Do the following

      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: Do the following:

      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.

The ZENworks Server now points to new database (EDB2).