Difference between revisions of "Ceph:Install Storage Cluster"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Create A Cluster == * Add and Install the ndoes <syntaxhighlight> ceph-deploy new {initial-monitor-node(s)} # Add the new node ceph-deploy install {ceph-node}[{ceph-node} ...] # In...")
(No difference)

Revision as of 12:03, 24 February 2014

Create A Cluster

  • Add and Install the ndoes
ceph-deploy new {initial-monitor-node(s)} # Add the new node
ceph-deploy install {ceph-node}[{ceph-node} ...] # Install New Node
  • Add the Monitors
ceph-deploy mon create-initial


This will create a number of files in your curretn direcotry.


OSDs

  • Add the OSDs (using a directory rather than an entire disk for daemon). Lginto the nodes and create the ods driecotry:
 
ssh node2
sudo mkdir /var/local/osd0
exit

ssh node3
sudo mkdir /var/local/osd1
exit


  • Install the OSDs
ceph-deploy osd prepare {ceph-node}:/path/to/directory
ceph-deploy osd activate {ceph-node}:/path/to/directory
  • Copy the configuarions Files to teh ndoes
ceph-deploy admin {ceph-node}
sudo chmod +r /etc/ceph/ceph.client.admin.keyring
ceph health