Instructions for Docker user operation
User Login Client
1. login
Client side access Server side, in the concentrator, menu tool->docker login, logout.
IP: IP is the IP of the ingress physical machine when corresponding to multiple physical machines
Port: port number corresponding to tag when Docker_server is configured
Username and password: required and IP correspondence
2. Client calls Server
When introducing the configuration docker_user.xml user management on the Server side, it is mentioned that the three directories config, demo and data in the label store configuration files, dfx files and data files respectively.
(1) Call the test.dfx file
Upload dfx file to demo directory, grid parameter test.dfx file:
A1=arg1+" world! "
where arg1 is the test.dfx file that receives the passed parameters.
The client calls the test.dfx file:
Single machine single port
A1= callx("test.dfx","hello";["192.168.0.76:8281"])
Single machine multiport
A1= callx("test.dfx","hello";["192.168.0.76:8281","192.168.0.76:8282"])
Multi-machine single port
A1= callx("test.dfx","hello";["192.168.0.76:8281","192.168.0.77:8281"])
Multi-machine multi-port
A1= callx("test.dfx","hello";["192.168.0.76:8281","192.168.0.77:8282"])
(2) Calling data files
Upload the data file EMPLOYEE4.xls to the data directory:
A1=file("EMPLOYEE4.xls","192.168.0.76:8281")2=A1.xlsopen()
(3) Call configuration file
When users use jdbc, refer to the raqsoftConfig.xml file under the esProc\config directory of the concentrator, and place the raqsoftConfig.xml configured with jdbc under this/config directory for configuration.
Scenario 1:
To use the internal database of docker concentrator, you only need to configure raqsoftConfig.xml file, which defaults to mysql database. Other database configurations are similar. For detailed configuration, please refer to the concentrator Tutorial-Database Configuration.
Scenario 2:
To use a database external to docker concentrator, first copy the database driver to docker concentrator common\jdbc directory; then configure this database in the raqsoftConfig.xml file.