기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Self-Hosted Deployment

Amazon Web Services

Microsoft Azure

On premises

vpctl

Self-Hosted Deployment

이 페이지는 선택한 언어로 제공되지 않습니다.
​
​
Self-Hosted Deployment
  • Overview
  • Amazon Web Services
    • Release notes
    • Installation
      • Infrastructure overview
      • Prerequisites
      • Deployment
      • Postdeployment
        • Set up the identity subsystem
        • Set up backups for Percona Server for MongoDB
        • Set up Percona Monitoring and Management
        • Migrate data to Percona Server for MongoDB
      • Security
      • Costs
    • Maintenance
  • Microsoft Azure
  • On premises
  • Administration
  • Security
  • vpctl
  1. Self-Hosted Deployment (previously called Unity Virtual Private Cloud)
  2. Self-Hosted Deployment in Amazon Web Services
  3. Installation

Set up Percona Monitoring and Management

Set up the monitoring of your database infrastructure
읽는 시간 2분
최근 업데이트: 한 달 전

To use Percona Monitoring and Management (PMM) to monitor your database infrastructure, complete the procedure in this section to integrate Percona Server for MongoDB (PSMDB) with PMM.

Prerequisites

Before you deploy PMM, ensure that this setup is complete:
  • When deploying Self-Hosted Deployment, you have enabled PMM, that is, you have set the
    enable_percona_monitoring
    setting to true in the Terraform variables file.
  • The resources
    ClusterRole
    and
    ClusterRoleBinding
    exist in the Kubernetes cluster.

1. Expose the PMM web interface

To expose the PMM web interface, complete these steps:
  1. Create an Ingress resource for the PMM web interface in your Kubernetes cluster.
  2. Add a DNS record that points to the PMM service in your DNS provider, for example, Route 53.
  3. Ensure that the PMM service is accessible through the configured domain name.

2. Access the PMM web interface

To access the PMM web interface, complete these steps:
  1. Go to the PMM web interface using your configured domain name.
  2. Sign in with the
    admin
    username. To retrieve the password, run this command:
    kubectl get secret pmm-admin-password -o jsonpath="{.data.GF_SECURITY_ADMIN_PASSWORD}" | base64 --decode

3. Create a token to integrate PSMDB with PMM

To integrate PSMDB with PMM, create a token in PMM:
  1. In the PMM web interface, go to Administration > Service Accounts.
  2. Select Add Service Account.
  3. Enter a descriptive name for the service account, choose Admin role and then select Create.
  4. Select Add service account Token.
  5. Copy the generated API key, and then save it to a secure location.
  6. Update the Terraform variable
    psmdb_pmm_server_token
    with the API key in your configuration file.
    The entry must have this format:
    psmdb_pmm_server_token = "<YOUR_PMM_TOKEN>"
  7. To apply the changes, run this command:
    cd aws/terraformmake apply-us-east-1

4. Validate the metrics collection

To validate that the metrics collection is working correctly, complete these verification steps:
  1. Ensure that there are no access errors. To check the PSMDB pod logs, run this command:
    kubectl logs psmdb-db-rs0-0 -c pmm-client
  2. To verify that the metrics are being collected in the PMM web interface, consult the MongoDB metrics in the MongoDB section.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Prerequisites

    • 1. Expose the PMM web interface

    • 2. Access the PMM web interface

    • 3. Create a token to integrate PSMDB with PMM

    • 4. Validate the metrics collection


이 페이지의 문제 보고