Apache Doris Manager is used to manage the doris cluster, such as monitoring cluster, installing the cluster, upgrading the cluster, starting and stopping services, etc.
$ sh build.sh
Compiles the front and back ends of the project. After compilation, a tar package will be generated in the output/ directory and doris-manager-1.0.0.tar.gz package.The content of the compiled output is:
agent/, doris manger agent
    bin/
        agent_start.sh, doris manger agent startup script
        agent_stop.sh, doris manger agent stop script
        install_be.sh, doris be install script
        install_fe.sh, doris fe install script
        install_broker.sh, doris broker install script
        process_exist.sh, doris process detection script
    lib/
        dm-agent.jar, executable package of doris manger agent
server/, doris manger server
    conf/
        manager.conf, doris manger server configuration file
    web-resource/, doris manger server front static resources
    lib/
        doris-manager.jar, executable package of doris manger server
    bin/
        start_manager.sh, doris manger server startup script
        stop_manager.sh, doris manger server stop script
Copy doris-manager-1.0.0.tar.gz tar package to the the machine where the manager server needs to be installed.
$ tar -zxvf doris-manager-1.0.0.tar.gz $ cd server
Edit conf/manager.conf
Start HTTP port of the service STUDIO_PORT=8080 The type of database where back-end data is stored, including MySQL / H2 / PostgreSQL. MySQL is supported by default MB_DB_TYPE=mysql Database connection information If you are configuring a H2 type database, you do not need to configure this information, and the data will be stored locally as a local file For MySQL / PostgreSQL, you need to configure the following connection information Database address MB_DB_HOST= Database port MB_DB_PORT=3306 Database access port MB_DB_USER= Database access password MB_DB_PASS=123456 Database name of the database MB_DB_DBNAME
Start the manager service after decompression and configuration.
$ sh bin/start_manager.sh
Browser access ${serverIp}:8080, Manger server has a preset super administrator user. The information is as follows:
user name: Admin password: Admin@123 (Case sensitive)