스토리지

ceph storage 구축 - 테스트 <1장 인증>

열공하는 엔지니어 2024. 8. 21. 16:23

<리소스> KT Cloud

1vcpu,2ram * 4식

master 1ea (ceph-admin)

mon 1ea (ceph-node1)

osd 2ea (ecph-node2, ecph-node3)


1. 설정을 위한 hosts 파일 추가

2. 패스워드 없이 ssh 를 위한 ssh-keygen 설정

[root@ceph-admin .ssh]# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:

나머지 서버에서도 동일하게 진행함.

[root@ceph-admin .ssh]# scp id_rsa.pub node1:/root/.ssh/authorized_keys
[root@ceph-admin .ssh]# scp id_rsa.pub node2:/root/.ssh/authorized_keys
[root@ceph-admin .ssh]# scp id_rsa.pub node3:/root/.ssh/authorized_keys

여기까지 정상적으로 되었다면 ssh node1~node3 까지 패스워드 입력없이 로그인 되는것을 확인할 수 있음. (ceph-admin만)


 

'스토리지' 카테고리의 다른 글

DEVOPS 툴 체인설명  (0) 2024.03.21
SLA / SLO / SLI 의 뜻  (0) 2024.02.19