In the last recipe, we preconfigured virtual machines using Vagrant; they are to be used with VSM. In this recipe, we will learn about the pre-flight configuration that is needed on these VMs so that it can be used with VSM.
Please note that by using Vagrant, we have done most of this pre-flight configuration using the shell script file, ceph-cookbook/vsm/post-deploy.sh
, present in the GIT repository that we cloned in the last recipe. You might not want to repeat these first four steps as Vagrant already performed them. We are explaining these steps here so that you can know what Vagrant did in the background.
Create the user,
cephuser
, on all the nodes that will be used for VSM deployment. For simplicity, we will set the password of this user ascephuser
. You can always use a username of your choice. Also, providesudo
rights to this user:# useradd cephuser # echo 'cephuser:cephuser' | chpasswd # echo "cephuser ALL=(ALL) NOPASSWD: ALL" >> /etc...