Using the latest JFrog products?
JFrog Platform User Guide
JFrog Mission Control 3.x Documentation
To get the latest version, go to the JFrog Unified Platform
Installing Mission Control HA
To get started, make sure your system complies with the above requirements and guidelines before you proceed to download and install Mission Control.
The general steps for installing Mission Control HA are:
- Install and configure the PostgreSQL database.
- Install and configure Elasticsearch.
- Install the firstMission Controlcluster node.
- Install any additionalMission Controlnodes.
- Use the mc.key from the first node and the PostgreSQL and Elasticsearch connection details to configure the installed node.
- Configure a load balancer between theMission Controlcluster nodes.
External Elasticsearch Cluster | Internal Elasticsearch Cluster |
---|---|
|
|
安装的第一个节点
Docker and RPM, DEB Installations
mc.key
The mc key is an internal secret, used by Mission Control to encrypt sensitive data and must be synced between the Mission Control cluster nodes. After the application is started, the mc key can be found in the following path:
For RPM and DEB installations, elasticsearch searchguard transport SSL certificates should be copied from first node to subsequent nodes. The certificateslocalhost.key ,localhost.pem and root-ca.pem are available in the Elasticsearch config folder of first node.
Docker Compose Installation
For the Docker Compose installation, use the Docker Compose file marked for HA post externalizing the database.
Add the following lines to the setenv.sh.
Updating setenv.sh
export NODEHEALTHCHECK_KILL_ONMAXFAILURES=true
export JFMC_HA_INSTALLATION=true
Installing Additional Nodes
The additional cluster nodes should also be installed according to thegeneral Mission Control installation instructions.
Extending Mission Control from Standalone to HA
从任务控制3.4, if you already have a working standalone Mission Control environment.
The existing installation is considered the first cluster node followed by additional nodes that are then added to the HA environment.
Prior to installing the additional Mission Control nodes, perform the following:
Prerequisites
- Establish a working PostgreSQL.
- Establish a working ElasticSearch.
- Get the mc key generated by the first node.
Migrating Data to External DB's
- Install the external PostgreSQL database and Elasticsearch.
- Stop the app.
- Migrate all your data to the PostsgreSQL cluster and Elasticsearch.
- Follow steps fromUsing External Databasesto provide details of external databases.
- Start the application and ensure it’s up and running