074如何安装和配置Rex-Ray?(2019-04-19 周五)
Posted www1707
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了074如何安装和配置Rex-Ray?(2019-04-19 周五)相关的知识,希望对你有一定的参考价值。
Rax-Ray 是一个优秀的Docker volume driver ,本节将学习其安装和配置方法。
Rex-Ray 以 standalone 进程的方式运行在 Docker 主机上,安装方法很简单,在需要使用Rex-Ray driver 的主机 docker1 和 docker2 上运行如下命令
[email protected]:~# curl -sSL https://rexray.io/install | sh -
Selecting previously unselected package rexray.
(Reading database ... 60121 files and directories currently installed.)
Preparing to unpack rexray_0.11.4-1_amd64.deb ...
Unpacking rexray (0.11.4-1) ...
Setting up rexray (0.11.4-1) ...
rexray has been installed to /usr/bin/rexray
REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.11.4
OsArch: Linux-x86_64
Commit: e7414eaa971b27977d2283f2882825393493179d
Formed: Wed, 16 Jan 2019 00:03:57 CST
[email protected]:~# curl -sSL https://rexray.io/install | sh -
Selecting previously unselected package rexray.
(Reading database ... 60121 files and directories currently installed.)
Preparing to unpack rexray_0.11.4-1_amd64.deb ...
Unpacking rexray (0.11.4-1) ...
Setting up rexray (0.11.4-1) ...
rexray has been installed to /usr/bin/rexray
REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.11.4
OsArch: Linux-x86_64
Commit: e7414eaa971b27977d2283f2882825393493179d
Formed: Wed, 16 Jan 2019 00:03:57 CST
[email protected]:~# cat /etc/rexray/config.yml
libstorage:
service: virtualbox
virtualbox:
endpoint: http://10.12.28.120:18083
volumePtah: C:share
controllerName: SATA
# libstorage-service 1 使用Virtualbox的Virtual media作为backend,提供data volue,生产环境中使用 ceph RBD 等
# virtualbox-endpoint 1 实验环境中提供backend 的地址
# virtualbox-volumePtah: 1 实验环境中提供backed的目录
# virtualbox-controllerName:1 controller 的名字
以上是关于074如何安装和配置Rex-Ray?(2019-04-19 周五)的主要内容,如果未能解决你的问题,请参考以下文章
如何安装和配置 Rex-Ray?- 每天5分钟玩转 Docker 容器技术(74)
如何安装和配置 Rex-Ray?- 每天5分钟玩转 Docker 容器技术(74)
创建 Rex-Ray volume - 每天5分钟玩转 Docker 容器技术(76)