NDS-DB Sync Tool (ZENworks for Desktops 2)
Novell Cool Solutions: Feature
Digg This -
Posted: 31 Jan 2001
Version: ZENworks for Desktops 2
Synchronize the Workstation objects stored in the Inventory database with the Workstation objects in NDS with this free tool.
Table of Contents
- 1.0 About the NDS-DB Sync Tool
- 2.0 Legal Information
This database sync tool synchronizes the Workstation objects stored in the Inventory database with the Workstation objects in NDS. This tool removes the workstations that do not exist in NDS from the Inventory database. The excess workstations in the Inventory database exist because these workstations may have been deleted from NDS; however, the corresponding workstations were not removed from the database.
Use this tool regularly to maintain the database in a consistent state with NDS. Run this tool for each Inventory database.
To install the tool:
- Ensure that you have installed ZfD 2 Workstation Inventory.
- Unzip the NDSDBSYNC.ZIP.
This .ZIP file contains the following two files:
- Copy the two files to any directory on a server. These files should exist in the same directory.
After you install the tool:
Note: Ensure that the ZENworks database is loaded and running.
- In the NDSDB.NCF file, modify the following parameter:
where directory_path is the directory path that contains the NDSDBSYNC.JAR and NDSDB.NCF files.
- In the NDSDB.NCF file, modify the parameters in the following
java -ns -classpath $tmppath1;$classpath
-Dip=18.104.22.168 -Dport=2638 NDSLookup
Modify these parameters:
where treename refers to the tree on which ZfD 2 is installed.
where IP address refers to the IP address of the database server.
where Port_number refers to the port number of the database. The default value is 2638.
- At the server prompt, type
This tool compares the list of workstations in the database with those in NDS and displays the list of workstations that will be removed from the database. In effect, workstations that have been deleted from NDS will also be deleted from the database.
Ensure this directory is included in the search path.
The status log file, NDSDB.LOG is located in the SYS:\ETC directory.
This file contains information as to whether the database was synchronized successfully with NDS.
The status details are appended in the log file.
The status information "No information in the database/ Problem in connecting to database" indicates the following possible causes:
- Possible cause 1:
The network is down.
- Action 1:
Ensure that the network connections are proper and the network is up.
The information in the NDSDB.NCF file is set up incorrectly.
- Action 2:
Ensure that the settings that you have modified in the NDSDB.NCF are set correctly.
The database is not up.
- Action 3:
Ensure that the database is reachable. Run the NDS-DB Sync tool.
Novell, Inc., makes no representations or warranties with respect to any software, and specifically disclaims any express or implied warranties of merchantability, title, or fitness for a particular purpose. Distribution of any Novell software is forbidden without the express written consent of Novell, Inc. Further, Novell reserves the right to discontinue distribution of any Novell software.
Novell is not responsible for lost profits or revenue, loss of use of the software, loss of data, costs of re-creating lost data, the cost of any substitute equipment or program, or claims by any party other than you.
Novell strongly recommends that you make a backup before you install any software. Technical support for this software may be provided at the discretion of Novell.
Copyright ©2000 Novell, Inc. All rights reserved.
Novell is a registered trademark of Novell, Inc. in the United States and other countries. ZENworks is a trademark of Novell, Inc.
All third-party trademarks are the property of their respective owners.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com