더북(TheBook)

3. 앞에서 설정한 swift.conf 파일을 다른 스토리지 노드로 모두 복사합니다. 여기서는 복사할 노드가 컴퓨트 노드뿐이므로 scp 명령어를 이용해 복사합니다. 명령어의 nalee는 자신의 환경에 맞는 사용자 이름으로 바꿔서 입력합니다.

root@controller:/etc/swift# scp swift.conf nalee@compute:~/
The authenticity of host ‘compute (192.168.56.102)’ can’t be established.
ECDSA key fingerprint is SHA256:UKTX/6FEUL57Zd/v7zY6wpEdBKv4PW6SXRw85IeOBlE.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘compute,192.168.56.102’ (ECDSA) to the list of known
hosts.
nalee@compute’s password: compute의 사용자 패스워드 입력 Enter
swift.conf                                         100% 7591     7.4KB/s   00:00
root@controller:/etc/swift# scp *.ring.gz nalee@compute:~/ nalee@compute’s password: compute의 사용자 패스워드 입력 Enter account.ring.gz 100% 228 0.2KB/s 00:00
container.ring.gz 100% 229 0.2KB/s 00:00
object.ring.gz 100% 226 0.2KB/s 00:00

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