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:
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 10 Asset Management 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
Execute the following command at the server prompt:
novell-zenworks-configure -c Start
Specify the number next to the Stop action, then press Enter.
On Linux: Do the following:
Execute the following command at the server prompt:
/opt/novell/zenworks/bin/novell-zenworks-configure -c Start
Specify the number next to the Stop action, then press Enter.
To configure the ZENworks Server to point to the new Oracle database (ORDB2), perform the following tasks on the ZENworks Server:
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.
Start all the ZENworks Services on all the ZENworks Servers in the Management Zone.
On Windows: Do the following
Execute the following command at the server prompt:
novell-zenworks-configure -c Start
Specify the number next to the Start action, then press Enter.
On Linux: Do the following:
Execute the following command at the server prompt:
/opt/novell/zenworks/bin/novell-zenworks-configure -c Start
Specify the number next to the Start action, then press Enter.
ZENworks Server should now point to the new database.
If you have installed ZENworks Reporting Server, do the following to point ZENworks Reporting Server to the new database (ORDB2). The following steps are applicable for both Windows and Linux platforms.
(Conditional) If you have installed ZENworks Reporting Server, continue with Section 29.7.2, Configuring the ZENworks Server to Point to the New Oracle Database.
Launch the Oracle Net Configuration Assistant Welcome Window:
On Windows, navigate to %ORACLE_HOME%/bin directory, then double-click the file.
On Linux, navigate to the $ORACLE_HOME/bin directory, then double-click the netca executable or run the netca executable by using the vi $ORACLE_HOME/bin/./netca command.
Select
, then click .Select
, then clickSelect the net service name that you want to reconfigure, then click
.Specify the service name of ORDB2, then click
.Select
as the protocol, then click .Specify the hostname of the device where the ORDB2 database is installed, then click
.Select
option to verify the connection to the ORDB2, then click .Click
.In the Change Login window that is displayed, specify the username and password to connect to ORDB2.
Click
.A message is displayed indicating that the connection to ORDB2 is successful.
Click
.Specify the service name that you provided in Step 6 as the net service name, then click .
Click
twice.On the Oracle Net Configuration Assistant Welcome page that is displayed, click Finish to complete reconfiguring the new database ORDB2.
Run the novell-zenworks-configure -c UpdateBOE command.