GSS Enable DAgent logging for AClient while in automation environment
search cancel

GSS Enable DAgent logging for AClient while in automation environment

book

Article ID: 267171

calendar_today

Updated On:

Products

Ghost Solution Suite

Issue/Introduction

How to enable DAgent logging to be used for diagnostics while the machine is booted to the automation environment

Environment

GSS 3.x

Resolution

If the preboot configuration is using automation which will include running Dagent, then sometimes gathering logs is required to diagnose issues.

Here are the steps to enable logging:

1) open the preboot configuration from either PXE (if using PXE ) from Boot Disk Creator ( if using a USB boot disk or Automation Folder )

2) If editing a current pxe configuration

  1. If using PXE open the PXE configuration and click  'Edit' at the bottom
  2. Click 'Next" to  get to step 9 of 12: Edit Configuration
  3. In the left column under Configurations open the aclient.inp file
  4. In the main window scroll down to the Logfile section

            should see this section

;---------------------------------------------------------------------
; LogFile field is the full pathname to the log file (optional)
; LogSize is the maximum log file size (optional)
; LogErrors - If this is Yes, then errors will be logged
; LogInformation - If this is Yes, then information items will be logged.
; LogDebug - If this is Yes, then detailed debug information will be logged.
;---------------------------------------------------------------------
;LogFile=%systemdrive%\DagentLogs\Dagent.log
;LogSize=4096
;LogErrors=Yes | No
;LogInformation=Yes | No
;LogDebug=Yes | No
LogFile=%systemdrive%\DagentLogs\Dagent.log
LogSize=4096
LogErrors=Yes
;---------------------------------------------------------------------

Change the Logfile setting to:

LogFile=M:\DagentLogs\Dagent.log   ( change M: to match the preboot configuration setting to the GSS express share )
LogSize=40960
LogErrors=Yes
LogInformation=Yes
LogDebug=Yes

NOTE: removed any semicolon ( ; )  remarks

            If Logfile=LogFile=%systemdrive%\DagentLogs\Dagent.log and the system reboots the logging is lost

Then continue with building the PXE preboot environment

3) If creating a new PXE configuration

  1. After clicking the 'Create Boot Image' button continue to modal screen 9 of 12.
  2. Edit the aclient.inp file in the Configuration window
  3. Make change as in step 2) d

4) If using an existing Boot Disk or Automation Folders

  1. Open Boot Disk Creator: GSS Console > Tools > Boot Disk Creator
  2. Under Configuration select a configuration or build a new configuration
  3. Edit aclient.inp as in Step 2) d
  4. Create the Boot Disk or Automation Folder

5) If Making a new Boot Disk or Automaton Folder

  1. Open Boot Disk Creator: GSS Console > Tools > Boot Disk Creator
  2. Make a new Boot Configuration Dialog will appear
  3. Continue through all the modal screen
  4. when configuration is created it will be listed under Configurations
  5. Edit aclient.inp as in Step 2) d
  6. Create the Boot Disk or Automation Folder