Deploy DCE 5.0 Enterprise on UOS V20 (1020a)¶
This page introduces how to deploy DCE 5.0 on UOS V20(1020a). Installer v0.6.0 and higher versions support this deployment method.
Prerequisites¶
- Read Deployment Architecture in advance to confirm this deployment mode.
- Read Deployment Requirements in advance to confirm whether the network, hardware, ports, etc. meet the requirements.
- Read Preparation in advance to confirm machine resources and pre-check.
Offline installation¶
-
Since the installer depends on python, you need to install
python3.6
on the tinder machine first. -
Download the full mode offline package, you can download the latest version in Download Center.
CPU Architecture Version Download URL AMD64 v0.17.0 https://qiniu-download-public.daocloud.io/DaoCloud_Enterprise/dce5/offline-v0.17.0-amd64.tar Unzip the offline package after downloading:
-
Download the UnionTech Server V20 1020a ISO image.
-
Make the os-pkgs-uos-20.tar.gz file.
Download the production script
curl -Lo ./build.sh https://raw.githubusercontent.com/kubean-io/kubean/main/build/os-packages/others/uos_v20/build.sh chmod +x build.sh
Run the script to generate os-pkgs-uos-20.tar.gz file:
-
Download the addon offline package, you can download the latest version in Download Center (optional)
-
Edit clusterConfig.yaml, which can be obtained under the offline package
offline/sample
and modified as needed. The sample configuration is for your reference:apiVersion: provision.daocloud.io/v1alpha3 kind: ClusterConfig metadata: spec: clusterName: my-cluster masterNodes: - nodeName: "g-master1" ip: 10.5.14.XX ansibleUser: "root" ansiblePass: "XXXX" fullPackagePath: "/home/offline" osRepos: type: builtin isoPath: "/home/uniontechos-server-20-1020a-amd64.iso" ## directory of ISO osPackagePath: "/home/os-pkgs-uos-20.tar.gz" ## directory of os-pkgs imagesAndCharts: type: builtin addonPackage: path: "/home/addon-offline-full-package-v0.5.3-alpha2-amd64.tar.gz" ## directory of addon binaries: type: builtin
-
Start the installation of DCE 5.0.
Note
Some parameters are introduced, and more parameters can be viewed through
./dce5-installer --help
:-z
minimal install-c
specifies the cluster configuration file, and does not need to specify-c
when using NodePort to expose the console-d
enable debug mode--serial
specifies that all installation tasks are executed serially
-
After the installation is complete, the command line will prompt that the installation is successful. Congratulations! Now you can use the default account and password (admin/changeme) to explore the new DCE 5.0 through the URL prompted on the screen!
Success
Please record the prompted URL for your next visit.
-
After successfully installing DCE 5.0 Enterprise, please contact us for authorization: email info@daocloud.io or call 400 002 6898.