股份有限公司
第17页共52页
fSwift安装测试报告
328启动服务
在代理节点启动swift代理服务:1、创建cache目录,设置权限mkdirpvarcacheswiftchow
Rswiftswiftvarcacheswift2、设置etcswift目录权限chow
Rswiftswiftetcswift3、启动服务servicememcachedstartchkco
figmemcachedo
swifti
itproxystart
33存储节点安装配置
注为了简单和清晰本节仅以Node1(172210186)为例说明存储节点的安装配置方式,其他存储节点使用相同方法配置即可。
331系统基础配置
1、关闭seli
uxvietcseli
uxco
fig……SELINUXdisabled……2、关闭防火墙serviceiptablesstopchkco
figiptablesoff3、重启机器reboot
北京华胜天成信息技术股份有限公司
第18页共52页
fSwift安装测试报告
332设置时间同步
1、安装
tpdateyumi
stally
tpdate2、时间同步
tpdate172213833、设置计划任务cro
tabe023
tpdate17221383varlog
tpdatelog
333安装软件包
存储节点需要安装的软件包:yumi
stallypytho
setuptoolsxi
etdxfsprogsyumi
stallyope
stackswiftaccou
tope
stackswiftco
tai
erope
stackswiftobjectrsy
c
334配置存储
1、硬盘分区,创建loopback设备fdiskdevsdb创建devsdb1分区,过程省略2、格式化磁盘为xfs格式mkfsxfsisize1024devsdb13、添加开机自启动项echo