8 Star 43 Fork 12

简杰 / SIM-BAT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.en.md 4.51 KB
一键复制 编辑 原始数据 按行查看 历史
姚杰 提交于 2022-05-23 20:41 . 20220523

SIM-BAT

Description

WYSIWYG job scheduling tool based on DAG (Directed Acyclic graph) With perfect job design, scheduling, monitoring and other functions;
Support job chunking and clustering; Support large scale batch (millions of job blocks). SIM-BAT consists of designer, scheduler and monitor. The architecture is shown as follows:
architecture

Features

SIM-BAT is characterized by simplicity, stability and efficiency.

  1. Non-invasive interface to support various types of jobs (SHELL, JAVA, GO, PYTHON, etc.)
  2. WYSIWYG design and monitoring tools
  3. Built-in high availability design; Supports master-slave clusters
  4. Support large scale batch
  5. Ultra high scheduling performance
  6. Does not rely on other open source software packages, easy to port to a variety of platforms
  7. Mature and stable, has been successfully applied in many large enterprises

Detailed Description

Job Interface

SIM-BAT uses a non-invasive interface to support various types of jobs and has no special requirements for application programming languages. There are two main types of interfaces. One is executable commands in the SHELL, supporting all SHELL syntax, such as environment variables.
The other type is HTTP POST packet interface. The packet format is configurable and supports JSON and XML packets.
The packet interface supports job execution on APP SERVER (such as TOMCAT). Applications only need to configure job start packets and job query packets.

Design and Monitoring

Sim-bat provides WYSIWYG graphical design and monitoring tools to easily design grouping and serial-parallel relationships between jobs.
You can also visually see job execution at run time and easily intervene manually if a job goes wrong.

Server Cluster

SIM-BAT supports a master-slave cluster that distributes jobs to server clusters. The architecture is shown below:
cluster

Distribution (64-bit LINUX system as an example)

  1. Download SIM-BAT 2_9_3 Community edition.zip and decompress it
  2. Upload the server/ Linux64 directory to the server
  3. Execute in the linux64 directory on the server: chmod +x simbat_install;./simbat_install

install

  1. Enter for the first two questions and answer y for the third
  2. Exit and re-log in to make the environment variables in the profile take effect
  3. Execute: simbat_ctl start
  4. Modify the IP_ADDR value of client/bin/simbat.cfg to the IP address of the server. The default port number is 9010. Ensure that the port is normal and is not blocked by the firewall
  5. In client/bin, double-click the simbat_designer.exe icon to access the designer
  6. Open c1001.sbt and upload it to the server. The operator ID and password are simbat

transfer

  1. In client/bin, double-click simbat_monitor.exe to access the monitor
  2. Right-click the SAMPLE icon and choose "Start Batch" from the menu. The operator ID and password are simbat

start_batch

  1. Right-click on the SAMPLE icon and choose "Enter this batch". In batch operation, the color of each group will change. After about 10 seconds, the G1 group turns red and an alarm is generated

monitor

  1. Right-click on the G1 group icon to select "Enter this Group"
  2. Right-click on the JOB_1 icon and choose "View Logs".
  3. Right-click on the JOB_1 job icon and select "Skip" (you can also create a ~/aaa file and select "Rerun")
  4. After about 10 seconds, the batch is completed normally
  5. Congratulations! Here you have successfully completed your first batch example!
  6. The user Manual in the doc directory provides detailed documents about the use of SIM-bat. You can learn various complex functions of SIM-bat from this document

Compile The Source Code

  • cd server/src
  • chmod +x configure
  • ./configure --platform=linux64
  • make
  • make install

Currently, the server supports Linux, Linux64, Aix, Aix64, HP, and Solaris. The server is specified by the configure command. The default value is linux64. The generated installation package is located in the release directory and is installed using the simbat_install command.
C++ Builder XE7 is required for client compilation. Project files in designer and monitor directories are ProjectGroup1.groupproj.

成功案例

SIM-BAT has been successfully applied in many large enterprises. Here are some of them:

customer

Contact us

  1. Email: support@simjie.com
  2. WeChat: YJ13828895512
C++
1
https://gitee.com/simjie_yaojie/sim-bat.git
git@gitee.com:simjie_yaojie/sim-bat.git
simjie_yaojie
sim-bat
SIM-BAT
master

搜索帮助