더북(TheBook)

11. 이번에는 /etc/rsyncd.conf 파일을 만들고 어카운트, 컨테이너, 오브젝트 서버를 다음과 같이 설정합니다. address에는 스토리지 노드의 관리용 IP를 입력합니다. 여기서는 컴퓨트 노드에 설치했으므로 컴퓨트 노드의 관리용 IP를 입력했습니다.

root@compute:~# vi /etc/rsyncd.conf
uid = swift
gid = swift
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
address = 192.168.56.102

[account] max connections = 2 path = /srv/node/ read only = False lock file = /var/lock/account.lock

[container] max connections = 2 path = /srv/node/ read only = False lock file = /var/lock/container.lock

[object] max connections = 2 path = /srv/node/ read only = False lock file = /var/lock/object.lock

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.