Embedded Database Maintenance
303
n
ov
do
cx (e
n)
16
Ap
ril 20
10
34.5.1 Preparing to Move the Data
Before moving the data from an internal Sybase database to an external Sybase database, do the
following:
Make sure that ZENworks 10 Configuration Management is installed with an internal Sybase
database on a Windows or Linux device.
Install the external Sybase database. For more information on how to install an external Sybase
database, see “
Installing an External ZENworks Database
” in the
ZENworks 10 Configuration
Management Installation Guide
.
34.5.2 Moving the Data from the Internal Sybase to the External
Sybase
1
On the device that has the external Sybase database installed, 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 on the toolbar.
On Linux:
At the console prompt, enter
/etc/init.d/./sybase-asa stop
.
2
From the device that has the internal Sybase database installed, copy
zenworks_database.conf
and all files within the
database
directory to the appropriate
directories on the device that has the external Sybase database.
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
on Windows and in the
/var/opt/novell/zenworks/
directory on Linux.
3
On the device that has the external Sybase database installed, open
zenworks_database.conf
and make sure that it contains the correct path of the database file.
4
On the device that has the internal Sybase database installed, edit
zdm.xml
(located in
ZENworks_installation_path
\conf\datamodel
on Windows and in
/etc/opt/novell/
zenworks/datamodel
on Linux):
Change the value of the
Embedded
entry key to
false
. By default, it is
true
.
Set the value of the
Server
entry key to the IP address of the device that has the external
Sybase database installed.
Make sure that the value of the
Port
entry key is the port number on which the external
Sybase database is running.
5
On the device that has the external Sybase database installed, start the Novell ZENworks
Embedded Datastore service.
On Windows:
Do the following:
1. From the Windows desktop
Start
menu, click
Settings
>
Control Panel
.