User instructions using Docker

Client-side user login

1. Log
Client Access Server-side end, the solver set, the menu Tools -> docker login, logout.

imagepng

IP: When the corresponding multiple physical machines, physical machine inlet IP IP

Port: configure port number corresponding to the tag Docker_server

User name and password: requirements and the corresponding IP

2. Server-side Client-side call

It said when introducing user management Server-side configuration docker_user.xml three directories config tag, demo, data corresponding to store configuration files, dfx files and data files.

(1) call test.dfx file

Dfx upload files to a directory demo, grid parameters test.dfx file:



A
1 =arg1+"  world!"


Wherein the received parameter file test.dfx arg1 is passed.

The client calls test.dfx file:

Stand-alone single-port



A
1 = callx("test.dfx","hello";["192.168.0.76:8281"])



Stand-alone multi-port


A
1 = callx("test.dfx","hello";["192.168.0.76:8281","192.168.0.76:8282"])



Single-port multi-machine


A
1 = callx("test.dfx","hello";["192.168.0.76:8281","192.168.0.77:8281"])



Multi-port multi-machine


A
1 = callx("test.dfx","hello";["192.168.0.76:8281","192.168.0.77:8282"])



(2) call data file

EMPLOYEE4.xls upload data files to the data directory:



A
1 =file("EMPLOYEE4.xls","192.168.0.76:8281")
2 =A1.xlsopen()



(3) call profile

When a user uses to reference set jdbc resolver esProc \ raqsoftConfig.xml config file in the directory, the raqsoftConfig.xml configured in this jdbc / config directory configuration.

scene one:

Set resolver using internal database only docker raqsoftConfig.xml configuration file, default mysql database, other databases configured similarly, describes the detailed configuration calculator can be set with reference to the "Guide" - database configuration.

imagepng

Scene Two:

Docker set using an external resolver database, the database is first copied to the drive resolver collector docker common \ directory under jdbc; raqsoftConfig.xml then disposed in the database file.


Guess you like

Origin blog.51cto.com/12749034/2433334