Deployment
| HAP Deployment Mode | Operations Platform Deployment Solution |
|---|---|
| Standalone Mode | Based on Docker Compose |
| Cluster Mode | Based on Kubernetes |
-
The deployment server should reserve CPU and memory resources of at least 2C and 4G, with available disk space no less than 50G.
-
To reduce deployment complexity, it is recommended to deploy the operations platform on an existing HAP server.
-
If you need to deploy the operations platform on a separate server, refer to the Environment Variables list and use environment variables to pass connection information to the
agentservice.
Component Requirements
-
MySQL users must have the following permissions:
SELECTpermission: Allows reading tables and data in the databaseSHOW DATABASESpermission: Allows viewing all databasesPROCESSpermission: Allows viewing other users' threads for performance dataREPLICATION CLIENTpermission: Used to access replication status and information
-
MongoDB users are recommended to use the root role. If minimal permissions are required, refer to the following user creation and authorization statement:
use admin
db.createUser({
user: "opsuser",
pwd: "your_secure_password",
roles: [
{ role: "clusterMonitor", db: "admin" },
{ role: "readAnyDatabase", db: "admin" },
{ role: "clusterManager", db: "admin" },
{ role: "dbAdmin", db: "mdwsrows" },
{ role: "readWrite", db: "mdwsrows" },
{ role: "dbAdmin", db: "mdservicedata" },
{ role: "readWrite", db: "mdservicedata" },
{ role: "dbAdmin", db: "mdworksheet" },
{ role: "readWrite", db: "mdworksheet" },
{ role: "dbAdmin", db: "mdworkflow" },
{ role: "readWrite", db: "mdworkflow" }
]
}) -
Redis must have
readaccess to Redis data. -
Kafka, if authentication is enabled, must have
read Kafka metadatapermissions. -
Elasticsearch users must have
read and write indexpermissions. -
The Flink service address must allow access from the operations platform's internal network environment.