O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

Use the following steps to configure the VSM environment:

  1. 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 as cephuser. You can always use a username of your choice. Also, provide sudo rights to this user:
        # useradd cephuser        # echo 'cephuser:cephuser' | chpasswd        # echo "cephuser ALL=(ALL) NOPASSWD: ALL" >>         /etc/sudoers
  1. Ensure that the NTP is configured:
        # systemctl stop ntpd        # systemctl stop ntpdate        # ntpdate 0.centos.pool.ntp.org > /dev/null 2> /dev/null        # systemctl start ntpdate        # systemctl start ntpd
  1. Install tree (optional), git, and the epel packages:
        # yum install -y tree git epel-release
  1. Add host information to the /etc/hosts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required