forked from pivotal-cf/docs-pcf-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_mysql_proxy_config.html.md.erb
19 lines (13 loc) · 1.86 KB
/
_mysql_proxy_config.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<p class="note"><strong>Note</strong>: You only need to configure this section if you selected <strong>Internal Databases - MySQL</strong> in the <strong>Databases</strong> section.</p>
1. Select **Internal MySQL**.
<%= image_tag("mysql-config.png") %>
1. For **MySQL Proxy IPs**, enter one or more IP addresses for your MySQL proxy instances. If a MySQL node fails, these proxies re-route connections to a healthy node. See the [MySQL for PCF: Proxy](http://docs.pivotal.io/p-mysql/index.html#proxy) topic for more information.</p>
1. For **MySQL Service Hostname**, enter an IP or hostname for your load balancer. If a MySQL proxy fails, the load balancer re-routes connections to a healthy proxy. If you leave this field blank, components are configured with the IP address of the first proxy instance entered above.
1. Under **Automated Backups Configuration**, select **Disable mysql_backups** or **Enable mysql_backups** to enable or disable automated MySQL backups.
<p class="note"><strong>Note</strong>: If you choose to enable automated MySQL backups, set the number of instances for the **Backup Prepare Node** under the **Resource Config** section of the Elastic Runtime tile to `0`.</p>
1. If you select **Enable mysql_backups**, you need an Amazon Web Services (AWS) account. Configure your backup with the following steps:
* For **S3 Bucket Name**, enter the name of your S3 bucket on AWS. Do not include a `s3://` prefix, a trailing `/`, or underscores. If the bucket does not already exist, it will be created automatically.
* For **Bucket Path**, specify a folder within the bucket to hold your MySQL backups. Do not include a trailing `/`.
* For **AWS Access Key ID** and **AWS Secret Access Key**, enter your AWS credentials.
* For **Cron Schedule**, enter a valid cron expression to schedule your automated backups. Cron uses your machine's local time zone.
1. Click **Save**.