Private deployment lets you package and download a complete dashboard developed with DataV-Board 7.0. You can then install and run this dashboard on your corporate intranet. For example, if your corporate intranet has a database that is not accessible from the public network, an online dashboard cannot connect to it. Private deployment solves this problem.
Server configuration requirements for private deployment
The minimum system and hardware requirements are as follows:
A 64-bit Linux system compatible with CentOS 7.0
An 8-core, 4 GHz x86_64 or ARM64 processor, or one with equivalent performance
16 GB of memory
At least 100 GB of disk space
Docker version 18.09.9 installed on the system
Limits
Only Premium Edition users can use the private deployment feature.
Private deployments do not include map tile data.
Private deployments support the following data source types: HTTP API, MySQL, SQL Server, Oracle, PostgreSQL, and static data.
NoteDuring a private deployment, the packaged dashboard retains its original data source type and related configurations.
Obtain a private deployment package
Go to the DataV Product Purchase page and purchase the DataV Premium Edition.
Log on to the DataV console.
On the My Visualizations page, select a visualization application and click Edit.
In the PC canvas editor, click the Download Page icon in the upper-right corner of the page.

In the Package Screen dialog box, follow the prompts to download the deployment package and the visualization application package.
Click Deployment Package to go to the download page for the 7.x runtime environment deployment package.
The 7.x deployment package supports both x86 and ARM architectures. Click Generate Deployment Package to generate a package for the corresponding architecture. This process takes about 10 minutes. After the package is generated, click Download Deployment Package to download it.
For offline version users, click Download Key to generate an authorization file with a unique user identity.
For Premium Edition users, after Step 2, you are automatically redirected to the panel. You can enter the machine code to generate a trial or official key.
Click Packaging Records to go to the visualization application packaging page. Click Start Packaging to create a packaging task for the current screen. After the packaging is successful, click Download.
ImportantThe runtime package is bound to your account. You can only deploy and run visualization applications that are downloaded from your Premium Edition or offline version account.
The 7.x runtime environment consists of two parts: a deployment package and an authorization file named Key.
Deploy the DataV service
You can upload the downloaded runtime environment compressed package to your server.
You can create a new folder on the server.
For example, you can run the
mkdir -p datav_runtimecommand to create a folder named datav_runtime.You can use the unzip command to decompress runtime.zip into the datav_runtime folder.
unzip runtime.zip -d datav_runtimeNoteMake sure that you have downloaded runtime.zip to the current folder or that you know its path.
Copy runtime.key to the datav_runtime folder.
cp path/to/runtime.key datav_runtime/NoteMake sure that the runtime.key file exists in the current folder or the specified path.
You can start and check the service. By default, the service is stopped.
Go to the datav_runtime folder and run the following commands:
cd datav_runtimeStart the service
./datav startNoteIf you receive a "Permission denied" fault when you run ./datav start, you must grant execution permission. First, run chmod +x datav to modify the permission. Then, run ./datav start to start the program again.
Stop the service
./datav stopRestart the service
./datav restartCheck the service status
./datav listView the startup log
./datav logs <NAME> # You can get <NAME> by running ./datav listView the operational log
docker exec -it -w /home/admin/honeycomb/logs datav-service bash
Modify the configuration
You can create a config.yaml file in the ./datav folder. The optional configurations are as follows:
DataDir: "" # The path where data is saved. The default is the current folder. MainPort: 7001 # The service port.
Reset password
Log on to the server and run the following command:
./datav start reset-password -- <UserName> [<Password>]
<UserName>: The username for which you want to reset the password.
[<Password>]: An optional new password. If you do not specify this parameter, the password is reset to the default password.