Microsoft Windows 2000 Advanced Server
Microsoft Windows Server 2003 Enterprise Edition
Novell eDirectory 22.214.171.124 for Windows 2000
Novell eDirectory 126.96.36.199 for Windows 2003DHost Console for Novell eDirectory 188.8.131.52 (10552.675)
Novell eDirectory 8.7.3 for Windows
Microsoft Windows Server 2003 Server
Microsoft Windows 2000 Server
DHost Console is a new utility that adds new functionality to eDirectory 8.7.3 on the Win32 platform. It was introduced along with the DSBK backup utility. In addition to other capabilities, DHost Console provides a way to create a scheduled batch file that can run DSBK on the Win32 platform in order to backup the eDirectory database unattended. It is run from a command line. Below are examples on how to use this utility to run DSBK to backup eDirectory as well as other commands available and what tasks they perform.
NOTE: This utility must have an ip address specified on which DHOST is listening in order to perform certain tasks. Replace the examples' IP address with your own. These commands may fail if ipx is bound and DHOST is listening on that bound IPX interface. You must unbind IPX from the server and clear it from the DHOST interface list using KB 10097402 as a workaround. We hope to have this issue resolved in a future release. DHOSTCON Brings up a summary of the command syntax as well as the commands that are available. DHOSTCON 169.254.143.79 VERSION Displays the DHost Console version. DHOSTCON 169.254.143.79 MODULES Displays the currently loaded eDirectory modules.
DHOSTCON 169.254.143.79 ISMODLOADED DS.DLM Determines if the specified module is loaded.
NOTE: If the module is not loaded the command " ECHO %ERRORLEVEL% " will return a 0. If a number other than 0 is returned then the specified module is loaded. This can be useful when creating batch files.
DHOSTCON 169.254.143.79 LOAD DSREPAIR.DLM DHOSTCON 169.254.143.79 UNLOAD DSREPAIR.DLM DHOSTCON 169.254.143.79 LOAD DSREPAIR.DLM -RC DHOSTCON 169.254.143.79 LOAD DSREPAIR.DLM -U
These commands function much like a load statement on NetWare. In the above example we loaded then unloaded dsrepair, grabbed a snapshot backup of the database then performed an unattended repair of the database.
NOTE: If your batch file is to run multiple actions, such as a -RC and a -U, you would want to run the
ISMODLOADED command on DSREPAIR.DLM testing for an ERRORLEVEL other than 0 before continuing
DHOSTCON 169.254.143.79 CONN LIST This lists all connections currently present for DHOST excluding those in a NOT_LOGGED_IN status. (Currently this utility does not report accurately whether this is an admin equivilant connection or not.)
DHOSTCON 169.254.143.79 CONN KILL 10
DHOSTCON 169.254.143.79 CONN KILL ALL
These commands kill specific connections or all connections. If all are killed none will be displayed in the NDSConsole - Connections tab. In order for the NDSConsole connections to be re-created one must unload then reload NDSConsole.
RUNNING DSBK USING THE DHOST CONSOLE UTILITY:
DHOSTCON 192.168.13.6 LOAD dsbk backup -f c:\edirbak\dsbk.bak -l c:\edirbak\dsbk.log -t -w -b
This command will place the eDirectory backup and backup log in the c:\edirbak directory. Unlike the DHost Console utility, DSBK is case sensitive. Ensure that all statements following the word " DSBK " are in lower case.
DSBK should only be used by an administrator who has an advanced understanding of eDirectory, understands the concepts behind eDirectory's database roll forward logs as well as the ramifications of performing a restore of that database. Please carefully read the documentation carefully. It can be found at https://www.novell.com/documentation/edir873/index.html. Below are sections of particular importance.
- Administration Guide - Backup and Restore
- Administration Guide - Troubleshooting
- Administration Guide - Maintaining Novell eDirectory
- Administration Guide - Managing Partitions and Replicas
DSBK troubleshooting TIDS: