6 Star 10 Fork 6

FusionStack / FusionStor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README 2.02 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
JK Wang 提交于 2018-11-18 10:09 . compile wiht gcc 8
centos build deps
libtool automake libuuid-devel libaio-devel flex bison openssl-devel python2-psutil \
python-paramiko redhat-lsb expect gperftools sqlite-devel fuse-devel yajl-devel etcd \
hiredis-devel cmake curl-devel yasm numactl-devel numactl-libs \
libpciaccess-devel rdma-core rdma-core-devel python-prettytable
ubuntu build deps:
make libtool automake flex bison expect uuid-dev libaio-dev libssl-dev \
libsqlite3-dev libfuse-dev rdma-core-devel
Gentoo build deps:
libtool automake libaio flex bison openssl dev-python/psutil \
paramiko lsb-release expect sqlite fuse yajl etcd \
dev-libs/hiredis cmake curl yasm numactl \
libpciaccess librdmacm prettytable dev-db/redis
default prefix:
/opt/fusionstack #you can set it in Makefile $(RELEASE_PATH)
installation:
make autogen #you can only execute this for a new git clone
make conf
make
sudo make install
make tar:
make tar #package lich in tgz and put into /var/www/html/lich
test:
make autogen #you can only execute this for a new git clone
make testall
configuration:
/opt/fusionstack/lich/etc/lich.conf
/etc/hosts #set cluster list in /etc/hosts
/etc/security/limits.conf #set nofile soft/hard 1048576
/etc/sysctl.conf #set net.core.wmem_max/net.core.rmem_max 104857600
lichd:
/opt/fusionstack/lich/sbin/lichd --help
admin:
/opt/fusionstack/lich/libexec/lich.admin --help
tools:
/opt/fusionstack/lich/libexec/lich --help
/opt/fusionstack/lich/libexec/lich.tgt --help
/opt/fusionstack/lich/libexec/lich.dbg --help
/opt/fusionstack/lich/sbin/lich-shell.py
init:
/opt/fusionstack/lich/sbin/lichd --init --home /data --clustername cluster1
startup
/opt/fusionstack/lich/sbin/lichd --home /data
create cluster:
/opt/fusionstack/lich/libexec/lich.admin --createcluster node1 node2 ... nodeX
list cluster:
/opt/fusionstack/lich/libexec/lich.admin --listnode
C
1
https://gitee.com/FusionStack/FusionStor.git
git@gitee.com:FusionStack/FusionStor.git
FusionStack
FusionStor
FusionStor
master

搜索帮助

14c37bed 8189591 565d56ea 8189591