Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 9659de2

Browse files
author
Chris Wiechmann
committed
[skip ci] Added a Troubleshooting TOC and ANM-Cert-Issue
1 parent 1f0da22 commit 9659de2

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,19 @@ However, if you need to change files, it is recommended to make this change auto
830830

831831
## Troubleshooting
832832

833+
- [Check processes/containers are running](#check-processescontainers-are-running)
834+
- [Check Filebeat is picking up data](#check-filebeat-is-picking-up-data)
835+
- [Check Logstash processing](#check-logstash-processing)
836+
- [Check ANM](#check-anm)
837+
- [vm.max_map_count is too low](#vmmax_map_count-is-too-low)
838+
- [No results from Elasticsearch](#no-results-from-elasticsearch)
839+
- [Check API-Builder processing](#check-api-builder-processing)
840+
- [Check requests from Admin-Node-Manager](#check-requests-from-admin-node-manager)
841+
- [Check queries send to ElasticSearch](#check-queries-send-to-elasticsearch)
842+
- [ILM Rollover alias error](#ilm-rollover-alias-error)
843+
- [Check Caching](#check-caching)
844+
- [Certificate error Admin-Node Manager to API-Builder](#certificate-error-admin-node-manager-to-api-builder)
845+
833846
### Check processes/containers are running
834847
From within the folder where the docker-compose.yml file is located (git project folder) execute:
835848
```
@@ -866,6 +879,7 @@ ls -l /var/log/work
866879
-rw-rw-r--. 1 filebeat filebeat 20972005 Jul 17 07:32 group-2_instance-1_traffic_2020-07-17-1.log
867880
868881
```
882+
<p align="right"><a href="#table-of-content">Top</a></p>
869883

870884
### Check Logstash processing
871885
Logstash writes to Stdout, hence you can view information just with:
@@ -903,6 +917,8 @@ When Elasticsearch is finally started:
903917
```
904918
Status YELLOW is expected when running Elasticsearch on a single node, as it cannot achieve the desired replicas. You may use Kibana Development tools or curl to get additional information.
905919

920+
<p align="right"><a href="#table-of-content">Top</a></p>
921+
906922
### vm.max_map_count is too low
907923
```
908924
ERROR: [1] bootstrap checks failed
@@ -925,6 +941,8 @@ To check if the index mapping was applied correctly to an index execute the foll
925941
`http://elasticsearch:9200/apigw-traffic-summary/_mapping`
926942
then check if properties mappings defined in the configuration mentioned above have been applied to the index.
927943

944+
<p align="right"><a href="#table-of-content">Top</a></p>
945+
928946
### Check API-Builder processing
929947
The API-Builder docker container is running
930948
```
@@ -978,6 +996,8 @@ PUT /apigw-trace-messages-eu-000001/_settings
978996
}
979997
```
980998

999+
<p align="right"><a href="#table-of-content">Top</a></p>
1000+
9811001
### Check Caching
9821002

9831003
The solution uses Memcache in API Builder & Logstash to avoid unnecessary duplicate queries for APIs and users. To check if entries are cached correctly, you can connect to the memcached via `telnet localhost 11211`. Some examples how to use it.
@@ -1007,6 +1027,14 @@ END
10071027

10081028
You can find additional information here: https://techleader.pro/a/90-Accessing-Memcached-from-the-command-line. You may also use [PHPMemcachedAdmin](https://github.com/elijaa/phpmemcachedadmin) to get insights about the Memcache instance.
10091029

1030+
### Certificate error Admin-Node Manager to API-Builder
1031+
1032+
If you have errors connecting from the Admin Node Manager to the API Builder, then the following instructions:
1033+
Please make sure that the Admin-Node Manager has imported the correct CA.
1034+
If you connect to the API Builder using a hostname other than `apibuilder4elastic`, you may receive the following error message:
1035+
`The certificate was not issued by the domain issuer`
1036+
To solve the problem you can create a [remote host](https://docs.axway.com/bundle/axway-open-docs/page/docs/apim_policydev/apigw_gw_instances/general_remote_hosts/index.html) and disable the hostname validation (`Verify server’s certificate matches requested hostname`). Or you can use your own matching keys & [certificates](#custom-certificates).
1037+
10101038
<p align="right"><a href="#table-of-content">Top</a></p>
10111039

10121040
## FAQ

0 commit comments

Comments
 (0)