Skip to content
/ dos Public
forked from gitter-badger/dos

distributed operating system,一站式分布式容器管理与服务治理平台

License

Notifications You must be signed in to change notification settings

iam-Justin/dos

 
 

Repository files navigation

构建状态

Join the chat at https://gitter.im/imotai/dos Travis CI Circle CI google forum

架构

架构图

状态

目前dos尚处于开发阶段

构建on centos

git clone https://github.com/imotai/dos.git
cd dos
yum groupinstall "Development Tools"
yum install cmake
yum install glibc-static.x86_64
yum install zlib-static.x86_64
sh quick_build.sh

本地沙盒环境

启动所有模块

# 进入sandbox 启动所有模块,会简单部署一个redis实例
cd sandbox && sh quick_test.sh
# 输出结果类似如下
prepare dos.flags done
start nexus
  -  name           type     state              rtime   btime
----------------------------------------------------------------
  1  image_fetcher  kSystem  kContainerRunning  3.000s  4.000s

submit job successfully
  -  name                     type     state              load(us,sys,idle)  mem(rss,cache)   rtime    btime
----------------------------------------------------------------------------------------------------------------
  1  0_container.0_pod.redis  kOci     kContainerRunning  465,155,380        91.387 M,0.000   14.424h  28.000s
  2  image_fetcher            kSystem  kContainerRunning  0,1,999            3.082 M,1.715 M  14.434h  4.000s

# 启动的进程类似一下列表
16412 pts/0    Sl     0:01 ./ins --flagfile=ins.flag --server_id=1
16413 pts/0    Sl     0:02 ./ins --flagfile=ins.flag --server_id=2
16414 pts/0    Sl     0:01 ./ins --flagfile=ins.flag --server_id=3
16415 pts/0    Sl     0:00 ./ins --flagfile=ins.flag --server_id=4
16416 pts/0    Sl     0:00 ./ins --flagfile=ins.flag --server_id=5
16918 pts/0    Sl     0:00 ./engine --flagfile=dos.flags
16951 pts/0    Sl     0:00  \_ initd --flagfile=initd.flags
17416 pts/0    Sl     0:00  \_ initd --flagfile=initd.flags
17436 pts/0    Sl     0:00      \_ redis-server *:6379
16967 pts/0    Sl     0:00 ./master --flagfile=dos.flags --master_port=9527
16968 pts/0    Sl     0:00 ./master --flagfile=dos.flags --master_port=9528
16969 pts/0    Sl     0:00 ./master --flagfile=dos.flags --master_port=9529
17148 pts/0    Sl     0:00 ./scheduler --flagfile=dos.flags
17266 pts/0    Sl     0:00 ./doslet --flagfile=dos.flags

清空沙盒环境

sh stop_all.sh

About

distributed operating system,一站式分布式容器管理与服务治理平台

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 85.4%
  • Shell 6.4%
  • Protocol Buffer 4.8%
  • Makefile 2.9%
  • Python 0.5%