Troubleshooting
Problem
Symptom
[hostcontext.hostcontext] [80248f10-17cb-41b1-8a94-d08054cf8587/SequentialEventDispatcher] com.q1labs.configservices.capabilities.AddHost: [INFO] [NOT:0000006000][XX.XX.XX.XX.XX/- -] [-/- -]Host XX.XX.XX.XX has a version number:7.3.3, appliance type:software., serial:
[hostcontext.hostcontext] [80248f10-17cb-41b1-8a94-d08054cf8587/SequentialEventDispatcher] com.q1labs.configservices.capabilities.AddHost: [ERROR] [NOT:0000003000][XX.XX.XX.XX/- -] [-/- -]Unable to add managed host. The ip of the host is: XX.XX.XX.XX
[tomcat.tomcat] [Thread-347198] com.q1labs.configservices.capabilities.CapabilitiesHandler: [ERROR] [NOT:0000003000][1XX.XX.XX.XX/- -] [-/- -]Removing host XX.XX.XX.XX from the deployment model, if present, due to add_host failure.
You might also see this message on qradar.log:
[hostcontext.hostcontext] [80248f10-17cb-41b1-8a94-d08054cf8587/SequentialEventDispatcher] java.lang.NullPointerException: hardware serial string must not be null.
Cause
Diagnosing The Problem
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<HostCapabilities
isConsole="true"
IP="XX.XX.XX.XX"
applianceType="3199"
hostName="Test"
qradarVersion="7.3.2"
hardwareSerial="VMware-XXXXXXX"
activationKey="XXXXXXXXXXX"
managementInterface="ens192"
xmlns="http://www.q1labs.com/products/qradar"
/>
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
System Information
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Version: None
Serial Number: VMware-XXXXXXXX
UUID: XXXXXXXXX
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Resolving The Problem
- Copy the serial number from the dmidecode -t 1 output.
- Make a backup of the current hostcapabilities.xml file:
- Create the backup directory: mkdir -p /store/IBM_Support/
- Copy the current file into the backup location: cp -p /opt/qradar/conf/capabilities/hostcapabilies.xml /store/IBM_Support/hostcapabilities.xml.<date>
- Edit the hostcapabilities.xml file with a text editor: vi /opt/qradar/conf/capabilities/hostcapabilities.xml
- Add the hardwareSerial="<serial reported by dmidecode>" between qradarVersion and activationKey:
- Example:
qradarVersion="7.3.2"
hardwareSerial="VMware-XXXXXXX"
activationKey="XXXXXXXXXXX"
- Example:
- Save the changes and close the file: :wq!
- Restore the DMI information. Verify this procedure with the hardware manufacturer as the process changes based on the manufacturer.
- Once point 1 is addressed, verify that the serial now exists by using dmidecode -t -1.
- If the output is reporting the serial number, go to Scenario 1, and apply the workaround.
- Flatten the OS installation.
- Verify dmidecode populates the serial by using dmidecode -t 1.
- If dmidecode now reports the serial number:
- Install QRadar.
- Once the installation is complete, verify hostcapabilities.xml populates the serial number properly. The managed host can now be added properly.
- If dmidecode doesn't report serial number at this moment, contact Red Hat technical support for further guidance.
- If dmidecode now reports the serial number:
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
13 April 2020
UID
ibm16151863