30.7 Configuring the ZENworks Server to Point to the New Oracle Database Containing Data Moved from Another Oracle Database

If you move the data from one Oracle database to another Oracle database, the Windows or Linux ZENworks Server must be configured to point to the new Oracle database.

The following sections provide detailed information:

30.7.1 Preparing to Move the Data

Before configuring the server to point the new Oracle database, do the following:

  • Make sure that the ZENworks Server is configured to an Oracle database. The database can be installed on the ZENworks Server or on a different device. Assume that the device that currently host the Oracle database is called ORDB1.

  • Make sure that you have another Windows device with an Oracle database installed with the same database credentials as the ORDB1. Assume that this device is called ORDB2. For more information on how to install an Oracle database, see Installing an External ZENworks Database in the ZENworks 11 Server Installation Guide.

  • Move the data from ORDB1 to ORDB2. For more information about moving the data, see the Oracle database documentation.

  • Stop all the ZENworks Services on 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 Stop 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 Stop action.

30.7.2 Configuring the ZENworks Server to Point to the New Oracle Database

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

  1. Edit zdm.xml (located in ZENworks_installation_path\conf\datamodel on Windows and in /etc/opt/novell/zenworks/datamodel on Linux) to do the following:

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

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

    • Set the value of the Database entry key to net service name of the Oracle database installed on the ORDB2 device.

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

ZENworks Server should now point to the new database.