Neste será apresentado como configurar o cliente em uma vm para acesso ao block storage do Ceph via RBD Client.
Desenhando apenas em um fluxograma simples o processo será realizado da seguinte forma :
Observando de uma forma mais técnica , a imagem abaixo apresenta melhor o processo dentro da infraestrutura do Ceph :
1. Ambiente
Será utilizado o ambiente de laboratório do site para este documento, segue os links :
Link do LaboratórioDeploy do Ceph
No laboratório será realizado deploy da vm client via Vagrant para instalação e testes do client RBD.
vagrant up client
2. Configuração do Client
Configure o usuário do Ceph
Copie as chaves ssh do ceph a partir da vm controller
[ceph@controller ~]$ ssh-copy-id client
/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/ceph/.ssh/id_rsa.pub"
The authenticity of host 'client (192.168.0.10)' can't be established.
ECDSA key fingerprint is SHA256:YfqKEeU3TMMAsw10UBn3vKzDksYwnWkhhTDAEBOeEaI.
ECDSA key fingerprint is MD5:4a:d5:17:23:aa:df:9f:72:03:7d:58:9a:e1:fa:dc:41.
Are you sure you want to continue connecting (yes/no)? yes
/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
ceph@client's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'client'"
and check to make sure that only the key(s) you wanted were added.
Realize deploy do client a partir da vm controller
Deixe um comentário