Install Ceph on Ubuntu
Ceph is a storage system designed for excellent performance, reliability, and scalability. However, the installation and management of Ceph can be challenging. The Ceph-on- Ubuntu solution takes the administration minutiae out of the equation through the use of Juju charms. With charms, the deployment of a Ceph cluster becomes trivial as does the scaling of the cluster’s storage capacity.
Looking for help running Ceph?
How to install Ceph on Ubuntu
Charmed Ceph is Ubuntu’s fully automated, model-driven approach to installing and managing Ceph. Charmed Ceph is generally deployed on bare-metal that is managed by .
How to install Ceph on MAAS
These instructions will result in an environment consisting of Ubuntu 20.04 LTS on three machines (one OSD node and one containerised MON node on each) that will run Ceph Octopus.
Juju simplifies how you configure, scale and operate today’s complex software. Install it now:
sudo snap install juju --classic
This requires snapd to be installed. The latest Ubuntu release comes with this built in. For other Linux systems .
Add your MAAS cloud
This interactive step will register your private MAAS cloud that currently manages your bare metal infrastructure.
You would choose MAAS in the interactive session and answer a few questions (see for details). Let us assume that we have named the cloud ’mymaas’.
Cloud ’mymaas’ requires credentials in the form of a user’s API key that is created on the MAAS fun88体育. Inform Juju about it:
juju add-credential mymaas
The Juju controller is used to manage the software deployed through Juju. Create one now called, say, ’maas-one’:
juju bootstrap mymaas maas-one
The model will hold the Ceph deployment, which includes the various applications and the number of units for each. Create one now called, say, ’ceph’:
juju add-model ceph
Deploy the Ceph cluster with the bundle from the Charm Store:
juju deploy ceph-base
The bundle uses block device ’/dev/sdb’ to back cluster OSDs. Adjust as needed post-install with:
juju config ceph-osd osd-devices=/dev/<XXX>
Need more help with Ceph?
Let our Ceph experts help you take the next step.