diff --git a/op-guide/ansible-deployment.md b/op-guide/ansible-deployment.md index d9da79cb63c13..19569806f0853 100644 --- a/op-guide/ansible-deployment.md +++ b/op-guide/ansible-deployment.md @@ -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. ``` diff --git a/op-guide/offline-ansible-deployment.md b/op-guide/offline-ansible-deployment.md index a221ad32e29c8..6193955dffb20 100644 --- a/op-guide/offline-ansible-deployment.md +++ b/op-guide/offline-ansible-deployment.md @@ -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). \ No newline at end of file