Deploying DCE 5.0 Enterprise Package on Oracle Linux R9 U1 Operating System¶
This page will introduce how to deploy DCE 5.0 on Oracle Linux R9 U1 operating system, which supports v0.8.0 and above.
Prerequisites¶
- Please read Deployment Architecture in advance to confirm the deployment mode.
- Please read Deployment Requirements in advance to confirm whether the network, hardware, ports, etc. meet the requirements.
- Please read Preparation Work in advance to confirm machine resources and pre-checks.
Offline Installation¶
-
Download the full-mode offline package, which can be downloaded from the download center for the latest version.
CPU Architecture Version Download Link AMD64 v0.8.0 https://qiniu-download-public.daocloud.io/DaoCloud_Enterprise/dce5/offline-v0.8.0-amd64.tar After downloading, unzip the offline package:
-
Download the Oracle Linux R9 U1 image file.
-
Download the Oracle Linux R9 U1 osPackage offline package.
Download the production script:
bash curl -LO https://files.m.daocloud.io/github.com/kubean-io/kubean/releases/download/v0.5.4/os-pkgs-oracle9-v0.5.4.tar.gz
-
Download the addon offline package, which can be downloaded from the download center for the latest version (optional).
-
Set up the cluster configuration file clusterConfig.yaml, which can be obtained under the offline package
offline/sample
and modified as needed.The reference configuration is:
apiVersion: provision.daocloud.io/v1alpha3 kind: ClusterConfig metadata: spec: clusterName: oracle-cluster loadBalancer: type: metallb istioGatewayVip: 172.30.41.XXX/32 insightVip: 172.30.41.XXX/32 masterNodes: - nodeName: "g-master" ip: 172.30.41.XXX ansibleUser: "root" ansiblePass: "******" fullPackagePath: "/root/workspace/offline" osRepos: type: builtin isoPath: "/root/workspace/iso/OracleLinux-R9-U1-x86_64-dvd.iso" osPackagePath: "/root/workspace/os-pkgs/os-pkgs-oracle9-v0.5.4.tar.gz" imagesAndCharts: type: builtin binaries: type: builtin kubeanConfig: |- # Turn on the recommended sysctl configuration to avoid the `too many open files` problem node_sysctl_tuning: true # Disable kubespray from installing public repo for oracle linux use_oracle_public_repo: false
Note
Because the
kpanda-controller-manager
component reports an errorfailed to create fsnotify watcher: too many open files.
、 during the installation process, you need to setnode_sysctl_tuning: true
in theclusterConfig.yaml
file. -
Start installing DCE 5.0.
Note
For detailed parameters, you can check with
./dce5-installer --help
:-z
Minimal installation-c
Specify the cluster configuration file. When using NodePort to expose the console, you do not need to specify-c
-d
Enable debug mode--serial
Specifies that all installation tasks are executed serially after the specified task
-
After the installation is complete, the command line will prompt that the installation was successful. Congratulations!
Now you can explore the new DCE 5.0 with the default account and password (admin/changeme) using the URL displayed on the screen!
Success
Please keep a record of the URL provided for easy access next time.
-
After successfully installing DCE 5.0 Enterprise Package, please contact us for authorization: email info@daocloud.io or call 400 002 6898.