Skip to main content

Installation on DCE

DaoCloud Enterprise 5.0 (DCE 5.0) is an advanced and highly scalable cloud native operating system designed to provide a consistent and reliable experience across diverse infrastructures and environments. With support for heterogeneous clouds, edge clouds, and multicloud management, DCE 5.0 offers unparalleled flexibility.

By seamlessly integrating state-of-the-art service mesh and microservice technologies, DCE 5.0 enables comprehensive tracking of the entire traffic lifecycle. Users can gain valuable insights into detailed metrics related to clusters, nodes, applications, and services. Visualizing the health status of applications through dynamic dashboards and topology maps empowers users with actionable information to optimize performance.

The Helm template for HAP Server is already available in the DCE platform and you can follow the steps below to deploy.

Installation Steps

Deploy Manager

Tip

The manager is an indispensable service in HAP Server and must be deployed on a Linux server.

  1. Prepare a Linux server, with a minimum requirement of 1 core and 2G RAM and make sure that ports 38880 and 38881 are not occupied.

  2. Download the manager

    wget https://pdpublic.mingdao.com/private-deployment/5.3.1/mingdaoyun_private_deployment_captain_linux_amd64.tar.gz
  3. Unzip the manager

    tar -zxvf mingdaoyun_private_deployment_captain_linux_amd64.tar.gz
  4. Start the manager with root permissions bash ./service.sh startmake sure the manager is always running).

Download mirror(Offline Package

In your DCE cluster, if the working node server supports Internet access, you can choose not to download the mirror in advance, as it automatically downloads the mirror while the service is starting up.

However, the mirrors of HAP Server are relatively large, so if the bandwidth of accessing the public network in your environment is small, it may take a long time, in this case, you can download the mirrors in advance.

crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-community:5.3.1
crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-sc:2.0.1
crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-command:node1018-python36
crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-doc:1.2.0
crictl pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink:1.17.1.530

Install HAP Service via Helm Template (Standalone)

Tip

Before installation, there needs to be working nodes in your DCE cluster environment with available resources of at least 8 cores, 24G RAM.

Installation Steps

  1. Prepare StorageClass (SC) on the DCE platform.

  2. Click to install the Helm template of HAP.

  3. Set a a custom name and namespace.

  4. Modify the parameters.

    The three values highlighted above must be modified on the first installation. Below is the description of some of the parameters that may need to be modified for the first deployment.

    FieldDescription
    app.nodePortThe nodePort port occupied by HAP systems in the cluster
    app.image.tagVersion of mirror
    app.envList.ENV_ADDRESS_MAINThe system access address of HAP, which should be the same as the access address entered in the browser
    app.envList.ENV_APP_VERSIONVersion of the microservice, consistent with the version of the mirror of app.image.tag
    app.envList.ENV_CAPTAIN_ENDPOINTManager address
    app.storage.sizeSize of storage space
    app.storage.classNameStorageClass(sc), modify it to the name of the actual storage space
  5. After filling in the name, namespace and modifying the parameter configuration, you can click to install. You can check the service status in the Helm application.

  6. When the services are running, you can access the system with the set system access address.

    If the system access address you set is inaccessible, you may need to configure a reverse proxy to forward requests to the nodePort port occupied by the HAP service.