forked from pivotal-cf/docs-pcf-healthwatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusing.html.md.erb
73 lines (56 loc) · 2.63 KB
/
using.html.md.erb
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
title: Using PCF Healthwath
owner: PCF Healthwatch
---
This topic describes how to use Pivotal Cloud Foundry (PCF) Healthwatch.
##<a id='access'></a>Accessing PCF Healthwatch
You can access PCF Healthwathch and its data through the UI or directly through the metrics datastore.
###<a id='ui'></a>Access the PCF Healthwatch UI
1. Navigate to `platform-monitoring.SYSTEM-DOMAIN`.
2. When prompted to log in, enter the username and password of the UAA user you created in [Configure UAA Authorities](installing.html#uaa-authorities).
<p class="note"><strong>Note</strong>: Currently, only the Google Chrome browser is supported.</p>
###<a id='mysql'></a>Access Data Through MySQL
You can access PCF Healthwatch data through MySQL, which is used to store product metrics. See the description of [available data points](metrics.html).
The table below provides login information.
<table class="nice">
<tr>
<td>URL</td>
<td>Any of the MySQL VM IPs</td>
</tr>
<tr>
<td>Port</td>
<td>3306</td>
</tr>
<tr>
<td>Username</td>
<td>MySQL Admin Password credentials in the PCF Healthwatch tile</td>
</tr>
<tr>
<td>Password</td>
<td>MySQL Admin Password credentials in the PCF Healthwatch tile</td>
</tr>
<tr>
<td>Database</td>
<td><code>platform_monitoring</code></td>
</tr>
<tr>
<td>Tables</td>
<td><code>value_metric</code>, <code>counter_event</code>, and <code>super_value_metric</code></td>
</tr>
</table>
To access MySQL, you can do the following:
* **Method 1**. Use BOSH to SSH into any of the MySQL VMs and run the `mysql -u root -p` command.
* **Method 2**. Assign an external IP to a MySQL VM and a firewall rule to open ports 3306 and 3308 and access MySQL externally.
* **Method 3**. Open a tunnel into your IaaS network and connect that way externally.
##<a id='scaling'></a>Scaling PCF Healthwatch Resources
Use the following guidelines to scale PCF Healthwatch resources:
* **BOSH Director Health Check** (the `bosh-health-check` app).
Only 1 BOSH Director Health Check can run at a time. This should be considered a hard limit.
* **BOSH Deployment Task Check** (the `bosh-task-check` app).
By default, this is scaled to 2. It is recommended not to exceed 3 runners at once.
* **CLI Command Health Check** (the `cf-health-check` app).
By default, this is scaled to 2. It is recommended not to exceed 3 runners at once.
* **Apps Manager Uptime and Response Check** (the `appsmanager-health-check` app).
By default, this is scaled to 2. It is recommended not to exceed 3 runners at once.
* **Ops Manager Uptime Check** (the `opsmanager-health-check` app).
By default, this is scaled to 2. It is recommended not to exceed 3 runners at once.