Libro sobre Proxmox maestria
Chapter 7
We will try our best to look into all aspects of the Ceph installation in this chapter. However, if we have missed out on something, Ceph's official documentation may be a good start for additional information.
For the official Ceph documentation, visit http://www.ceph.com/ docs/master/start/intro.
For the official Proxmox documentation to install Ceph on the same Proxmox node, visit http://pve.proxmox.com/wiki/Ceph_Server.
The installation process of Ceph in the documentation may be a little overwhelming at first, but repeated study will allow for a better understanding of this great technology. In this chapter, you will find a much simpler process that is broken down into chunks to help you move along the Ceph installation process.
Our first task is to put the computers together and connect them with the switch. We should have two nodes for OSDs, three nodes for Monitors, and two nodes for MDSs. If you are using virtual machines for OSDs and MONS, then you should have two OSD nodes, three virtual machines for MONS, and two for MDSs. Connect the switch to the Internet so that the Ceph cluster can have internet connectivity during the installation. The operating system will need to be updated with the latest packages.
We recommend that you disconnect the Internet connection from the Ceph cluster at all times in a production environment. Allow internet connectivity on a Ceph network only to apply updates or patches. This prevents the chances of a security breach in the Ceph cluster through WAN, should the firewall be compromised.
Install Ubuntu Server on all the nodes as suggested by the Ubuntu documentation (http://www.ubuntu.com/download/server/install-ubuntu-server). Once the installation is complete, we are going to set up network interfaces and a hostname on all nodes using the following commands:
# sudo nano /etc/network/interfaces address 192.168.10.11 netmask 255.255.255.0 gateway 192.168.10.254
#if using your own local DNS server, public DNS server
use your IP address instead of