If you move the data from one MS SQL database to another MS SQL database, the Windows or Linux ZENworks Server must be configured to point to the new MS SQL database.
The following sections provide detailed information:
Before configuring the ZENworks Server to point the new MS SQL database, do the following:
Make sure that the ZENworks Server is configured to an MS SQL database. The database can be installed on the ZENworks Server or on a different device. Assume that the device that currently host the MS SQL database is called MSDB1.
Make sure that you have another Windows device with an MS SQL database installed. Assume that this device is called MSDB2. For more information on how to install an MS SQL database, see Installing an External ZENworks Database
in the ZENworks 10 Asset Management Installation Guide.
Move the data from MSDB1 to MSDB2. For more information about moving the data, see the MS SQL 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 database (MSDB2), 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 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.
Restart the ZENworks services.
On Windows: Do the following:
From the Windows desktop
menu, click > .Double-click
> .Start the following services:
, , and .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 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.
(Conditional) If you have installed ZENworks Reporting Server, continue with Section 29.6.3, Configuring ZENworks Reporting Server to Point to the New MS SQL Database.
Do the following to point ZENworks Reporting Server to the new database (MSDB2):
Ensure that the data has been moved to MSDB2 and the ZENworks Server points to MSDB2 as explained in Section 29.6.2, Configuring the ZENworks Server to Point to the New MS SQL Database.
On the ZENworks Server, click
> > > > on a 32-bit device, and click > > > > on a 64-bit device.Click
.Click
> .In the
field, specify the IP address of the new database (MSDB2), then click .Specify the login ID and the password to connect to MSDB2, then click
.Click
> .Click
to verify the connection to the new database.A message appears indicating that the connection is successful.
Click
twice.ZENworks Reporting Server now points to the new database.
Ensure that the data has been moved to point to the new MS SQL database as explained in Section 29.6.2, Configuring the ZENworks Server to Point to the New MS SQL Database.
Edit the /opt/novell/zenworks/share/boe/bobje/odbc.ini file to set the value of to the IP address and port number of MSDB2.
Save the file.
Run the novell-zenworks-configure -c UpdateBOE command.
ZENworks Reporting Server now points to the new database.