4.6.6 Setting up batch collection of troubleshooting materials
By using the system information collection functionality, you can collect troubleshooting materials in a batch. To use this functionality to collect troubleshooting materials in a batch, edit the script file of the command for batch collection of troubleshooting materials. If a failure occurs, this command is executed automatically and collects troubleshooting materials. Note that if you have not changed the administrative user and password from the domain default, you do not need to edit them.
Prerequisites
-
The domain administration server (DAS) is running.
-
Application Server has been set up.
Intended users
-
System engineers
Procedure
-
Edit the script file of the command for batch collection of troubleshooting materials.
If you have not changed the administrative user and password from the domain default, you do not need to edit them.
- Script file to be edited
-
installation_directory_for_Java_EE_Server/glassfish/config/manager/snapshot_event-hook.bat
- Settings to be edited
-
Open the script file in a text editor, and edit the following setting values:
set ADMIN_HOST=host_name_of_domain_administration_server set USER_ID=user_name_of_domain_administration_server set PWDFILE=path_of_password_file#
#: Specify the path of the password file that contains AS_ADMIN_PASSWORD=domain_administration_server_password. If no password is set, specify an empty value for PWDFILE.
Example: If no password is set:
PWDFILE=