To help IBM® Support resolve your ticket, use the
batch file or script to upload the data collector's log packages to Blue Diamond.
About this task
If your firewall is configured to use the secure file transfer protocol (SFTP) on port 22, the
log packages for the data collector are automatically uploaded to Blue Diamond.
If your firewall isn't configured to use SFTP on port 22, use this procedure to upload the log
packages for the data collector manually to Blue Diamond:
- Generate the log package as a .zip file.
- Transfer the log package to a computer with internet access.
- Upload the log package manually to Blue Diamond.
Procedure
-
Go to the folder that you created on your server or virtual machine to run the data
collector.
- Depending on the operating system of your server or virtual machine, choose one of the
following options:
Operating system |
Steps |
Windows |
Right-click the logcollector.bat file and click Run as
administrator. |
AIX® and Linux® operating systems |
Log in as root and run the logcollector.sh script. |
- To find out the parameters and values that you need to specify, use this
information:
Parameter |
Value |
-t |
Include the -t parameter and enter the number of the ticket. |
-u |
If your firewall is configured to upload log packages, include the -u
parameter. If not, omit the -u parameter to create a .zip file, which you can
copy to another computer, and manually upload to Blue Diamond. |
-j |
Include the -j parameter to upload the Java™ core files that are created when the data collector encounters a runtime exception. The
Java core files contain information about the last running
state of the data collector, information about system memory, and other information. Although
uploading these logs might increase the size of the log packages and take longer to upload, IBM Support will need this information to investigate and resolve
the issue that you encountered. |
-c |
Include the -c parameter to upload the contents of the
conf folder, which is in the folder where the data collector was installed. IBM Support will need this information to investigate and resolve
the issue that you encountered. |
-bc |
If your firewall is configured to upload log packages, include the -bc
parameter to specify that you are a Blue Diamond customer. |
-bu |
If your firewall is configured to upload log packages, include the -bu
parameter and enter the username for Blue Diamond. |
-bp |
If your firewall is configured to upload log packages, include the -bp
parameter and enter the password for Blue Diamond. |
-bd |
If your firewall is configured to upload log packages, include the -bd
parameter. Enter the name of the folder that was assigned to your company for uploading files to the
Blue Diamond SFTP server. |
Example: Your firewall is configured to upload log packages:
-t TS001234567 -u -j -c -bc -bu my_username -bp my_password -bd my_directory
Example: You want to generate a .zip file and upload it manually to Blue Diamond:
-t TS001234567 -j -c
- Press enter.
Results
If your firewall is configured to upload log packages, the log package is uploaded automatically
to Blue Diamond.
To upload the log packages manually, complete the following steps:
- Copy the .zip file in that was saved in the service folder. The
service folder is in the folder that was created on the server or virtual
machine to run the data collector.
- Go to the Sign in to the Blue Diamond Registration Portal page to upload the .zip file
to Blue Diamond..