From f05556ac1e6f13c523897da86ee4f0e3dd9f769a Mon Sep 17 00:00:00 2001
From: Varuni Sastry <88804132+vksastry@users.noreply.github.com>
Date: Mon, 2 Oct 2023 11:27:03 -0500
Subject: [PATCH] Update miscellaneous.md
Add description to add grafana ctl
---
docs/ai-testbed/cerebras/miscellaneous.md | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/docs/ai-testbed/cerebras/miscellaneous.md b/docs/ai-testbed/cerebras/miscellaneous.md
index a5590fd1e..9e90c629e 100644
--- a/docs/ai-testbed/cerebras/miscellaneous.md
+++ b/docs/ai-testbed/cerebras/miscellaneous.md
@@ -8,7 +8,7 @@ Cerebras documentation for porting code to run on a Cerebras CS-2 system:
## Grafana WsJob Dashboard for Cerebras jobs
See the Cerebras documentation for the [Job Information Dashboard](https://docs.cerebras.net/en/latest/wsc/getting-started/grafana.html#wsjob-dashboard)
-Here is a summary (tested to work on Ubuntu)
+Here is a summary (tested to work on Ubuntu and MacOS)
On your work machine with a web browser, e.g. your laptop,
edit /etc/hosts, using your editor of choice
@@ -21,6 +21,13 @@ Add this line
```
Save, and exit the editor
+Download the Grafana certificate present on the Cerebras node at /opt/cerebras/certs/grafana_tls.crt to your local machine. To add this certificate to your browser keychain,
+
+1. On chrome, go to Settings->Privacy and security->Security->Manage device certificates
+2. Select System under "System Keychains" on the left hand side of your screen. Also select the "Certificate" tab.
+3. Drag and drop the downloaded certificate. Once it is added, it is visible as "lab.alcf.anl.gov"
+4. Select the certificate, and ensure that the "Trust" section is set to "Always Trust"
+
On your work machine with a web browser, e.g. your laptop,
tunnel the grafana https port on the cerebras grafana host through to localhost