Installing and registering Data Collector by using the Data Collector installer package
The Data Collector installer package includes Data Collector installer files, the RPM file for the latest version of Data Collector, and a script that installs and registers Data Collector with the platform.
Before you begin
-
Ensure that you install Java™ on your computer or VM where you plan to install the Data Collector. For more information, see Installing Java.
-
Only Data Collector Administrators can create, register, edit, and delete a Data Collector instance. For more information, see User access, roles, and permissions.
- Verify that your corporate firewall is able to accept incoming events that Data Collector ingests. For more information, see System requirements for Data Collector.
About this task
The Data Collector installer package automates most of the installation and registration process for Data Collector. You might need to register the Data Collector manually with prompts from the script. You can also edit and delete a Data Collector instance with the script.
For more information, see the following procedures:
Procedure
Results
------------------------- Connection Bundle saved to: /tmp/dlc-cdae1447-7116-48a0-9689-fde465f33d71.json. Waiting for DLC service startup Testing DLC Kafka communication paths...SUCCESS Done with DLC Install.
- If the initial connectivity test does not connect to the platform, and you do not know the reason, contact a platform administrator. The platform might be unreachable, or the Data Collector manager might be unavailable. If you cannot reach the platform, you can still use the installer package, but you must manually register the Data Collector instance. For more information, see Registering Data Collector manually by using the installer script.
- If the connection bundle does not generate, delete the Data Collector instance and reinstall it with the install-dlc.sh script. If you cannot generate the connection bundle, use the platform user interface (UI) to manage your Data Collector instance.
- If the script cannot query Data Collector information, your API Key might not have the correct permissions. Generate an API Key with an account that has Admin permissions for the Ingestion and data collection service. For more information, see step 6.
- If you cannot solve the issue, contact IBM Support.
- Before you contact IBM Support, generate a log file with
information from the installer. In the directory where you ran the installer, run the following
command:
IBM Support can ask you to provide this file when you contact them.tar -czvf dlc.tgz log
- Before you contact IBM Support, generate a log file with
information from the installer. In the directory where you ran the installer, run the following
command:
Registering Data Collector manually by using the installer script
If the host of the Data Collector management service is valid, but the connection to the HTTPS port (443) is rejected, the registration program assumes that the port is administratively blocked. Then, the installer prompts you to choose to manually install Data Collector.
Before you begin
Procedure
- Select <Y> to continue with the manual installation, or select <ENTER> to quit.
- If you select <Y>, then the script runs and creates a CSR and saves it to the directory. The CSR file name contains the UUID, such as CSR-3e145186-5273-46f6-b698-16672d51ca76.txt.
- Copy the CSR to your clipboard.
- Log in to the platform with the account that you made or updated in step 6.
- In the general settings menu section, click Register a Data Collector. , and then click
- Enter a name and description for your Data Collector, and then click Next.
- Paste the certificate signing request from your Data Collector, and then click Next.
- Download the connection bundle to your Data Collector by clicking Download connection bundle. The connection bundle might take a few minutes to generate before you can click Download connection bundle to download it.
- Copy the connection bundle into a new text file named certBundle-<UUID>.txt, where <UUID> is the UUID for the Data Collector instance. The file name is case-sensitive.
- Save the file to the directory where you unpacked the installer package.
- Run the install-dlc.sh script again.
Results
After you complete these steps for the manual registration, the installer package queries for the name and location of the connection bundle file and then automatically applies it. Then, it restarts the Data Collector service, performs a self-test, and then deletes the csr-<UUID>.txt and certBundle-<UUID>.txt files.
Updating or deleting a Data Collector instance
Update or delete a Data Collector instance by rerunning the installer script. You can update parameter information or the connection bundle information, or you can delete a Data Collector instance.