Offline Install d.run Token Factory¶
This page describes how to install d.run Token Factory (hereinafter referred to as Token Factory) offline. Use the manifest file manifest-cloud-tokfact.yaml during installation.
Before installation, read and understand the deployment requirements, deployment architecture, and preparation, and first complete installing the dependencies.
Step 1: Download Offline Packages¶
Download the appropriate version of the offline package in accordance with your business environment. The complete Token Factory offline package is available at Download Center - Token Factory.
Offline Image Package (Required)¶
The offline image package contains the configuration files, image resources, and chart packages required for installing Token Factory. You can download the latest version from the Download Center - Token Factory.
| CPU Architecture | Version | Download |
|---|---|---|
| AMD64 | v0.44.0 | offline-v0.44.0-amd64.tar |
| ARM64 | v0.44.0 | offline-v0.44.0-arm64.tar |
After downloading, extract the offline package. Take the amd64 architecture offline package as an example:
ISO Operating System Image Files (Required)¶
The ISO format operating system image file should be downloaded based on the different operating systems during the installation process.
The ISO operating system image file needs to be configured in clusterConfig.yaml.
| CPU Architecture | Operating System Version | Download |
|---|---|---|
| AMD64 | CentOS 7 | CentOS-7-x86_64-DVD-2009.iso |
| Redhat 7, 8, 9 | assembly-field-downloads-page-content-61451 Note: Downloading the Red Hat requires a proper account. | |
| Ubuntu 20.04.6 LTS | ubuntu-20.04.6-live-server-amd64.iso | |
| Ubuntu 22.04.5 LTS | ubuntu-22.04.5-live-server-amd64.iso | |
| UOS V20 (1020a) | uniontechos-server-20-1020a-amd64.iso | |
| openEuler 22.03 | openEuler-22.03-LTS-SP1-x86_64-dvd.iso | |
| Oracle Linux R9 U1 | OracleLinux-R9-U1-x86_64-dvd.iso | |
| Oracle Linux R8 U7 | OracleLinux-R8-U7-x86_64-dvd.iso | |
| Rocky Linux 9.2 | Rocky-9.2-x86_64-dvd.iso | |
| Rocky Linux 8.10 | Rocky-8.10-x86_64-dvd1.iso | |
| ARM64 | Kylin Linux Advanced Server release V10 (Sword) SP2 | Request URL |
| Kylin Linux Advanced Server release V10 (Halberd) SP3 | Request URL |
Note
- It is recommended to install all operating systems in Server mode.
- The Kirin operating system requires personal information to be provided for download. When downloading, please select V10 (Sword) SP2.
osPackage Offline Packages (Required)¶
The osPackage offline package is a supplement to the Linux operating system offline software source provided by the open-source project Kubean. For example, openEuler 22.03 lacks the selinux-policy-35.5-15.oe2203.noarch.rpm.
The installer needs to provide the osPackage offline package for the operating system and define osPackagePath in clusterConfig.yaml.
Kubean provides osPackage offline packages for different operating systems. You can visit https://github.com/kubean-io/kubean/releases to check them out.
Currently, the osPackage offline package version must match the installer version. Download the osPackage offline package according to the corresponding version:
| Operating System | Download |
|---|---|
| Redhat 8 | os-pkgs-redhat8-v0.37.0.tar.gz |
| Redhat 7 | os-pkgs-redhat7-v0.37.0.tar.gz |
| Redhat 9 | os-pkgs-redhat9-v0.37.0.tar.gz |
| Ubuntu 20.04 | os-pkgs-ubuntu2004-v0.37.0.tar.gz |
| Ubuntu 22.04 | os-pkgs-ubuntu2204-v0.37.0.tar.gz |
| openEuler 22.03 | os-pkgs-openeuler22.03-v0.37.0.tar.gz |
| Oracle Linux R9 U1 | os-pkgs-oracle9-v0.37.0.tar.gz |
| Oracle Linux R8 U7 | os-pkgs-oracle8-v0.37.0.tar.gz |
| Rocky Linux 9.2 | os-pkgs-rocky9-v0.37.0.tar.gz |
| Rocky Linux 8.10 | os-pkgs-rocky8-v0.37.0.tar.gz |
| Kylin Linux Advanced Server release V10 (Sword) SP2 | os-pkgs-kylinv10-v0.37.0.tar.gz |
| Kylin Linux Advanced Server release V10 (Halberd) SP3 | os-pkgs-kylinv10sp3-v0.37.0.tar.gz |
| Operating System | Download |
|---|---|
| Redhat 8 | os-pkgs-redhat8-v0.36.0.tar.gz |
| Redhat 7 | os-pkgs-redhat7-v0.36.0.tar.gz |
| Redhat 9 | os-pkgs-redhat9-v0.36.0.tar.gz |
| Ubuntu 20.04 | os-pkgs-ubuntu2004-v0.36.0.tar.gz |
| Ubuntu 22.04 | os-pkgs-ubuntu2204-v0.36.0.tar.gz |
| openEuler 22.03 | os-pkgs-openeuler22.03-v0.36.0.tar.gz |
| Oracle Linux R9 U1 | os-pkgs-oracle9-v0.36.0.tar.gz |
| Oracle Linux R8 U7 | os-pkgs-oracle8-v0.36.0.tar.gz |
| Rocky Linux 9.2 | os-pkgs-rocky9-v0.36.0.tar.gz |
| Rocky Linux 8.10 | os-pkgs-rocky8-v0.36.0.tar.gz |
| Kylin Linux Advanced Server release V10 (Sword) SP2 | os-pkgs-kylinv10-v0.36.0.tar.gz |
| Kylin Linux Advanced Server release V10 (Halberd) SP3 | os-pkgs-kylinv10sp3-v0.36.0.tar.gz |
| Operating System | Download |
|---|---|
| Redhat 8 | os-pkgs-redhat8-v0.35.1.tar.gz |
| Redhat 7 | os-pkgs-redhat7-v0.35.1.tar.gz |
| Redhat 9 | os-pkgs-redhat9-v0.35.1.tar.gz |
| Ubuntu 20.04 | os-pkgs-ubuntu2004-v0.35.1.tar.gz |
| Ubuntu 22.04 | os-pkgs-ubuntu2204-v0.35.1.tar.gz |
| openEuler 22.03 | os-pkgs-openeuler22.03-v0.35.1.tar.gz |
| Oracle Linux R9 U1 | os-pkgs-oracle9-v0.35.1.tar.gz |
| Oracle Linux R8 U7 | os-pkgs-oracle8-v0.35.1.tar.gz |
| Rocky Linux 9.2 | os-pkgs-rocky9-v0.35.1.tar.gz |
| Rocky Linux 8.10 | os-pkgs-rocky8-v0.35.1.tar.gz |
| Kylin Linux Advanced Server release V10 (Sword) SP2 | os-pkgs-kylinv10-v0.35.1.tar.gz |
| Kylin Linux Advanced Server release V10 (Halberd) SP3 | os-pkgs-kylinv10sp3-v0.35.1.tar.gz |
Addon Offline Packages (Optional)¶
Addon offline packages contain Helm Chart offline packages for commonly used components. For the specific list, refer to the addon documentation.
The installer supports importing addon offline packages. If you want to offline all the Helm charts in the addon package, you can download the latest version from the Download Center in advance.
First, make sure to download the offline package in advance and define addonOfflinePackagePath in clusterConfig.yaml.
One-Click Download Required Offline Packages¶
We provide a script for one-click downloading the required offline packages.
The following packages are included:
- Prerequisite Dependency Tool Offline Package
- osPackage Offline Package
- Installer Offline Package
Note
Due to different methods of downloading ISO operating systems, the one-click download does not include the ISO files.
Step 2: Edit clusterConfig.yaml¶
This is the cluster configuration file, located in the offline/sample directory of the offline image package. For detailed parameter introduction, refer to clusterConfig.yaml.
Note
Currently, the offline image package provides a standard 7-node mode template. When deploying with Redhat 9.2 operating system, you need to enable the kernel tuning parameter node_sysctl_tuning: true.
Step 3: Install¶
-
Run the following command to start installing Token Factory. The installer binary file is located at
offline/dce5-installer. For the manifest, useoffline/sample/manifest-cloud-tokfact.yamlin the offline package../offline/dce5-installer cluster-create \ -c ./offline/sample/clusterConfig.yaml \ -m ./offline/sample/manifest-cloud-tokfact.yamlNote
Explanation of installer script command:
- Use
-cto specify clusterConfig.yaml (required). - Use
-mto specify the manifest file. For Token Factory, usemanifest-cloud-tokfact.yaml. - Use
-zfor minimal installation. - Use
-dto enable debug mode. - Use
--use-original-repoto download binaries and pull images - For more options, use
--helpto query.
The following is an example of
manifest-cloud-tokfact.yaml(fields and versions are subject to the extracted offline package; this is only to illustrate the structure):manifest-cloud-tokfact.yamlapiVersion: manifest.daocloud.io/v1alpha3 kind: DCEManifest metadata: creationTimestamp: null global: helmRepo: https://release.daocloud.io/chartrepo imageRepo: release.daocloud.io installMode: cloud infrastructures: # ... See the offline package for details middlewares: # ... See the offline package for details components: hydra: enable: true helmVersion: v0.18.3 variables: global.tokenfactory.enable: true dependencies: - ghippo - kpanda - mspider - insight - leopardThe core fields of the Token Factory manifest are described as follows:
global.installModeis set tocloud.- The core component enables the
global.tokenfactory.enable: trueparameter. - LLM Studio (
hydra) and Cockpit (crane) are enabled by default.
- Use
-
After the installation is complete, the command line will prompt a successful installation. You can access the console using the URL provided on the screen with the default account and password (admin/changeme).
Success
Please record the provided URL for future access.
-
After successfully installing Token Factory, contact us for authorization: email info@daocloud.io or call 400 002 6898.