Skip to content

Commit d597886

Browse files
committed
Update bridge deployment instuctions for CNSA_5.1.1.1
1 parent f2021df commit d597886

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

docs/grafana_bridge_deployment_ocp.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,44 @@ tls.key: 1704 bytes
138138
```
139139

140140

141-
6. Since the IBM Spectrum Scale version 5.1.1 any client querying the performance data from the IBM Spectrum Scale cluster needs the API key authentication. You need to create API key secret for the grafana-bridge application using key name 'scale_grafana'. First encode your plaintext API key name and value using base_64:
141+
6. Since the IBM Spectrum Scale version 5.1.1 any client querying the performance data from the IBM Spectrum Scale cluster needs the API key authentication. You need to create API key secret for the grafana-bridge application using key name 'scale_default'.
142+
143+
First check the secret 'ibm-spectrum-scale-perfmon-default-api-key' exists in your CNSA project
144+
145+
```
146+
[root@mycluster-inf ~]# oc get secret ibm-spectrum-scale-perfmon-default-api-key
147+
NAME TYPE DATA AGE
148+
ibm-spectrum-scale-perfmon-default-api-key Opaque 1 16h
149+
150+
```
151+
Copy the scale_default api key value from that secret, mounted as a file in core pods
152+
153+
```
154+
[root@mycluster-inf ~]# oc get po -o wide
155+
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
156+
ibm-spectrum-scale-core-8gqvm 1/1 Running 0 19h 10.16.105.140 worker1.mycluster.os.fyre.ibm.com <none> <none>
157+
ibm-spectrum-scale-core-h5m6n 1/1 Running 0 19h 10.16.105.141 worker2.mycluster.os.fyre.ibm.com <none> <none>
158+
ibm-spectrum-scale-core-mwstf 1/1 Running 0 19h 10.16.97.21 worker0.mycluster.os.fyre.ibm.com <none> <none>
159+
ibm-spectrum-scale-gui-0 9/9 Running 0 19h 10.254.16.108 worker1.mycluster.os.fyre.ibm.com <none> <none>
160+
ibm-spectrum-scale-operator-79cd7dfb68-q4k49 1/1 Running 0 19h 10.254.12.168 worker2.mycluster.os.fyre.ibm.com <none> <none>
161+
ibm-spectrum-scale-pmcollector-0 2/2 Running 0 19h 10.254.4.84 worker0.mycluster.os.fyre.ibm.com <none> <none>
162+
ibm-spectrum-scale-pmcollector-1 2/2 Running 0 19h 10.254.16.109 worker1.mycluster.os.fyre.ibm.com <none> <none>
163+
164+
[root@mycluster-inf ~]# oc rsh ibm-spectrum-scale-core-8gqvm
165+
Defaulting container name to gpfs.
166+
Use 'oc describe pod/worker0 -n ibm-spectrum-scale' to see all of the containers in this pod.
167+
168+
sh-4.4# cat /etc/perfmon-api-keys/scale_default
169+
7h7p860oF99YwIBKJag8TZPkvILQAx3p8F9E
170+
sh-4.4#
171+
```
172+
173+
As next encode the plaintext API key name and value using base_64:
142174

143175
```
144-
[root@mycluster-inf certs]# echo -n 'scale_grafana'| base64
176+
[root@mycluster-inf certs]# echo -n 'scale_default'| base64
145177
c2NhbGVfZGVmYXVsdA==
146-
[root@mycluster-inf certs]# echo -n 'b0fbc340-43e8-4039-9895-e07eb34d1153'| base64
178+
[root@mycluster-inf certs]# echo -n '7h7p860oF99YwIBKJag8TZPkvILQAx3p8F9E'| base64
147179
YjBmYmMzNDAtNDNlOC00MDM5LTk4OTUtZTA3ZWIzNGQxMTUz
148180
```
149181

0 commit comments

Comments
 (0)