MongoDB Enterprise Advanced 将 MongoDB 许可证和商业支持与控制平面相结合,可以在您的基础设施上扩展运行 MongoDB。了解控制平面可以帮助您做出关键决策,从而形成业务安全、可靠和高效运行 MongoDB 的方式。
控制平面
Enterprise Advanced 控制平面提供集成组件,可在整个 MongoDB 基础设施中自动实现部署、生命周期管理、备份和可观测性。这种方法可大大降低为用户或客户数运行 MongoDB 作为自托管理数据库即服务产品的费用和复杂性。
如果不利用 Enterprise Advanced 控制平面功能,则需要构建自己的编排、备份和监控工具。MongoDB 控制平面可以集成到现有的自动化、备份和监控系统中,同时节省维护它的工程工作。
目标是运行可扩展的、可用于生产的 MongoDB 集群,并对用户可预配和配置的内容进行集中管理和控制。安装控制平面后,应用程序团队可以通过组织的标准流程预配 MongoDB 数据库,而无需接触基础设施。中心平台团队可以实施安全策略、管理备份安排和扩展部署,而不会成为运行瓶颈。
组件
Enterprise Advanced 控制平面包含三个组件:
Ops Manager: The central management application. It provides a web UI for manual setup and management, and a REST API for integration with your internal developer platform tooling that empowers developer self-service. Ops Manager has built-in capabilities for deployment automation, security, continuous backup with point-in-time recovery, and MongoDB-specific monitoring and alerting. Ops Manager also supports integrations with third-party authentication, monitoring, and backup systems.
MongoDB Agent: The MongoDB Agent runs on each MongoDB deployment host (for example, a database) that Ops Manager manages, whether that host is a VM, physical server, or Kubernetes pod. The agent executes configuration and management instructions from Ops Manager, supports backup and recovery, and reports telemetry back to Ops Manager.
MongoDB Controllers for Kubernetes (MCK): MCK is the Kubernetes operator for Enterprise Advanced. It manages infrastructure provisioning and MongoDB configuration as Kubernetes custom resources, working in concert with Ops Manager. MCK isn't an alternative to Ops Manager. MCK unlocks the ability for MongoDB to provision infrastructure (Kubernetes pods) to run MongoDB, as well as managing configuration. This can drastically simplify managing MongoDB to provide a database as a service on-prem by saving you building the orchestration layer to tie VM lifecycle management together with MongoDB configuration.
在 Kubernetes 上使用 MongoDB Enterprise 服务器进行搜索和向量搜索
Kubernetes 对于 MongoDB Ops Manager 和 MongoDB 数据库是可选的。您可以在虚拟机或物理服务器上运行完整的 Enterprise Advanced 部署,包括自动备份、监控、协调和商业支持,而无需 Kubernetes。
MongoDB Enterprise 服务器的搜索和向量搜索需要 Kubernetes。搜索节点必须在 Kubernetes 上运行。使用 MongoDB Enterprise 服务器 进行搜索和向量搜索没有基于 VM 的部署路径。如果搜索是计划部署的一部分,则至少搜索层级需要 Kubernetes,无论主节点 (primary node in the replica set)数据库在何处运行。
由 Ops Manager 托管的 VM 上的 MongoDB 数据库与由 MCK 托管的 Kubernetes 上的搜索节点的混合拓扑结构是有效的配置。客户数可以随时添加 Kubernetes 进行搜索,而无需移动其现有的数据库基础设施。
总结
控制平面是 MongoDB 部署的基础。您预先做出的决策将形成其在其生命周期内的运行方式:Ops Manager、MongoDB Agent 和 MCK 如何适合您的环境、数据库和搜索节点的运行位置,以及团队如何预配和保护 MongoDB。这些选择决定您是否能够顺利扩展或累积操作债务。预先规划它们可以让您将 MongoDB 作为可靠的内部数据库即服务运行,而不是在团队依赖它之后重新工作基础设施。