Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

op-guide: add fontconfig note #456

Merged
merged 1 commit into from
May 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions op-guide/ansible-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,12 @@ To deploy TiDB using a normal user account, take the following steps:
ansible-playbook deploy.yml
```

> **Note:** You can use the `Report` button on the Grafana Dashboard to generate the PDF file. This function depends on the `fontconfig` package. To use this function, login to the `grafana_servers` machine and install it using the following command:
>
> ```
> $ sudo yum install fontconfig
> ```

5. Start the TiDB cluster.

```
Expand Down
15 changes: 12 additions & 3 deletions op-guide/offline-ansible-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,18 @@ See [Orchestrate the TiDB cluster](ansible-deployment.md#orchestrate-the-tidb-cl

## Deploy the TiDB cluster

1. See [Deploy the TiDB cluster](ansible-deployment.md#deploy-the-tidb-cluster).
2. You do not need to run the `ansible-playbook local_prepare.yml` playbook again.
1. You do not need to run the `ansible-playbook local_prepare.yml` playbook again.
2. You can use the `Report` button on the Grafana Dashboard to generate the PDF file. This function depends on the `fontconfig` package. To use this function, download the [`fontconfig` offline installation package](https://download.pingcap.org/fontconfig-rpms.el7.tar.gz) and upload it to the `grafana_servers` machine to install.

```
$ tar -xzvf fontconfig-rpms.el7.tar.gz
$ cd fontconfig-rpms.el7/offline_packages
$ chmod u+x install_fontconfig.sh
$ ./install_fontconfig.sh
```

3. Refer to [Deploy the TiDB cluster](ansible-deployment.md#deploy-the-tidb-cluster).

## Test the cluster

See [Test the cluster](ansible-deployment.md#test-the-cluster).
See [Test the cluster](ansible-deployment.md#test-the-cluster).