Baolande Webserver Configuration Instructions
Version: BES-AppServer-Standard-9.5.5
Baolande Webserver can be used as a container for HENGSHI components. The Metadb, Engine, redis, minio, and flink components used internally by HENGSHI need to be prepared separately, and the relevant configurations will be completed in the configuration items later.
Pre-Deployment Preparation
Prepare the Metadb, Engine, redis, minio, and flink service components, and obtain the HENGSHI deployment War package file resources.
Prepare the Java runtime environment
Configure the BESwebserver HENGSHI internal component configuration information
cd ${com.bes.instanceRoot}/conf ## bes service conf directory
cat << EOF
# Deployment application prefix
CONTEXT_PATH=/
-DDB_URL=jdbc:postgresql://10.10.10.x:54320/hengshi?user=hengshi&password=hengshi202020
# Syslog log database connection information
-DLOG_DB_URL=jdbc:postgresql://10.10.10.x:54320/syslog?user=syslog&password=syslog
# Engine configuration information
-DENGINE_TYPE=greenplum
-DENGINE_DB=jdbc:postgresql://10.10.10.x:15432/hengshi?user=hengshi&password=hengshi202020
# redis configuration connection information
-DREDIS_ADDRESS=redis://10.10.10.x:6379
-DREDIS_PASSWORD=foobared
-DREDIS_DATABASE=0
# minio service configuration
-DMINIO_ACCESS_KEY=hengshi
-DMINIO_SECRET_KEY=hengshi202020
-DOBJECT_SERVER_ENDPOINT=http://10.10.10.x:9000
# Flink configuration connection information
-DFLINK_REST_ADDRESS=http://10.10.10.x:8082
# Screenshot service component
-DHENGSHI_SHOT_ROOT=/opt/hengshi/lib/hengshishot-1.1.24-linux-no-arch
-DENABLE_REFERENCE_DATASET=true
EOF >> config.properties
Deployment Start
Select Application Management -> Common Applications
Select the prepared war package file and click Next
Select the deployment type as Deploy as Application
Configure the deployment properties, set the Application Prefix to /
Please note
If a specific application prefix is required for deployment, please modify the CONTEXT_PATH
parameter in the Pre-Deployment Preparation > Configure BESwebserver HENGSHI Internal Component Configuration Information
step to match the set application prefix.
Click the Finish deployment button to complete the deployment
After successful deployment, you can click the Application Name and then click the Access Link to obtain the service access address for access
After deployment, start and stop operations can be performed through the buttons in the interface
Version Upgrade and Rollback Instructions
For the HENGSHI service deployed by Baolande Webserver, since the external metadb component service is used, please back up the metadb database before upgrading to prevent the need for version rollback. For data backup and recovery, please refer to Backup and Restore in Standalone/Cluster Environment