You connect to IBM®
QRadar® on Cloud through a data gateway.
You can install the data gateway on a Google Cloud Platform (GCP) instance by using the provided
image.
Before you begin
Ensure that your appliance meets the data gateway system requirements. See System requirements for data gateways.
Schedule a maintenance window for this task and ensure that users do not deploy changes while the
data gateway is being added to your deployment.
Ensure that you have the full host name of the Console that you connect to through your gateway
appliance.
About this task
For any issues with QRadar
software, engage IBM Support. If you experience any problems
with GCP infrastructure, refer to GCP documentation. If IBM
Support determines that your issue is caused by the GCP infrastructure, you must contact GCP for
support to resolve the underlying issue with the GCP infrastructure.
You must use static private and public IP addresses.
Data gateways must be installed one at a time. If you are installing more than
one data gateway, wait until you complete installation of one before you install the next one.
You cannot have more than two DNS entries. QRadar installation fails if you have more than two
DNS entries in the /etc/resolv.conf file.
Procedure
- Create a project name in GCP that allows for a fully qualified domain name (FQDN) to be
no more than 63 characters long. The FQDN consists of the deployment name followed by
-vm
,
the zone, the region, the project name, and .internal
.
For example, if your project name is abc-stq-xyz, the
appliance deployment name is qr-con, the zone is
us-east4-c, and the region is c, the FQDN is
qr-con-vm.us-east4-c.c.abc-stq-xyz.internal. The zone can be between 10 and
25 characters long. Depending on the zone, this leaves somewhere between 25 and 40 characters to be
split between your project name and your deployment name.
- In the project that you created in step 1, configure your network interface.
- Click .
©2019 Google LLC, used
with permission. Google and the Google logo are registered trademarks of Google
LLC.
- Click CREATE VPC NETWORK.
- Give your network a name, and configure the settings as needed. Set DNS
server policy to No server policy.
- Click Create.
- Add an SSH key to the project if you haven't already done so. The key must be created for
a user called cloud-user.
- Click .
©2019 Google LLC, used with
permission. Google and the Google logo are registered trademarks of Google
LLC.
- Click SSH Keys.
- Click Edit.
- Click Add item.
- Enter an SSH key, followed by cloud-user.
- Click Save.
- Download the QRadar 7.5.0 UP7 virtual
appliance image from the IBM Fix Central website: https://www.ibm.com/support/fixcentral/swg/selectFixes?product=ibm%2FOther+software%2FIBM+Security+QRadar+SIEM&fixids=7.5.0-UP7-CMP-GoogleCloud-SingleImage-QRADAR-202309270935&function=fixId&parent=IBM%20Security
- Download the image and the .sig files. The download can take a
few hours.
- Use the .sig file to verify the integrity of the downloaded
image. For more information, see How to validate downloads from IBM Fix Central are trusted and code
signed.
- Go to Google Cloud and upload the image file to Google Cloud Storage. The upload can take
up to an hour.
Attention: Do not rename the image file. Renaming the image can cause the import to
fail.
- Run the following command in Google Cloud Shell to import raw image to your GCP
account.
gcloud compute images create <IMAGE NAME> --project=<GCP PROJECT NAME> --source-uri gs://<BUCKET NAME>/<RAW FILE PATH> --guest-os-features=MULTI_IP_SUBNET,UEFI_COMPATIBLE
The import process can take up to an hour.
-
Go to , select the image that you imported,
and then click Create Instance.
- Set a deployment name for the appliance that allows for a fully
qualified domain name (FQDN) to be no more than 63 characters long. The FQDN consists of the
deployment name, the zone, the project name, and
.internal
.
For example, if your project name is abc-stq-xyz, the
appliance deployment name is qr-con, the zone is
us-east4-c, and the region is c, the FQDN is
qr-con-vm.us-east4-c.c.abc-stq-xyz.internal. The zone can be between 10 and
25 characters long. Depending on the zone, this leaves somewhere between 25 and 40 characters to be
split between your project name and your deployment name.
- Select the zone that your project is in.
- Select a Machine Type that meets the minimum
system requirements.
- Select the network interface that you created.
- Set the firewall rules for your appliance that allow ports 22 and
443 only from trusted IP addresses to create an allowlist of IP addresses that can access your
QRadar deployment.
In a
QRadar deployment with multiple
appliances, other ports might also be allowed between managed hosts. For more information about what
ports might need to be allowed in your deployment, see
Common ports and servers used by QRadar.
- Check I accept the GCP Marketplace Terms of
Service.
- Click Deploy.
- Set a static IP address for your appliance.
- Click .
- Select your appliance from the list.
- Click Edit.
- Edit the network interface.
- Set the Internal IP type parameter to Static and
reserve a new IP address.
- Select or create a static External IP address.
- Click Done.
-
When the instance is ready, log in using SSH and your key pair by typing the
following command:
ssh -i <key.pem> cloud-user@<public_IP_address>
- To check the length of your FQDN, type the following command:
If the command returns a value greater than 63, installation fails. Restart this
procedure with a shorter virtual machine name.
- Type the following command:
- The system prompts you to set a root password. The password must meet
the following criteria:
- Contains at least 5 characters
- Contains no spaces
- Includes one or more of the following special characters: @, #, ^, and *.
You cannot change this password until after the installation process is complete. The root
password is also the gateway host password.
- Upgrade the data gateway to the same version of QRadar as your Console.
- Log in to the Console.
- To find the version of QRadar that the Console is at,
click the navigation menu (
), and
then click About.
- Download the SFS file for the version of QRadar that the Console is at
from Fix
Central (https://www.ibm.com/support/fixcentral).
- Copy the software update SFS file to your data gateway.
- If you have disconnected from your ssh session, use
ssh to log back in to your data gateway.
- On your data gateway, move the SFS file to the /storetmp
directory by typing the following command:
sudo mv <version_number>_QRadar_patchupdate-<full_version_number>.sfs /storetmp
- Open the superuser shell by typing the following command:
- Create the /media/updates directory by typing the following
command:
- Mount the SFS file by typing the following command:
mount -o loop -t squashfs /storetmp/<version_number>_QRadar_patchupdate-<full_version_number>.sfs /media/updates
- Run the software update installer by typing the following command:
- Use the QRadar on Cloud Self Serve app to generate a
token for your data gateway and allowlist the data gateway's IP address. For more information, see
Access management to the console.
- After you receive your token:
- If you have disconnected from your ssh session, use
ssh to log back in to your data gateway.
- Because the appliance restarted after the previous step, open the superuser shell
again by typing the following command:
- To mitigate a known issue with an intermittent connection, type the following command
on the newly added data gateway:
mkdir /etc/systemd/system/tunnel-monitor.service.d/; printf "[Service]\nExecStart=\nExecStart=/bin/true\n" > /etc/systemd/system/tunnel-monitor.service.d/override.conf; chmod 644 /etc/systemd/system/tunnel-monitor.service.d/override.conf; systemctl daemon-reload
- To finish the initial data gateway setup, type the following command:
/opt/qradar/bin/setup_qradar_host.py mh_setup interactive -p
- Exit the superuser shell by typing the following command: