How to automate a remote coredump on NetWare 6.x

(Last modified: 14Sep2005)

This document (10098883) is provided subject to the disclaimer at the end of this document.

fact

Novell NetWare 6 Service Pack 1

Novell NetWare 6 Service Pack 2

Novell NetWare NetWare 6.5

symptom

How to automate a remote coredump on NetWare 6

fix

To obtain a remote coredump, you will need to employ the use of DBNET6.NLM and DIAG500 on the "source" server (or server you need a coredump from) and IMGHOST on the "target" computer (where you want the coredump copied to.  IMGHOST can be used on either a NetWare server (.NLM) or Win32 computer (.EXE).  For NetWare 6.0, all of these modules/tools can be found on the install CD for NetWare 6 in the \PRODUCTS\TOOLS directory. For NetWare 6.5, these files can be found as follows:

DIAG500.NLM is installed in the boot directory, 
DBNET6.NLM is in SYS:SYSTEM,
IMGHOST.NLM is in SYS:SYSTEM, and
IMGHOST.EXE is in SYS:PUBLIC

To configure your source server, you can manually run the following lines or place them in an .NCF file to insure nothing is missed or mistyped on the source server.

For a NetWare 6.0 server:
set auto restart after abend=0
set cpu hog timeout amount=0
unload diag500
?load dbnet6
?load diag500 -d NETWORK -h Target.Machine.IP.Address

For a NetWare 6.5 server:
set auto restart after abend=0
set cpu hog timeout amount=0
unload diag500
?load dbnet6
?load diag500 -AUTODUMP -d NETWORK -h Target.Machine.IP.Address

where "Target.Machine.IP.Address" is the IP Address of the NetWare or Windows machine running IMGHOST.
NOTE #1: Setting AUTO RESTART AFTER ABEND = 0 will halt the system after dumping the core.  If you want the server to reboot, you can set this parameter to 3.
NOTE #2: Using a ? before a line in an .NCF file will prompt you if you wish to run that command.  In the case of "? load dbnet6", you will see: 

               load dbnet6? y

DO NOT
press any keys and let the process timeout.  It will default to "Yes" in 10 seconds.  This timing is needed for predecessor modules to fully initialize.

For more information on DBNETx, please see NetWare Dealing with DBNET6.NLM

document

Document Title: How to automate a remote coredump on NetWare 6.x
Document ID: 10098883
Solution ID: NOVL103453
Creation Date: 13Sep2005
Modified Date: 14Sep2005
Novell Product Class:Netware

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.