微软官方MSDN原版Win10系统下载

现在位置: 首页  > 系统教程  > Linux教程

CentOS 6.4如何安装及设置GlusterFS

时间:2024-05-19 09:54:41   

大家好,今天Win10系统之家小编给大家分享「CentOS 6.4如何安装及设置GlusterFS」的知识,如果能碰巧解决你现在面临的问题,记得收藏本站或分享给你的好友们哟~,现在开始吧!

uc手机浏览器安装系列软件最新版本下载

  GlusterFS因有很好的扩展性,使用的用户很多,使用GlusterFS能够解决网络存储、冗余备份等问题,那么在Linux下要如何安装GlusterFS呢?今天小编以CentOS6.4为例,给大家介绍下CentOS6.4安装配置GlusterFS的方法。

  环境介绍:

  OS: CentOS 6.4 x86_64 Minimal

  Servers: sc2-log1,sc2-log2,sc2-log3,sc2-log4

  Client: sc2-ads15

  具体步骤:

  1. 在sc2-log{1-4}上安装GlusterFS软件包:

  代码如下

  # wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo

  # yum install -y glusterfs-3.4.2-1.el6 glusterfs-server-3.4.2-1.el6 glusterfs-fuse-3.4.2-1.el6

  # /etc/init.d/glusterd start

  # chkconfig glusterfsd on

  2. 在sc2-log1上配置整个GlusterFS集群:

  代码如下

  [root@sc2-log1 ~]# gluster peer probe sc2-log1

  1 peer probe: success: on localhost not needed

  [root@sc2-log1 ~]# gluster peer probe sc2-log2

  1 peer probe: success

  [root@sc2-log1 ~]# gluster peer probe sc2-log3

  1 peer probe: success

  [root@sc2-log1 ~]# gluster peer probe sc2-log4

  1 peer probe: success

  [root@sc2-log1 ~]# gluster peer status

  01 Number of Peers: 3

  02

  03 Hostname: sc2-log2

  04 Port: 24007

  05 Uuid: 399973af-bae9-4326-9cbd-b5b05e5d2927

  06 State: Peer in Cluster (Connected)

  07

  08 Hostname: sc2-log3

  09 Port: 24007

  10 Uuid: 833a7b8d-e3b3-4099-baf9-416ee7213337

  11 State: Peer in Cluster (Connected)

  12

  13 Hostname: sc2-log4

  14 Port: 24007

  15 Uuid: 54bf115a-0119-4021-af80-7a6bca137fd9

  16 State: Peer in Cluster (Connected)

  3. 在sc2-log{1-4}上创建数据存放目录:

  代码如下

  # mkdir -p /usr/local/share/{models,geoip,wurfl}

  # ls -l /usr/local/share/

  1 total 24

  2 drwxr-xr-x 2 root root 4096 Apr 1 12:19 geoip

  3 drwxr-xr-x 2 root root 4096 Apr 1 12:19 models

  4 drwxr-xr-x 2 root root 4096 Apr 1 12:19 wurfl

上一页123下一页 剩下全文

以上就是关于「CentOS 6.4如何安装及设置GlusterFS」的全部内容,本文讲解到这里啦,希望对大家有所帮助。如果你还想了解更多这方面的信息,记得收藏关注本站~

Win10系统之家wWw.gHoSt580.net*文章,不得自行转载,违者必追究!

相关文章

  • CentOS 6.4如何安装及设置GlusterFS

    CentOS 6.4如何安装及设置GlusterFS


      GlusterFS因有很好的扩展性,使用的用户很多,使用GlusterFS能够解决网络存储、冗余备份等问题,那么在Linux下要如何安装GlusterFS呢?今天小编以CentOS6.4为例,给大家介绍下CentOS6.4安装配置GlusterFS的方法。
      环境介绍:
      OS:CentOS6.4x86_64Minimal
      Servers:sc2-lo...
  • Linux如何安装及设置MQ

    Linux如何安装及设置MQ


      MQ又称IBMMQ,能够为企业ESB搭建基础传输层,其使用需要配置运行环境,且安装完后需要进行相关设置,下面小编就给大家介绍下Linux安装和设置MQ的方法,感兴趣的朋友不妨来详细了解下。
      MQ下载地址:http://www-03.ibm.com/software/products/us/en/wmq/
      安装的MQ软件包为WMQv600Trial-x86_li...
  • 在CentOS上如何安装设置VNC

    在CentOS上如何安装设置VNC


      VNC是一款远程控制工具,免费的开源软件,通过VNC能够实现强大的远程控制,且是Linux有图形化的操作界面,下面小编就以CentOS6.3为例,给大家介绍下VNC在CentOS6.3下的安装和配置。
      1,安装GNOME桌面环境
      [root@www.linuxidc.com~]#yum-ygroupinstall“GNOMEDesktopEnvironment...
  • CentOS 5.5如何安装和设置Puppet

    CentOS 5.5如何安装和设置Puppet


      在Linux下,Puppet是集中配置管理系统,拥有自己的描述语言,如果想要开发Puppet,就需要用到Puppet工具,下面小编以CentOS5.5为例,给大家介绍下CentOS5.5安装配置Puppet的方法。
      一:Puppet是一个自动化配置管理工具,最常用在C/S架构中。
      puppet的语法允许你创建一个单独脚本,用来在目标主机上建立一个用户,所有目标...