더북(TheBook)

3. 생성한 account.builder 파일에 지역, 스토리지 노드 주소, 포트, 디바이스 이름, 가중치를 추가합니다. 여기서는 sdc1, sdd1, sde1 이렇게 3개를 쓸 것이므로 순서대로 추가했습니다.

root@controller:/etc/swift# swift-ring-builder account.builder add –region 1
–zone 1 –ip 192.168.56.102 –port 6002 –device sdc1 –weight 100
Device d0r1z1-192.168.56.102:6002R192.168.56.102:6002/sdc1”” with 100.0 weight
got id 0
root@controller:/etc/swift# swift-ring-builder account.builder add –region 1
–zone 1 –ip 192.168.56.102 –port 6002 –device sdd1 –weight 100
Device d1r1z1-192.168.56.102:6002R192.168.56.102:6002/sdd1”” with 100.0 weight
got id 1
root@controller:/etc/swift# swift-ring-builder account.builder add –region 1
–zone 1 –ip 192.168.56.102 –port 6002 –device sde1 –weight 100
Device d2r1z1-192.168.56.102:6002R192.168.56.102:6002/sde1_“” with 100.0 weight
got id 2

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