Installing the server software in an air-gapped environment
You might have an environment that has a high level of security and is isolated from the internet. In such a scenario, you can install Rational® Test Automation Server on the Red Hat OpenShift platform in an air-gapped environment.
Before you begin
-
You must have read and been familiar with additional helm parameters. See Additional Helm parameters.
-
You must have performed the following tasks:
-
Completed the tasks provided in the Prerequisites section. See Prerequisites for installing the server software in an air-gapped environment.
-
Configured the Bastion host. See Configuring the Bastion host.
-
Copied the Entitlement key from the Container software library.
-
About this task
The following table lists the variables that you must replace with the actual value in the command.
Variables | Description |
---|---|
{openshift-cluster-dns-name} |
The ingress DNS name that you selected for the server. Remember: You must provide the value
that consists of alphanumeric characters that are in lowercase,
-(hyphen) or .(period). The value must also start and end with an alphanumeric character. You can run the following command to obtain the default value of
{openshift-cluster-dns-name}:
|
{my-rtas} |
The release name of your choice.
Note: The
release name must consist of alphanumeric characters that are in
lowercase or -(hyphen). The release name must also start with an alphabetic character and end with an alphanumeric character. For example, my-org or abc-123. |
{password-seed} |
A value of your choice for the password. Important: This password seed is used to create several
default passwords for the server. You must store the password seed
securely. When you install the server software by using the backup
of the user data, you can reuse the password seed. You can use this
seed to restore the backed-up files either on the current or later
versions of the server software.
|
{rlks-ip-address} |
The IP address of License Key Server, if you want to set the license value for the first time. Important: When you upgrade the product from the previous
version, you must configure the value of License Key
Server in the Team Space License
Configuration window when the installation of the
server is complete.
|
{my-jaeger-dashboard-url} |
The URL of the Jaeger server. |
Procedure
- Log in to your OCP cluster as a cluster administrator by running the oc login command.
-
Create a namespace in which you want to install the server software by
running the following command:
oc new-project test-system
Remember: The test-system is the name of the namespace. If you created a namespace by using a different value, then you must use that value in place of test-system in all the instances in this procedure. -
Perform the following steps to add the Certificate Authority (CA) into a Secret
and enable certificates as trusted certificates:
When some components such as static agents or Docker agents want to communicate with Rational® Test Automation Server, the component presents its certificate to the server to verify its identity. Rational® Test Automation Server trusts the component only if it is signed by a recognized and trusted CA. Therefore, you must add the signed CA into a trust by placing it in a Secret to enable certificates as trusted certificates.
-
Perform the following steps to install the server
software:
- Optional:
Run the following command to remove a job that is used to initialize the
PostgresQL database during the installation of the server software:
oc delete job {my-rtas}-postgresql-init -n test-system
-
Run the following script from the ibm-rtas-prod/files directory to verify and test the
installed server software:
ibm-rtas-prod/files/helm-test-diag.sh {my-rtas} -n test-system
Results
-
Keycloak URL to manage and authenticate users.
-
A URL to access the Rational® Test Automation Server UI.
What to do next
-
Configure licenses for team spaces. See Configuring licenses for team spaces.
-
Configure the server software. See Configuration of the server software.