Using Backup Exec's BEDR / BEDBG tool to create crash dumps for Backup Exec processes

Article:TECH72068  |  Created: 2009-01-02  |  Updated: 2012-10-02  |  Article URL http://www.symantec.com/docs/TECH72068
Article Type
Technical Solution

Product(s)

Subject

Issue



Using Backup Exec's BEDR / BEDBG tool to create crash dumps for Backup Exec processes


Solution



BEDR in version 12.0 and 12.5 and BEDBG in version 2010 and higher is to tool that generates a user dump of a Backup Exec process that shuts down unexpectedly.  BEDR / BEDBG is launched through the command prompt, and is located in the install folder for Backup Exec (by default C:\Program Files\Symantec\Backup Exec\).
This utility will create up to 10 dump files in the output folder. If 10 dump files already exist, a new dump will not be created. Support may request that some dump files be deleted so that a new dump file can be created along with debug logs for review.
 
In version 2010 and higher, BEDBG is already running by default on the BE server and remote windows servers.
In version 12 and 12.5 BEDR must be manually turned on with the steps below.
 
 
BEDR can be configured to capture a onetime crash dump or it can be installed as a service and run at all times. The crash dumps will be outputted into a BEDR folder inside the Backup Exec install folder (by default C:\Program Files\Symantec\Backup Exec\BEDR\). The contents of this BEDR folder can be used by Backup Exec technical support to determine the cause of the crash.
Usage:
bedr [-p:procID] [-I] [-sc+] [-sc-] [-?]
-p procID        captures memory dump of a running process
-I               configures bedr as a post mortem debugger
-sc+             creates bedr service
-sc-             deletes bedr service
 


Examples:

1.  Capture a single crash dump.

Simply run BEDR.exe with no switches from the command (Figure 1).

 

NOTE: The command window must be left running in order for BEDR to stay running and capture the crash. Logging off of the server will cause BEDR to close.

2.  Create the BEDR service.

When installed, the BEDR service will run as process in the background and automatically create a dump whenever a Backup Exec process crashes (Figure 2):

 

To confirm the service has been installed and is running, check the Windows Services snap-in (Figure 3):

 

When finished, run the following command to delete the service (Figure 4):

 

3. Attach BEDR to a running process.

To perform this, you first need to determine the processes PID. This can be determined using Window's Task Manager.

Launch Task Manager and go to View > Select Columns (Figure 5):

 

Select PID (Process Identifier) from the list (Figure 6):

 

Now Task Manager will show you the PID for all processes (Figure 7):

 

Running the following will allow you to attach to just a single process (Figure 8):

 

NOTE: The command window must be left running in order for BEDR to stay running and capture the crash. Logging off of the server will cause BEDR to close.



Legacy ID



327408


Article URL http://www.symantec.com/docs/TECH72068


Terms of use for this information are found in Legal Notices