Database Best Practices and Tips
333
n
ov
do
cx (e
n)
16
Ap
ril 20
10
2. Type the option number corresponding to Stop.
3. Press Enter twice.
For the External Database:
Stop the Novell ZENworks Embedded Datastore Service by
stopping the Windows Services manager on Windows, or by running the
/etc/init.d/
sybase-asa stop
command on Linux.
9
At the console prompt of the database server, run the following command to start the database
service:
On Windows:
dbeng10 %ZENWORKS_HOME%\database\zenworks_ZONE_NAME.db -n
rebuild
On Linux:
dbeng10 /var/opt/novell/zenworks/database/zenworks_ZONE_NAME.db
-n rebuild
10
Create a temporary directory with the name as
unload
within
c:\dbreload\
on Windows or
within
/tmp/dbreload/
on Linux.
11
Run the unload command.
On Windows:
dbunload -c "UID=zenadmin;PWD=
database_password
;ENG=rebuild" -
an c:\dbreload\unload\zenworks_<
management_zone_name>
.db
On Linux:
dbunload -c "UID=zenadmin;PWD=
database_password
;ENG=rebuild" -an
/tmp/dbreload/unload/zenworks_
<management_zone_name
>.db
12
After the database rebuild has been successfully completed, take a reliable backup of the newly
built database.
If you encounter any issues during the rebuild process, contact
Novell Support (http://
www.novell.com/support)
.
13
Stop the Novell ZENworks Embedded Datastore service by using the dbeng10 command:
On Windows:
Right-click the
Rebuild
icon located in Windows taskbar, then click
Shutdown
.
On Linux:
At the console prompt, enter
q
.
14
Overwrite the database and applicable log file in the database directory with the new ones
located in the
unload
directory (
zenworks_
management_zone_name
.*
).
The
unload
directory is located in
c:\dbreload\
on Windows or in
/tmp/dbreload/
on
Linux.
15
Start the Novell ZENworks Embedded Datastore service.
For the Embedded Database:
Start all the ZENworks services, including the Novell
ZENworks Embedded Datastore service:
1. At the console prompt, run the
novell-zenworks-configure -c Start
command.
2. Type the option number corresponding to Start.
3. Press Enter twice.
For the External Database:
Start the Novell ZENworks Embedded Datastore service in
the Services window on Windows, or run the
/etc/init.d/sybase-asa start
command on Linux.
16
Take a backup of the newly created database on a regular basis (daily or weekly).
Содержание ZENWORKS 10 CONFIGURATION MANAGEMENT SP3 - NETWORK DISCOVERY DATABASE STRUCTURE
Страница 4: ...4 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 18: ...18 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 26: ...26 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 60: ...60 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 64: ...64 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 70: ...70 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 78: ...78 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 98: ...98 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 118: ...118 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 138: ...138 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 140: ...140 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 142: ...142 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 144: ...144 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 162: ...162 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 164: ...164 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 168: ...168 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 170: ...170 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 190: ...190 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 212: ...212 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 214: ...214 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 224: ...224 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 234: ...234 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 236: ...236 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 242: ...242 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 250: ...250 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 256: ...256 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 282: ...282 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 284: ...284 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 290: ...290 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 292: ...292 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 330: ...330 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 338: ...338 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 340: ...340 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 348: ...348 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 360: ...360 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 362: ...362 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 368: ...368 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...
Страница 374: ...374 ZENworks 10 Configuration Management System Administration Reference novdocx en 16 April 2010...