zoukankan      html  css  js  c++  java
  • 074、如何安装和配置Rex-Ray?(2019-04-19 周五)

     
    Rax-Ray 是一个优秀的Docker volume driver ,本节将学习其安装和配置方法。
     
    Rex-Ray 以 standalone 进程的方式运行在 Docker 主机上,安装方法很简单,在需要使用Rex-Ray driver 的主机 docker1 和  docker2 上运行如下命令
     
    root@docker1:~# 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
     
    root@docker2:~# 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
     
     
    root@docker1:~# 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 的名字
     
     
     
  • 相关阅读:
    Unity3D研究院之Assetbundle的实战(六十三)
    Unity3D研究院之Assetbundle的原理(六十一)
    常见图片格式详解
    unity 查看打包资源占用
    MUI框架-04-切换页面头部文字重叠
    MUI框架-03-自定义MUI控件样式
    MUI框架-02-注意事项-适用场景-实现页面间传值
    MUI框架-01-介绍-创建项目-简单页面
    安卓app开发-05-Android xml布局详细介绍
    安卓app开发-04- app运行的运行和调试
  • 原文地址:https://www.cnblogs.com/www1707/p/10743697.html
Copyright © 2011-2022 走看看