forked from dell/omnia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
troubleshootingguide.rst
61 lines (41 loc) · 1.94 KB
/
troubleshootingguide.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Troubleshooting guide
============================
Connecting to internal databases
------------------------------------
* TimescaleDB
* Go inside the pod: ``kubectl exec -it pod/timescaledb-0 -n telemetry-and-visualizations -- /bin/bash``
* Connect to psql: ``psql -U <postgres_username>``
* Connect to database: ``\c telemetry_metrics``
* MySQL DB
* Go inside the pod: ``kubectl exec -it pod/mysqldb-0 -n telemetry-and-visualizations -- /bin/bash``
* Connect to mysql: ``mysql -U <mysqldb_username> -p <mysqldb_password>``
* Connect to database: ``USE idrac_telemetrysource_services_db``
Checking and updating encrypted parameters
-----------------------------------------------
1. Move to the filepath where the parameters are saved (as an example, we will be using ``provision_config.yml``): ::
cd input/
2. To view the encrypted parameters: ::
ansible-vault view provision_config.yml --vault-password-file .provision_vault_key
3. To edit the encrypted parameters: ::
ansible-vault edit provision_config.yml --vault-password-file .provision_vault_key
Checking pod status on the control plane
--------------------------------------------
* Select the pod you need to troubleshoot from the output of ``kubectl get pods -A``
* Check the status of the pod by running ``kubectl describe pod <pod name> -n <namespace name>``
Using telemetry information to diagnose node issues
----------------------------------------------------
.. csv-table:: Regular telemetry metrics
:file: ../Tables/Metrics_Regular.csv
:header-rows: 1
:keepspace:
.. [1] This metric is collected from the manager node if a login node is absent.
.. csv-table:: Health telemetry metrics
:file: ../Tables/Metrics_Health.csv
:header-rows: 1
:keepspace:
.. csv-table:: GPU telemetry metrics
:file: ../Tables/Metrics_GPU.csv
:header-rows: 1
:keepspace:
.. |Dashboard| image:: ../images/Visualization/DashBoardIcon.png
:height: 25px