Open Source Object Storage for Unstructured Data: Ceph on HP ProLiant SL4540 Gen8 Servers
Table Of Contents
- Executive summary
- Introduction
- Overview
- Solution components
- Workload testing
- Configuration guidance
- Bill of materials
- Summary
- Appendix A: Sample Reference Ceph Configuration File
- Appendix B: Sample Reference Pool Configuration
- Appendix C: Syntactical Conventions for command samples
- Appendix D: Server Preparation
- Appendix E: Cluster Installation
- Naming Conventions
- Ceph Deploy Setup
- Ceph Node Setup
- Create a Cluster
- Add Object Gateways
- Apache/FastCGI W/100-Continue
- Configure Apache/FastCGI
- Enable SSL
- Install Ceph Object Gateway
- Add gateway configuration to Ceph
- Redeploy Ceph Configuration
- Create Data Directory
- Create Gateway Configuration
- Enable the Configuration
- Add Ceph Object Gateway Script
- Generate Keyring and Key for the Gateway
- Restart Services and Start the Gateway
- Create a Gateway User
- Appendix F: Newer Ceph Features
- Appendix G: Helpful Commands
- Appendix H: Workload Tool Detail
- Glossary
- For more information

Reference Architecture| Ceph on HP ProLiant SL4540 Gen8 Servers
Appendix E: Cluster Installation
Because the Ceph documentation website can change over time, the installation flow has been sourced from Ceph
documentation used when configuring the sample reference configuration. The sourced instructions have been modified to
include customizations made, and fixed on the choices of Ubuntu and Ceph distribution. For additional details, the Ceph
quick start instructions are also linked in the ‘for more information’ section.
It’s recommended to perform cluster install where the cluster can get access to the internet. This allows the OS package
manager to download Ceph and general OS packages from normal repositories. The ceph-deploy program depends on
using the package manager to install, and it is much more straightforward than maintaining internal repositories. If site
security doesn’t allow internet access, the installation instructions will have to be modified according to specific site
requirements, whether the install uses a local repository or source install.
All samples are from installation on Ubuntu 12.04.3
Naming Conventions
The monitor and object gateway systems are named: hp-cephmon01 through hp-cephmon03
The OSD hosts are named hp-osdhost01 through hp-osdhost10
When an operation is generic to the type of system, it’ll be referred to as <node01> through <nodexx>
Ceph Deploy Setup
Initial cluster creation and staging is executed from the first monitor, hp-cephmon01.
Add the release key. You may need to edit wgetrc for proxy use; see Initial Configuration Modification below for syntax:
wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo apt-key add -
Add Ceph Packages to the repository:
echo deb http://ceph.com/debian-dumpling/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
Update the repository and install ceph-deploy:
sudo apt-get update && sudo apt-get install ceph-deploy
Ceph Node Setup
Create a user on each Ceph node:
ssh <existing login user>@ceph-server
sudo useradd -d /home/ceph -m ceph -s /bin/bash
sudo passwd ceph
Add root privileges for the user on each Ceph node:
echo "ceph ALL = (root) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/ceph
sudo chmod 0440 /etc/sudoers.d/ceph
Install ssh server (if necessary) on each Ceph Node:
sudo apt-get install openssh-server
Configure the ceph-deploy admin node with password-less SSH access to each Ceph Node. When configuring SSH access,
do not use sudo or the root user. Leave the passphrase empty:
ssh-keygen
Generating public/private key pair.
Enter file in which to save the key (/ceph-client/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /ceph-client/.ssh/id_rsa.
40










