Case 1: Docker/Podman
Case 1: Docker/Podman in Var Partition Is Full.
Case 1: Docker/Podman#
When the docker/podman data directory is placed in var partition, the var partition consumes and fills completely. This prevents nomad services from starting.
1. Identify which folders/files are consuming more space:
du -sh /var/* | sort -hr
2. Drill down into /var/lib:
du -sh /var/lib/* | sort -hr
3. If Docker data directory is consuming more space, move the docker directory as follows:
3a. Stop all Nomad services on the primary node:
./stopServices.sh ALL
3b. Check if all services are stopped:
nomad status
All services should show status dead (stopped).
3c. Manually stop any remaining running services:
nomad stop <service name>
3d. On all nodes, stop the Docker/Podman service:
RHEL 7.X (Docker):
systemctl stop docker
RHEL 8.X (Podman):
systemctl stop podman
Verify status is inactive:
systemctl status docker
3e. On all nodes, create the daemon.json file if it does not exist:
Check if file exists:
ls -lrt /etc/docker/ | grep -i daemon
Create if not present:
touch /etc/docker/daemon.json
3f. On all nodes, add the data-root block to daemon.json:
vi daemon.json
Add the following content:
{
"data-root": "<new data directory path>"
}
For Example:
{
"data-root": "/opt/heal/docker"
}
If daemon.json already has content:
{
"XXXX": "<value>",
"data-root": "<new data directory path>"
}
3g. On all nodes, start the Docker/Podman service:
systemctl start docker
Verify status is active (running):
systemctl status docker
3h. Start all services:
./startServices.sh ALL
3i. Confirm all services are running:
nomad status
All services should show status running.
Case 2: HAProxy Logs#
If HAProxy logs are consuming more space, check the below consul keys and ensure the values are err and DISABLE.
1. Check consul keys:
consul kv get service/haproxy/log/level
Expected Output: err
consul kv get service/haproxy/log/status
Expected Output: DISABLE
2. If the values are different, set the correct values:
consul kv put service/haproxy/log/level err
3. Restart HAProxy:
nomad stop haproxy
a1nomad
nomad run haproxy.nomad
Case 3: /var Directory full in RHEL 8.2#
To address the issue of the /var directory filling up:
1. Nomad Configuration Change: Modify the data_dir path in the Nomad configuration file:
/etc/nomad.d/nomad_<IP>.hcl
2. Containers Storage Configuration: Update the graphroot setting in:
/etc/containers/storage.conf
3. Podman Repository Adjustments:
a. Alter the /HEAL/podmanrepo values in the loadimages.sh script.
b. Execute loadimages.sh to apply changes.
4. Loading and Validating Images:
a. Load images into Podman repository.
b. Validate by executing:
curl -k https://localhost.example:8090/v2/_catalog | jq
Data Collection and Configuration Issues#
Unable to create Logscan Raw Index and Data Source#
1. Deploy Logstash and configure pipeline. Ensure that Logstash is deployed and the pipeline is configured correctly. Verify that we are able to collect the OHS data.

2. Check the tags parameter in the rsyslog 50_file configuration file. Ensure that the Service_Name and other fields are in lowercase.
3. Update Grafana OHS dashboard: Modify the panel from pie chart to timeline. Remove duplicate group by and outer joins. Update the column names, time units, and wildcards.
4. Verify that access log data is available after using the updated pipeline.
WebSphere Server-Side Certificate Creation Issue#
Error displayed when trying to create certificate for WAS:
echo -n | openssl s_client -connect '192.0.2.128:8894' | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > was.crt
The server is trying to read data from the request, but it is taking longer than the timeout value.
Note: This issue happens when the data is not arrived within the timeout period. Load, keepalive and concurrency does not affect it.
Solution: To collect the WAS data, use only their internal IBM java.
Negative Minimum Response Time on OHS Dashboard#
Negative values were observed for the Minimum Response Time in the Oracle HTTP Server (OHS) dashboard.
Solution:
1. The Minimum Response Time was calculated by selecting the minimum value of the response time field from the logscan raw index. However, the URL table on Grafana had certain filter conditions applied.
2. By updating these filter conditions in the query for Minimum Response Time, the data displayed on the dashboard was corrected.