<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6067449713794600812</atom:id><lastBuildDate>Wed, 28 Aug 2024 13:03:09 +0000</lastBuildDate><category>karan singh</category><category>Karan Singh :: Ceph Blogs</category><category>ceph</category><category>planet</category><category>ceph and openstack</category><category>ceph installation</category><category>configuring openstack with ceph</category><category>openstack</category><category>ceph guide</category><category>ceph step by step</category><category>ceph dashboard</category><category>ceph gui</category><category>ceph monitoring</category><category>cephfs</category><category>osd</category><category>placement group</category><category>what is ceph</category><category>Ceph deployment</category><category>Ceph filesystem</category><category>Pool</category><category>Try-Ceph</category><category>calamari</category><category>calculating PG number for ceph pool</category><category>ceph Manual</category><category>ceph and openstack in a nutshell</category><category>ceph book</category><category>ceph bootstrap</category><category>ceph calamari</category><category>ceph demonstration</category><category>ceph erasure coding</category><category>ceph file</category><category>ceph management</category><category>ceph-fuse</category><category>cephfs dedicated pool</category><category>cepn in 10 minutes</category><category>erasure coding</category><category>erasure coding in ceph</category><category>erasure-code</category><category>how data is stored in ceph cluster</category><category>kraken</category><category>kraken dashboard</category><category>learning ceph</category><category>mds</category><category>monitor</category><category>pg</category><category>reliability</category><category>replacing disk in ceph</category><category>user defined pool for cephfs</category><title>Ceph Storage :: Next Big Thing</title><description>Ceph is a free software defined storage platform designed to present object, block, and file storage from a single distributed computer cluster. Ceph&#39;s main goals are to be completely distributed without a single point of failure, scalable to the exabyte level, highly relible and freely-available</description><link>http://karan-mj.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-5704591794484047165</guid><pubDate>Wed, 25 Feb 2015 20:10:00 +0000</pubDate><atom:updated>2015-02-25T12:10:38.110-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph book</category><category domain="http://www.blogger.com/atom/ns#">ceph guide</category><category domain="http://www.blogger.com/atom/ns#">ceph Manual</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">learning ceph</category><title></title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; line-height: 1.1em; margin-top: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;color: #339900; font-weight: normal; line-height: 1.1em;&quot;&gt;&lt;i&gt;Now Showing&lt;/i&gt; : &lt;/span&gt;&lt;span style=&quot;color: purple; line-height: 1.1em;&quot;&gt;Learning Ceph&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: #339900; font-family: arial, verdana, sans-serif; line-height: 1.1em; text-align: center;&quot;&gt;&amp;nbsp;a comprehensive Book&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #339900; font-family: arial, verdana, sans-serif; line-height: 1.1em; text-align: center;&quot;&gt;on&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #339900; font-family: arial, verdana, sans-serif; line-height: 1.1em; text-align: center;&quot;&gt;Software Defined Storage : &lt;/span&gt;&lt;span style=&quot;color: purple; font-family: arial, verdana, sans-serif; line-height: 1.1em; text-align: center;&quot;&gt;&lt;b&gt;CEPH&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;color: purple; font-family: arial, verdana, sans-serif; line-height: 1.1em; text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQO8qrvoUEmYxFpuQKcNqFjA25Y9_lFpPJPobYPQeaRzsf7F04zD3reRPCiIfq4HDt3ZjVI0LLmrDfO6VZ7fvoAOMzubLJ29ZZpUV0T_XYqPle_Z26QqZfPPg3-J_yBhJL5sHxsRp5OFs/s1600/5623OS_cov_Latest.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;ceph book&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQO8qrvoUEmYxFpuQKcNqFjA25Y9_lFpPJPobYPQeaRzsf7F04zD3reRPCiIfq4HDt3ZjVI0LLmrDfO6VZ7fvoAOMzubLJ29ZZpUV0T_XYqPle_Z26QqZfPPg3-J_yBhJL5sHxsRp5OFs/s1600/5623OS_cov_Latest.jpg&quot; height=&quot;640&quot; title=&quot;ceph book&quot; width=&quot;518&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;Hello &lt;i&gt;Ceph&lt;/i&gt; &#39;ers&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&amp;nbsp;,&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;The year 2014 is pretty&amp;nbsp;productive&amp;nbsp;to Ceph and to its surrounding world. Ceph entered the 10 year maturity haul with its 10th&amp;nbsp;Birthday.The most buzzed news &quot;RedHat acquired Inktank&quot; was a major success to Ceph and its community, and finally &#39;Ceph Firefly&#39; the Long Term Support production grade version is out in 2014 , with its wow features like Erasure Coding and Cache Tiering.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;During the same year , somewhere in this world i was investing my several months for writing the first ever book on Ceph . Finally it was 20 January 2015 when my First as well as Ceph&#39;s First book got published.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;Introducing &lt;i&gt;Learning Ceph &lt;/i&gt;:&amp;nbsp;a comprehensive guide to learn &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;software defined massively scalable Ceph storage system.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;I have compiled this book with all my&amp;nbsp;experience&amp;nbsp;on Ceph and other&amp;nbsp;related&amp;nbsp;technologies and i am sure this book you pure knowledge on Ceph that you are always wondering about.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;You can grab a &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Free Sample copy of this book&lt;/span&gt;&lt;/b&gt; from : &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;a href=&quot;http://bit.ly/1woQnOW&quot; target=&quot;_blank&quot;&gt;http://bit.ly/1woQnOW&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;The book is available for&amp;nbsp;purchase from variety of channels and on various formats.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Amazon.com : &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;a href=&quot;http://amzn.to/17YeGaF&quot; target=&quot;_blank&quot;&gt;http://amzn.to/17YeGaF&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Safari Books :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;a href=&quot;http://bit.ly/18lOKqq&quot; target=&quot;_blank&quot;&gt;http://bit.ly/18lOKqq&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;Publishers Official website :&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;a href=&quot;http://bit.ly/1LDRKL0&quot; target=&quot;_blank&quot;&gt;http://bit.ly/1LDRKL0&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTS4P1dEueWuSYMcmdHkCARRATA2f7iChcOfa_NtSGuVWr69Ya2sTC5xjUDtpOutzN_8AdpLL1uP3f3HSoyOPeGkzUit197Xl4iteqaEbnqcbpb_Enlxz9ZQUDFfXQEM9HyEAI2BYK-rw/s1600/Snap+2015-02-25+at+20.14.35.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;ceph book&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTS4P1dEueWuSYMcmdHkCARRATA2f7iChcOfa_NtSGuVWr69Ya2sTC5xjUDtpOutzN_8AdpLL1uP3f3HSoyOPeGkzUit197Xl4iteqaEbnqcbpb_Enlxz9ZQUDFfXQEM9HyEAI2BYK-rw/s1600/Snap+2015-02-25+at+20.14.35.png&quot; height=&quot;402&quot; title=&quot;ceph book&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;I am sure , if you are interested to learn Ceph for building up&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&amp;nbsp;your multi-petabyte storage system , this book is 100%&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;a must have resource for Ceph.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;So .....&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Helvetica Neue, Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLeJRKqQpe2iY1Xtvgyk1cBABWdkk402h8k7-D-dUpTm1IyL_75N7aBUo48JVIzeZpcFN4loUh3ppSOvYyK7LBFrmDjF9793xTO5m-JFFrJZogSM4GGi81VHLaAlkQO6nYrJ_-xPBGtGg/s1600/keep-calm-and-read-your-ceph-book-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;Ceph book&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLeJRKqQpe2iY1Xtvgyk1cBABWdkk402h8k7-D-dUpTm1IyL_75N7aBUo48JVIzeZpcFN4loUh3ppSOvYyK7LBFrmDjF9793xTO5m-JFFrJZogSM4GGi81VHLaAlkQO6nYrJ_-xPBGtGg/s1600/keep-calm-and-read-your-ceph-book-1.png&quot; height=&quot;320&quot; title=&quot;Ceph book&quot; width=&quot;272&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2015/02/ceph-book.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQO8qrvoUEmYxFpuQKcNqFjA25Y9_lFpPJPobYPQeaRzsf7F04zD3reRPCiIfq4HDt3ZjVI0LLmrDfO6VZ7fvoAOMzubLJ29ZZpUV0T_XYqPle_Z26QqZfPPg3-J_yBhJL5sHxsRp5OFs/s72-c/5623OS_cov_Latest.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Espoo, Finland</georss:featurename><georss:point>60.2054911 24.655900100000053</georss:point><georss:box>59.7005586 23.365006600000054 60.710423600000006 25.946793600000053</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-5249371759881314011</guid><pubDate>Sat, 24 Jan 2015 16:57:00 +0000</pubDate><atom:updated>2015-01-24T08:57:37.582-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph bootstrap</category><category domain="http://www.blogger.com/atom/ns#">ceph demonstration</category><category domain="http://www.blogger.com/atom/ns#">Ceph deployment</category><category domain="http://www.blogger.com/atom/ns#">cepn in 10 minutes</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">Try-Ceph</category><title>Ceph Meetup Helsinki : 22 Jan 2015</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;&lt;b&gt;Ceph Meetup Helsinki , Finland 22nd Jan 2015&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It has been a good start to 2015. We the geeks of &quot;Helsinki&amp;nbsp;Metropolitan&amp;nbsp;Area&quot;&amp;nbsp;express&amp;nbsp;our&amp;nbsp;sincere&amp;nbsp;thanks to&amp;nbsp;Red Hat&amp;nbsp;Folks for arranging an&amp;nbsp;unofficial &quot;Ceph Day&quot; sort of Ceph Meetup.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From my point of view expecting any event on CEPH in Finland , is like day dreaming. But hopefully not from now.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is my presentation during the meetup. Hope you enjoy and learn something new out of it. &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;Read it carefully &quot;There is something new for YOU&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;iframe aline=&quot;midele&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;420&quot; mozallowfullscreen=&quot;&quot; scrolling=&quot;no&quot; src=&quot;//slides.com/karansingh-1/deck/embed&quot; webkitallowfullscreen=&quot;&quot; width=&quot;576&quot;&gt;&lt;/iframe&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;Introducing Try-Ceph&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Since this was the first presentation on Ceph , in-order to keep the audience awake and into the gravity of Ceph. I have presented a LIVE&amp;nbsp;DEMONSTRATION&amp;nbsp; of Ceph which the&amp;nbsp;audience&amp;nbsp;really enjoyed.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;So What is Try-Ceph&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Its a shortest and the quickest way to get your TEST Ceph cluster UP and Running in Just 10 Minutes&amp;nbsp;&lt;b&gt;&lt;i&gt;--yes-i-am-really-really-serious&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;Its a TWO Step Process&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;Step - 1 :&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Oxygen, sans-serif; line-height: 58.9473686218262px;&quot;&gt;&lt;b&gt;# git clone https://github.com/ksingh7/Try-Ceph.git&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;Step - 2 : &amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-family: Oxygen, sans-serif; line-height: 58.9473686218262px;&quot;&gt;# vagrant up&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Checkout the documentation&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://github.com/ksingh7/Try-Ceph/blob/master/README.md&quot;&gt;https://github.com/ksingh7/Try-Ceph/blob/master/README.md&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Checkout the recorded session&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=lki1fQptIRk&quot;&gt;https://www.youtube.com/watch?v=lki1fQptIRk&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;&amp;nbsp;Some Pictures from the Meetup&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8B-rGaLcB1UBQcplgwNXpV5VdqJUAVryldhNEFRCmtRKtmoyFJ2NNnILIyiYsGJMNY36ALjOKcbNgMLilryeZvUDc4oLhPJTLeNvtuYp7wds4OwYtWi3EG5QuWV2VZxFD6WF0GIEO6Z4/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;karan singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8B-rGaLcB1UBQcplgwNXpV5VdqJUAVryldhNEFRCmtRKtmoyFJ2NNnILIyiYsGJMNY36ALjOKcbNgMLilryeZvUDc4oLhPJTLeNvtuYp7wds4OwYtWi3EG5QuWV2VZxFD6WF0GIEO6Z4/s1600/1.jpg&quot; height=&quot;355&quot; title=&quot;karan singh&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHqbzwOsrGvP4ltE9hfUzMgDIhXpzUu4qsnJQrwKNyZ6BfL9SuYP_eJvZStS0yein2hj4MlqHI651slQFsPWOGWAi6EUeyoeo00V0y1gsoYE4MLp1ci_DDyzl7R8H-XZsOWRLPxFLvABw/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;karan singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHqbzwOsrGvP4ltE9hfUzMgDIhXpzUu4qsnJQrwKNyZ6BfL9SuYP_eJvZStS0yein2hj4MlqHI651slQFsPWOGWAi6EUeyoeo00V0y1gsoYE4MLp1ci_DDyzl7R8H-XZsOWRLPxFLvABw/s1600/2.jpg&quot; height=&quot;400&quot; title=&quot;karan singh&quot; width=&quot;295&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9eeF0SI0j8wg6S7oCdVD5MwY3XxkyyP398iFGHdxxHuFcBoW9kKw9e2gLt_wsct8RHgzLvhtXRLemzZXURlqRmXvKrBZgdnm-oZnNS3RrkLsDUmRjXg8epmjFP-ipIsiRc5vjdri-Oek/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;karan singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9eeF0SI0j8wg6S7oCdVD5MwY3XxkyyP398iFGHdxxHuFcBoW9kKw9e2gLt_wsct8RHgzLvhtXRLemzZXURlqRmXvKrBZgdnm-oZnNS3RrkLsDUmRjXg8epmjFP-ipIsiRc5vjdri-Oek/s1600/3.jpg&quot; height=&quot;296&quot; title=&quot;karan singh&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6cG75Ves8Oho2l0UigAQYGxH3SWFzYIy12doLzK7j8fT8H9qDcmyflFIJNZisU98dMyjEUX_q1BlOentqev5dTDg_drczLWAEQa6NNE2DQJUzWylGPnof2oJtCVAs0M6FhNg1dIl711k/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;karan singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6cG75Ves8Oho2l0UigAQYGxH3SWFzYIy12doLzK7j8fT8H9qDcmyflFIJNZisU98dMyjEUX_q1BlOentqev5dTDg_drczLWAEQa6NNE2DQJUzWylGPnof2oJtCVAs0M6FhNg1dIl711k/s1600/4.jpg&quot; height=&quot;281&quot; title=&quot;karan singh&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2015/01/ceph-meetup-helsinki-22-jan-2015.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8B-rGaLcB1UBQcplgwNXpV5VdqJUAVryldhNEFRCmtRKtmoyFJ2NNnILIyiYsGJMNY36ALjOKcbNgMLilryeZvUDc4oLhPJTLeNvtuYp7wds4OwYtWi3EG5QuWV2VZxFD6WF0GIEO6Z4/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Espoo, Finland</georss:featurename><georss:point>60.2054911 24.655900100000053</georss:point><georss:box>59.7005586 23.365006600000054 60.710423600000006 25.946793600000053</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-347352137257348306</guid><pubDate>Tue, 23 Sep 2014 15:13:00 +0000</pubDate><atom:updated>2014-09-23T08:13:54.820-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">calamari</category><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph calamari</category><category domain="http://www.blogger.com/atom/ns#">ceph dashboard</category><category domain="http://www.blogger.com/atom/ns#">ceph gui</category><category domain="http://www.blogger.com/atom/ns#">ceph monitoring</category><category domain="http://www.blogger.com/atom/ns#">ceph step by step</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><title>Ceph Calamari : The Survival Guide</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large; line-height: 1.1em;&quot;&gt;Ceph Calamari &amp;nbsp;: step-by-step&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkGjWuAc86BfHh9XuY-qBHpWRTtzB2As7LtCEoi3O1Nel-mdEXr-RtPHYjUO2cWKssxceB-92kv-GmTw2WsJpsRGfgaWd6vRqbe8Uw8CuQFgIUDfo1uC2oLgWzFUwfCPnzR8R8ywtC8Ao/s1600/Snap+2014-09-23+at+16.28.09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Ceph Calamari : Karan Singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkGjWuAc86BfHh9XuY-qBHpWRTtzB2As7LtCEoi3O1Nel-mdEXr-RtPHYjUO2cWKssxceB-92kv-GmTw2WsJpsRGfgaWd6vRqbe8Uw8CuQFgIUDfo1uC2oLgWzFUwfCPnzR8R8ywtC8Ao/s1600/Snap+2014-09-23+at+16.28.09.png&quot; height=&quot;375&quot; title=&quot;Ceph Calamari : Karan Singh&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.3999996185303px; line-height: 22px;&quot;&gt;Calamari is a management&amp;nbsp;and monitoring system for Ceph storage cluster. It provides a beautiful Dashboard User Interface that makes Ceph cluster monitoring&amp;nbsp;amazingly&amp;nbsp;simple and handy. Calamari&amp;nbsp;was initially a part of Inktank&#39;s Ceph Enterprise product offering and it has been&amp;nbsp;open sourced&amp;nbsp;few months&amp;nbsp;back by&amp;nbsp;Red Hat. Hence Calamari is a matured enterprise level software which is now Open Source.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.3999996185303px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.3999996185303px; line-height: 22px;&quot;&gt;If you are&amp;nbsp;wondering&amp;nbsp;how you can deploy calamari for your Ceph cluster , this blog will navigate you with the step by step instruction. As of now precompiled packages for calamari are not&amp;nbsp;available&amp;nbsp;, you would require to compile from source and get calamari up and&amp;nbsp;running&amp;nbsp;for&amp;nbsp;your&amp;nbsp;environment.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.3999996185303px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.3999996185303px; line-height: 22px;&quot;&gt;I would like to express my&amp;nbsp;thanks&amp;nbsp;to Gregory Meno and Dan Mick from Inktank ( RedHat ) for&amp;nbsp;their&amp;nbsp;support &amp;nbsp;during troubleshooting.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.3999996185303px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephcalamari_2&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Introduction&lt;/span&gt;&lt;a class=&quot;ecpEdit&quot; data-from=&quot;2&quot; data-to=&quot;2&quot; data-topic=&quot;CEPHCalamari&quot; data-web=&quot;Storage/CEPH&quot; href=&quot;https://wiki.csc.fi/wiki/Storage/CEPH/CEPHCalamari#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; font-size: 21.3333339691162px; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Introduction&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Calamari is the management and monitoring service for Ceph, exposing a high level REST API.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Calamari consists of two pieces (and two separate repos, now in the Ceph Github project):&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;1) Backend ( Calamari Server )&lt;/b&gt; — the Calamari backend is written in Python 2.6+, using Saltstack,&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;foswikiNewLink&quot; href=&quot;https://wiki.csc.fi/bin/edit/Storage/CEPH/ZeroRPC?topicparent=Storage/CEPH.CEPHCalamari&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; border-bottom-color: rgb(176, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #b00000; cursor: pointer; font-family: arial, verdana, sans-serif; line-height: 22px; text-decoration: none;&quot; title=&quot;Create this topic&quot;&gt;ZeroRPC&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;, gevent, Django, django-rest-framework, graphite and instantiates a new REST API for integration with other systems. This is an important distinction because earlier versions of Calamari were based on the Ceph REST API. The new Calamari REST API is designed to be much more comprehensive and should be the basis for new development efforts that wish to interact with a Ceph cluster. Source Code :&lt;/span&gt;&lt;a href=&quot;https://github.com/ceph/calamari&quot; style=&quot;background-color: white; color: #4c94db; cursor: pointer; font-family: arial, verdana, sans-serif; line-height: 22px; text-decoration: none;&quot; target=&quot;_top&quot;&gt;https://github.com/ceph/calamari&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;2) Frontend ( Calamari Clients )&lt;/b&gt; — the Calamari frontend is a web browser UI implemented primarily in Javascript that uses the Calamari REST API. Source Code :&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://github.com/ceph/calamari-clients&quot; style=&quot;background-color: white; color: #4c94db; cursor: pointer; font-family: arial, verdana, sans-serif; line-height: 22px; text-decoration: none;&quot; target=&quot;_top&quot;&gt;https://github.com/ceph/calamari-clients&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Calamari Server side components include : Apache, salt-master , supervisord , cthulhu , carbon-cache&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Calamari Client side components include : salt-minion , diamond&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/null&quot; name=&quot;Building_Calamari_from_source&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephcalamari_3&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Building Calamari from source&lt;/span&gt;&lt;a class=&quot;ecpEdit&quot; data-from=&quot;3&quot; data-to=&quot;3&quot; data-topic=&quot;CEPHCalamari&quot; data-web=&quot;Storage/CEPH&quot; href=&quot;https://wiki.csc.fi/wiki/Storage/CEPH/CEPHCalamari#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; font-size: 21.3333339691162px; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Building Calamari from source&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Unlike Ceph , Calamari does not comes with&amp;nbsp;prebuilt&amp;nbsp;RPM / DEB packages. If you are interested in calamari you need to&amp;nbsp;build your own packages based&amp;nbsp;on your distributions. To deploy Calamari , you need to build packages for Calamari Server as well as for Calamari clients.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px; text-align: left;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephcalamari_4&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;color: #674ea7; font-size: large;&quot;&gt;Building Calamari Server packages&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-weight: normal; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;line-height: 22px;&quot;&gt;These instruction will guide you to build RPM packages that will be used with RHEL based distributions. For Ubuntu DEB packages , most of the steps are same. I would try to highlight extra steps if required.&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;1. Install &lt;b&gt;GIT&lt;/b&gt; and &lt;b&gt;vagrant &lt;/b&gt;on your local workstation.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;i&gt;For example i am using a MAC workstation and will connect to my Ceph cluster and other servers over SSH. So i would install GIT and vagrant locally on my machine.&amp;nbsp;On this workstation we will create some vagrant instances and inside those vagrant instances we will build RPM packages for Calamari server and client . Once packages are built , we will transfer the packages from the workstation to the&amp;nbsp;Server&amp;nbsp;machine that you designate for Calamari&amp;nbsp;server and calamari clients.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;2. Clone calamari server and diamond repositories.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ mkdir /tmp/calamari-repo
$ cd /tmp/calamari-repo

$ git clone https://github.com/ceph/calamari.git
Cloning into &#39;calamari&#39;...
remote: Counting objects: 10253, done.
remote: Compressing objects: 100% (4433/4433), done.
remote: Total 10253 (delta 5434), reused 10188 (delta 5387)
Receiving objects: 100% (10253/10253), 20.53 MiB | 3.55 MiB/s, done.
Resolving deltas: 100% (5434/5434), done.
Checking connectivity... done.
$

$ git clone https://github.com/ceph/Diamond.git --branch=calamari
Cloning into &#39;Diamond&#39;...
remote: Counting objects: 16225, done.
remote: Compressing objects: 100% (9229/9229), done.
remote: Total 16225 (delta 6170), reused 16225 (delta 6170)
Receiving objects: 100% (16225/16225), 3.79 MiB | 1.19 MiB/s, done.
Resolving deltas: 100% (6170/6170), done.
Checking connectivity... done.
$

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;3. Check calamari contents , under vagrant directory , you would find various distributions . Select your distribution and perform vagrant up.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Ubuntu users : In this step select the vagrant directory&amp;nbsp;&lt;i&gt;precise-build&lt;/i&gt;&amp;nbsp; for ubuntu DEB packages.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ cd calamari/
$ ls -la
total 168
drwxr-xr-x  32 ksingh  wheel   1088 Sep 17 10:34 .
drwxr-xr-x   4 ksingh  wheel    136 Sep 17 10:36 ..
drwxr-xr-x  13 ksingh  wheel    442 Sep 17 10:34 .git
-rw-r--r--   1 ksingh  wheel    292 Sep 17 10:34 .gitignore
-rw-r--r--   1 ksingh  wheel   1310 Sep 17 10:34 .travis.yml
-rw-r--r--   1 ksingh  wheel    251 Sep 17 10:34 COPYING
-rw-r--r--   1 ksingh  wheel  26436 Sep 17 10:34 COPYING-LGPL2.1
-rw-r--r--   1 ksingh  wheel   8977 Sep 17 10:34 Makefile
-rw-r--r--   1 ksingh  wheel   2183 Sep 17 10:34 README.rst
-rwxr-xr-x   1 ksingh  wheel   2961 Sep 17 10:34 adduser.py
drwxr-xr-x   6 ksingh  wheel    204 Sep 17 10:34 alembic
-rwxr-xr-x   1 ksingh  wheel    979 Sep 17 10:34 build-rpm.sh
drwxr-xr-x   5 ksingh  wheel    170 Sep 17 10:34 calamari-common
drwxr-xr-x   4 ksingh  wheel    136 Sep 17 10:34 calamari-web
-rw-r--r--   1 ksingh  wheel   3785 Sep 17 10:34 calamari.spec
drwxr-xr-x  11 ksingh  wheel    374 Sep 17 10:34 conf
drwxr-xr-x   5 ksingh  wheel    170 Sep 17 10:34 cthulhu
drwxr-xr-x  13 ksingh  wheel    442 Sep 17 10:34 debian
drwxr-xr-x  11 ksingh  wheel    374 Sep 17 10:34 dev
drwxr-xr-x  13 ksingh  wheel    442 Sep 17 10:34 doc
-rwxr-xr-x   1 ksingh  wheel    659 Sep 17 10:34 get-flavor.sh
-rwxr-xr-x   1 ksingh  wheel    874 Sep 17 10:34 get-versions.sh
drwxr-xr-x   5 ksingh  wheel    170 Sep 17 10:34 minion-sim
-rwxr-xr-x   1 ksingh  wheel    326 Sep 17 10:34 pre-commit.py
drwxr-xr-x   4 ksingh  wheel    136 Sep 17 10:34 repobuild
drwxr-xr-x   4 ksingh  wheel    136 Sep 17 10:34 requirements
drwxr-xr-x   6 ksingh  wheel    204 Sep 17 10:34 rest-api
drwxr-xr-x   4 ksingh  wheel    136 Sep 17 10:34 salt
drwxr-xr-x  17 ksingh  wheel    578 Sep 17 10:34 tests
-rw-r--r--   1 ksingh  wheel    792 Sep 17 10:34 tox.ini
drwxr-xr-x  11 ksingh  wheel    374 Sep 17 10:34 vagrant
drwxr-xr-x   3 ksingh  wheel    102 Sep 17 10:34 webapp
$
$ cd vagrant/
$ ls -la
total 8
drwxr-xr-x  11 ksingh  wheel   374 Sep 17 10:34 .
drwxr-xr-x  32 ksingh  wheel  1088 Sep 17 10:34 ..
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 centos-build
drwxr-xr-x   5 ksingh  wheel   170 Sep 17 10:34 devmode
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 precise-build
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 production
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 rhel-build
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 rhel7-build
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 trusty-build
-rwxr-xr-x   1 ksingh  wheel   344 Sep 17 10:34 urllib-bootstrap-salt.sh
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 wheezy-build
$
$ cd centos-build/
$ ls -la
total 8
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 .
drwxr-xr-x  11 ksingh  wheel   374 Sep 17 10:34 ..
-rw-r--r--   1 ksingh  wheel  1112 Sep 17 10:34 Vagrantfile
drwxr-xr-x   4 ksingh  wheel   136 Sep 17 10:34 salt
$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;4. Finally perform &lt;b&gt;vagrantup&lt;/b&gt; for Centos distribution, this will create a virtual environment with all the prerequisite necessary for calamari server package building process.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ vagrant up
Bringing machine &#39;default&#39; up with &#39;virtualbox&#39; provider...
==&amp;gt; default: Importing base box &#39;centos6&#39;...
==&amp;gt; default: Matching MAC address for NAT networking...
==&amp;gt; default: Setting the name of the VM: centos-build_default_1410939808331_97817
==&amp;gt; default: Clearing any previously set network interfaces...
==&amp;gt; default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==&amp;gt; default: Forwarding ports...
    default: 22 =&amp;gt; 2201 (adapter 1)
==&amp;gt; default: Running &#39;pre-boot&#39; VM customizations...
==&amp;gt; default: Booting VM...
==&amp;gt; default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2201
    default: SSH username: vagrant
    default: SSH auth method: private key
==&amp;gt; default: Machine booted and ready!
==&amp;gt; default: Checking for guest additions in VM...
==&amp;gt; default: Mounting shared folders...
    default: /git =&amp;gt; /private/tmp/calamari-repo
    default: /vagrant =&amp;gt; /private/tmp/calamari-repo/calamari/vagrant/centos-build
    default: /srv/salt =&amp;gt; /private/tmp/calamari-repo/calamari/vagrant/centos-build/salt/roots
==&amp;gt; default: Running provisioner: salt...
Copying salt minion config to vm.
Checking if salt-minion is installed
salt-minion was not found.
Checking if salt-call is installed
salt-call was not found.
Bootstrapping Salt... (this may take a while)
Salt successfully configured and installed!
run_overstate set to false. Not running state.overstate.
run_highstate set to false. Not running state.highstate.
$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;5. On this new&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;foswikiNewLink&quot; href=&quot;https://wiki.csc.fi/bin/edit/Storage/CEPH/CentOS?topicparent=Storage/CEPH.CEPHCalamari&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; border-bottom-color: rgb(176, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #b00000; cursor: pointer; font-family: arial, verdana, sans-serif; line-height: 22px; text-decoration: none;&quot; title=&quot;Create this topic&quot;&gt;CentOS&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&amp;nbsp;vagrant VM , you would notice some filesystem were mounted , actually they calamari source directory that we have cloned from github and has been shared and mounted as file system on&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;foswikiNewLink&quot; href=&quot;https://wiki.csc.fi/bin/edit/Storage/CEPH/CentOS?topicparent=Storage/CEPH.CEPHCalamari&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; border-bottom-color: rgb(176, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; color: #b00000; cursor: pointer; font-family: arial, verdana, sans-serif; line-height: 22px; text-decoration: none;&quot; title=&quot;Create this topic&quot;&gt;CentOS&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&amp;nbsp;vagrant VM. Now for building packages , we will use the same directory hierarchy and the resultant RPM package will also be stored in this shared directory.&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;SSH into vagrant CentOS instance&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ vagrant ssh

[vagrant@vagrant-centos64 ~]$
[vagrant@vagrant-centos64 ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             7.3G 1017M  6.0G  15% /
tmpfs                 246M     0  246M   0% /dev/shm
git                   233G  214G   20G  92% /git
vagrant               233G  214G   20G  92% /vagrant
srv_salt              233G  214G   20G  92% /srv/salt
[vagrant@vagrant-centos64 ~]$
[vagrant@vagrant-centos64 ~]$ cd /git
[vagrant@vagrant-centos64 git]$ ll
total 0
drwxr-xr-x 1 vagrant vagrant 1088 Sep 17 07:34 calamari
drwxr-xr-x 1 vagrant vagrant  952 Sep 17 07:35 Diamond
[vagrant@vagrant-centos64 git]$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;6. Build you Calamari server RPM packages , with the below salt command.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ sudo salt-call state.highstate&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;[vagrant@vagrant-centos64 ~]$ sudo salt-call state.highstate
[INFO    ] Loading fresh modules for state activity
[INFO    ] Creating module dir &#39;/var/cache/salt/minion/extmods/modules&#39;
[INFO    ] Syncing modules for environment &#39;base&#39;
[INFO    ] Loading cache from salt://_modules, for base)

............... Output truncated ................


----------
          ID: cp-artifacts-to-share Diamond/dist/diamond-*.noarch.rpm
    Function: cmd.run
        Name: cp Diamond/dist/diamond-*.noarch.rpm /git/
      Result: True
     Comment: Command &quot;cp Diamond/dist/diamond-*.noarch.rpm /git/&quot; run
     Changes:
              ----------
              pid:
                  28292
              retcode:
                  0
              stderr:

              stdout:


Summary
-------------
Succeeded: 11
Failed:     0
-------------
Total:     11
[vagrant@vagrant-centos64 ~]$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;For brevity the output of above command has been truncated . You can follow the output here&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://paste.ubuntu.com/8363649/&quot; style=&quot;background-color: white; color: #4c94db; cursor: pointer; font-family: arial, verdana, sans-serif; line-height: 22px; text-decoration: none;&quot; target=&quot;_top&quot;&gt;http://paste.ubuntu.com/8363649/&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;7. The output summary confirms that there are 11 Successful and 0 Failed operations . List the directories to find your Calamar Server RPM package. Don&#39;t worry this should be copied to the base&amp;nbsp;directory&amp;nbsp;of&amp;nbsp;your&amp;nbsp;workstation , as the same has been shared and mounted with vagrant instance.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;[vagrant@vagrant-centos64 ~]$ ll
total 14964
drwxr-xr-x 19 vagrant vagrant     4096 Sep 17 08:00 calamari
-rw-r--r--  1 vagrant vagrant 15303265 Sep 17 08:00 calamari-server_1.2.1.tar.gz
drwxr-xr-x 12 vagrant vagrant     4096 Sep 17 07:59 Diamond
drwxr-xr-x  8 vagrant vagrant     4096 Sep 17 08:00 rpmbuild
[vagrant@vagrant-centos64 ~]$
[vagrant@vagrant-centos64 ~]$ cd rpmbuild/
[vagrant@vagrant-centos64 rpmbuild]$
[vagrant@vagrant-centos64 rpmbuild]$
[vagrant@vagrant-centos64 rpmbuild]$ find . -name *.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/sshpass-1.05-1.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/openpgm-5.1.118-3.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/python-msgpack-0.1.13-3.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/salt-2014.1.10-4.el6.noarch.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/PyYAML-3.10-3.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/python-babel-0.9.4-5.1.el6.noarch.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/python-zmq-2.2.0.1-1.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/salt-minion-2014.1.10-4.el6.noarch.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/libyaml-0.1.6-1.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/python-crypto-2.0.1-22.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/zeromq3-3.2.4-1.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/m2crypto-0.20.2-9.el6.x86_64.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/diamond-3.4.67-0.noarch.rpm
./BUILD/calamari-server-1.2.1/repobuild/el6/python-jinja2-2.2.1-2.el6_5.x86_64.rpm
./RPMS/x86_64/calamari-server-1.2.1-29_g9d02dc3.el6.x86_64.rpm
[vagrant@vagrant-centos64 rpmbuild]$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;8. You should now exit from the centos vagrant machine and on your local machine list the directory you would find rpm packages for calamari server and diamond.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;teeri:calamari-repo ksingh$
teeri:calamari-repo ksingh$ ls -la
total 61960
drwxr-xr-x   7 ksingh  wheel       238 Sep 17 11:18 .
drwxrwxrwt  10 root    wheel       340 Sep 17 11:46 ..
drwxr-xr-x  28 ksingh  wheel       952 Sep 17 10:35 Diamond
drwxr-xr-x  32 ksingh  wheel      1088 Sep 17 10:34 calamari
-rw-r--r--   1 ksingh  wheel   7038999 Sep 17 11:18 calamari-repo-el6.tar.gz
-rw-r--r--   1 ksingh  wheel  24082060 Sep 17 11:18 calamari-server-1.2.1-29_g9d02dc3.el6.x86_64.rpm
-rw-r--r--   1 ksingh  wheel    595548 Sep 17 11:18 diamond-3.4.67-0.noarch.rpm
teeri:calamari-repo ksingh$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;9 . At this point you are ready with Calamari server RPM packages. The next step is to build calamari client packages.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 18.6666660308838px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;color: #674ea7; font-size: large; line-height: 17.6000003814697px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 18.6666660308838px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; name=&quot;Building_Calamari_client_packages&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #674ea7; font-size: large; line-height: 17.6000003814697px;&quot;&gt;Building Calamari client packages&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;background-color: white; color: #674ea7; font-family: arial, verdana, sans-serif; font-size: large; line-height: 17.6000003814697px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;The calamari client packages provides the GUI to calamari dashboard. As calamari build process is not greatly matured , we need to use ubuntu vagrant to build client packages. This will generate a tarball of client packages , that you can use with centos&amp;nbsp;machines.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;CentOS / RHEL users : Note , this will not generate any RPM package and you would need to user tarball.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Ubuntu Users: Cheers , you will get DEB packages that you can use directly.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;1. Clone calamari client from github on to your workstation ( the same directory as you were using before ) , and perform&amp;nbsp;vagrant&amp;nbsp;for ubuntu precise VM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #3d85c6; font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;CentOS / RHEL users :&amp;nbsp;Don&#39;t&amp;nbsp;panic , you also have to user ubuntu precise vagrant&amp;nbsp;instance&amp;nbsp;in order&amp;nbsp;to build&amp;nbsp;Calamari client tarball.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Ubuntu Users : No comment for you , please proceed :-)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ cd /tmp/calamari-repo/
$
$ git clone https://github.com/ceph/calamari-clients.git
Cloning into &#39;calamari-clients&#39;...
remote: Counting objects: 16261, done.
remote: Total 16261 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (16261/16261), 28.81 MiB | 4.01 MiB/s, done.
Resolving deltas: 100% (9441/9441), done.
Checking connectivity... done.
&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ ls -la
total 61960
drwxr-xr-x   8 ksingh  wheel       272 Sep 17 12:03 .
drwxrwxrwt  10 root    wheel       340 Sep 17 11:46 ..
drwxr-xr-x  28 ksingh  wheel       952 Sep 17 10:35 Diamond
drwxr-xr-x  32 ksingh  wheel      1088 Sep 17 10:34 calamari
drwxr-xr-x  22 ksingh  wheel       748 Sep 17 12:04 calamari-clients
-rw-r--r--   1 ksingh  wheel   7038999 Sep 17 11:18 calamari-repo-el6.tar.gz
-rw-r--r--   1 ksingh  wheel  24082060 Sep 17 11:18 calamari-server-1.2.1-29_g9d02dc3.el6.x86_64.rpm
-rw-r--r--   1 ksingh  wheel    595548 Sep 17 11:18 diamond-3.4.67-0.noarch.rpm
&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ cd calamari-clients/vagrant/precise-build/
$
$ ls -la
total 16
drwxr-xr-x   4 ksingh  wheel  136 Sep 17 12:04 .
drwxr-xr-x  10 ksingh  wheel  340 Sep 17 12:04 ..
-rw-r--r--   1 ksingh  wheel  789 Sep 17 12:04 README.rst
-rw-r--r--   1 ksingh  wheel  882 Sep 17 12:04 Vagrantfile
$

$ vagrant up
Bringing machine &#39;default&#39; up with &#39;virtualbox&#39; provider...
==&amp;gt; default: Importing base box &#39;precise64&#39;...
==&amp;gt; default: Matching MAC address for NAT networking...
==&amp;gt; default: Setting the name of the VM: precise-build_default_1410947713821_66264
==&amp;gt; default: Clearing any previously set network interfaces...
==&amp;gt; default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==&amp;gt; default: Forwarding ports...
    default: 22 =&amp;gt; 2202 (adapter 1)
==&amp;gt; default: Running &#39;pre-boot&#39; VM customizations...
==&amp;gt; default: Booting VM...
==&amp;gt; default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2202
    default: SSH username: vagrant
    default: SSH auth method: private key
==&amp;gt; default: Machine booted and ready!
==&amp;gt; default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.2.0
    default: VirtualBox Version: 4.3
==&amp;gt; default: Mounting shared folders...
    default: /git =&amp;gt; /private/tmp/calamari-repo
    default: /vagrant =&amp;gt; /private/tmp/calamari-repo/calamari-clients/vagrant/precise-build
    default: /srv/salt =&amp;gt; /private/tmp/calamari-repo/calamari-clients/vagrant/salt/roots
==&amp;gt; default: Running provisioner: salt...
Copying salt minion config to vm.
Checking if salt-minion is installed
salt-minion was not found.
Checking if salt-call is installed
salt-call was not found.
Bootstrapping Salt... (this may take a while)
Salt successfully configured and installed!
run_overstate set to false. Not running state.overstate.
run_highstate set to false. Not running state.highstate.
$
&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
New release &#39;14.04.1 LTS&#39; available.
Run &#39;do-release-upgrade&#39; to upgrade to it.

Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2
vagrant@precise64:~$
vagrant@precise64:~$
vagrant@precise64:~$ df -h
Filesystem                  Size  Used Avail Use% Mounted on
/dev/mapper/precise64-root   79G  2.3G   73G   4% /
udev                        489M  4.0K  489M   1% /dev
tmpfs                       200M  276K  199M   1% /run
none                        5.0M     0  5.0M   0% /run/lock
none                        498M     0  498M   0% /run/shm
/dev/sda1                   228M   25M  192M  12% /boot
git                         233G  216G   17G  93% /git
vagrant                     233G  216G   17G  93% /vagrant
srv_salt                    233G  216G   17G  93% /srv/salt
vagrant@precise64:~$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;2. Install the following dependencies using either aptitude to apt-get&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;vagrant@precise64:~$ sudo apt-get install ruby1.9.1 ruby1.9.1-dev python-software-properties g++ make git debhelper build-essential devscripts
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;3. Install node js from PPA&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ sudo apt-add-repository http://ppa.launchpad.net/chris-lea/node.js/ubuntu
$ sudo apt-get update
$ sudo apt-get install nodejs
$ sudo npm install -g bower@1.3.8
$ sudo npm install -g grunt-cli
$ sudo gem install compass

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;4. Start the build process for Calamari client DEB packages / tarball ( centos / rhel)&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;vagrant@precise64:~$ sudo salt-call state.highstate
[INFO    ] Loading fresh modules for state activity
[INFO    ] Creating module dir &#39;/var/cache/salt/minion/extmods/modules&#39;
[INFO    ] Syncing modules for environment &#39;base&#39;
[INFO    ] Loading cache from salt://_modules, for base)
[INFO    ] Caching directory &#39;_modules/&#39; for environment &#39;base&#39;
[INFO    ] Creating module dir &#39;/var/cache/salt/minion/extmods/states&#39;
[INFO    ] Syncing states for environment &#39;base&#39;
[INFO    ] Loading cache from salt://_states, for base)

................... OUTPUT TRUNCATED ..........................

----------
          ID: copyout_build_product
    Function: cmd.run
        Name: cp calamari-clients*tar.gz /git/
      Result: True
     Comment: Command &quot;cp calamari-clients*tar.gz /git/&quot; run
     Changes:
              ----------
              pid:
                  25090
              retcode:
                  0
              stderr:

              stdout:


Summary
-------------
Succeeded: 13
Failed:     0
-------------
Total:     13
vagrant@precise64:~$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;You can follow the entire output at&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://paste.ubuntu.com/8364367/&quot; style=&quot;background-color: white; color: #4c94db; cursor: pointer; font-family: arial, verdana, sans-serif; line-height: 22px; text-decoration: none;&quot; target=&quot;_top&quot;&gt;http://paste.ubuntu.com/8364367/&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;5. Check the shared filesystem and read my comments against the output.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;vagrant@precise64:~$ df -h
Filesystem                  Size  Used Avail Use% Mounted on
/dev/mapper/precise64-root   79G  3.8G   72G   6% /
udev                        489M  4.0K  489M   1% /dev
tmpfs                       200M  276K  199M   1% /run
none                        5.0M     0  5.0M   0% /run/lock
none                        498M     0  498M   0% /run/shm
/dev/sda1                   228M   25M  192M  12% /boot
git                         233G  219G   15G  94% /git
vagrant                     233G  219G   15G  94% /vagrant
srv_salt                    233G  219G   15G  94% /srv/salt
vagrant@precise64:~$
vagrant@precise64:~$ cd /git/
vagrant@precise64:/git$ ll
total 34324
drwxr-xr-x  1 vagrant vagrant      340 Sep 17 10:37 ./
drwxr-xr-x 25 root    root        4096 Sep 17 09:55 ../
drwxr-xr-x  1 vagrant vagrant     1088 Sep 17 07:34 calamari/                                                                               # git clone of calamari server
drwxr-xr-x  1 vagrant vagrant      748 Sep 17 09:04 calamari-clients/                                                                     # git clone of calamari clients
-rw-r--r--  1 vagrant vagrant  1705158 Sep 17 10:37 calamari-clients_1.2.1-27-g9eb09d5_all.deb                        # package for installation on calamari server if OS is ubuntu
-rw-r--r--  1 vagrant vagrant  1711183 Sep 17 10:37 calamari-clients-build-output.tar.gz  # unpackaged build of calamari-clients , to be added on calamari server if the OS is CentOS
-rw-r--r--  1 vagrant vagrant  7038999 Sep 17 08:18 calamari-repo-el6.tar.gz
-rw-r--r--  1 vagrant vagrant 24082060 Sep 17 08:18 calamari-server-1.2.1-29_g9d02dc3.el6.x86_64.rpm          # package for installation on calamari server
drwxr-xr-x  1 vagrant vagrant      952 Sep 17 07:35 Diamond/                                                                                # git clone of diamond
-rw-r--r--  1 vagrant vagrant   595548 Sep 17 08:18 diamond-3.4.67-0.noarch.rpm                                                # diamond package for use on ceph nodes
vagrant@precise64:/git$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;ecpHeading&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;color: black; line-height: 22px;&quot;&gt;6. At this stage you have Calamari client DEB packages and tarball &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-weight: normal; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;calamari-clients-build-output.tar.gz&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.3333339691162px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; name=&quot;Deploying_Calamari&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephcalamari_6&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Deploying Calamari&lt;a class=&quot;ecpEdit&quot; data-from=&quot;6&quot; data-to=&quot;6&quot; data-topic=&quot;CEPHCalamari&quot; data-web=&quot;Storage/CEPH&quot; href=&quot;https://wiki.csc.fi/wiki/Storage/CEPH/CEPHCalamari#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Deploying Calamari&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Deploying calamari is again a multi step process.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;#1 Install Calamari server packages&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;#2 Add calamari client&amp;nbsp;web app&amp;nbsp;contents to Calamari server&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;#3 Install diamond and salt-minion on Ceph nodes , that you wish to monitor using Calamari dashboard.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 18.6666660308838px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 18.6666660308838px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; name=&quot;Installing_Calamari_Server&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephcalamari_7&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Installing Calamari Server&lt;a class=&quot;ecpEdit&quot; data-from=&quot;7&quot; data-to=&quot;7&quot; data-topic=&quot;CEPHCalamari&quot; data-web=&quot;Storage/CEPH&quot; href=&quot;https://wiki.csc.fi/wiki/Storage/CEPH/CEPHCalamari#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Installing Calamari Server&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Copy the following packages that we have generated in the earlier steps from the workstation to the server that you intend to configure as calamari master.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot; /&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;calamari-server-1.2.1-29_g9d02dc3.el6.x86_64.rpm&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;diamond-3.4.67-0.noarch.rpm&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;calamari-clients-build-output.tar.gz&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Ubuntu Users : Copy the DEB packages of calamari server and client.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;1. Instal the packages on the node that will be your Calamari master.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ sudo yum install -y calamari-server-1.2.1-37_g6f353e6.el6.x86_64.rpm
$ sudo yum install -y diamond-3.4.67-0.noarch.rpm
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;2. Uncompress , untar the files and move it to /opt/calamari/webapp of calamari master . These files provides GUI facility to calamari webapp&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ sudo gunzip calamari-clients-build-output.tar.gz
$ sudo tar -xvf calamari-clients-build-output.tar&lt;/pre&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ cd /tmp/opt/calamari/webapp
$ sudo cp -rp content/ /opt/calamari/webapp/content
$ sudo  ls -l /opt/calamari/webapp/content
total 16
drwxr-xr-x. 7 1000 1000 4096 Sep 23 09:28 admin
drwxr-xr-x. 7 1000 1000 4096 Sep 23 09:28 dashboard
drwxr-xr-x. 7 1000 1000 4096 Sep 23 09:28 login
drwxr-xr-x. 8 1000 1000 4096 Sep 23 09:28 manage
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;3. At this point your calamari server is ready , you just need to initialize calamari by running&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo calamari-ctl initialize&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;[ceph@ceph-node4 calamari]$ sudo calamari-ctl initialize
[INFO] Loading configuration..
[INFO] Starting/enabling salt...
[INFO] Starting/enabling postgres...
[INFO] Initializing database...
[INFO] Initializing web interface...
[INFO] You will now be prompted for login details for the administrative user account.  This is the account you will use to log into the web interface once setup is complete.
Username (leave blank to use &#39;root&#39;):
Email address: karan.singh@csc.fi
Password:
Password (again):
Superuser created successfully.
[INFO] Starting/enabling services...
[INFO] Restarting services...

.................................. Output Truncated ...............
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;This username and password would be required to login to Calamari dashboard.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;4. Openup browser and navigate to the IP address of your calamari server. You would see calamari dashboard login page , provide the login details that we have set in the last step.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUy9apNVdA1uSXWWDRemIOgo4dIRpfyHbkUCYVQ3FKeGnjdSpojSOI2qHB1XTvpgtN7dGr9VpmjIZAps-Gk8gTHEjfhUgbzUQ0jQUUB1jpqMQW4FXJxsj5vO7Hqb1P7rPfwQy15RKI64s/s1600/Snap+2014-09-23+at+16.28.09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ceph Calamari : Karan Singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUy9apNVdA1uSXWWDRemIOgo4dIRpfyHbkUCYVQ3FKeGnjdSpojSOI2qHB1XTvpgtN7dGr9VpmjIZAps-Gk8gTHEjfhUgbzUQ0jQUUB1jpqMQW4FXJxsj5vO7Hqb1P7rPfwQy15RKI64s/s1600/Snap+2014-09-23+at+16.28.09.png&quot; height=&quot;187&quot; title=&quot;Ceph Calamari : Karan Singh&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;5 Calamari would not be able to find the Ceph cluster and will ask to add a cluster , for this we need to add Ceph clients to dashboard by installing salt-minion and diamond packages on them.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTWzF2oeRLFQBwZtu-2jZxvUw0jZKOvSIyigRL1MoVDmBTZA-CwXEUIKE8FfkDtS58oeK4FyV5AzlwRzl3BlTZaZwduhhx5dJNgZSave-1D1D77AKcvValgf5S97Oqn0dCESlRZPf_G2c/s1600/Snap+2014-09-23+at+14.32.56.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ceph Calamari : Karan Singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTWzF2oeRLFQBwZtu-2jZxvUw0jZKOvSIyigRL1MoVDmBTZA-CwXEUIKE8FfkDtS58oeK4FyV5AzlwRzl3BlTZaZwduhhx5dJNgZSave-1D1D77AKcvValgf5S97Oqn0dCESlRZPf_G2c/s1600/Snap+2014-09-23+at+14.32.56.png&quot; height=&quot;217&quot; title=&quot;Ceph Calamari : Karan Singh&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 18.6666660308838px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 18.6666660308838px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; name=&quot;Installing_Calamari_client&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephcalamari_8&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Adding your Ceph cluster nodes to Calamari Dashboard&lt;a class=&quot;ecpEdit&quot; data-from=&quot;8&quot; data-to=&quot;8&quot; data-topic=&quot;CEPHCalamari&quot; data-web=&quot;Storage/CEPH&quot; href=&quot;https://wiki.csc.fi/wiki/Storage/CEPH/CEPHCalamari#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Installing Calamari client&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Perform the following steps on all your Ceph cluster nodes, inorder to add them to Calamari dashboard.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;1. Install diamond packages that we have build already (&amp;nbsp;previous&amp;nbsp;steps )&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo yum install -y diamond-3.4.67-0.noarch.rpm&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;2. Create a default diamond configuration file.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo mv /etc/diamond/diamond.conf.example /etc/diamond/diamond.conf&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;3. Install salt-minion packages&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo yum install -y salt-minion&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo chkconfig salt-minion on&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Ubuntu Users : Use ubuntu package manager for installing salt-minion&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;4. Configure salt-minion , so that it can reach to Calamari master.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Edit /etc/salt/minion and add your calamari server hostname.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;master: ceph-node4
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;5. Restart services&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo service salt-minion restart&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo service diamond restart&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;6. Repeat these steps for all the Ceph cluster nodes&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 18.6666660308838px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;a href=&quot;https://draft.blogger.com/null&quot; name=&quot;Adding_Ceph_cluster_to_calamari&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephcalamari_9&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Authorize Ceph cluster to add in calamari&lt;a class=&quot;ecpEdit&quot; data-from=&quot;9&quot; data-to=&quot;9&quot; data-topic=&quot;CEPHCalamari&quot; data-web=&quot;Storage/CEPH&quot; href=&quot;https://wiki.csc.fi/wiki/Storage/CEPH/CEPHCalamari#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Adding Ceph cluster to calamari&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;Once you configure all the Ceph cluster nodes with salt-minion and diamond, you need to accept salt-keys from calamari master&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;1. From calamari master check for unaccepted salt-keys.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;$ sudo salt-key -L&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ sudo salt-key -L
Accepted Keys:
Unaccepted Keys:
ceph-node1
ceph-node2
ceph-node3
Rejected Keys:
$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;2. Accept salt-keys&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background: rgb(237, 237, 235); border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;$ sudo salt-key -A
The following keys are going to be accepted:
Unaccepted Keys:
ceph-node1
ceph-node2
ceph-node3
Proceed? [n/Y] y
Key for minion ceph-node1 accepted.
Key for minion ceph-node2 accepted.
Key for minion ceph-node3 accepted.

$ sudo salt-key -L
Accepted Keys:
ceph-node1
ceph-node2
ceph-node3
Unaccepted Keys:
Rejected Keys:
$
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; line-height: 22px;&quot;&gt;3. Finally check calamari dashboard , you should be able to view the Ceph cluster.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw14kBB0u2R102ATkwn983kyImcIioh8ojqvFtyqa40TnsCVLtwbhqZDCg2W9zLWcjfAtUH1okppxL-Tr9gMlde1q3RkOaJapME-20cxPP_pO0w-nYVSfCZB47ru9v0glgbA3P5liWV-Y/s1600/Snap+2014-09-23+at+15.15.18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ceph Calamari : Karan Singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw14kBB0u2R102ATkwn983kyImcIioh8ojqvFtyqa40TnsCVLtwbhqZDCg2W9zLWcjfAtUH1okppxL-Tr9gMlde1q3RkOaJapME-20cxPP_pO0w-nYVSfCZB47ru9v0glgbA3P5liWV-Y/s1600/Snap+2014-09-23+at+15.15.18.png&quot; height=&quot;158&quot; title=&quot;Ceph Calamari : Karan Singh&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgTb6odGQ9Ro10vxx44F1hUW6-lylEZZbDLFvWD1DIS8CIL4NCIALU4tXLlh-BCIyYe9y8UGGLn8lTumbXRNk7J4dieag9TxIu9LzqaPBNWPftnFHhln0DvDkanly1ZffaIZWYLyA5YJM/s1600/Snap+2014-09-23+at+15.50.12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ceph Calamari : Karan Singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgTb6odGQ9Ro10vxx44F1hUW6-lylEZZbDLFvWD1DIS8CIL4NCIALU4tXLlh-BCIyYe9y8UGGLn8lTumbXRNk7J4dieag9TxIu9LzqaPBNWPftnFHhln0DvDkanly1ZffaIZWYLyA5YJM/s1600/Snap+2014-09-23+at+15.50.12.png&quot; height=&quot;388&quot; title=&quot;Ceph Calamari : Karan Singh&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8U193GTdd83mC4iZm0YkBQV79XM486I48JgR2f-TS3-BovBQlNSawN9xqbQOEuYEH5_wzJ-MqX5Lu1O5xzxsqw-hh0L68HNlQy5ITkFgzG1h85kfWKO0eJJ9uK2SDHilrnT7s93iLI68/s1600/Snap+2014-09-23+at+17.58.04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ceph Calamari : Karan Singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8U193GTdd83mC4iZm0YkBQV79XM486I48JgR2f-TS3-BovBQlNSawN9xqbQOEuYEH5_wzJ-MqX5Lu1O5xzxsqw-hh0L68HNlQy5ITkFgzG1h85kfWKO0eJJ9uK2SDHilrnT7s93iLI68/s1600/Snap+2014-09-23+at+17.58.04.png&quot; height=&quot;272&quot; title=&quot;Ceph Calamari : Karan Singh&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlGHgji6zYOl99t0jFK-QfCWb2zng72Ed12s-RmiZwbC84fotKz3kF-QpvRUwhysndT126DHJ76_9mSLYe1e3UXVSiFCkAxrgIRubQHwLMnDCGmxtnoyDWze8IcO2OEJuZCB_soNGcOE8/s1600/Snap+2014-09-23+at+15.17.12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ceph Calamari : Karan Singh&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlGHgji6zYOl99t0jFK-QfCWb2zng72Ed12s-RmiZwbC84fotKz3kF-QpvRUwhysndT126DHJ76_9mSLYe1e3UXVSiFCkAxrgIRubQHwLMnDCGmxtnoyDWze8IcO2OEJuZCB_soNGcOE8/s1600/Snap+2014-09-23+at+15.17.12.png&quot; height=&quot;364&quot; title=&quot;Ceph Calamari : Karan Singh&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2014/09/ceph-calamari-survival-guide.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkGjWuAc86BfHh9XuY-qBHpWRTtzB2As7LtCEoi3O1Nel-mdEXr-RtPHYjUO2cWKssxceB-92kv-GmTw2WsJpsRGfgaWd6vRqbe8Uw8CuQFgIUDfo1uC2oLgWzFUwfCPnzR8R8ywtC8Ao/s72-c/Snap+2014-09-23+at+16.28.09.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Espoo, Finland</georss:featurename><georss:point>60.2054911 24.655900100000053</georss:point><georss:box>59.7005586 23.365006600000054 60.710423600000006 25.946793600000053</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-6567006965323781787</guid><pubDate>Tue, 08 Apr 2014 16:53:00 +0000</pubDate><atom:updated>2014-04-14T00:49:42.035-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph erasure coding</category><category domain="http://www.blogger.com/atom/ns#">erasure coding</category><category domain="http://www.blogger.com/atom/ns#">erasure coding in ceph</category><category domain="http://www.blogger.com/atom/ns#">erasure-code</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">planet</category><category domain="http://www.blogger.com/atom/ns#">reliability</category><title>Erasure Coding in Ceph</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.600000381469727px; font-weight: normal; line-height: 1.1em; margin-top: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;line-height: 1.1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.600000381469727px; font-weight: normal; line-height: 1.1em; margin-top: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;line-height: 1.1em;&quot;&gt;Erasure Coding : All you have to know&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://karan-mj.blogspot.fi/2014/04/erasure-coding-in-ceph.html&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf7d7563DedThnCpxgKr69CjKCBFvkGGYjY94YTuCul13VDZ_VDP5-THPiOBQq8XRApjLGpBEY7SeogIkoXwB67YqeOMQfOcnSFQ2FyeAtDzqtZ8eq6lcDL3X7v6gEO06oqSyakJ3Pr1w/s1600/Erasure-code.png&quot; height=&quot;392&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;If there is data , there would be failure and there will also be&amp;nbsp;administrators like us to recover this data and Erasure Coding is our shield.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Storage systems have technologies for data protection and recovery in event of failure. There are &lt;strike&gt;two&lt;/strike&gt;&amp;nbsp;three main methods of data protection :-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;1) Replication&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;2)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;RAID&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Hey wait a minute , here comes the &lt;/span&gt;&lt;span style=&quot;color: purple; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;LEGEN&lt;/i&gt; ( wait for it ... ) &lt;i&gt;DARY : Legendary&lt;/i&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;number 3&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;3) Erasure Coding&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;First of all Erasure Coding is not now , it was born before RAID and Replication methods but it was not in practical use. Raid is now in its concluding years. Raid method of data protection was built years and years back when it was difficult to find a HDD with capacity of 1 GB . In the period of last 30 years drive capacity has been increased 4000 folds. With this&amp;nbsp;appreciation&amp;nbsp;drive consistency and&amp;nbsp;durability&amp;nbsp;is still a problem. Raid&amp;nbsp;was not supposed&amp;nbsp;to give you data protection for a exabyte level storage array , its simply not designed for Future. We need a data protection method which is highly adaptive and ready for future needs. Back to basics Erasure Codes is the answer.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Erasure coding (EC) is a method of data protection in which data is broken into fragments , encoded and then storage in a distributed&amp;nbsp;manner. Ceph , due to its distributed nature , makes use of EC beautifully.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Erasure coding makes use of a mathematical equation to achieve data protection. The entire concept revolves around the following equation.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;n = k&amp;nbsp;+ m&lt;/b&gt; &amp;nbsp;where ,&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;k&lt;/b&gt; &amp;nbsp;= &amp;nbsp;The number of chunks original data divided into.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;i&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;b&gt;m &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;= &amp;nbsp;The extra codes added to original data chunks to provide data protection. For ease of understanding you can considered it as reliability&amp;nbsp;level.&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;n &lt;/b&gt;&amp;nbsp;= &amp;nbsp;The total number of chunks created after erasure coding process.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;In&amp;nbsp;continuation&amp;nbsp;to erasure coding equation , there are couple of more terms which are :-&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;Recovery : &lt;/b&gt;To perform recovery operation we would require any &lt;b&gt;k&lt;/b&gt; chunks out of &lt;b&gt;n&lt;/b&gt; chunks and thus can tolerate failure of any &lt;b&gt;m&lt;/b&gt; chunks&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; font-weight: bold; line-height: 22px;&quot;&gt;&lt;i&gt;Reliability&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;Level : &lt;/b&gt;We can tolerate failure upto any &lt;b&gt;m&lt;/b&gt; chunks.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;Encoding Rate (r) : r = k / n , where r &amp;lt; 1&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;&lt;b&gt;Storage Required : 1 / r&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #339900;&quot;&gt;Example 1 : &lt;/span&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;3,5) Erasure Code for any data file would look like&lt;/span&gt;&lt;/h2&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;n = 5 , k = 3 and m = 2 &amp;nbsp;( m = n - k )&lt;/span&gt;&lt;/h2&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Erasure coding equation &amp;nbsp;5 = 3&amp;nbsp;+ 2&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;So &amp;nbsp;2 &amp;nbsp;coded chunks will be added to 3 data chunks to form 5 total chunks that will be stored distributedly in ceph cluster. In an event of failure , to construct the original file , we need any 3 chunks out of these 5 chunks to recover it. Hence in this example we can manage loss of any 2 chunks.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Encoding rate (r) = 3 / 5 = 0.6 &amp;lt; 1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Storage Required = 1 / 0.6 = 1.6 times of original file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;If the original file size is 1GB then to store this file in a ceph cluster erasure coded (3,5) pool , you would need 1.6GB of storage space.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #339900;&quot;&gt;Example 2 :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;(10,6) Erasure Code for any data file would look like&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;n = 16 , k = 10 , m = 6&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Encoding rate (r) = 10 / 16 = 0.6 &amp;lt; 1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Storage Required = 1 / 0.6 = 1.6 times of original file.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: #339900;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;This erasure code can sustain failure of any 6 chunks out of 16 chunks , in an event of failure for recovery we would need any 10 chunks out of 16 chunks.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.600000381469727px; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;line-height: 1.1em;&quot;&gt;Erasure Codes Step - by - Step&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;line-height: 1.1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Step 1 : Understanding EC profile&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;When you look at EC profile , you would come across few options that defines EC pattern for that profile.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;b&gt;k &lt;/b&gt;&amp;nbsp; ===&amp;gt; As explained earlier , its the number of chunks data will be divided into and each chunk will &amp;nbsp; &amp;nbsp; be stored on a separate OSD. The equivalent command line parameter for this is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;erasure-code-k=&amp;lt;Number_of_data_chunks&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Default value = 2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;m&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&amp;nbsp; ===&amp;gt; The number of extra codes (chunks) added to data chunks to provide&amp;nbsp;reliability. This is also &amp;nbsp; the number of OSD that can go down without&amp;nbsp;losing&amp;nbsp;data.&amp;nbsp;Also know as&amp;nbsp;reliability&amp;nbsp;level. The equivalent&amp;nbsp;command&amp;nbsp;line parameter for this is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;erasure-code-m=&amp;lt;Number_of_coding_chunks&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Default value = 1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;b style=&quot;font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;plugin&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&amp;nbsp; ===&amp;gt; This is the library&amp;nbsp;facilitation&amp;nbsp;erasure coding in Ceph. The plugin is used to compute the &amp;nbsp;coding chunks and recover missing chunks. The current implementation uses &lt;i&gt;jerasure&lt;/i&gt; but the upcoming version might use &lt;i&gt;GF-complete &lt;/i&gt;as its twice as faster as &amp;nbsp;&lt;i&gt;jerasure.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;The equivalent&amp;nbsp;command&amp;nbsp;line parameter for this is&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;erasure-code-plugin=&amp;lt;plugin_name&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Default value = 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b style=&quot;font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;directory &amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;===&amp;gt; The directory name from where EC plugin library will loaded from. In most of the cases this&amp;nbsp;parameter&amp;nbsp;is automatically added once you define plugin name .&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;The equivalent&amp;nbsp;command&amp;nbsp;line parameter for this is&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;erasure-code-directory=&amp;lt;directory_path&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Default value =&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;/usr/lib64/ceph/erasure-code&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b style=&quot;font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;ruleset-failure-domain &amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;===&amp;gt; Defines the failure domain , you should set it as OSD to get better&amp;nbsp;reliability&amp;nbsp;for your data.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Default value =&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;host&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Step 2 : Generating a EC profile&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph osd erasure-code-profile set EC-temp-pool&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph osd erasure-code-profile ls
EC-temp-pool
profile1
#&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# ceph osd erasure-code-profile get EC-temp-pool
directory=/usr/lib64/ceph/erasure-code
k=2
m=1
plugin=jerasure
technique=reed_sol_van
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Step 3 : Customizing your EC profile&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;We can use sub command set , to&amp;nbsp;change&amp;nbsp;existing profile , however we might need to user --force to change a profile. This can be a dangerous.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;In this example we will change value of k=4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: arial, verdana, sans-serif; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: black; font-family: arial, verdana, sans-serif; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; list-style: disc; margin: 0.5em 0px; orphans: auto; padding: 0px 2.5em; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&lt;/ul&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; orphans: auto; padding: 1em; text-align: left; text-indent: 0px; widows: auto; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# ceph osd erasure-code-profile set EC-temp-pool ruleset-failure-domain=osd k=4 m=2
Error EPERM: will not override erasure code profile EC-temp-pool&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; orphans: auto; padding: 1em; text-align: left; text-indent: 0px; widows: auto; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# ceph osd erasure-code-profile set EC-temp-pool ruleset-failure-domain=osd k=4 m=2 --force&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; margin-bottom: 1em; margin-top: 1em; orphans: auto; padding: 1em; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; width: auto; word-spacing: 0px; word-wrap: break-word;&quot;&gt;# ceph osd erasure-code-profile get EC-temp-pool
directory=/usr/lib64/ceph/erasure-code
k=4
m=2
plugin=jerasure
ruleset-failure-domain=osd
technique=reed_sol_van
#&lt;/pre&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Similarly you can&amp;nbsp;change&amp;nbsp;other parameter based on your needs.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;font-family: arial, verdana, sans-serif; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;Step 4 : Creating a EC Ceph Pool based on your profile&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;i&gt;Ceph osd pool create &amp;lt;Pool_name&amp;gt; &amp;lt;pg_num&amp;gt; &amp;lt;pgp_num&amp;gt; erasure &amp;lt;EC_profile_name&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph osd pool create ECtemppool 128 128 erasure EC-temp-pool
pool &#39;ECtemppool&#39; created
#&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# rados lspools
data
metadata
rbd
ECtemppool
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# ceph osd dump | grep -i erasure
pool 22 &#39;ECtemppool&#39; erasure size 6 min_size 2 crush_ruleset 1 object_hash rjenkins pg_num 128 pgp_num 128 last_change 2034 owner 0 flags hashpspool stripe_width 4096
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #0b5394; font-family: arial, verdana, sans-serif; line-height: 26.399999618530273px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 5 : Writing your EC pool&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Create a temporary file&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# echo &quot;Erasure Coding is ******* Awesome&quot; &amp;gt; testfile
#
# cat testfile
Erasure Coding is ******* Awesome
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;List your pool for objects , since you have created a new pool , there would be no objects inside it. Put the test file to your EC pool.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# rados -p ECtemppool ls
#
# rados -p ECtemppool put object.1 testfile
#
# rados -p ECtemppool ls
object.1
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Check PG map for your pool , you would get to know on how many OSD this &lt;i&gt;object.1 &lt;/i&gt;has been placed.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;If you analyze carefully , you can find that the object.1 has been placed in 6 different OSD , this is due to our erasure code profile where we have mentioned k=4 and m=2 , so total chunks are 6 which will be placed on all different OSD&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# ceph osd map ECtemppool object.1
osdmap e2067 pool &#39;ECtemppool&#39; (22) object &#39;object.1&#39; -&amp;gt; pg 22.f560f2ec (22.2ec) -&amp;gt; up ([144,39,55,15,123,65], p144) acting ([144,39,55,15,123,65], p144)
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Now you are a reliable erasure coded pool that can sustain failure of &amp;nbsp;two OSD simultaneously.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.600000381469727px; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;line-height: 1.1em;&quot;&gt;Erasure Codes are 100% Authentic :-&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;line-height: 1.1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Upto this point you have a erasure coded pool (4,2) , meaning it can sustain simultaneously 2 OSD failure.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;From the above output these are the 6 OSD on which the file &quot;testfile&quot; has been spread =&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #ededeb; color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: x-small; line-height: 22px; white-space: pre-wrap;&quot;&gt;[144,39,55,15,123,65]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #ededeb; color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: x-small; line-height: 22px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: arial, verdana, sans-serif; line-height: 26.399999618530273px;&quot;&gt;Test 1 : Intentionally Breaking OSD to test EC&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0b5394; font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 26.399999618530273px;&quot;&gt;reliability&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Breaking 1st OSD ( osd.65 )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# service ceph status osd.65
=== osd.65 ===
osd.65: running {&quot;version&quot;:&quot;0.79-125-gcf69bdb&quot;}
#
#
# service ceph stop osd.65
=== osd.65 ===
Stopping Ceph osd.65 on storage0106-ib...kill 3505...done
#
# service ceph status osd.65
=== osd.65 ===
osd.65: not running.
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Since osd.65 is down , it would be missing from&amp;nbsp;following&amp;nbsp;output&amp;nbsp;, rather you would find some&amp;nbsp;garbage&amp;nbsp;entry &quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;2147483647 &quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# ceph osd map ECtemppool object.1
osdmap e2069 pool &#39;ECtemppool&#39; (22) object &#39;object.1&#39; -&amp;gt; pg 22.f560f2ec (22.2ec) -&amp;gt; up ([144,39,55,15,123,2147483647], p144) acting ([144,39,55,15,123,2147483647], p144)
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Breaking 2nd OSD&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;( osd.123 )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;#
# service ceph status osd.123
=== osd.123 ===
osd.123: running {&quot;version&quot;:&quot;0.79-125-gcf69bdb&quot;}
#
# service ceph stop  osd.123
=== osd.123 ===
Stopping Ceph osd.123 on storage0114-ib...kill 5327...done
#
# service ceph status  osd.123
=== osd.123 ===
osd.123: not running.
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Now the second osd.123 is down , it would be missing from&amp;nbsp;following&amp;nbsp;output&amp;nbsp;, like osd.65 but here comes the &lt;b&gt;MAGIC&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #a64d79; font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;b&gt;Erasure codings are intelligent , it know when you lose data or coding chunks of a file. As soon as chunks are lost , it immediately create exactly same on to new OSD. In this example you can see , OSD.65 and OSD.123 went down , so ceph intelligently recovers the failed chunk on to OSD.85 ( which is a new OSD )&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Bitstream Vera Sans Mono, Andale Mono, Courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px; white-space: pre-wrap;&quot;&gt;# ceph osd map ECtemppool object.1
osdmap e2104 pool &#39;ECtemppool&#39; (22) object &#39;object.1&#39; -&amp;gt; pg 22.f560f2ec (22.2ec) -&amp;gt; up ([144,39,55,15,2147483647,85], p144) acting ([144,39,55,15,2147483647,85], p144)
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2 class=&quot;TML&quot; style=&quot;color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.600000381469727px; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;line-height: 1.1em;&quot;&gt;Summary :&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;Erasure coding is a beautiful&amp;nbsp;piece&amp;nbsp;of reliable solution and&amp;nbsp;works&amp;nbsp;amazingly well, it intelligently&amp;nbsp;manages&amp;nbsp;the&amp;nbsp;failed chunks and tries to recover them&amp;nbsp;wherever&amp;nbsp;possible&amp;nbsp;without any administrative intervention. This makes ceph MORE and MORE reliable , amazingly cost effective. EC feature in ceph has been recently added starting 0.78 release , we can&amp;nbsp;definitely&amp;nbsp;expect more stable&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: 14.399999618530273px; line-height: 22px;&quot;&gt;and performance centric version of EC in Ceph Firefly 0.80. Stay tuned.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2014/04/erasure-coding-in-ceph.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf7d7563DedThnCpxgKr69CjKCBFvkGGYjY94YTuCul13VDZ_VDP5-THPiOBQq8XRApjLGpBEY7SeogIkoXwB67YqeOMQfOcnSFQ2FyeAtDzqtZ8eq6lcDL3X7v6gEO06oqSyakJ3Pr1w/s72-c/Erasure-code.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Espoo, Finland</georss:featurename><georss:point>60.2054911 24.655900100000053</georss:point><georss:box>59.7005586 23.365006600000054 60.710423600000006 25.946793600000053</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-3066906511642587529</guid><pubDate>Sat, 08 Mar 2014 20:21:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.541-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">planet</category><category domain="http://www.blogger.com/atom/ns#">replacing disk in ceph</category><title>Admin Guide :: Replacing a Failed Disk in a Ceph Cluster</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.600000381469727px; font-weight: normal; line-height: 1.1em; margin-top: 0px; text-align: center;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.600000381469727px; font-weight: normal; line-height: 1.1em; margin-top: 0px; text-align: center;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_storage_ceph_cephadministration_2&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Replacing a Failed Disk from Ceph a Cluster&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 22px;&quot;&gt;Do you have a ceph cluster , great , you are awesome ; so very soon you would face this .&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Check your cluster health&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph status
  cluster c452b7df-0c0b-4005-8feb-fc3bb92407f5

   health HEALTH_WARN 6 pgs peering; 6 pgs stale; 6 pgs stuck inactive; 6 pgs stuck stale; 6 pgs stuck unclean; 2 requests are blocked &amp;gt; 32 sec

   monmap e6: 3 mons at {node01-ib=10.168.100.101:6789/0,node06-ib=10.168.100.106:6789/0,node11-ib=10.168.100.111:6789/0}, election epoch 2

830, quorum 0,1,2 node01-ib,node06-ib,node11-ib

   mdsmap e58: 1/1/1 up {0=node01-ib=up:active}

   osdmap e8871: 153 osds: 152 up, 152 in

   pgmap v1409465: 66256 pgs, 30 pools, 201 TB data, 51906 kobjects

      90439 GB used, 316 TB / 413 TB avail

        66250 active+clean

          6 stale+peering

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Login to any ceph node and search for failed disk&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;#ceph osd tree | grep -i down

9 2.63 osd.9 up 1

17 2.73 osd.17 up 1

30 2.73 osd.30 up 1

53 2.73 osd.53 up 1

65 2.73 osd.65 up 1

78 2.73 osd.78 up 1

89 2.73 osd.89 up 1

99 2.73 osd.99 down 0

113 2.73 osd.113 up 1

128 2.73 osd.128 up 1

141 2.73 osd.141 up 1
&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Now you have identified which node&#39;s OSD is failed and what&#39;s the OSD number. Login to that node and check if that OSD is mounted , IT would be NOT ( as its failed )&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# df -h

Filesystem      Size Used Avail Use% Mounted on

/dev/sda1       47G 6.0G 38G 14% /

tmpfs         12G  0 12G 0% /dev/shm

/dev/sdd1      2.8T 197G 2.5T 8% /var/lib/ceph/osd/ceph-30

/dev/sde1      2.8T 172G 2.6T 7% /var/lib/ceph/osd/ceph-53

/dev/sdc1      2.8T 264G 2.5T 10% /var/lib/ceph/osd/ceph-17

/dev/sdh1      2.8T 227G 2.5T 9% /var/lib/ceph/osd/ceph-89

/dev/sdf1      2.8T 169G 2.6T 7% /var/lib/ceph/osd/ceph-65

/dev/sdi1      2.8T 150G 2.6T 6% /var/lib/ceph/osd/ceph-113

/dev/sdb1      2.7T 1.3T 1.3T 51% /var/lib/ceph/osd/ceph-9

/dev/sdj1      2.8T 1.6T 1.2T 58% /var/lib/ceph/osd/ceph-128

/dev/sdg1      2.8T 237G 2.5T 9% /var/lib/ceph/osd/ceph-78

/dev/sdk1      2.8T 1.5T 1.3T 53% /var/lib/ceph/osd/ceph-141

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Go to your datacenter with a new physical drive and replace the drive physically , i assume depending on enterprise server that you are using it should be hot swappable , These days almost all servers support hot swapping of disks , but still you should check for your server model . In this example i was using HPDL380 server.&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Once you have replaced the drive physically , wait for some time so that new drive gets stable.&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Login to your node and make OSD out from cluster . Please remember , the OSD was already DOWN and OUT as soon as disk was failed . Ceph takes care of OSD and if its not available it marks it down and moves it out of cluster.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph osd out osd.99

osd.99 is already out.

#

# service ceph stop osd.99

/etc/init.d/ceph: osd.99 not found (/etc/ceph/ceph.conf defines osd.9 osd.30 osd.17 osd.128 osd.65 osd.141 osd.89 osd.53 osd.113 osd.78 , /var/lib/ceph defines osd.9 osd.30 osd.17 osd.128 osd.65 osd.141 osd.89 osd.53 osd.113 osd.78)

#

# service ceph status osd.99

/etc/init.d/ceph: osd.99 not found (/etc/ceph/ceph.conf defines osd.9 osd.30 osd.17 osd.128 osd.65 osd.141 osd.89 osd.53 osd.113 osd.78 , /var/lib/ceph defines osd.9 osd.30 osd.17 osd.128 osd.65 osd.141 osd.89 osd.53 osd.113 osd.78)

#

# service ceph status

=== osd.9 ===

osd.9: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.30 ===

osd.30: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.17 ===

osd.17: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.128 ===

osd.128: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.65 ===

osd.65: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.141 ===

osd.141: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.89 ===

osd.89: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.53 ===

osd.53: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.113 ===

osd.113: running {&quot;version&quot;:&quot;0.72.1&quot;}

=== osd.78 ===

osd.78: running {&quot;version&quot;:&quot;0.72.1&quot;}

#

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Now remove this failed OSD from Crush Map , as soon as its removed from crush map , ceph starts making PG copies that were located on this failed disk and it places these PG on other disks. So a recovery process will start.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph osd crush remove osd.99

removed item id 99 name &#39;osd.99&#39; from crush map

# ceph status

  cluster c452b7df-0c0b-4005-8feb-fc3bb92407f5

   health HEALTH_WARN 43 pgs backfill; 56 pgs backfilling; 9 pgs peering; 82 pgs recovering; 6 pgs stale; 6 pgs stuck inactive; 6 pgs stuck stale; 192 pgs st

uck unclean; 4 requests are blocked &amp;gt; 32 sec; recovery 373488/106903578 objects degraded (0.349%)

   monmap e6: 3 mons at {node01-ib=10.168.100.101:6789/0,node06-ib=10.168.100.106:6789/0,node11-ib=10.168.100.111:6789/0}, election epoch 2

836, quorum 0,1,2 node01-ib,node06-ib,node11-ib

   mdsmap e58: 1/1/1 up {0=node01-ib=up:active}

   osdmap e8946: 153 osds: 152 up, 152 in

   pgmap v1409604: 66256 pgs, 30 pools, 201 TB data, 51916 kobjects

   1 
      1 GB used, 316 TB / 413 TB avail

   1 
      1 /106903578 objects degraded (0.349%)

          1 active

        66060 active+clean

   1 
      1 
         1 active+remapped+wait_backfill

          3 peering

          1 active+remapped

   1 
      1 
         1 active+remapped+backfilling

          6 stale+peering

          4 active+clean+scrubbing+deep

   1 
      1 
         1 active+recovering

recovery io 159 MB/s, 39 objects/s
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;(optional) Check disk statistics , it looks nice and after some times ( depending on data that your FAILED disk holds ) it completes&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# dstat 10

----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--

usr sys idl wai hiq siq| read writ| recv send| in out | int csw

 2 3 95 1 0 0|2223k 5938k| 0  0 |1090B 2425B|5853  11k

 14 58 1 25 0 2| 130M 627M| 219M 57M|6554B  0 | 28k 111k

 14 57 1 26 0 2| 106M 743M| 345M 32M| 0 4096B| 35k 73k

 13 61 1 23 0 2| 138M 680M| 266M 67M| 83k  0 | 31k 82k

 14 52 1 31 0 2| 99M 574M| 230M 32M| 48k 6963B| 27k 78k

 14 51 2 31 0 2| 99M 609M| 291M 31M| 0  0 | 29k 83k

 11 57 1 28 0 2| 118M 636M| 214M 57M|9830B  0 | 26k 92k

 12 49 4 34 0 1| 97M 432M| 166M 48M| 35k  0 | 22k 100k

 13 44 3 38 0 1| 95M 422M| 183M 46M| 0  0 | 22k 88k

 13 52 3 30 0 2| 96M 510M| 207M 44M| 0  0 | 25k 109k

 14 49 3 32 0 2| 96M 568M| 276M 37M| 16k  0 | 27k 72k

 9 54 4 31 0 2| 109M 520M| 136M 45M| 0  0 | 20k 89k

 14 44 5 35 0 1| 76M 444M| 192M 13M| 0  0 | 22k 54k

 15 47 3 34 0 2| 101M 452M| 141M 20M|3277B 13k| 21k 79k

 17 48 3 31 0 1| 108M 445M| 181M 16M| 0 200k| 23k 69k

 17 48 3 30 0 1| 154M 406M| 138M 23M| 0  0 | 21k 75k

 17 53 3 27 0 1| 169M 399M| 115M 23M| 0 396k| 21k 81k

 13 45 4 36 0 1| 161M 330M| 131M 20M| 0 397k| 20k 90k

 11 51 5 33 0 1| 116M 416M| 145M 1177k| 0 184k| 20k 69k

 14 50 4 31 0 1| 144M 376M| 124M 8752k| 0  0 | 20k 72k

 14 42 6 37 0 1| 142M 340M| 138M 19M| 0  0 | 19k 79k

 15 47 6 32 0 1| 111M 427M| 129M 11M| 0 819B| 19k 66k

 15 50 5 29 0 1| 163M 413M| 139M 5709k| 58k  0 | 20k 90k

 14 49 4 32 0 1| 155M 395M| 91M 12M| 0  0 | 18k 93k

 18 43 7 31 0 1| 166M 338M| 84M 6493k| 0  0 | 17k 81k

 14 49 5 32 0 1| 179M 335M| 98M 3824k| 0  0 | 18k 91k

 13 46 9 31 0 1| 157M 299M| 72M 14M| 0  0 | 17k 125k

 17 42 9 30 0 1| 188M 269M| 82M 11M| 16k  0 | 16k 102k

 22 35 15 27 0 1| 158M 167M|8932k 287k| 0  0 | 13k 88k

 7 20 46 26 0 0| 118M 12M| 250k 392k| 0  82k|9333  61k

 7 17 60 16 0 0| 124M 1638B| 236k 225k| 0  0 |7512  64k

 7 16 63 14 0 0| 117M 1005k| 247k 238k| 0  0 |7429  60k

 3 9 82 5 0 0| 41M 17M| 225k 225k| 0  0 |6049  27k

 4 8 81 7 0 0| 56M 7782B| 227k 225k| 0 6144B|5933  33k

 4 9 79 7 0 0| 60M 9011B| 248k 245k| 0 9011B|6457  36k

 4 9 79 7 0 0| 58M 236k| 231k 230k| 0  14k|6210  35k

# ceph status

  cluster c452b7df-0c0b-4005-8feb-fc3bb92407f5

   health HEALTH_WARN 6 pgs peering; 6 pgs stale; 6 pgs stuck inactive; 6 pgs stuck stale; 6 pgs stuck unclean; 2 requests are blocked &amp;gt; 32 sec

   monmap e6: 3 mons at {node01-ib=10.168.100.101:6789/0,node06-ib=10.168.100.106:6789/0,node11-ib=10.168.100.111:6789/0}, election epoch 2

836, quorum 0,1,2 node01-ib,node06-ib,node11-ib

   mdsmap e58: 1/1/1 up {0=node01-ib=up:active}

   osdmap e9045: 153 osds: 152 up, 152 in

   pgmap v1409957: 66256 pgs, 30 pools, 200 TB data, 51705 kobjects

      90448 GB used, 316 TB / 413 TB avail

        66250 active+clean

          6 stale+peering
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Once data recovery is done , go ahead delete keyrings for that OSD and finally remove OSD&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph auth del osd.99

updated

#

# ceph osd rm osd.99

removed osd.99

#

#ceph status 

  cluster c452b7df-0c0b-4005-8feb-fc3bb92407f5

   health HEALTH_WARN 6 pgs peering; 6 pgs stale; 6 pgs stuck inactive; 6 pgs stuck stale; 6 pgs stuck unclean; 2 requests are blocked &amp;gt; 32 sec

   monmap e6: 3 mons at {node01-ib=10.168.100.101:6789/0,node06-ib=10.168.100.106:6789/0,node11-ib=10.168.100.111:6789/0}, election epoch 2

836, quorum 0,1,2 node01-ib,node06-ib,node11-ib

   mdsmap e58: 1/1/1 up {0=node01-ib=up:active}

   osdmap e9046: 152 osds: 152 up, 152 in

   pgmap v1409971: 66256 pgs, 30 pools, 200 TB data, 51705 kobjects

      90445 GB used, 316 TB / 413 TB avail

        66250 active+clean

          6 stale+peering

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Remove entry of this OSD from ceph.conf ( if its present ) , make sure you keep all the nodes ceph.conf file updated . &amp;nbsp;You can push the new configuration file to entire cluster using # ceph admin command.&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Time to create new OSD for the physical disk that we have inserted , You would see, ceph will create new OSD with the same OSD number , that was failed , as we have removed failed OSD cleanly , if you see a different OSD number , it means that you have not cleanly removed failed OSD.&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph osd create

99

# ceph status

  cluster c452b7df-0c0b-4005-8feb-fc3bb92407f5

   health HEALTH_WARN 6 pgs peering; 6 pgs stale; 6 pgs stuck inactive; 6 pgs stuck stale; 6 pgs stuck unclean; 2 requests are blocked &amp;gt; 32 sec

   monmap e6: 3 mons at {node01-ib=10.168.100.101:6789/0,node06-ib=10.168.100.106:6789/0,node11-ib=10.168.100.111:6789/0}, election epoch 2

836, quorum 0,1,2 node01-ib,node06-ib,node11-ib

   mdsmap e58: 1/1/1 up {0=node01-ib=up:active}

   osdmap e9047: 153 osds: 152 up, 152 in

   pgmap v1409988: 66256 pgs, 30 pools, 200 TB data, 51705 kobjects

      90442 GB used, 316 TB / 413 TB avail

        66250 active+clean

          6 stale+peering

#

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;List the disk , zap it and deploy it again&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph-deploy disk list node14

[ceph_deploy.cli][INFO ] Invoked (1.3.2): /usr/bin/ceph-deploy disk list node14

[node14][DEBUG ] connected to host: node14

[node14][DEBUG ] detect platform information from remote host

[node14][DEBUG ] detect machine type

[ceph_deploy.osd][INFO ] Distro info: CentOS 6.4 Final

[ceph_deploy.osd][DEBUG ] Listing disks on node14...

[node14][INFO ] Running command: ceph-disk list

[node14][DEBUG ] /dev/sda :

[node14][DEBUG ] /dev/sda1 other, ext4, mounted on /

[node14][DEBUG ] /dev/sda2 swap, swap

[node14][DEBUG ] /dev/sdb :

[node14][DEBUG ] /dev/sdb1 ceph data, active, cluster ceph, osd.9, journal /dev/sdb2

[node14][DEBUG ] /dev/sdb2 ceph journal, for /dev/sdb1

[node14][DEBUG ] /dev/sdc :

[node14][DEBUG ] /dev/sdc1 ceph data, active, cluster ceph, osd.17, journal /dev/sdc2

[node14][DEBUG ] /dev/sdc2 ceph journal, for /dev/sdc1

[node14][DEBUG ] /dev/sdd :

[node14][DEBUG ] /dev/sdd1 ceph data, active, cluster ceph, osd.30, journal /dev/sdd2

[node14][DEBUG ] /dev/sdd2 ceph journal, for /dev/sdd1

[node14][DEBUG ] /dev/sde :

[node14][DEBUG ] /dev/sde1 ceph data, active, cluster ceph, osd.53, journal /dev/sde2

[node14][DEBUG ] /dev/sde2 ceph journal, for /dev/sde1

[node14][DEBUG ] /dev/sdf :

[node14][DEBUG ] /dev/sdf1 ceph data, active, cluster ceph, osd.65, journal /dev/sdf2

[node14][DEBUG ] /dev/sdf2 ceph journal, for /dev/sdf1

[node14][DEBUG ] /dev/sdg :

[node14][DEBUG ] /dev/sdg1 ceph data, active, cluster ceph, osd.78, journal /dev/sdg2

[node14][DEBUG ] /dev/sdg2 ceph journal, for /dev/sdg1

[node14][DEBUG ] /dev/sdh :

[node14][DEBUG ] /dev/sdh1 ceph data, active, cluster ceph, osd.89, journal /dev/sdh2

[node14][DEBUG ] /dev/sdh2 ceph journal, for /dev/sdh1

[node14][DEBUG ] /dev/sdi other, btrfs

[node14][DEBUG ] /dev/sdj :

[node14][DEBUG ] /dev/sdj1 ceph data, active, cluster ceph, osd.113, journal /dev/sdj2

[node14][DEBUG ] /dev/sdj2 ceph journal, for /dev/sdj1

[node14][DEBUG ] /dev/sdk :

[node14][DEBUG ] /dev/sdk1 ceph data, active, cluster ceph, osd.128, journal /dev/sdk2

[node14][DEBUG ] /dev/sdk2 ceph journal, for /dev/sdk1

[node14][DEBUG ] /dev/sdl :

[node14][DEBUG ] /dev/sdl1 ceph data, active, cluster ceph, osd.141, journal /dev/sdl2

[node14][DEBUG ] /dev/sdl2 ceph journal, for /dev/sdl1

&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph-deploy disk zap node14:sdi

[ceph_deploy.cli][INFO ] Invoked (1.3.2): /usr/bin/ceph-deploy disk zap node14:sdi

[ceph_deploy.osd][DEBUG ] zapping /dev/sdi on node14

[node14][DEBUG ] connected to host: node14

[node14][DEBUG ] detect platform information from remote host

[node14][DEBUG ] detect machine type

[ceph_deploy.osd][INFO ] Distro info: CentOS 6.4 Final

[node14][DEBUG ] zeroing last few blocks of device

[node14][INFO ] Running command: sgdisk --zap-all --clear --mbrtogpt -- /dev/sdi

[node14][DEBUG ] Creating new GPT entries.

[node14][DEBUG ] GPT data structures destroyed! You may now partition the disk using fdisk or

[node14][DEBUG ] other utilities.

[node14][DEBUG ] The operation has completed successfully.

#

# ceph-deploy --overwrite-conf osd prepare node14:sdi

[ceph_deploy.cli][INFO ] Invoked (1.3.2): /usr/bin/ceph-deploy --overwrite-conf osd prepare node14:sdi

[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks node14:/dev/sdi:

[node14][DEBUG ] connected to host: node14

[node14][DEBUG ] detect platform information from remote host

[node14][DEBUG ] detect machine type

[ceph_deploy.osd][INFO ] Distro info: CentOS 6.4 Final

[ceph_deploy.osd][DEBUG ] Deploying osd to node14

[node14][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf

[node14][INFO ] Running command: udevadm trigger --subsystem-match=block --action=add

[ceph_deploy.osd][DEBUG ] Preparing host node14 disk /dev/sdi journal None activate False

[node14][INFO ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdi

[node14][ERROR ] INFO:ceph-disk:Will colocate journal with data on /dev/sdi

[node14][DEBUG ] The operation has completed successfully.

[node14][DEBUG ] The operation has completed successfully.

[node14][DEBUG ] meta-data=/dev/sdi1       isize=2048 agcount=32, agsize=22884224 blks

[node14][DEBUG ]     =           sectsz=512 attr=2, projid32bit=0

[node14][DEBUG ] data  =           bsize=4096 blocks=732295168, imaxpct=5

[node14][DEBUG ]     =           sunit=64  swidth=64 blks

[node14][DEBUG ] naming =version 2       bsize=4096 ascii-ci=0

[node14][DEBUG ] log   =internal log     bsize=4096 blocks=357568, version=2

[node14][DEBUG ]     =           sectsz=512 sunit=64 blks, lazy-count=1

[node14][DEBUG ] realtime =none         extsz=4096 blocks=0, rtextents=0

[node14][DEBUG ] The operation has completed successfully.

[ceph_deploy.osd][DEBUG ] Host node14 is now ready for osd use.

#
&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;Check the new OSD&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 22px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;# ceph osd tree 

9 2.63 osd.9 up 1

17 2.73 osd.17 up 1

30 2.73 osd.30 up 1

53 2.73 osd.53 up 1

65 2.73 osd.65 up 1

78 2.73 osd.78 up 1

89 2.73 osd.89 up 1

113 2.73 osd.113 up 1

128 2.73 osd.128 up 1

141 2.73 osd.141 up 1

99 2.73 osd.99 up 1

# ceph status 

  cluster c452b7df-0c0b-4005-8feb-fc3bb92407f5

   health HEALTH_WARN 186 pgs backfill; 12 pgs backfilling; 6 pgs peering; 57 pgs recovering; 887 pgs recovery_wait; 6 pgs stale; 6 pgs stuck inactive; 6 pgs

 stuck stale; 283 pgs stuck unclean; 2 requests are blocked &amp;gt; 32 sec; recovery 784023/106982434 objects degraded (0.733%)

   monmap e6: 3 mons at {node01-ib=10.168.100.101:6789/0,node06-ib=10.168.100.106:6789/0,node11-ib=10.168.100.111:6789/0}, election epoch 2

836, quorum 0,1,2 node01-ib,node06-ib,node11-ib

   mdsmap e58: 1/1/1 up {0=node01-ib=up:active}

   osdmap e9190: 153 osds: 153 up, 153 in

   pgmap v1413041: 66256 pgs, 30 pools, 200 TB data, 51840 kobjects

      90504 GB used, 319 TB / 416 TB avail

      784023/106982434 objects degraded (0.733%)

        65108 active+clean

         186 active+remapped+wait_backfill

         887 active+recovery_wait

         12 active+remapped+backfilling

          6 stale+peering

         57 active+recovering

recovery io 383 MB/s, 95 objects/s

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 22px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;You would notice ceph will start putting PG ( data ) on this new OSD , so as to rebalance data and to make this new osd to participate cluster.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;Yes at this stage you are done with replacement.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2014/03/admin-guide-replacing-failed-disk-in.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total><georss:featurename>Espoo, Finland</georss:featurename><georss:point>60.2054911 24.655900100000053</georss:point><georss:box>59.7005586 23.365006600000054 60.710423600000006 25.946793600000053</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-2156999157480344544</guid><pubDate>Fri, 24 Jan 2014 15:37:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.532-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">calculating PG number for ceph pool</category><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">how data is stored in ceph cluster</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">osd</category><category domain="http://www.blogger.com/atom/ns#">placement group</category><category domain="http://www.blogger.com/atom/ns#">Pool</category><title>How Data Is Stored In CEPH Cluster</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; margin: 0px; position: relative; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; font-weight: normal; line-height: 23.99147605895996px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; margin: 0px; position: relative; text-align: center;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif; font-size: 22px; font-weight: normal; line-height: 23.99147605895996px;&quot;&gt;HOW ::&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; font-weight: normal; line-height: 23.99147605895996px;&quot;&gt;&lt;span style=&quot;color: #339900;&quot;&gt;Data is Storage Inside Ceph Cluster&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://karan-mj.blogspot.fi/2014/01/how-data-is-stored-in-ceph-cluster.html&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;how data is stored in ceph storage&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjn1WkTfk-bJMv7mLp7myOnKaiaJICr9lfYHzn_QW4z3cMKbWjSr0cAU9T_Q1AdByoPQCvx_3Br06pYOh54hj_BLwYRF6uVziLT9eD0-EN-t9QSd90WaD27Aqd4oCxERGaftiH9XXcIF4/s1600/imageedit_3_8764371134.png&quot; height=&quot;478&quot; title=&quot;Ceph storage data storage&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;This is something&amp;nbsp;definitely&amp;nbsp;your would be wondering about , How Data _ _ _ Ceph Cluster ?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;Now showing a easy to understand ceph data storage diagram.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Verdana, sans-serif; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Verdana, sans-serif; line-height: 21.988636016845703px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;## POOLS :&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Ceph cluster has POOLS , pools are the logical group for storing objects .These pools are made up of PG ( Placement Groups ). At the time of pool creation we have to provide number of placement groups that the pool is going to contain , number of object replicas&amp;nbsp;( usually takes default value , if other not specified )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Creating a pool ( pool-A ) with 128 placement groups&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd pool create pool-A 128
pool &#39;pool-A&#39; created&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Listing pools&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd lspools
0 data,1 metadata,2 rbd,36 pool-A,&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Find out total number of placement groups being used by pool&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd pool get pool-A pg_num
pg_num: 128&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Find out replication level being used by pool ( see rep size value for replication )&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd dump | grep -i pool-A
pool 36 &#39;pool-A&#39; rep size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 128 pgp_num 128 last_change 4051 owner 0&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Changing replication level for a pool ( compare from above step , rep size changed )&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd pool set pool-A size 3
set pool 36 size to 3
#
# ceph osd dump | grep -i pool-A
pool 36 &#39;pool-A&#39; rep size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 128 pgp_num 128 last_change 4054 owner 0&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;This means all the objects of pool-A will be replicated 3 times on 3 different OSD&#39;s&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Now , Putting some data in pool-A , and data would be stored in the form of objects &amp;nbsp;:-) thumb rule.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# dd if=/dev/zero of=object-A bs=10M count=1
1+0 records in
1+0 records out
10485760 bytes (10 MB) copied, 0.0222705 s, 471 MB/s
#

# dd if=/dev/zero of=object-B bs=10M count=1
1+0 records in
1+0 records out
10485760 bytes (10 MB) copied, 0.0221176 s, 474 MB/s
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Putting some objects in pool-A&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# rados -p pool-A put object-A  object-A&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;rados -p pool-A put object-B  object-B&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;checking how many objects &amp;nbsp;does the pool contains&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# rados -p pool-A ls
object-A
object-B
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Verdana, sans-serif; line-height: 21.988636016845703px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;## PG ( Placement Group ):&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Ceph cluster links objects --&amp;gt; PG . These PG containing objects are spread across multiple OSD and improves&amp;nbsp;reliability.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Verdana, sans-serif; font-size: large; line-height: 21.988636016845703px;&quot;&gt;## Object :&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Object is the smallest unit of data storage in ceph cluster , Each &amp;amp; Everything is stored in the form of objects , thats why ceph cluster is also&amp;nbsp;known&amp;nbsp;as Object&amp;nbsp;Storage&amp;nbsp;Cluster. Objects are mapped to PG , and these Objects /&amp;nbsp;their&amp;nbsp;copies always spreaded on different OSD. This is how ceph is designed.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Locating object , to which PG it belongs and stored where ??&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd map pool-A object-A
osdmap e4055 pool &#39;pool-A&#39; (36) object &#39;object-A&#39; -&amp;gt; pg 36.b301e3e8 (36.68) -&amp;gt; up [122,63,62] acting [122,63,62]
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd map pool-A object-B
osdmap e4055 pool &#39;pool-A&#39; (36) object &#39;object-B&#39; -&amp;gt; pg 36.47f173fb (36.7b) -&amp;gt; up [153,110,118] acting [153,110,118]
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;Now , we already created a pool-A , changed its replication level to 3 , added objects ( object-A and object-B ) to pool-A . Observe the above output. It throws a lot of information&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;OSD map version id is&amp;nbsp;e4055&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;pool name is pool-A&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;pool id is 36&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;object name ( which was enquired , object-A and object-B )&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Placement Group id to which this object belongs is &amp;nbsp;( 36.68 ) and ( 36.7b )&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Our pool-A has replication level set to 3 , so every object of this pool should have 3 copies on different OSD , here our object&#39;s 3 copies resides on OSD.122 , OSD.63 and OSD.62&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Login to ceph nodes containing OSD 122 , 63 and 62&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;You can see your OSD mounted&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# df -h /var/lib/ceph/osd/ceph-122
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdj1             2.8T  1.8T  975G  65% /var/lib/ceph/osd/ceph-122
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Browse to the directory where ACTUAL OBJECTS are stored&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# pwd
/var/lib/ceph/osd/ceph-122/current
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Under this directory if you do a ls command , you will see PG ID , In our case the PG id is 36.68 &amp;nbsp;for object-A&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ls -la | grep -i 36.68
drwxr-xr-x 1 root root    54 Jan 24 16:45 36.68_head
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;Browse to the PG head directory , give ls and Here you go you reached to your OBJECT.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# pwd
/var/lib/ceph/osd/ceph-122/current/36.68_head
#
# ls -l
total 10240
-rw-r--r-- 1 root root 10485760 Jan 24 16:45 object-A__head_B301E3E8__24
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Verdana, sans-serif; font-size: large; line-height: 21.988636016845703px;&quot;&gt;Moral of the Story&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Ceph storage cluster can have more than one Pools&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Each pool SHOULD have multiple Placement Groups . More the PG , better your cluster performance , more reliable your setup would be.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;A PG contains multiple Objects.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;A PG is spreaded on multiple OSD , i.e Objects are spreaded across OSD. The first OSD mapped to PG will be its primary OSD and the other ODS&#39;s of same PG will be its secondary OSD.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;An Object can be mapped to exactly one PG&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Many PG&#39;s can be mapped to ONE OSD&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;How much PG you need for a POOL :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;-webkit-box-shadow: rgb(230, 232, 232) 1px 1px 1px; background-color: white; border: 1px solid rgb(94, 106, 113); color: #222222; font-size: 1.1em; line-height: 1.2em; margin: 1.5em; overflow-x: auto; overflow-y: hidden; padding: 10px;&quot;&gt;           (OSDs * 100)
Total PGs = ------------
              Replicas&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px; white-space: pre-wrap;&quot;&gt;# ceph osd stat
     osdmap e4055: 154 osds: 154 up, 154 in
#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Applying formula gives me &amp;nbsp;= ( 154 * 100 ) / 3 = 5133.33&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;Now , round up this value to the next power of 2 , this will give you the number of PG you should have for a pool having replication size of 3 and total 154 OSD in entire cluster.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;Final Value = 8192 PG&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2014/01/how-data-is-stored-in-ceph-cluster.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjn1WkTfk-bJMv7mLp7myOnKaiaJICr9lfYHzn_QW4z3cMKbWjSr0cAU9T_Q1AdByoPQCvx_3Br06pYOh54hj_BLwYRF6uVziLT9eD0-EN-t9QSd90WaD27Aqd4oCxERGaftiH9XXcIF4/s72-c/imageedit_3_8764371134.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Keilaniemi, 02150 Espoo, Finland</georss:featurename><georss:point>60.1795198 24.835292699999968</georss:point><georss:box>60.1755713 24.825207699999968 60.1834683 24.845377699999968</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-5084605835999694961</guid><pubDate>Fri, 10 Jan 2014 13:12:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.555-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph file</category><category domain="http://www.blogger.com/atom/ns#">cephfs</category><category domain="http://www.blogger.com/atom/ns#">cephfs dedicated pool</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">planet</category><category domain="http://www.blogger.com/atom/ns#">user defined pool for cephfs</category><title>CephFS with a dedicated pool</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px;&quot;&gt;CephFS with a Dedicated Pool&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://karan-mj.blogspot.fi/2014/01/cephfs-with-dedicated-pool.html&quot; imageanchor=&quot;1&quot; rel=&quot;nofollow&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;cephfs with a dedicated pool&quot; border=&quot;0&quot; src=&quot;http://www.bigtreemarketing.com/wp-content/uploads/2012/12/SLEPPINS_TARGET.jpg&quot; height=&quot;302&quot; title=&quot;cephfs with a dedicated pool&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 14.545454025268555px; font-weight: normal; line-height: 21.984375px;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;This&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 15px; font-weight: normal; line-height: 21.984375px;&quot;&gt;blog&lt;/span&gt;&lt;span style=&quot;font-size: 14.545454025268555px; font-weight: normal; line-height: 21.984375px;&quot;&gt;&amp;nbsp;is about configuring a dedicated pool ( user defined pool ) for cephfs. If you are&amp;nbsp;looking to configure cephfs , please visit &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://karan-mj.blogspot.fi/2013/12/ceph-filesystem-cephfs-step-by-step.html&quot; style=&quot;color: blue; font-size: 14.545454025268555px; line-height: 18.18181800842285px; text-decoration: none;&quot;&gt;CephFS Step by Step&lt;/a&gt;&lt;span style=&quot;color: purple; font-size: 14.545454025268555px;&quot;&gt;&lt;span style=&quot;line-height: 18.18181800842285px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: purple; font-size: 14.545454025268555px;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;blog&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: 14.545454025268555px;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create a new pool for cephfs ( obviosly you can use your existing pool )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# rados mkpool cephfs&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Grab pool id&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# ceph osd dump | grep -i cephfs
pool 34 &#39;cephfs&#39; rep size 2 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 8 pgp_num 8 last_change 860 owner 0
# 
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Assign the pool to MDS&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# ceph mds add_data_pool 34 &lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;&lt;/ul&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Mount your cephfs share&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# mount -t ceph 192.168.100.101:/ /cephfs -o name=cephfs,secretfile=/etc/ceph/client.cephfs
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check current layout of cephfs , you would notice the default layout.data_pool is set to 0 , which means your cephfs will store date in pool 0 i.e data pool&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# cephfs /cephfs/ show_layout
layout.data_pool:     0
layout.object_size:   4194304
layout.stripe_unit:   4194304
layout.stripe_count:  1
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Set a new layout for data_pool in cephfs , use pool id of the pool that we have created above.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# cephfs /cephfs/ set_layout -p 34
# cephfs /cephfs/ show_layout
layout.data_pool:     34
layout.object_size:   4194304
layout.stripe_unit:   4194304
layout.stripe_count:  1
[root@na_csc_fedora19 ~]#
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Remount your cephfs share&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# umount /cephfs
# mount -t ceph 192.168.100.101:/ /cephfs -o name=cephfs,secretfile=/etc/ceph/client.cephfs
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check objects that are present in cephfs pool , there should be no object as this is a fresh pool and does not contain any data . But if you look for objects for any other pool , it should contain objects.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# rados --pool=cephfs ls
#
# rados --pool=metadata ls
1.00000000.inode
100.00000000
100.00000000.inode
1.00000000
2.00000000
200.00000000
this is a tesf fine
200.00000001
600.00000000
601.00000000
602.00000000
603.00000000
604.00000000
605.00000000
606.00000000
607.00000000
608.00000000
609.00000000
mds0_inotable
mds0_sessionmap
mds_anchortable
mds_snaptable
#
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Go to your cephfs directory and create some files ( put data in your file ) .&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# cd /cephfs/
# vi test
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Recheck for objects in cephfs pool , now it will show you objects .&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# rados --pool=cephfs ls
10000000005.00000000
#&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;Summary is , we have created a new pool named &quot;cephfs&quot; , changed layout of cephfs to store its data in new pool &quot;cephfs&quot; , and finally we saw cephfs data is getting stored in pool named cephfs &amp;nbsp;( i know its too more cephfs , read it again if you are sleeping and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;didn&#39;t&lt;/span&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;understand&lt;/span&gt;&lt;span style=&quot;line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;cephfs)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2014/01/cephfs-with-dedicated-pool.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-6050001029298494150</guid><pubDate>Thu, 09 Jan 2014 14:45:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.564-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph dashboard</category><category domain="http://www.blogger.com/atom/ns#">ceph gui</category><category domain="http://www.blogger.com/atom/ns#">ceph management</category><category domain="http://www.blogger.com/atom/ns#">ceph monitoring</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">kraken</category><category domain="http://www.blogger.com/atom/ns#">kraken dashboard</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Kraken :: The First Free Ceph Dashboard in Town</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.fubiz.net/wp-content/uploads/2012/03/the-kraken-existence1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.fubiz.net/wp-content/uploads/2012/03/the-kraken-existence1.jpg&quot; height=&quot;360&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Kraken :: The Free Ceph Dashboard is Finally Live&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14.545454025268555px; line-height: 18.18181800842285px;&quot;&gt;Kraken is a Free ceph dashboard for monitoring and statistics. Special thanks to Donald Talton for this beautiful dashboard.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14.545454025268555px; line-height: 18.18181800842285px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14.545454025268555px; line-height: 18.18181800842285px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;span style=&quot;color: #339900;&quot;&gt;Installing &lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;b&gt;Kraken&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 18.171875px;&quot;&gt;&amp;nbsp;Install&amp;nbsp;Prerequisites&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;# yum install git&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;# yum install django&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;# yum install python-pip&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
# pip install requests&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/site-packages&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Cleaning up...&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: 14.545454025268555px; line-height: 18.18181800842285px;&quot;&gt;# pip install django&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Requirement already satisfied (use --upgrade to upgrade): django in /usr/lib/python2.7/site-packages&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Cleaning up...&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;# yum install screen&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 15px; line-height: 18.171875px;&quot;&gt;Create a new user account&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;# useradd kraken&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 18.171875px;&quot;&gt;Clone kraken from github&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;# cd /home/kraken&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14.545454025268555px; line-height: 18.18181800842285px;&quot;&gt;# git clone https://github.com/krakendash/krakendash&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
Cloning into &#39;krakendash&#39;...&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
remote: Counting objects: 511, done.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
remote: Compressing objects: 100% (276/276), done.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
remote: Total 511 (delta 240), reused 497 (delta 226)&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Receiving objects: 100% (511/511), 1.53 MiB | 343.00 KiB/s, done.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Resolving deltas: 100% (240/240), done.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#&lt;/div&gt;
&lt;/pre&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 18.171875px;&quot;&gt;Exceute &lt;i&gt;&lt;span style=&quot;color: purple;&quot;&gt;api.sh&lt;/span&gt; &amp;nbsp;&lt;/i&gt;and&lt;i&gt; &lt;span style=&quot;color: purple;&quot;&gt;django.sh &lt;/span&gt;&lt;/i&gt;one by one , these would get launched in screens , use ctrl A &amp;nbsp;and D &amp;nbsp;to detach from screen&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-size: 14.545454025268555px; line-height: 18.18181800842285px;&quot;&gt;# ./api.sh&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
[detached from 14662.api]&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
# ./django.sh&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
[detached from 14698.django]&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: 14.545454025268555px; line-height: 18.18181800842285px;&quot;&gt;# ps -ef | grep -i screen&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
root &amp;nbsp; &amp;nbsp; 14662 &amp;nbsp; &amp;nbsp; 1&amp;nbsp; 0 07:29 ?&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00 SCREEN -S api sudo ceph-rest-api -c /etc/ceph/ceph.conf --cluster ceph -i admin&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
root &amp;nbsp; &amp;nbsp; 14698 &amp;nbsp; &amp;nbsp; 1&amp;nbsp; 0 07:30 ?&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00 SCREEN -S django sudo python krakendash/kraken/manage.py runserver 0.0.0.0:8000&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
root &amp;nbsp; &amp;nbsp; 14704 14472&amp;nbsp; 0 07:30 pts/0&amp;nbsp; &amp;nbsp; 00:00:00 grep --color=auto -i screen&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#&lt;/div&gt;
&lt;/pre&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 15px; line-height: 18.171875px;&quot;&gt;Open your browser and navigate to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 18.171875px;&quot;&gt;&lt;i&gt;http://localhost:8000/&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheiXjsaAMRJkPRuu9DXzYyTH7UYLBTqC3Sa5PwDizpe2DhxhcC8uEtD3nFb4my4bMntPHEJbB0-VCE8HoM8l-kZBZFgY56q_cBsZAwF8hepA7lylC_8Vd-yqkO1RoeX1LUayGwY59BwRk/s1600/1.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img alt=&quot;kraken&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheiXjsaAMRJkPRuu9DXzYyTH7UYLBTqC3Sa5PwDizpe2DhxhcC8uEtD3nFb4my4bMntPHEJbB0-VCE8HoM8l-kZBZFgY56q_cBsZAwF8hepA7lylC_8Vd-yqkO1RoeX1LUayGwY59BwRk/s1600/1.png&quot; height=&quot;238&quot; title=&quot;kraken&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_j__7rEjvpWaU7YxrTIUeTM8T56tp1_EiJ8L_YzoE7WkQ8xZ6Wg3s5En-Tf85nQ_5apwlAFqo-lIYluEpUYeoZtmjK2bi1wp-IOcZKqNiq2RLY0DhLxKRmHu5XpogIceHD5a5owSSnIc/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;kraken&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_j__7rEjvpWaU7YxrTIUeTM8T56tp1_EiJ8L_YzoE7WkQ8xZ6Wg3s5En-Tf85nQ_5apwlAFqo-lIYluEpUYeoZtmjK2bi1wp-IOcZKqNiq2RLY0DhLxKRmHu5XpogIceHD5a5owSSnIc/s1600/2.png&quot; height=&quot;358&quot; title=&quot;kraken osd&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDUHqyM3AYWoEC9_kj6m9fXgwrrvt61eWVBJOnuAMOnDvrDVMj9IEr8KsZY5RdhVHS65SDoLCYd-NzuavhEv_XLCOuv759qMMGKrc9FUQcVcbWt56PX3E88Diz_Xxpp5KEVN-XkId8RRg/s1600/3.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img alt=&quot;kraken pools&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDUHqyM3AYWoEC9_kj6m9fXgwrrvt61eWVBJOnuAMOnDvrDVMj9IEr8KsZY5RdhVHS65SDoLCYd-NzuavhEv_XLCOuv759qMMGKrc9FUQcVcbWt56PX3E88Diz_Xxpp5KEVN-XkId8RRg/s1600/3.png&quot; height=&quot;168&quot; title=&quot;kraken pools&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 15px; line-height: 18.171875px;&quot;&gt;Great you have a Ceph GUI dashboard running now :-)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 18.171875px;&quot;&gt;Watch out this space for new features of kraken&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2014/01/kraken-first-free-ceph-dashboard-in-town.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheiXjsaAMRJkPRuu9DXzYyTH7UYLBTqC3Sa5PwDizpe2DhxhcC8uEtD3nFb4my4bMntPHEJbB0-VCE8HoM8l-kZBZFgY56q_cBsZAwF8hepA7lylC_8Vd-yqkO1RoeX1LUayGwY59BwRk/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-2377638043926724947</guid><pubDate>Thu, 02 Jan 2014 15:55:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.537-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph guide</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">ceph step by step</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">planet</category><category domain="http://www.blogger.com/atom/ns#">what is ceph</category><title>Zero To Hero Guide : : For CEPH CLUSTER PLANNING</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px;&quot;&gt;What it is all about :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you think or discuss about Ceph , the most common question strike to your mind is &quot;&lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;What Hardware Should I Select For My CEPH Storage Cluster ?&lt;/span&gt;&lt;/b&gt;&quot; and yes if you really thought of this question in your mind , congratulations you seems to be serious about ceph&amp;nbsp;technology and You should be because &lt;span style=&quot;color: #cc0000;&quot;&gt;CEPH IS THE FUTURE OF STORAGE&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ceph runs on Commodity hardware , &lt;i&gt;Ohh Yeah !! everyone now knows it . &lt;/i&gt;It is designed to build a multi-petabyte storage cluster while providing enterprise ready features. No single point of failure , scaling to exabytes , self managing and self healing ( saves operational cost ) , runs on commodity hardware ( no vendor locking , saves capital investment )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; line-height: 23.984375px;&quot;&gt;Ceph Overview :-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;page&quot; title=&quot;Page 4&quot;&gt;
&lt;div class=&quot;section&quot;&gt;
&lt;div class=&quot;layoutArea&quot;&gt;
&lt;div class=&quot;column&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The sole of ceph storage cluster is RADOS ( Reliable Autonomic Distributed Object Store ). Ceph uses powerful CRUSH ( Controlled Replication Under Scalable Hashing )&amp;nbsp;algorithm for optimize data placement ,&amp;nbsp;&amp;nbsp;self managing and self healing. The RESTful interface is provided by Ceph Object Gateway (RGW) aks Rados GateWay and virtual disks are provisioned by Ceph Block Device (RBD)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiimdQg7uIIB8BdrtWb6dyc3_l8TTnT3erMXpZJFoMamm9sjxU3hHxw3f1Ns_yRCl67NNrxZiNDsszxW9P2UTrj9lIQPvqA6obpNwPN-A6dKy8gb4em5c8FYO8_rOZfTXXf0TQstMwBkkk/s1600/ceph-arch.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiimdQg7uIIB8BdrtWb6dyc3_l8TTnT3erMXpZJFoMamm9sjxU3hHxw3f1Ns_yRCl67NNrxZiNDsszxW9P2UTrj9lIQPvqA6obpNwPN-A6dKy8gb4em5c8FYO8_rOZfTXXf0TQstMwBkkk/s1600/ceph-arch.png&quot; height=&quot;392&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ceph Overview - Image Credit : Inktank&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Ceph Components :-&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;# Ceph OSD ( Object Storage Daemons ) &lt;/span&gt;storage data in objects , manages data replication , recovery , rebalancing and provides stage information to Ceph Monitor. Its recommended to user 1 OSD per physical disk.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;# Ceph MON ( Monitors ) &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;maintains overall health of cluster by keeping cluster map state including Monitor map , OSD map , Placement Group ( PG ) map , and CRUSH map. Monitors receives state information from other components to maintain maps and circulate these maps to other Monitor and OSD nodes.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;# Ceph RGW ( Object Gateway / Rados Gateway ) &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;RESTful API interface compatible with Amazon S3 , OpenStack Swift .&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;# Ceph RBD ( Raw Block Device ) &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Provides Block Storage to VM / bare metal as well as regular clients , supports OpenStack and CloudStack . Includes Enterprise features like snapshot , thin provisioning , compression.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;# CephFS ( File System )&lt;/span&gt; distributed POSIX NAS storage.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Few Thumb Rules :-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Run OSD on a dedicated storage node ( server with multiple disks ) , actual data is stored in the form of objects.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Run Monitor on a separate dedicated hardware or coexists with ceph client nodes ( other than OSD node ) such as RGW , CephFS node . For production its recommended to run Monitors on dedicated low cost servers since Monitors are not resource hungry.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Monitor Hardware Configuration :-&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Monitor maintains health of entire cluster , it contains PG logs and OSD logs . A minimum of three monitors nodes are&amp;nbsp;recommended for a cluster quorum. Ceph monitor nodes are not resource hungry they can work well with fairly low cpu and memory. A 1U server with low cost processor E5-2603,16GB RAM and 1GbE network should be sufficient in most of the cases.&amp;nbsp;If PG,Monitor and OSD logs are storage on local disk of monitor node , make sure you have sufficient amount of local storage so that it should not fill up.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Unhealthy clusters require more storage for logs , can reach upto GB and even hundreds of GB if the cluster is left unhealthy for a very long time . If verbose output is set on monitor nodes, then these are bound to generate huge amount of logging information. Refer ceph documentation for monitor log setting.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Its recommended to run monitor on distant nodes rather on all on all one node or on virtual machines on physical separated machines to prevent single point of failure.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; line-height: 23.984375px;&quot;&gt;The&amp;nbsp;Planning Stage&amp;nbsp;:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Deploying a ceph cluster in production requires a little bit Homework , you should gather the below information so that you can design a better and more&amp;nbsp;reliable&amp;nbsp;and scalable ceph cluster to fit in your IT needs. These very&amp;nbsp;specific&amp;nbsp;to&amp;nbsp;your needs and your IT environment. This information will help you to design your&amp;nbsp;storage&amp;nbsp;requirement better.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Business Requirement&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Budget ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Do you need Ceph cluster for day to day operation or SPECIAL&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Technical Requirement&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What applications will be running on your ceph cluster ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What type of data will be stored on your ceph cluster ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Should the ceph cluster be optimized for capacity and performance ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What should be usable storage capacity ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What is expected growth rate ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How many IOPS should the cluster support ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How much throughput should the cluster support&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How much data replication (&amp;nbsp;reliability&amp;nbsp;level ) you need ?&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Collect as much information as possible during the planning&amp;nbsp;stage , the will give all the answers required to construct a better ceph cluster.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;The&amp;nbsp;Physical Node&lt;/span&gt;&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&amp;nbsp;and clustering technique:-&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In addition to above collected information , also take into account the rack&amp;nbsp;density&amp;nbsp; and power budget ,&amp;nbsp;data center&amp;nbsp;space pace cost to size the optimal node&amp;nbsp;configuration. Ceph replicated data across multiple nodes in a storage cluster to provide data redundancy and higher&amp;nbsp;availability. Its important to consider.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Should the replicated node be on the same rack or multiple racks to avoid SPOF ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Should the OSD traffic stay within the rack or span across rack in a dedicated or shared network ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;How many nodes failure can be tolerated ?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If the nodes are separated out across multiple racks network traffic increases and the impact of latency and the number of network switch hops&amp;nbsp;should&amp;nbsp;be&amp;nbsp;considered.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ceph will automatically recover by re-replicating data from the failed nodes using secondary copies present on other nodes in cluster . A node failure thus have several effects.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Total cluster capacity is reduced by some fractions.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Total cluster throughput is reduced by some fractions.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The cluster enters a write heavy recovery processes.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A general thumb of rule to calculate recovery time in a ceph cluster given 1 disk per OSD node is :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Recovery Time in seconds = disk capacity in Gigabits / ( network speed *(nodes-1) )&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;# POC Environment -- &lt;/span&gt;Can have a minimum of 3 physical nodes with 10 OSD&#39;s each. This provides 66% cluster&amp;nbsp;availability upon a physical node failure and 97% uptime upon an OSD failure. RGW and Monitor nodes can be put on OSD&amp;nbsp; nodes but this may impact performance &amp;nbsp;and not recommended for production.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: purple; font-family: Verdana, sans-serif;&quot;&gt;# Production Environment -- &lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a minimum of 5&amp;nbsp;physically&amp;nbsp;separated nodes and minimum of 100 OSD @&amp;nbsp;4TB per OSD the cluster capacity is over 130TB &amp;nbsp;and provides 80% uptime on physical node failure and 99% uptime on OSD failure. RGW and Monitors should be on separate nodes.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;Based on the outcome of planning phase and physical nodes and clustering stage you have a look on the hardware available in market as per your budget.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;OSD CPU selection :-&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&amp;lt; Under Construction ... Stay Tuned &amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2014/01/zero-to-hero-guide-for-ceph-cluster.html</link><author>noreply@blogger.com (Anonymous)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiimdQg7uIIB8BdrtWb6dyc3_l8TTnT3erMXpZJFoMamm9sjxU3hHxw3f1Ns_yRCl67NNrxZiNDsszxW9P2UTrj9lIQPvqA6obpNwPN-A6dKy8gb4em5c8FYO8_rOZfTXXf0TQstMwBkkk/s72-c/ceph-arch.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-8856060070317902290</guid><pubDate>Mon, 23 Dec 2013 21:11:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.633-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack in a nutshell</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph and OpenStack in a Nutshell</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: red; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;Ceph and OpenStack in a Nutshell&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;iframe aligh=&quot;centre&quot; allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;486&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://www.slideshare.net/slideshow/embed_code/29454668&quot; style=&quot;border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;&quot; width=&quot;597&quot;&gt; &lt;/iframe&gt; &lt;br /&gt;
&lt;div style=&quot;margin-bottom: 5px;&quot;&gt;
&lt;strong&gt; &lt;a href=&quot;https://www.slideshare.net/alohamora/ceph-and-openstack-in-a-nutshell&quot; target=&quot;_blank&quot; title=&quot;Ceph and Openstack in a Nutshell&quot;&gt;Ceph and Openstack in a Nutshell&lt;/a&gt; &lt;/strong&gt; from &lt;strong&gt;&lt;a href=&quot;http://www.slideshare.net/alohamora&quot; target=&quot;_blank&quot;&gt;Karan Singh&lt;/a&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-and-openstack-in-nutshell.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-8024304716526016734</guid><pubDate>Mon, 23 Dec 2013 16:23:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.623-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">Ceph filesystem</category><category domain="http://www.blogger.com/atom/ns#">ceph-fuse</category><category domain="http://www.blogger.com/atom/ns#">cephfs</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph Filesystem ( CephFS) :: Step by Step Configuration</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 23.99147605895996px;&quot;&gt;CephFS&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ceph Filesystem is a posix compliant file system that uses ceph storage cluster to store its data. This is the only ceph component that is not ready for production , i would like to say ready for pre-production.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 22px; line-height: 23.984375px;&quot;&gt;Internals&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://ceph.com/docs/master/_images/ditaa-1cae553f9d207d72257429d572673632afbd108c.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ceph.com/docs/master/_images/ditaa-1cae553f9d207d72257429d572673632afbd108c.png&quot; height=&quot;297&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Thanks to&amp;nbsp;http://ceph.com/docs/master/cephfs/ for Image&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Requirement of CephFS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You need a running ceph cluster with at least one MDS node. MDS is required for CephFS to work.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you&amp;nbsp;don&#39;t&amp;nbsp;have MDS configure one&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# ceph-deploy mds create &amp;lt;MDS-NODE-ADDRESS&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Note :&lt;/b&gt; If you are running short of hardware or want to save hardware you can run MDS services on existing Monitor nodes. MDS services&amp;nbsp;does not&amp;nbsp;need much resources&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;A Ceph client to mount cephFS&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Configuring CephFS&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Install ceph on client node&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;[root@storage0101-ib ceph]# ceph-deploy install na_fedora19
[ceph_deploy.cli][INFO  ] Invoked (1.3.2): /usr/bin/ceph-deploy install na_fedora19
[ceph_deploy.install][DEBUG ] Installing stable version emperor on cluster ceph hosts na_csc_fedora19
[ceph_deploy.install][DEBUG ] Detecting platform for host na_fedora19 ...
[na_csc_fedora19][DEBUG ] connected to host: na_csc_fedora19
[na_csc_fedora19][DEBUG ] detect platform information from remote host
[na_csc_fedora19][DEBUG ] detect machine type
[ceph_deploy.install][INFO  ] Distro info: Fedora 19 Schrödinger’s Cat
[na_csc_fedora19][INFO  ] installing ceph on na_fedora19
[na_csc_fedora19][INFO  ] Running command: rpm --import https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[na_csc_fedora19][INFO  ] Running command: rpm -Uvh --replacepkgs --force --quiet http://ceph.com/rpm-emperor/fc19/noarch/ceph-release-1-0.fc19.noarch.rpm
[na_csc_fedora19][DEBUG ] ########################################
[na_csc_fedora19][DEBUG ] Updating / installing...
[na_csc_fedora19][DEBUG ] ########################################
[na_csc_fedora19][INFO  ] Running command: yum -y -q install ceph

[na_csc_fedora19][ERROR ] Warning: RPMDB altered outside of yum.
[na_csc_fedora19][DEBUG ] No Presto metadata available for Ceph
[na_csc_fedora19][INFO  ] Running command: ceph --version
[na_csc_fedora19][DEBUG ] ceph version 0.72.2 (a913ded2ff138aefb8cb84d347d72164099cfd60)
[root@storage0101-ib ceph]#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create a new pool for CephFS&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# rados mkpool cephfs&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create a new keyring (client.cephfs) for cephfs&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; text-align: left; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# ceph auth get-or-create client.cephfs mon &#39;allow r&#39; osd &#39;allow rwx pool=cephfs&#39; -o /etc/ceph/client.cephfs.keyring&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Extract secret key from keyring&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;ceph-authtool -p -n client.cephfs /etc/ceph/client.cephfs.keyring &amp;gt; /etc/ceph/client.cephfs&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Copy the secret file to client node under /etc/ceph . This allow filesystem to mount when cephx authentication is enabled&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# scp client.cephfs na_fedora19:/etc/ceph
client.cephfs                                                                100%   41     0.0KB/s   00:00&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;List all the keys on ceph cluster&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# ceph auth list                                               &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Option-1 : Mount CephFS with Kernel Driver&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the client machine add mount point in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fcfcfc; color: #333333; font-family: &#39;Open Sans&#39;, &#39;Helvetica Neue&#39;, Helvetica, Helvetica, sans-serif; font-size: 16px; line-height: 25.59375px;&quot;&gt;/etc/fstab . Provide IP address of your ceph monitor node and path of secret key that we have created above&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;192.168.200.101:6789:/ /cephfs ceph name=cephfs,secretfile=/etc/ceph/client.cephfs,noatime 0 2&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Open Sans, Helvetica Neue, Helvetica, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 25.59375px;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Mount cephfs mount point &amp;nbsp;, you might see some &quot;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: red;&quot;&gt;mount: error writing /etc/mtab: Invalid argument&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&quot; but you can ignore them and check &amp;nbsp;df -h&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;[root@na_fedora19 ceph]# mount /cephfs
mount: error writing /etc/mtab: Invalid argument

[root@na_fedora19 ceph]#
[root@na_fedora19 ceph]# df -h
Filesystem              Size  Used Avail Use% Mounted on
/dev/vda1               7.8G  2.1G  5.4G  28% /
devtmpfs                3.9G     0  3.9G   0% /dev
tmpfs                   3.9G     0  3.9G   0% /dev/shm
tmpfs                   3.9G  288K  3.9G   1% /run
tmpfs                   3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs                   3.9G  2.6M  3.9G   1% /tmp
&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;192.168.200.101:6789:/  419T  8.5T  411T   3% /cephfs&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #333333;&quot;&gt;
[root@na_fedora19 ceph]#&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #339900; font-family: Verdana, sans-serif; font-size: 22px; line-height: 23.984375px;&quot;&gt;Option-2 : Mounting CephFS as FUSE&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Open Sans, Helvetica Neue, Helvetica, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 25.59375px;&quot;&gt;Copy ceph configuration file ( ceph.conf ) from monitor node to client node and make sure it has permission of 644&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# scp ceph.conf na_fedora19:/etc/ceph&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# chmod 644 ceph.conf&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Copy the secret file from monitor node to client node under /etc/ceph. This allow filesystem to mount when cephx authentication is enabled ( we have done this earlier )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;# scp client.cephfs na_fedora19:/etc/ceph
client.cephfs                                                                100%   41     0.0KB/s   00:00&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Make sure you have &quot;&lt;i&gt;ceph-fuse&lt;/i&gt;&quot; package installed on client machine&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;# rpm -qa | grep -i ceph-fuse
ceph-fuse-0.72.2-0.fc19.x86_64&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To mount Ceph Filesystem as FUSE use ceph-fuse comand&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); margin-bottom: 1em; margin-top: 1em; padding: 1em; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px; white-space: pre-wrap;&quot;&gt;[root@na_fedora19 ceph]# ceph-fuse -m 192.168.100.101:6789  /cephfs
ceph-fuse[3256]: starting ceph client
ceph-fuse[3256]: starting fuse
[root@na_csc_fedora19 ceph]#

[root@na_fedora19 ceph]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       7.8G  2.1G  5.4G  28% /
devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           3.9G  292K  3.9G   1% /run
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
tmpfs           3.9G  2.6M  3.9G   1% /tmp
ceph-fuse       419T  8.5T  411T   3% /cephfs
[root@na_fedora19 ceph]#&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-filesystem-cephfs-step-by-step.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total><georss:featurename>Espoo, Finland</georss:featurename><georss:point>60.2054911 24.655900100000053</georss:point><georss:box>59.7005586 23.365006600000054 60.710423600000006 25.946793600000053</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-8420115361612208211</guid><pubDate>Thu, 05 Dec 2013 17:57:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.628-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph + OpenStack :: Part-5</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_20&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;OpenStack&amp;nbsp;Instance boot from Ceph Volume&lt;a class=&quot;ecpEdit&quot; data-from=&quot;20&quot; data-to=&quot;20&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;OpenStack Instance boot from Ceph Volume&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For a list of images to choose from to create a bootable volume&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /(keystone_admin)]# nova image-list
+--------------------------------------+-----------------------------+--------+--------+
| ID                                   | Name                        | Status | Server |
+--------------------------------------+-----------------------------+--------+--------+
| f61edc8d-c9a1-4ff4-b4fc-c8128bd1a10b | Ubuntu 12.04 cloudimg amd64 | ACTIVE |        |
| fcc07414-bbb3-4473-a8df-523664c8c9df | ceph-glance-image           | ACTIVE |        |
| be62a5bf-879f-4d1f-846c-fdef960224ff | precise-cloudimg.raw        | ACTIVE |        |
| 3c2db0ad-8d1e-400d-ba13-a506448f2a8e | precise-server-cloudimg     | ACTIVE |        |
+--------------------------------------+-----------------------------+--------+--------+
[root@rdo /(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To create a bootable volume from an image, include the image ID in the command: Before the volume builds, its bootable state is false.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo qemu(keystone_admin)]# cinder create --image-id be62a5bf-879f-4d1f-846c-fdef960224ff --display-name my-boot-vol 10
+---------------------+--------------------------------------+
|       Property      |                Value                 |
+---------------------+--------------------------------------+
|     attachments     |                  []                  |
|  availability_zone  |                 nova                 |
|       bootable      |                false                 |
|      created_at     |      2013-12-05T13:34:38.296723      |
| display_description |                 None                 |
|     display_name    |             my-boot-vol              |
|          id         | 5fca6e1b-b494-4773-9c78-63f72703bfdf |
|       image_id      | be62a5bf-879f-4d1f-846c-fdef960224ff |
|       metadata      |                  {}                  |
|         size        |                  10                  |
|     snapshot_id     |                 None                 |
|     source_volid    |                 None                 |
|        status       |               creating               |
|     volume_type     |                 None                 |
+---------------------+--------------------------------------+
[root@rdo qemu(keystone_admin)]#
[root@rdo qemu(keystone_admin)]# cinder list
+--------------------------------------+-------------+--------------+------+--------------+----------+--------------------------------------+
|                  ID                  |    Status   | Display Name | Size | Volume Type  | Bootable |             Attached to              |
+--------------------------------------+-------------+--------------+------+--------------+----------+--------------------------------------+
| 0e2bfced-be6a-44ec-a3ca-22c771c66cdc |    in-use   |  nova-vol_1  |  2   |     None     |  false   | 9d3c327f-1893-40ff-8a82-16fad9ce6d91 |
| 10cc0855-652a-4a9b-baa1-80bc86dc12ac |  available  |  ceph-vol1   |  5   | ceph-storage |  false   |                                      |
| 5fca6e1b-b494-4773-9c78-63f72703bfdf | downloading | my-boot-vol  |  10  |     None     |  false   |                                      |
+--------------------------------------+-------------+--------------+------+--------------+----------+--------------------------------------+

&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Wait for few minutes the bootable state turns to true. Copy the value in the ID field for your volume.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo qemu(keystone_admin)]# cinder list
+--------------------------------------+-----------+--------------+------+--------------+----------+--------------------------------------+
|                  ID                  |   Status  | Display Name | Size | Volume Type  | Bootable |             Attached to              |
+--------------------------------------+-----------+--------------+------+--------------+----------+--------------------------------------+
| 0e2bfced-be6a-44ec-a3ca-22c771c66cdc |   in-use  |  nova-vol_1  |  2   |     None     |  false   | 9d3c327f-1893-40ff-8a82-16fad9ce6d91 |
| 10cc0855-652a-4a9b-baa1-80bc86dc12ac | available |  ceph-vol1   |  5   | ceph-storage |  false   |                                      |
| 5fca6e1b-b494-4773-9c78-63f72703bfdf | available | my-boot-vol  |  10  |     None     |   true   |                                      |
+--------------------------------------+-----------+--------------+------+--------------+----------+--------------------------------------+
[root@rdo qemu(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create a nova instance which will be boot from ceph volume&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo qemu(keystone_admin)]# nova boot --flavor 2 --image be62a5bf-879f-4d1f-846c-fdef960224ff --block_device_mapping vda=5fca6e1b-b494-4773-9c78-63f72703bfdf::0 --security_groups=default --nic net-id=4fe5909e-02db-4517-89f2-1278248fa26c  myInstanceFromVolume
+--------------------------------------+--------------------------------------+
| Property                             | Value                                |
+--------------------------------------+--------------------------------------+
| OS-EXT-STS:task_state                | scheduling                           |
| image                                | precise-cloudimg.raw                 |
| OS-EXT-STS:vm_state                  | building                             |
| OS-EXT-SRV-ATTR:instance_name        | instance-0000001e                    |
| OS-SRV-USG:launched_at               | None                                 |
| flavor                               | m1.small                             |
| id                                   | f24a0b29-9f1e-444b-b895-c3c694f2f1bc |
| security_groups                      | [{u&#39;name&#39;: u&#39;default&#39;}]              |
| user_id                              | 99f8019ba2694d78a680a5de46aa1afd     |
| OS-DCF:diskConfig                    | MANUAL                               |
| accessIPv4                           |                                      |
| accessIPv6                           |                                      |
| progress                             | 0                                    |
| OS-EXT-STS:power_state               | 0                                    |
| OS-EXT-AZ:availability_zone          | nova                                 |
| config_drive                         |                                      |
| status                               | BUILD                                |
| updated                              | 2013-12-05T13:47:34Z                 |
| hostId                               |                                      |
| OS-EXT-SRV-ATTR:host                 | None                                 |
| OS-SRV-USG:terminated_at             | None                                 |
| key_name                             | None                                 |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | None                                 |
| name                                 | myInstanceFromVolume                 |
| adminPass                            | qt34izQiLkG3                         |
| tenant_id                            | 0dafe42cfde242ddbb67b681f59bdb00     |
| created                              | 2013-12-05T13:47:34Z                 |
| os-extended-volumes:volumes_attached | []                                   |
| metadata                             | {}                                   |
+--------------------------------------+--------------------------------------+
[root@rdo qemu(keystone_admin)]#
[root@rdo qemu(keystone_admin)]#
[root@rdo qemu(keystone_admin)]#
[root@rdo qemu(keystone_admin)]# nova list
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| ID                                   | Name                 | Status  | Task State | Power State | Networks            |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| 0043a8be-60d1-43ed-ba43-1ccd0bba7559 | instance2            | SHUTOFF | None       | Shutdown    | public=172.24.4.228 |
| f24a0b29-9f1e-444b-b895-c3c694f2f1bc | myInstanceFromVolume | BUILD   | spawning   | NOSTATE     | private=10.0.0.3    |
| 9d3c327f-1893-40ff-8a82-16fad9ce6d91 | small-ubuntu         | ACTIVE  | None       | Running     | public=172.24.4.230 |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
[root@rdo qemu(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Just in few minutes the instance starts RUNNING , time for a party now&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo qemu(keystone_admin)]# nova list
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| ID                                   | Name                 | Status  | Task State | Power State | Networks            |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| 0043a8be-60d1-43ed-ba43-1ccd0bba7559 | instance2            | SHUTOFF | None       | Shutdown    | public=172.24.4.228 |
| f24a0b29-9f1e-444b-b895-c3c694f2f1bc | myInstanceFromVolume | ACTIVE  | None       | Running     | private=10.0.0.3    |
| 9d3c327f-1893-40ff-8a82-16fad9ce6d91 | small-ubuntu         | ACTIVE  | None       | Running     | public=172.24.4.230 |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
[root@rdo qemu(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; color: #339900; font-size: 16.363636016845703px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;OpenStack_Instance_boot_from_Ceph_Volume_::_Troubleshooting&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_21&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;OpenStack&amp;nbsp;Instance boot from Ceph Volume :: Troubleshooting&lt;a class=&quot;ecpEdit&quot; data-from=&quot;21&quot; data-to=&quot;21&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;OpenStack Instance boot from Ceph Volume :: Troubleshooting&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;During boot from volume , i encountered some errors after creating nova instance. The image was not able to get booted up from volume&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo nova(keystone_admin)]# nova boot --flavor 2 --image be62a5bf-879f-4d1f-846c-fdef960224ff --block_device_mapping vda=dd315dda-b22a-4cf8-8b77-7c2b2f163155:::0 --security_groups=default --nic net-id=4fe5909e-02db-4517-89f2-1278248fa26c  myInstanceFromVolume
+--------------------------------------+----------------------------------------------------+
| Property                             | Value                                              |
+--------------------------------------+----------------------------------------------------+
| OS-EXT-STS:task_state                | scheduling                                         |
| image                                | precise-cloudimg.raw                               |
| OS-EXT-STS:vm_state                  | building                                           |
| OS-EXT-SRV-ATTR:instance_name        | instance-0000001d                                  |
| OS-SRV-USG:launched_at               | None                                               |
| flavor                               | m1.small                                           |
| id                                   | f324e9b8-ec3a-4174-8b97-bf78dba62932               |
| security_groups                      | [{u&#39;name&#39;: u&#39;default&#39;}]                            |
| user_id                              | 99f8019ba2694d78a680a5de46aa1afd                   |
| OS-DCF:diskConfig                    | MANUAL                                             |
| accessIPv4                           |                                                    |
| accessIPv6                           |                                                    |
| progress                             | 0                                                  |
| OS-EXT-STS:power_state               | 0                                                  |
| OS-EXT-AZ:availability_zone          | nova                                               |
| config_drive                         |                                                    |
| status                               | BUILD                                              |
| updated                              | 2013-12-05T12:42:22Z                               |
| hostId                               |                                                    |
| OS-EXT-SRV-ATTR:host                 | None                                               |
| OS-SRV-USG:terminated_at             | None                                               |
| key_name                             | None                                               |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | None                                               |
| name                                 | myInstanceFromVolume                               |
| adminPass                            | eish5pu56CiE                                       |
| tenant_id                            | 0dafe42cfde242ddbb67b681f59bdb00                   |
| created                              | 2013-12-05T12:42:21Z                               |
| os-extended-volumes:volumes_attached | [{u&#39;id&#39;: u&#39;dd315dda-b22a-4cf8-8b77-7c2b2f163155&#39;}] |
| metadata                             | {}                                                 |
+--------------------------------------+----------------------------------------------------+
[root@rdo nova(keystone_admin)]#
[root@rdo nova(keystone_admin)]#
[root@rdo nova(keystone_admin)]#
[root@rdo nova(keystone_admin)]# nova list
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| ID                                   | Name                 | Status  | Task State | Power State | Networks            |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| 0043a8be-60d1-43ed-ba43-1ccd0bba7559 | instance2            | SHUTOFF | None       | Shutdown    | public=172.24.4.228 |
| f324e9b8-ec3a-4174-8b97-bf78dba62932 | myInstanceFromVolume | ERROR   | None       | NOSTATE     | private=10.0.0.3    |
| 9d3c327f-1893-40ff-8a82-16fad9ce6d91 | small-ubuntu         | ACTIVE  | None       | Running     | public=172.24.4.230 |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
[root@rdo nova(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After checking up logs from /var/log/libvirt/qemu/instance-0000001d.log&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;qemu-kvm: -drive file=rbd:ceph-volumes/volume-dd315dda-b22a-4cf8-8b77-7c2b2f163155:id=volumes:key=AQC804xS8HzFJxAAD/zzQ8LMzq9wDLq/5a472g==:auth_supported=cephx\;none:mon_host=192.168.1.31\:6789\;192.168.1.33\:6789\;192.168.1.38\:6789,if=none,id=drive-virtio-disk0,format=raw,serial=dd315dda-b22a-4cf8-8b77-7c2b2f163155,cache=none: could not open disk image rbd:ceph-volumes/volume-dd315dda-b22a-4cf8-8b77-7c2b2f163155:id=volumes:key=AQC804xS8HzFJxAAD/zzQ8LMzq9wDLq/5a472g==:auth_supported=cephx\;none:mon_host=192.168.1.31\:6789\;192.168.1.33\:6789\;192.168.1.38\:6789: No such file or directory
2013-12-05 12:42:29.544+0000: shutting down
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Run qemu-img -h command to check for the supported format , here i found rbd format is not supported by qemu , so there is something fishy in this&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Supported formats: raw cow qcow vdi vmdk cloop dmg bochs vpc vvfat qcow2 qed vhdx parallels nbd blkdebug host_cdrom host_floppy host_device file gluster gluster gluster gluster
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check the installed qemu version&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo qemu(keystone_admin)]# rpm -qa | grep -i qemu
qemu-img-0.12.1.2-2.415.el6_5.3.x86_64
qemu-guest-agent-0.12.1.2-2.415.el6_5.3.x86_64
gpxe-roms-qemu-0.9.7-6.10.el6.noarch
qemu-kvm-0.12.1.2-2.415.el6_5.3.x86_64
qemu-kvm-tools-0.12.1.2-2.415.el6_5.3.x86_64
[root@rdo qemu(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Have a look on previous post&amp;nbsp;to see the installation of correct version of qemu . After this your nova instance should boot from volume&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.988636016845703px; margin: 1em 0px; orphans: auto; padding: 1em; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; width: auto; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo qemu(keystone_admin)]# rpm -qa | grep -i qemu
qemu-img-0.12.1.2-2.355.el6.2.cuttlefish.async.x86_64
qemu-guest-agent-0.12.1.2-2.355.el6.2.cuttlefish.async.x86_64
qemu-kvm-0.12.1.2-2.355.el6.2.cuttlefish.async.x86_64
gpxe-roms-qemu-0.9.7-6.10.el6.noarch
qemu-kvm-tools-0.12.1.2-2.355.el6.2.cuttlefish.async.x86_64
[root@rdo qemu(keystone_admin)]#

[root@rdo /(keystone_admin)]# qemu-img -h | grep -i rbd
Supported formats: raw cow qcow vdi vmdk cloop dmg bochs vpc vvfat qcow2 qed parallels nbd blkdebug host_cdrom host_floppy host_device file rbd
[root@rdo /(keystone_admin)]#


[root@rdo qemu(keystone_admin)]# nova list
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| ID                                   | Name                 | Status  | Task State | Power State | Networks            |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
| 0043a8be-60d1-43ed-ba43-1ccd0bba7559 | instance2            | SHUTOFF | None       | Shutdown    | public=172.24.4.228 |
| f24a0b29-9f1e-444b-b895-c3c694f2f1bc | myInstanceFromVolume | ACTIVE  | None       | Running     | private=10.0.0.3    |
| 9d3c327f-1893-40ff-8a82-16fad9ce6d91 | small-ubuntu         | ACTIVE  | None       | Running     | public=172.24.4.230 |
+--------------------------------------+----------------------+---------+------------+-------------+---------------------+
[root@rdo qemu(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-openstack-part-5.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-7105558305668565930</guid><pubDate>Thu, 05 Dec 2013 17:55:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.605-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph + OpenStack :: Part-4</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_19&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Testing&amp;nbsp;OpenStack&amp;nbsp;Glance + RBD&lt;a class=&quot;ecpEdit&quot; data-from=&quot;19&quot; data-to=&quot;19&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Testing OpenStack Glance + RBD&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To allow glance to keep images on ceph RBD volume , edit /etc/glance/glance-api.conf&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;default_store = rbd
# ============ RBD Store Options =============================

# Ceph configuration file path
# If using cephx authentication, this file should
# include a reference to the right keyring
# in a client. section
rbd_store_ceph_conf = /etc/ceph/ceph.conf

# RADOS user to authenticate as (only applicable if using cephx)
rbd_store_user = images         ## This is the ceph user that we have created above in this document

# RADOS pool in which images are stored
rbd_store_pool = ceph-images   ## This is the ceph pool for images that we have created above in this document

# Images will be chunked into objects of this size (in megabytes).
# For best performance, this should be a power of two
rbd_store_chunk_size = 8
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Check ceph auth to make sure keys are present for client.images user . This should present here as we have created them earlier in this document.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo ceph(keystone_admin)]# ceph auth list
installed auth entries:

mds.ceph-mon1
   key: AQAxp35ScNUxOBAAfAXc+J5F3/v7jUrpztVRBQ==
   caps: [mds] allow
   caps: [mon] allow profile mds
   caps: [osd] allow rwx
osd.0
   key: AQCOvWpSsKN4JBAA015Uf53JjGCJS4cgzhxGFg==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.1
   key: AQCn+mtSULePJxAACKvSkIqF39f5MaFiwsVR6Q==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.10
   key: AQCjNIZSOF7AFxAA3vwLvgaB3PI+WAZPt2eIlQ==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.2
   key: AQDHBmxSwKTZBxAAyWlQGj8H48sdPGl4PzlFbQ==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.3
   key: AQBv/WtSwH5gOBAAHrSWblzq/n/qPbaurBMC2g==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.4
   key: AQCiE2xSgDLQMRAAjWotlPtyqaSgpll1P6NTfw==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.5
   key: AQCrFGxSOEnjMRAAnrqLcMR8UHu3rTTTQ5DHjw==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.6
   key: AQAXFmxSUAmsJxAA83qr0mZ3sGLQbi+C59LXgw==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.7
   key: AQBpFmxSOCZFNBAAONPg5I3QnB3Wd/pr7rSkEg==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.8
   key: AQC7M4ZSSP9dMhAAh4HQ0uvKFs9yHiQrobXzUA==
   caps: [mon] allow profile osd
   caps: [osd] allow *
osd.9
   key: AQBmNIZSkAIjMRAA3FFGaMhGiPCmYmQ9REisRQ==
   caps: [mon] allow profile osd
   caps: [osd] allow *
client.admin
   key: AQBSt2pS4M5cCBAAUd4jWA1vxJT+y5C9X6juzg==
   caps: [mds] allow
   caps: [mon] allow *
   caps: [osd] allow *
client.bootstrap-mds
   key: AQBSt2pS8IirKxAAQ27MWZ4pEEBuNhCDrj/FRw==
   caps: [mon] allow profile bootstrap-mds
client.bootstrap-osd
   key: AQBSt2pSYLXVGRAAYs0R8gXKSEct6ApEy4h6dQ==
   caps: [mon] allow profile bootstrap-osd
client.images
   key: AQDS04xSEJEYABAA8Kl9eEqIr3Y8pyz+tPRpvQ==
   caps: [mon] allow r
   caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=ceph-images
client.volumes
   key: AQC804xS8HzFJxAAD/zzQ8LMzq9wDLq/5a472g==
   caps: [mon] allow r
   caps: [osd] allow class-read object_prefix rbd_children, allow rwx pool=ceph-volumes, allow rx pool=ceph-images

[root@rdo ceph(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Copy the keyrings file to glance directory. This is the same file that we have generated above in this document.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;cp /etc/ceph/ceph.client.images.keyring /etc/glance
chown glance:glance /etc/glance/ceph.client.images.keyring

 #  service openstack-glance-api restart
 #  service openstack-glance-registry restart
 #  service openstack-glance-scrubber restart
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Before creating a new glance image on ceph volume , check the ceph pool content ( in my case its empty and it should be , this is for the first time we are using this volume )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo init.d(keystone_admin)]# rbd -p ceph-images ls
rbd: pool ceph-images doesn&#39;t contain rbd images
[root@rdo init.d(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Download a new image or use if you have existing.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo var(keystone_admin)]# wget http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img
[root@rdo var(keystone_admin)]# glance add name=&quot;ceph-glance-image&quot; is_public=True disk_format=qcow2 container_format=ovf architecture=x86_64 &amp;lt;  ubuntu-12.04.3-desktop-amd64.iso
Added new image with ID: fcc07414-bbb3-4473-a8df-523664c8c9df
[root@rdo var(keystone_admin)]# glance index
ID                                   Name                           Disk Format          Container Format     Size
------------------------------------ ------------------------------ -------------------- -------------------- --------------
fcc07414-bbb3-4473-a8df-523664c8c9df ceph-glance-image              qcow2                ovf                       742391808
3c2db0ad-8d1e-400d-ba13-a506448f2a8e precise-server-cloudimg        qcow2                ovf                       254738432
f61edc8d-c9a1-4ff4-b4fc-c8128bd1a10b Ubuntu 12.04 cloudimg amd64    qcow2                ovf                       254738432
[root@rdo var(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now check your ceph pool , it will have image ( even match the glance image ID with pool objects , also compare image size with object size )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo var(keystone_admin)]# rbd -p ceph-images ls
fcc07414-bbb3-4473-a8df-523664c8c9df
[root@rdo var(keystone_admin)]#

[root@rdo var(keystone_admin)]# du ubuntu-12.04.3-desktop-amd64.iso
724996   ubuntu-12.04.3-desktop-amd64.iso
[root@rdo var(keystone_admin)]#

[root@rdo var(keystone_admin)]# rados df
pool name       category                 KB      objects       clones     degraded      unfound           rd        rd KB           wr        wr KB
ceph-images     -                     724993           92            0            0           0           63           50           98       724993
ceph-volumes    -                          1            9            0            0           0          284          212           72            8
data            -                  141557761        34563            0            0           0        71843    131424295        71384    146013188
metadata        -                       9667           23            0            0           0           72        19346          851        10102
rbd             -                          1            1            0            0           0         2117        21883          305       226753
  total used       287309244        34688
  total avail     6222206348
  total space     6509515592
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Feeling Happy , you should be , now glance will use ceph to retrieve / store images&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;h4 style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin: 0px; position: relative; text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;Please Follow&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://karan-mj.blogspot.fi/2013/12/ceph-openstack-part-5.html&quot; style=&quot;color: blue; text-decoration: none;&quot;&gt;Ceph + OpenStack :: Part-5&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 21.984375px;&quot;&gt;for next step in installation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-openstack-part-4.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-6943447743267477068</guid><pubDate>Thu, 05 Dec 2013 17:51:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.601-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph + OpenStack :: Part-3</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_17&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Testing&amp;nbsp;OpenStack&amp;nbsp;Cinder + RBD&lt;a class=&quot;ecpEdit&quot; data-from=&quot;17&quot; data-to=&quot;17&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Testing OpenStack Cinder + RBD&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Creating a cinder volume provided by ceph backend&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /]#
[root@rdo /]# cinder create --display-name cinder-ceph-vol1 --display-description &quot;first cinder volume on ceph backend&quot; 10
+---------------------+--------------------------------------+
|       Property      |                Value                 |
+---------------------+--------------------------------------+
|     attachments     |                  []                  |
|  availability_zone  |                 nova                 |
|       bootable      |                false                 |
|      created_at     |      2013-11-27T19:35:39.481075      |
| display_description | first cinder volume on ceph backend  |
|     display_name    |           cinder-ceph-vol1           |
|          id         | 10cc0855-652a-4a9b-baa1-80bc86dc12ac |
|       metadata      |                  {}                  |
|         size        |                  10                  |
|     snapshot_id     |                 None                 |
|     source_volid    |                 None                 |
|        status       |               creating               |
|     volume_type     |                 None                 |
+---------------------+--------------------------------------+
[root@rdo /]#
[root@rdo /]#&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /(keystone_admin)]# cinder list
+--------------------------------------+-----------+------------------+------+--------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+------------------+------+--------------+----------+-------------+
| 10cc0855-652a-4a9b-baa1-80bc86dc12ac | available | cinder-ceph-vol1 | 5 | ceph-storage | false | |
| 9671edaa-62c8-4f98-a36c-d6e59612141b | available | boot_from_volume | 20 | None | false | |
+--------------------------------------+-----------+------------------+------+--------------+----------+-------------+
[root@rdo /(keystone_admin)]#&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /]#&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /]# rados lspools
data
metadata
rbd
ceph-images
ceph-volumes
[root@rdo /]#
[root@rdo /]#
[root@rdo /]# rbd -p ceph-volumes ls
volume-10cc0855-652a-4a9b-baa1-80bc86dc12ac
[root@rdo /]#

&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Attaching cinder volume to Instance&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /(keystone_admin)]# nova list
+--------------------------------------+------------------+---------+--------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------+---------+--------------+-------------+---------------------+
| 0043a8be-60d1-43ed-ba43-1ccd0bba7559 | instance2 | SHUTOFF | None | Shutdown | public=172.24.4.228 |
| 9d3c327f-1893-40ff-8a82-16fad9ce6d91 | small-ubuntu | ACTIVE | None | Running | public=172.24.4.230 |
| 10d1c49f-9fbc-455f-b72d-f731338b2dd5 | small-ubuntu-pwd | ACTIVE | powering-off | Shutdown | public=172.24.4.231 |
+--------------------------------------+------------------+---------+--------------+-------------+---------------------+
[root@rdo /(keystone_admin)]#

[root@rdo /(keystone_admin)]# nova show 9d3c327f-1893-40ff-8a82-16fad9ce6d91
+--------------------------------------+--------------------------------------------------------------------+
| Property                             | Value                                                              |
+--------------------------------------+--------------------------------------------------------------------+
| status                               | ACTIVE                                                             |
| updated                              | 2013-12-03T15:58:31Z                                               |
| OS-EXT-STS:task_state                | None                                                               |
| OS-EXT-SRV-ATTR:host                 | rdo                                                                |
| key_name                             | RDO-admin                                                          |
| image                                | Ubuntu 12.04 cloudimg amd64 (f61edc8d-c9a1-4ff4-b4fc-c8128bd1a10b) |
| hostId                               | 4a74aa79a23a084f73f49a4fedba7447c132ab45c4701ed7fbbb2286           |
| OS-EXT-STS:vm_state                  | active                                                             |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000018                                                  |
| public network                       | 172.24.4.230                                                       |
| OS-SRV-USG:launched_at               | 2013-12-03T08:55:46.000000                                         |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | rdo                                                                |
| flavor                               | m1.small (2)                                                       |
| id                                   | 9d3c327f-1893-40ff-8a82-16fad9ce6d91                               |
| security_groups                      | [{u&#39;name&#39;: u&#39;default&#39;}]                                            |
| OS-SRV-USG:terminated_at             | None                                                               |
| user_id                              | 99f8019ba2694d78a680a5de46aa1afd                                   |
| name                                 | small-ubuntu                                                       |
| created                              | 2013-12-03T08:55:39Z                                               |
| tenant_id                            | 0dafe42cfde242ddbb67b681f59bdb00                                   |
| OS-DCF:diskConfig                    | MANUAL                                                             |
| metadata                             | {}                                                                 |
| os-extended-volumes:volumes_attached | []                                                                 |
| accessIPv4                           |                                                                    |
| accessIPv6                           |                                                                    |
| progress                             | 0                                                                  |
| OS-EXT-STS:power_state               | 1                                                                  |
| OS-EXT-AZ:availability_zone          | nova                                                               |
| config_drive                         |                                                                    |
+--------------------------------------+--------------------------------------------------------------------+
[root@rdo /(keystone_admin)]#

[root@rdo /(keystone_admin)]# virsh list
 Id    Name                           State
----------------------------------------------------
 2     instance-00000018              running

&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /(keystone_admin)]# cat disk.xml
&amp;lt;disk type=&#39;network&#39;&amp;gt;
 &amp;lt;driver name=&quot;qemu&quot; type=&quot;raw&quot;/&amp;gt;
 &amp;lt;source protocol=&quot;rbd&quot; name=&quot;ceph-volumes/volume-10cc0855-652a-4a9b-baa1-80bc86dc12ac&quot;&amp;gt;
 &amp;lt;host name=&#39;192.168.1.38&#39; port=&#39;6789&#39;/&amp;gt;
 &amp;lt;host name=&#39;192.168.1.31&#39; port=&#39;6789&#39;/&amp;gt;
 &amp;lt;host name=&#39;192.168.1.33&#39; port=&#39;6789&#39;/&amp;gt;
 &amp;lt;/source&amp;gt;
 &amp;lt;target dev=&quot;vdf&quot; bus=&quot;virtio&quot;/&amp;gt;
&amp;lt;auth username=&#39;volumes&#39;&amp;gt;
&amp;lt;secret type=&#39;ceph&#39; uuid=&#39;801a42ec-aec1-3ea8-d869-823c2de56b83&#39;/&amp;gt;
&amp;lt;/auth&amp;gt;
&amp;lt;/disk&amp;gt;
[root@rdo /(keystone_admin)]#&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Things you should know about this file&lt;/span&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;source name=&amp;lt;ceph_pool_name/volume_name&amp;gt; ## ceph pool that we have created above and its cinder volume&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;host name=&amp;lt;Your_Monitor_nodes&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;auth username=&amp;lt;user_you_created_in_Ceph_having_rights_to_pools_that_will_be_used_with_OS&amp;gt; ## we have created 2 users client.volumes and client.images for ceph that will have access to pools for openstack&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;secret uuid=&amp;lt;secret_generated_by_virsh_secrec_define_command&amp;gt; ## refer above that we have generated.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Attaching disk device to instance&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@rdo /(keystone_admin)]# virsh attach-device instance-00000018 disk.xml
Device attached successfully
[root@rdo /(keystone_admin)]#
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now the ceph volume is attached to your openstack instance , you can use this as a regular block disk.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 style=&quot;background-color: white; color: #339900; font-size: 16.363636016845703px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Making_integration_more_seamless&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_18&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Making integration more seamless&lt;a class=&quot;ecpEdit&quot; data-from=&quot;18&quot; data-to=&quot;18&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Making integration more seamless&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To allow openstack create and attach ceph volumes using nova / cinder CLI as well as horizon dashboard , we need to add in /etc/nova/nova.conf the following values&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;rbd_user=volumes
rbd_secret_uuid=801a42ec-aec1-3ea8-d869-823c2de56b83 &lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After updating nova.conf , try creating volume from nova cli and attach to instance&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-family: &#39;Bitstream Vera Sans Mono&#39;, &#39;Andale Mono&#39;, Courier, monospace; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;
[root@rdo nova(keystone_admin)]#
[root@rdo nova(keystone_admin)]# nova volume-create --display_name=nova-vol_1 2
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| status | creating |
| display_name | nova-vol_1 |
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2013-12-04T14:13:07.265831 |
| display_description | None |
| volume_type | None |
| snapshot_id | None |
| source_volid | None |
| size | 2 |
| id | 0e2bfced-be6a-44ec-a3ca-22c771c66cdc |
| metadata | {} |
+---------------------+--------------------------------------+
[root@rdo nova(keystone_admin)]#

[root@rdo nova(keystone_admin)]# nova volume-list
+--------------------------------------+-----------+------------------+------+--------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+-----------+------------------+------+--------------+-------------+
| 0e2bfced-be6a-44ec-a3ca-22c771c66cdc | available | nova-vol_1 | 2 | None | |
| 9671edaa-62c8-4f98-a36c-d6e59612141b | available | boot_from_volume | 20 | None | |
| 10cc0855-652a-4a9b-baa1-80bc86dc12ac | available | ceph-vol1 | 5 | ceph-storage | |
+--------------------------------------+-----------+------------------+------+--------------+-------------+
[root@rdo nova(keystone_admin)]#

[root@rdo nova(keystone_admin)]# nova list
+--------------------------------------+------------------+---------+--------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------+---------+--------------+-------------+---------------------+
| 0043a8be-60d1-43ed-ba43-1ccd0bba7559 | instance2 | SHUTOFF | None | Shutdown | public=172.24.4.228 |
| 9d3c327f-1893-40ff-8a82-16fad9ce6d91 | small-ubuntu | ACTIVE | None | Running | public=172.24.4.230 |
| 10d1c49f-9fbc-455f-b72d-f731338b2dd5 | small-ubuntu-pwd | ACTIVE | powering-off | Shutdown | public=172.24.4.231 |
+--------------------------------------+------------------+---------+--------------+-------------+---------------------+
[root@rdo nova(keystone_admin)]#

[root@rdo nova(keystone_admin)]# nova volume-attach 9d3c327f-1893-40ff-8a82-16fad9ce6d91 0e2bfced-be6a-44ec-a3ca-22c771c66cdc /dev/vdi
+----------+--------------------------------------+
| Property | Value |
+----------+--------------------------------------+
| device | /dev/vdi |
| serverId | 9d3c327f-1893-40ff-8a82-16fad9ce6d91 |
| id | 0e2bfced-be6a-44ec-a3ca-22c771c66cdc |
| volumeId | 0e2bfced-be6a-44ec-a3ca-22c771c66cdc |
+----------+--------------------------------------+
[root@rdo nova(keystone_admin)]#
[root@rdo nova(keystone_admin)]#
[root@rdo nova(keystone_admin)]# nova volume-list
+--------------------------------------+-----------+------------------+------+--------------+--------------------------------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+-----------+------------------+------+--------------+--------------------------------------+
| 0e2bfced-be6a-44ec-a3ca-22c771c66cdc | in-use | nova-vol_1 | 2 | None | 9d3c327f-1893-40ff-8a82-16fad9ce6d91 |
| 9671edaa-62c8-4f98-a36c-d6e59612141b | available | boot_from_volume | 20 | None | |
| 10cc0855-652a-4a9b-baa1-80bc86dc12ac | available | ceph-vol1 | 5 | ceph-storage | |
+--------------------------------------+-----------+------------------+------+--------------+--------------------------------------+
[root@rdo nova(keystone_admin)]#

&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin: 0px; position: relative; text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;h4 style=&quot;background-color: white; font-family: Verdana, Geneva, sans-serif; font-size: 14.545454025268555px; line-height: 18.18181800842285px; margin: 0px; position: relative; text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;Please Follow&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://karan-mj.blogspot.fi/2013/12/ceph-openstack-part-4.html&quot; style=&quot;color: blue; text-decoration: none;&quot;&gt;Ceph + OpenStack :: Part-4&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 21.984375px;&quot;&gt;for next step in installation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-openstack-part-3.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-7965282750201576777</guid><pubDate>Thu, 05 Dec 2013 17:45:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.619-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph + OpenStack :: Part-2</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-family: Verdana, sans-serif; font-size: 19.09090805053711px; line-height: 1.1em;&quot;&gt;Configuring&amp;nbsp;OpenStack&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; line-height: 22px;&quot;&gt;Two parts of openstack&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; line-height: 22px;&quot;&gt;integrates with Ceph’s block devices:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Images&lt;/strong&gt;:&amp;nbsp;OpenStack&amp;nbsp;Glance manages images for VMs.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Volumes&lt;/strong&gt;: Volumes are block devices.&amp;nbsp;OpenStack&amp;nbsp;uses volumes to boot VMs, or to attach volumes to running VMs.&amp;nbsp;OpenStack&amp;nbsp;manages volumes using Cinder services.&lt;/span&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;Create pools for volumes and images:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ceph osd pool create volumes 128
ceph osd pool create images 128&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 22px;&quot;&gt;Configure&amp;nbsp;&lt;/span&gt;OpenStack&amp;nbsp;&lt;span style=&quot;background-color: transparent; line-height: 22px;&quot;&gt;Ceph Client - The nodes running glance-api and cinder-volume act as Ceph clients. Each requires the ceph.conf file:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# scp ceph.conf openstack:/etc/ceph&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;Installing ceph client packages on openstack node&lt;/span&gt;&lt;/strong&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;First install Python bindings for librbd&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 60px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;yum install python-ceph
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;Install ceph&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-deploy install openstack&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Setup Ceph Client Authentication for both pools along with keyrings&lt;/span&gt;&lt;/strong&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create a new user for Nova/Cinder and Glance.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ceph auth get-or-create client.volumes mon &#39;allow r&#39; osd &#39;allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rx pool=images&#39;
ceph auth get-or-create client.images mon &#39;allow r&#39; osd &#39;allow class-read object_prefix rbd_children, allow rwx pool=images&#39;&lt;span style=&quot;background-color: transparent; color: black; line-height: 22px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;Add these keyrings to glance-api and cinder-volume nodes.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ceph auth get-or-create client.images | ssh openstack tee /etc/ceph/ceph.client.images.keyring
ssh openstack chown glance:glance /etc/ceph/ceph.client.images.keyring
ceph auth get-or-create client.volumes | ssh openstack tee /etc/ceph/ceph.client.volumes.keyring
ssh openstack chown cinder:cinder /etc/ceph/ceph.client.volumes.keyring&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hosts running nova-compute do not need the keyring. Instead, they store the secret key in libvirt. To create libvirt secret key you will need key from client.volumes.key&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ceph auth get-key client.volumes | ssh openstack tee client.volumes.key&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 22px;&quot;&gt;on the compute nodes, add the secret key to&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;color: #333333; font-size: 1em;&quot;&gt;libvirt create a secret.xml file&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;cat &amp;gt; secret.xml &amp;lt; &amp;lt;EOF
&amp;lt;secret ephemeral=&#39;no&#39; private=&#39;no&#39;&amp;gt;
  &amp;lt;usage type=&#39;ceph&#39;&amp;gt;
    &amp;lt;name&amp;gt;client.volumes secret&amp;lt;/name&amp;gt;
  &amp;lt;/usage&amp;gt;
EOF&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Generate secret from created secret.xml file , make a note of uuid of secret output&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# virsh secret-define --file secret.xml&lt;span style=&quot;background-color: transparent; color: black; line-height: 22px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Set libvirt secret using above key&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# virsh secret-set-value --secret {uuid of secret} --base64 $(cat client.volumes.key) &amp;amp;&amp;amp; rm client.volumes.key secret.xml&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Configure&amp;nbsp;OpenStack-Glance&amp;nbsp;to use CEPH&lt;/span&gt;&lt;/strong&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Glance can use multiple back ends to store images. To use Ceph block devices by default, edit&amp;nbsp;&lt;code style=&quot;color: #333333; font-size: 1em;&quot;&gt;/etc/glance/glance-api.conf&lt;/code&gt;&amp;nbsp;and add:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;default_store=rbd
rbd_store_user=images
rbd_store_pool=images&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;If want to enable copy-on-write cloning of images into volumes, also add:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;show_image_direct_url=True&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Configure&amp;nbsp;OpenStack - Cinder&amp;nbsp;to use CEPH&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;OpenStack&amp;nbsp;requires a driver to interact with Ceph block devices. You must specify the pool name for the block device. On your&amp;nbsp;OpenStack&amp;nbsp;node, edit&lt;code style=&quot;color: #333333; font-size: 1em;&quot;&gt;/etc/cinder/cinder.conf&lt;/code&gt;&amp;nbsp;by adding:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;volume_driver=cinder.volume.drivers.rbd.RBDDriver
rbd_pool=volumes
glance_api_version=2&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: transparent; line-height: 22px;&quot;&gt;If you’re using cephx authentication also configure the user and uuid of the secret you added to&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;color: #333333; font-size: 1em;&quot;&gt;libvirt&lt;/code&gt;&amp;nbsp;&lt;span style=&quot;background-color: transparent; line-height: 22px;&quot;&gt;earlier:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;rbd_user=volumes
rbd_secret_uuid={uuid of secret}&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;Restart Openstack&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em 1em 1em 30px; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;service glance-api restart
service nova-compute restart
service cinder-volume restart&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once&amp;nbsp;OpenStack&amp;nbsp;is up and running, you should be able to create a volume with&amp;nbsp;OpenStack&amp;nbsp;on a Ceph block device.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 22px;&quot;&gt;&lt;strong&gt;NOTE :&amp;nbsp;&lt;/strong&gt;Make sure /etc/ceph/ceph.conf file have sufficient rights to be ready by cinder and glance users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;Please Follow&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://karan-mj.blogspot.fi/2013/12/ceph-openstack-part-3.html&quot;&gt;Ceph + OpenStack :: Part-3&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 21.984375px;&quot;&gt;for next step in installation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-openstack-part-2.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-4470430788427178780</guid><pubDate>Thu, 05 Dec 2013 17:30:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.550-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph + OpenStack :: Part-1</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-size: 21.81818199157715px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;font-family: Verdana, sans-serif; padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-size: 21.81818199157715px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_13&quot; style=&quot;font-family: Verdana, sans-serif; padding-right: 20px; position: relative;&quot;&gt;Ceph &amp;amp;&amp;nbsp;OpenStack&amp;nbsp;Integration&lt;a class=&quot;ecpEdit&quot; data-from=&quot;13&quot; data-to=&quot;13&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Ceph   OpenStack Integration&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;We can use Ceph Block Device with openstack&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;through&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #333333; font-size: small; line-height: 21.988636016845703px;&quot;&gt;libvirt&lt;/code&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;, which configures the QEMU interface to&lt;/span&gt;&lt;tt style=&quot;background-color: white; color: #333333; font-size: small; line-height: 21.988636016845703px;&quot;&gt;librbd&lt;/tt&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;. To use Ceph Block Devices with&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.984375px;&quot;&gt;openstack&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;, we must install QEMU,&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #333333; font-size: small; line-height: 21.988636016845703px;&quot;&gt;libvirt&lt;/code&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;, and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.984375px;&quot;&gt;openstack&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;first. ( we will not cover openstack installation in this document , you can use your existing openstack infrastructure ) The following diagram explains&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.984375px;&quot;&gt;openstack&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;/Ceph technology stack.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img alt=&quot;OpenStack/Ceph technology stack&quot; src=&quot;http://ceph.com/docs/master/_images/ditaa-e4a4957f90e4d8ebac2608e1544c34bf784cfdfb.png&quot; height=&quot;294&quot; style=&quot;background-color: white; border: 0px; font-size: small; line-height: 21.988636016845703px; vertical-align: text-bottom;&quot; title=&quot;OpenStack/Ceph technology stack&quot; width=&quot;570&quot; /&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Installing_QEMU&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_14&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Installing QEMU&lt;a class=&quot;ecpEdit&quot; data-from=&quot;14&quot; data-to=&quot;14&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Installing QEMU&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small; line-height: 22px;&quot;&gt;qemu-img version 0.12.1 does not have RBD support , so we need install packages with async . On Openstack Node , create 3 YUM repo files&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small; line-height: 22px;&quot;&gt;ceph-extras-source.repo , ceph-extras.repo, ceph-extras-noarch.repo&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;  [ceph-extras]
  name=Ceph Extra Packages and Backports $basearch
  baseurl=&lt;a href=&quot;http://ceph.com/packages/ceph-extras/rpm/centos6/$basearch&quot; rel=&quot;nofollow&quot; style=&quot;color: #4c94db; cursor: pointer; text-decoration: none;&quot;&gt;http://ceph.com/packages/ceph-extras/rpm/centos6/$basearch&lt;/a&gt;
  enabled=1
  gpgcheck=1
  type=rpm-md
  gpgkey=&lt;a href=&quot;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&quot; rel=&quot;nofollow&quot; style=&quot;color: #4c94db; cursor: pointer; text-decoration: none;&quot;&gt;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&lt;/a&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;  [ceph-extras-noarch]
  name=Ceph Extra Packages and Backports noarch
  baseurl=&lt;a href=&quot;http://ceph.com/packages/ceph-extras/rpm/centos6/noarch&quot; rel=&quot;nofollow&quot; style=&quot;color: #4c94db; cursor: pointer; text-decoration: none;&quot;&gt;http://ceph.com/packages/ceph-extras/rpm/centos6/noarch&lt;/a&gt;
  enabled=1
  gpgcheck=1
  type=rpm-md
  gpgkey=&lt;a href=&quot;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&quot; rel=&quot;nofollow&quot; style=&quot;color: #4c94db; cursor: pointer; text-decoration: none;&quot;&gt;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&lt;/a&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; [ceph-extras-source]
 name=Ceph Extra Packages and Backports Sources
 baseurl=&lt;a href=&quot;http://ceph.com/packages/ceph-extras/rpm/centos6/SRPMS&quot; rel=&quot;nofollow&quot; style=&quot;color: #4c94db; cursor: pointer; text-decoration: none;&quot;&gt;http://ceph.com/packages/ceph-extras/rpm/centos6/SRPMS&lt;/a&gt;
 enabled=1
 gpgcheck=1
 type=rpm-md
 gpgkey=&lt;a href=&quot;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&quot; rel=&quot;nofollow&quot; style=&quot;color: #4c94db; cursor: pointer; text-decoration: none;&quot;&gt;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&lt;/a&gt;
 centos-extras&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;#yum update
#yum remove qemu-img
#yum --disablerepo=* --enablerepo=ceph-extras install -y qemu-img
# yum --disablerepo=* --enablerepo=ceph-extras install -y qemu-kvm
# yum --disablerepo=* --enablerepo=ceph-extras install -y qemu-guest-agent
# yum --disablerepo=* --enablerepo=ceph-extras install -y qemu-kvm-tools

--&amp;gt; Check creating a QEMU image it should work

[root@rdo yum.repos.d]# qemu-img create -f rbd rbd:data/foo 10G
Formatting &#39;rbd:data/foo&#39;, fmt=rbd size=10737418240 cluster_size=0
[root@rdo yum.repos.d]#

[root@rdo yum.repos.d]# qemu-img info -f rbd rbd:data/foo
image: rbd:data/foo
file format: rbd
virtual size: 10G (10737418240 bytes)
disk size: unavailable
cluster_size: 4194304
[root@rdo yum.repos.d]#
&lt;/span&gt;&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Installing_LIBVIRT&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_15&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Installing LIBVIRT&lt;a class=&quot;ecpEdit&quot; data-from=&quot;15&quot; data-to=&quot;15&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Installing LIBVIRT&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;To use&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: white; color: #333333; font-size: small; line-height: 21.988636016845703px;&quot;&gt;libvirt&lt;/code&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;with Ceph, we must have a running Ceph Storage Cluster, and have installed and configured QEMU&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.988636016845703px; margin: 1em 0px; orphans: auto; padding: 1em; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; width: auto; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;yum install libvirt&lt;/span&gt;&lt;/pre&gt;
&lt;h4 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;Please Follow&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://karan-mj.blogspot.fi/2013/12/ceph-openstack-part-2.html&quot;&gt;Ceph + OpenStack :: Part-2&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 21.984375px;&quot;&gt;for next step in installation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-openstack-part-1.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-9103821572966660050</guid><pubDate>Thu, 05 Dec 2013 17:22:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.637-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph Installation :: Part-3</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_12&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Creating Block Device from Ceph&lt;a class=&quot;ecpEdit&quot; data-from=&quot;12&quot; data-to=&quot;12&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Creating Block Device from Ceph&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From monitor node , use ceph-deploy to install Ceph on your ceph-client1 node.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ~]# ceph-deploy install ceph-client1
[ceph_deploy.cli][INFO  ] Invoked (1.3): /usr/bin/ceph-deploy install ceph-client1
[ceph_deploy.install][DEBUG ] Installing stable version dumpling on cluster ceph hosts ceph-client1
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph-client1 ...
[ceph-client1][DEBUG ] connected to host: ceph-client1
[ceph-client1][DEBUG ] detect platform information from remote host
[ceph-client1][DEBUG ] detect machine type
[ceph_deploy.install][INFO  ] Distro info: Ubuntu 13.04 raring
[ceph-client1][INFO  ] installing ceph on ceph-client1
[ceph-client1][INFO  ] Running command: env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates
[ceph-client1][DEBUG ] Reading package lists...
[ceph-client1][DEBUG ] Building dependency tree...
[ceph-client1][DEBUG ] Reading state information...
[ceph-client1][DEBUG ] ca-certificates is already the newest version.
[ceph-client1][DEBUG ] 0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
[ceph-client1][INFO  ] Running command: wget -q -O- &#39;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&#39; | apt-key add -
[ceph-client1][WARNIN] command returned non-zero exit status: 4
[ceph-client1][DEBUG ] add ceph deb repo to sources.list
[ceph-client1][INFO  ] Running command: apt-get -q update
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security Release.gpg
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security Release
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring Release.gpg
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates Release.gpg
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring Release
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates Release
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/main Sources
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/main Sources
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/universe Sources
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/main amd64 Packages
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/universe Sources
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/universe amd64 Packages
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/main i386 Packages
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/universe i386 Packages
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/main amd64 Packages
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/main Translation-en
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring/universe Translation-en
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/universe amd64 Packages
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/main Sources
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/universe Sources
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/main amd64 Packages
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/main i386 Packages
[ceph-client1][DEBUG ] Get:1 http://ceph.com raring Release.gpg [836 B]
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/universe amd64 Packages
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/universe i386 Packages
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/main i386 Packages
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/universe i386 Packages
[ceph-client1][DEBUG ] Hit http://ceph.com raring Release
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/main Translation-en
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/main Translation-en
[ceph-client1][DEBUG ] Hit http://nova.clouds.archive.ubuntu.com raring-updates/universe Translation-en
[ceph-client1][DEBUG ] Hit http://security.ubuntu.com raring-security/universe Translation-en
[ceph-client1][DEBUG ] Hit http://ceph.com raring/main amd64 Packages
[ceph-client1][DEBUG ] Hit http://ceph.com raring/main i386 Packages
[ceph-client1][DEBUG ] Ign http://ceph.com raring/main Translation-en
[ceph-client1][DEBUG ] Fetched 836 B in 15s (55 B/s)
[ceph-client1][DEBUG ] Reading package lists...
[ceph-client1][INFO  ] Running command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -q -o Dpkg::Options::=--force-confnew --no-install-recommends --assume-yes install -- ceph ceph-mds ceph-common ceph-fs-common gdisk
[ceph-client1][DEBUG ] Reading package lists...
[ceph-client1][DEBUG ] Building dependency tree...
[ceph-client1][DEBUG ] Reading state information...
[ceph-client1][DEBUG ] gdisk is already the newest version.
[ceph-client1][DEBUG ] The following extra packages will be installed:
[ceph-client1][DEBUG ]   binutils libaio1 libboost-thread1.49.0 libgoogle-perftools4 libjs-jquery
[ceph-client1][DEBUG ]   libleveldb1 libnspr4 libnss3 librados2 librbd1 libreadline5 libsnappy1
[ceph-client1][DEBUG ]   libtcmalloc-minimal4 libunwind8 python-ceph python-flask python-jinja2
[ceph-client1][DEBUG ]   python-markupsafe python-werkzeug xfsprogs
[ceph-client1][DEBUG ] Suggested packages:
[ceph-client1][DEBUG ]   binutils-doc javascript-common python-jinja2-doc ipython python-genshi
[ceph-client1][DEBUG ]   python-lxml python-memcache libjs-sphinxdoc xfsdump acl attr quota
[ceph-client1][DEBUG ] Recommended packages:
[ceph-client1][DEBUG ]   btrfs-tools ceph-fuse libcephfs1
[ceph-client1][DEBUG ] The following NEW packages will be installed:
[ceph-client1][DEBUG ]   binutils ceph ceph-common ceph-fs-common ceph-mds libaio1
[ceph-client1][DEBUG ]   libboost-thread1.49.0 libgoogle-perftools4 libjs-jquery libleveldb1 libnspr4
[ceph-client1][DEBUG ]   libnss3 librados2 librbd1 libreadline5 libsnappy1 libtcmalloc-minimal4
[ceph-client1][DEBUG ]   libunwind8 python-ceph python-flask python-jinja2 python-markupsafe
[ceph-client1][DEBUG ]   python-werkzeug xfsprogs
[ceph-client1][DEBUG ] 0 upgraded, 24 newly installed, 0 to remove and 105 not upgraded.
[ceph-client1][DEBUG ] Need to get 40.9 MB of archives.
[ceph-client1][DEBUG ] After this operation, 192 MB of additional disk space will be used.
[ceph-client1][DEBUG ] Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libaio1 amd64 0.3.109-3 [6328 B]
[ceph-client1][DEBUG ] Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libsnappy1 amd64 1.0.5-2 [13.2 kB]
[ceph-client1][DEBUG ] Get:3 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libleveldb1 amd64 1.9.0-1 [138 kB]
[ceph-client1][DEBUG ] Get:4 http://ceph.com/debian-dumpling/ raring/main librados2 amd64 0.67.4-1raring [1635 kB]
[ceph-client1][DEBUG ] Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libnspr4 amd64 2:4.9.5-1ubuntu1 [134 kB]
[ceph-client1][DEBUG ] Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libnss3 amd64 2:3.14.3-0ubuntu1 [1044 kB]
[ceph-client1][DEBUG ] Get:7 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libreadline5 amd64 5.2+dfsg-1 [131 kB]
[ceph-client1][DEBUG ] Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libunwind8 amd64 1.0.1-4ubuntu2 [55.9 kB]
[ceph-client1][DEBUG ] Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main binutils amd64 2.23.2-2ubuntu1 [2393 kB]
[ceph-client1][DEBUG ] Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libboost-thread1.49.0 amd64 1.49.0-3.2ubuntu1 [41.6 kB]
[ceph-client1][DEBUG ] Get:11 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libjs-jquery all 1.7.2+debian-1ubuntu1 [115 kB]
[ceph-client1][DEBUG ] Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main python-werkzeug all 0.8.3+dfsg-1 [1333 kB]
[ceph-client1][DEBUG ] Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main python-markupsafe amd64 0.15-1build3 [13.8 kB]
[ceph-client1][DEBUG ] Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main python-jinja2 amd64 2.6-1build3 [158 kB]
[ceph-client1][DEBUG ] Get:15 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main python-flask all 0.9-1 [56.1 kB]
[ceph-client1][DEBUG ] Get:16 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main xfsprogs amd64 3.1.9 [1238 kB]
[ceph-client1][DEBUG ] Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libtcmalloc-minimal4 amd64 2.0-4ubuntu1 [163 kB]
[ceph-client1][DEBUG ] Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu/ raring/main libgoogle-perftools4 amd64 2.0-4ubuntu1 [412 kB]
[ceph-client1][DEBUG ] Get:19 http://ceph.com/debian-dumpling/ raring/main librbd1 amd64 0.67.4-1raring [276 kB]
[ceph-client1][DEBUG ] Get:20 http://ceph.com/debian-dumpling/ raring/main python-ceph amd64 0.67.4-1raring [39.7 kB]
[ceph-client1][DEBUG ] Get:21 http://ceph.com/debian-dumpling/ raring/main ceph-common amd64 0.67.4-1raring [6090 kB]
[ceph-client1][DEBUG ] Get:22 http://ceph.com/debian-dumpling/ raring/main ceph amd64 0.67.4-1raring [22.8 MB]
[ceph-client1][DEBUG ] Get:23 http://ceph.com/debian-dumpling/ raring/main ceph-fs-common amd64 0.67.4-1raring [28.2 kB]
[ceph-client1][DEBUG ] Get:24 http://ceph.com/debian-dumpling/ raring/main ceph-mds amd64 0.67.4-1raring [2676 kB]
[ceph-client1][DEBUG ] Fetched 40.9 MB in 12s (3212 kB/s)
[ceph-client1][DEBUG ] Selecting previously unselected package libaio1:amd64.
[ceph-client1][DEBUG ] (Reading database ... 58918 files and directories currently installed.)
[ceph-client1][DEBUG ] Unpacking libaio1:amd64 (from .../libaio1_0.3.109-3_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libsnappy1.
[ceph-client1][DEBUG ] Unpacking libsnappy1 (from .../libsnappy1_1.0.5-2_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libleveldb1:amd64.
[ceph-client1][DEBUG ] Unpacking libleveldb1:amd64 (from .../libleveldb1_1.9.0-1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libnspr4:amd64.
[ceph-client1][DEBUG ] Unpacking libnspr4:amd64 (from .../libnspr4_2%3a4.9.5-1ubuntu1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libnss3:amd64.
[ceph-client1][DEBUG ] Unpacking libnss3:amd64 (from .../libnss3_2%3a3.14.3-0ubuntu1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libreadline5:amd64.
[ceph-client1][DEBUG ] Unpacking libreadline5:amd64 (from .../libreadline5_5.2+dfsg-1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libunwind8.
[ceph-client1][DEBUG ] Unpacking libunwind8 (from .../libunwind8_1.0.1-4ubuntu2_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package binutils.
[ceph-client1][DEBUG ] Unpacking binutils (from .../binutils_2.23.2-2ubuntu1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libboost-thread1.49.0.
[ceph-client1][DEBUG ] Unpacking libboost-thread1.49.0 (from .../libboost-thread1.49.0_1.49.0-3.2ubuntu1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package librados2.
[ceph-client1][DEBUG ] Unpacking librados2 (from .../librados2_0.67.4-1raring_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package librbd1.
[ceph-client1][DEBUG ] Unpacking librbd1 (from .../librbd1_0.67.4-1raring_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libjs-jquery.
[ceph-client1][DEBUG ] Unpacking libjs-jquery (from .../libjs-jquery_1.7.2+debian-1ubuntu1_all.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package python-werkzeug.
[ceph-client1][DEBUG ] Unpacking python-werkzeug (from .../python-werkzeug_0.8.3+dfsg-1_all.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package python-markupsafe.
[ceph-client1][DEBUG ] Unpacking python-markupsafe (from .../python-markupsafe_0.15-1build3_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package python-jinja2.
[ceph-client1][DEBUG ] Unpacking python-jinja2 (from .../python-jinja2_2.6-1build3_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package python-flask.
[ceph-client1][DEBUG ] Unpacking python-flask (from .../python-flask_0.9-1_all.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package python-ceph.
[ceph-client1][DEBUG ] Unpacking python-ceph (from .../python-ceph_0.67.4-1raring_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package ceph-common.
[ceph-client1][DEBUG ] Unpacking ceph-common (from .../ceph-common_0.67.4-1raring_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package xfsprogs.
[ceph-client1][DEBUG ] Unpacking xfsprogs (from .../xfsprogs_3.1.9_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libtcmalloc-minimal4.
[ceph-client1][DEBUG ] Unpacking libtcmalloc-minimal4 (from .../libtcmalloc-minimal4_2.0-4ubuntu1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package libgoogle-perftools4.
[ceph-client1][DEBUG ] Unpacking libgoogle-perftools4 (from .../libgoogle-perftools4_2.0-4ubuntu1_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package ceph.
[ceph-client1][DEBUG ] Unpacking ceph (from .../ceph_0.67.4-1raring_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package ceph-fs-common.
[ceph-client1][DEBUG ] Unpacking ceph-fs-common (from .../ceph-fs-common_0.67.4-1raring_amd64.deb) ...
[ceph-client1][DEBUG ] Selecting previously unselected package ceph-mds.
[ceph-client1][DEBUG ] Unpacking ceph-mds (from .../ceph-mds_0.67.4-1raring_amd64.deb) ...
[ceph-client1][DEBUG ] Processing triggers for man-db ...
[ceph-client1][DEBUG ] Processing triggers for ureadahead ...
[ceph-client1][DEBUG ] Setting up libaio1:amd64 (0.3.109-3) ...
[ceph-client1][DEBUG ] Setting up libsnappy1 (1.0.5-2) ...
[ceph-client1][DEBUG ] Setting up libleveldb1:amd64 (1.9.0-1) ...
[ceph-client1][DEBUG ] Setting up libnspr4:amd64 (2:4.9.5-1ubuntu1) ...
[ceph-client1][DEBUG ] Setting up libnss3:amd64 (2:3.14.3-0ubuntu1) ...
[ceph-client1][DEBUG ] Setting up libreadline5:amd64 (5.2+dfsg-1) ...
[ceph-client1][DEBUG ] Setting up libunwind8 (1.0.1-4ubuntu2) ...
[ceph-client1][DEBUG ] Setting up binutils (2.23.2-2ubuntu1) ...
[ceph-client1][DEBUG ] Setting up libboost-thread1.49.0 (1.49.0-3.2ubuntu1) ...
[ceph-client1][DEBUG ] Setting up librados2 (0.67.4-1raring) ...
[ceph-client1][DEBUG ] Setting up librbd1 (0.67.4-1raring) ...
[ceph-client1][DEBUG ] Setting up libjs-jquery (1.7.2+debian-1ubuntu1) ...
[ceph-client1][DEBUG ] Setting up python-werkzeug (0.8.3+dfsg-1) ...
[ceph-client1][DEBUG ] Setting up python-markupsafe (0.15-1build3) ...
[ceph-client1][DEBUG ] Setting up python-jinja2 (2.6-1build3) ...
[ceph-client1][DEBUG ] Setting up python-flask (0.9-1) ...
[ceph-client1][DEBUG ] Setting up python-ceph (0.67.4-1raring) ...
[ceph-client1][DEBUG ] Setting up ceph-common (0.67.4-1raring) ...
[ceph-client1][DEBUG ] Setting up xfsprogs (3.1.9) ...
[ceph-client1][DEBUG ] Setting up libtcmalloc-minimal4 (2.0-4ubuntu1) ...
[ceph-client1][DEBUG ] Setting up libgoogle-perftools4 (2.0-4ubuntu1) ...
[ceph-client1][DEBUG ] Setting up ceph (0.67.4-1raring) ...
[ceph-client1][DEBUG ] ceph-all start/running
[ceph-client1][DEBUG ] Setting up ceph-fs-common (0.67.4-1raring) ...
[ceph-client1][DEBUG ] Processing triggers for ureadahead ...
[ceph-client1][DEBUG ] Setting up ceph-mds (0.67.4-1raring) ...
[ceph-client1][DEBUG ] ceph-mds-all start/running
[ceph-client1][DEBUG ] Processing triggers for libc-bin ...
[ceph-client1][DEBUG ] ldconfig deferred processing now taking place
[ceph-client1][DEBUG ] Processing triggers for ureadahead ...
[ceph-client1][INFO  ] Running command: ceph --version
[ceph-client1][DEBUG ] ceph version 0.67.4 (ad85b8bfafea6232d64cb7ba76a8b6e8252fa0c7)
[root@ceph-mon1 ~]# &lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From monitor node , use ceph-deploy to copy the Ceph configuration file and the ceph.client.admin.keyring to the ceph-client1.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-deploy admin ceph-client1
[ceph_deploy.cli][INFO  ] Invoked (1.3): /usr/bin/ceph-deploy admin ceph-client1
[ceph_deploy.admin][DEBUG ] Pushing admin keys and conf to ceph-client1
[ceph-client1][DEBUG ] connected to host: ceph-client1
[ceph-client1][DEBUG ] detect platform information from remote host
[ceph-client1][DEBUG ] detect machine type
[ceph-client1][DEBUG ] get remote short hostname
[ceph-client1][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[root@ceph-mon1 ceph]#&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the ceph-client1 node, create a block device image.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;rbd create block1-ceph-client1 --size 200
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the ceph-client1 node, load the rbd client module.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;modprobe rbd&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On the ceph-client1 node, map the image to a block device.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;root@ceph-client1:~# rbd map block1-ceph-client1
root@ceph-client1:~#
root@ceph-client1:~#
root@ceph-client1:~# rbd showmapped
id pool image               snap device
1  rbd  block1-ceph-client1 -    /dev/rbd1
root@ceph-client1:~#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Use the block device by creating a file system on the ceph-client1 node.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;root@ceph-client1:/dev/rbd/rbd# mkfs.ext4 /dev/rbd/rbd/block1-ceph-client1
mke2fs 1.42.5 (29-Jul-2012)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=4096 blocks, Stripe width=4096 blocks
51200 inodes, 204800 blocks
10240 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
25 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
   8193, 24577, 40961, 57345, 73729

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

root@ceph-client1:/dev/rbd/rbd#
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Mount the file system on the ceph-client1 node.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.988636016845703px; margin: 1em 0px; orphans: auto; padding: 1em; text-align: start; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: auto; width: auto; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;root@ceph-client1:/dev/rbd/rbd# mount /dev/rbd/rbd/block1-ceph-client1 /rbd-1/
root@ceph-client1:/dev/rbd/rbd#
root@ceph-client1:/dev/rbd/rbd#
root@ceph-client1:/dev/rbd/rbd#
root@ceph-client1:/dev/rbd/rbd# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       9.8G  1.3G  8.0G  14% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            487M  8.0K  487M   1% /dev
tmpfs           100M  256K  100M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            498M     0  498M   0% /run/shm
none            100M     0  100M   0% /run/user
/dev/vdb        109G  188M  103G   1% /mnt
/dev/rbd1       190M  1.6M  179M   1% /rbd-1
root@ceph-client1:/dev/rbd/rbd#
&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-installation-part-3.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-7588088957722328628</guid><pubDate>Thu, 05 Dec 2013 16:41:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.615-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph guide</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph Installation :: Part-2</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-size: 21.81818199157715px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-size: 21.81818199157715px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_7&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;CEPH Storage Cluster&lt;a class=&quot;ecpEdit&quot; data-from=&quot;7&quot; data-to=&quot;7&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;CEPH Storage Cluster&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Installing_Ceph_Deploy_40_ceph_45mon1_41&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_8&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Installing Ceph Deploy ( ceph-mon1 )&lt;a class=&quot;ecpEdit&quot; data-from=&quot;8&quot; data-to=&quot;8&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Installing Ceph Deploy ( ceph-mon1 )&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Update your repository and install ceph-deploy on ceph-mon1 node&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[ceph@ceph-mon1 ~]$ sudo yum update &amp;amp;&amp;amp; sudo yum install ceph-deploy
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.funet.fi
 * epel: www.nic.funet.fi
 * extras: ftp.funet.fi
 * updates: mirror.academica.fi
Setting up Update Process
No Packages marked for Update
Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.funet.fi
 * epel: www.nic.funet.fi
 * extras: ftp.funet.fi
 * updates: mirror.academica.fi
Setting up Install Process
Resolving Dependencies
--&amp;gt; Running transaction check
---&amp;gt; Package ceph-deploy.noarch 0:1.2.7-0 will be installed
--&amp;gt; Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================
 Package                             Arch                           Version                          Repository                           Size
===============================================================================================================================================
Installing:
 ceph-deploy                         noarch                         1.2.7-0                          ceph-noarch                         176 k

Transaction Summary
===============================================================================================================================================
Install       1 Package(s)

Total download size: 176 k
Installed size: 553 k
Is this ok [y/N]: y
Downloading Packages:
ceph-deploy-1.2.7-0.noarch.rpm                           75% [===================================            ]  64 kB/s | 133 kB     00:00 ETA 
 Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : ceph-deploy-1.2.7-0.noarch [############################################################################################# ] 1/1
Verifying  : ceph-deploy-1.2.7-0.noarch                                                                                                  1/1 
Installed:
  ceph-deploy.noarch 0:1.2.7-0                                                                                                                 
Complete!
root@ceph-mon1 /]# ce      rpm -qa | grep -i ceph
ceph-release-1-0.el6.noarch
ceph-deploy-1.2.7-0.noarch
[root@ceph-mon1 /]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Creating_Ceph_Cluster&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_9&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Creating Ceph Cluster&lt;a class=&quot;ecpEdit&quot; data-from=&quot;9&quot; data-to=&quot;9&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Creating Ceph Cluster&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As a first exercise, create a Ceph Storage Cluster with one Ceph Monitor and two Ceph OSD nodes. Post this will expand it by adding two more Ceph Monitors.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span class=&quot;foswikiBlueFG&quot; style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Tip : The ceph-deploy utility will output files to the current directory. Ensure you are in /etc/ceph directory when executing ceph-deploy.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span class=&quot;foswikiRedFG&quot; style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Important Do not call ceph-deploy with sudo or run it as root if you are logged in as a different user, because it will not issue sudo commands needed on the remote host.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create the cluster using ceph-deploy , Check the output of ceph-deploy with ls and cat in the current directory. You should see a Ceph configuration file, a keyring, and a log file for the new cluster.&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; [root@ceph-mon1 ceph]# ceph-deploy new ceph-mon1
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy new ceph-mon1
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Creating new cluster named ceph
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Resolving host ceph-mon1
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Monitor ceph-mon1 at 192.168.1.38
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Monitor initial members are [&#39;ceph-mon1&#39;]
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Monitor addrs are [&#39;192.168.1.38&#39;]
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Creating a random mon key...
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Writing initial config to ceph.conf...
[ [1mceph_deploy.new [0m][ [1;34mDEBUG [0m ] Writing monitor keyring to ceph.mon.keyring...
 [root@ceph-mon1 ceph]# ll
-rw-r--r-- 1 root root 189 Oct 25 13:06 ceph.conf
-rw-r--r-- 1 root root 785 Oct 25 13:06 ceph.log
-rw-r--r-- 1 root root  73 Oct 25 13:06 ceph.mon.keyring
[root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;Install Ceph on ceph-mon1 node&lt;/strong&gt;&amp;nbsp;Dont panic if you see errors due to wget , centos does not understand wget and throws some errors that can be ignored , but finally it install ceph on your node and shows the installed version.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-deploy install ceph-mon1
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy install ceph-mon1
[ [1mceph_deploy.install [0m][ [1;34mDEBUG [0m ] Installing stable version dumpling on cluster ceph hosts ceph-mon1
[ [1mceph_deploy.install [0m][ [1;34mDEBUG [0m ] Detecting platform for host ceph-mon1 ...
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a local connection without sudo
[ [1mceph_deploy.lsb [0m][ [1;33mWARNIN [0m] lsb_release was not found - inferring OS details
[ [1mceph_deploy.install [0m][ [1;37mINFO [0m  ] Distro info: CentOS 6.4 Final
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] installing ceph on ceph-mon1
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] adding EPEL repository
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ] Traceback (most recent call last):
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/hosts/centos/install.py&quot;, line 77, in install_epel
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py&quot;, line 10, in inner
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     def inner(*args, **kwargs):
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py&quot;, line 6, in remote_call
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     This allows us to only remote-execute the actual calls, not whole functions.
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib64/python2.6/subprocess.py&quot;, line 500, in check_call
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     retcode = call(*popenargs, **kwargs)
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib64/python2.6/subprocess.py&quot;, line 478, in call
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     p = Popen(*popenargs, **kwargs)
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib64/python2.6/subprocess.py&quot;, line 642, in __init__
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     errread, errwrite)
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib64/python2.6/subprocess.py&quot;, line 1234, in _execute_child
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     raise child_exception
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: rpm -Uvh --replacepkgs epel-release-6*.rpm
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ] Traceback (most recent call last):
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/util/pkg_managers.py&quot;, line 69, in rpm
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py&quot;, line 10, in inner
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     def inner(*args, **kwargs):
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py&quot;, line 6, in remote_call
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     This allows us to only remote-execute the actual calls, not whole functions.
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib64/python2.6/subprocess.py&quot;, line 505, in check_call
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     raise CalledProcessError(retcode, cmd)
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: su -c &#39;rpm --import &quot;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&quot;&#39;
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: rpm -Uvh --replacepkgs http://ceph.com/rpm-dumpling/el6/noarch/ceph-release-1-0.el6.noarch.rpm
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Retrieving http://ceph.com/rpm-dumpling/el6/noarch/ceph-release-1-0.el6.noarch.rpm
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Preparing...                ##################################################
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] ceph-release                ##################################################
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: yum -y -q install ceph
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: ceph --version
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] ceph version 0.67.4 (ad85b8bfafea6232d64cb7ba76a8b6e8252fa0c7)
 ]0;root@ceph-mon1:/etc/ceph [root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Adding node ceph-mon1 as our first monitor node&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; [root@ceph-mon1 ceph]# ceph-deploy mon  create ceph-mon1
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy mon create ceph-mon1
[ [1mceph_deploy.mon [0m][ [1;34mDEBUG [0m ] Deploying mon, cluster ceph hosts ceph-mon1
[ [1mceph_deploy.mon [0m][ [1;34mDEBUG [0m ] detecting platform for host ceph-mon1 ...
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a local connection without sudo
[ [1mceph_deploy.lsb [0m][ [1;33mWARNIN [0m] lsb_release was not found - inferring OS details
[ [1mceph_deploy.mon [0m][ [1;37mINFO [0m  ] distro info: CentOS 6.4 Final
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] determining if provided host has same hostname in remote
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] deploying mon to ceph-mon1
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] remote hostname: ceph-mon1
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] write cluster configuration to /etc/ceph/{cluster}.conf
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ] Traceback (most recent call last):
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py&quot;, line 10, in inner
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     def inner(*args, **kwargs):
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]   File &quot;/usr/lib/python2.6/site-packages/ceph_deploy/conf.py&quot;, line 12, in write_conf
[ [1mceph-mon1 [0m][ [1;31mERROR [0m ]     line = self.fp.readline()
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] checking for done path: /var/lib/ceph/mon/ceph-ceph-mon1/done
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] done path does not exist: /var/lib/ceph/mon/ceph-ceph-mon1/done
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] creating keyring file: /var/lib/ceph/tmp/ceph-ceph-mon1.mon.keyring
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] create the monitor keyring file
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: ceph-mon --cluster ceph --mkfs -i ceph-mon1 --keyring /var/lib/ceph/tmp/ceph-ceph-mon1.mon.keyring
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] ceph-mon: mon.noname-a 192.168.1.38:6789/0 is local, renaming to mon.ceph-mon1
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] ceph-mon: set fsid to 91ad085b-81ad-43db-9aa0-f3895a53613e
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] ceph-mon: created monfs at /var/lib/ceph/mon/ceph-ceph-mon1 for mon.ceph-mon1
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] unlinking keyring file /var/lib/ceph/tmp/ceph-ceph-mon1.mon.keyring
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] create a done file to avoid re-doing the mon deployment
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] create the init path if it does not exist
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] locating `service` executable...
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] found `service` executable: /sbin/service
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: /sbin/service ceph -c /etc/ceph/ceph.conf start mon.ceph-mon1
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] === mon.ceph-mon1 === 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] Starting Ceph mon.ceph-mon1 on ceph-mon1...
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] Starting ceph-create-keys on ceph-mon1...
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon1.asok mon_status
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] ********************************************************************************
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] status for monitor: mon.ceph-mon1
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] {
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;election_epoch&quot;: 2, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;extra_probe_peers&quot;: [], 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;monmap&quot;: {
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]     &quot;created&quot;: &quot;0.000000&quot;, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]     &quot;epoch&quot;: 1, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]     &quot;fsid&quot;: &quot;91ad085b-81ad-43db-9aa0-f3895a53613e&quot;, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]     &quot;modified&quot;: &quot;0.000000&quot;, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]     &quot;mons&quot;: [
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]       {
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]         &quot;addr&quot;: &quot;192.168.1.38:6789/0&quot;, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]         &quot;name&quot;: &quot;ceph-mon1&quot;, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]         &quot;rank&quot;: 0
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]       }
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]     ]
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   }, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;name&quot;: &quot;ceph-mon1&quot;, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;outside_quorum&quot;: [], 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;quorum&quot;: [
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]     0
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   ], 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;rank&quot;: 0, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;state&quot;: &quot;leader&quot;, 
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ]   &quot;sync_provider&quot;: []
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] }
[ [1mceph-mon1 [0m][ [1;34mDEBUG [0m ] ********************************************************************************
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] monitor: mon.ceph-mon1 is running
[ [1mceph-mon1 [0m][ [1;37mINFO [0m  ] Running command: ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon1.asok mon_status
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This would generate (cluster_name).mon.keyring and (cluster_name).client.admin.keyring files in current directory&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ll
total 28
-rw------- 1 root root    64 Oct 25 16:32 ceph.client.admin.keyring
-rw-r--r-- 1 root root   189 Oct 25 16:25 ceph.conf
-rw-r--r-- 1 root root 10937 Oct 25 16:32 ceph.log
-rw-r--r-- 1 root root    73 Oct 25 16:25 ceph.mon.keyring
-rwxr-xr-x 1 root root    92 Oct  4 14:39  rbdmap 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You can now check your cluster status , but you will see health Errors that will be resolved later by adding monitor and osd.&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph status
  cluster 91ad085b-81ad-43db-9aa0-f3895a53613e
   health HEALTH_ERR 192 pgs stuck inactive; 192 pgs stuck unclean; no osds
   monmap e1: 1 mons at {ceph-mon1=192.168.1.38:6789/0}, election epoch 2, quorum 0 ceph-mon1
   osdmap e1: 0 osds: 0 up, 0 in
    pgmap v2: 192 pgs: 192 creating; 0 bytes data, 0 KB used, 0 KB / 0 KB avail
   mdsmap e1: 0/0/1 up
 [root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Gather keys Once you have gathered keys, your local directory should have the following keyrings:&lt;/span&gt;&lt;/strong&gt;&lt;ul style=&quot;background-color: transparent;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;{cluster-name}.client.admin.keyring&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;{cluster-name}.bootstrap-osd.keyring&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;{cluster-name}.bootstrap-mds.keyring&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; [root@ceph-mon1 ceph]# ceph-d e ploy gatherkeys ceph-mon1
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy gatherkeys ceph-mon1
[ [1mceph_deploy.gatherkeys [0m][ [1;34mDEBUG [0m ] Have ceph.client.admin.keyring
[ [1mceph_deploy.gatherkeys [0m][ [1;34mDEBUG [0m ] Have ceph.mon.keyring
[ [1mceph_deploy.gatherkeys [0m][ [1;34mDEBUG [0m ] Checking ceph-mon1 for /var/lib/ceph/bootstrap-osd/ceph.keyring
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a local connection without sudo
[ [1mceph_deploy.gatherkeys [0m][ [1;34mDEBUG [0m ] Got ceph.bootstrap-osd.keyring key from ceph-mon1.
[ [1mceph_deploy.gatherkeys [0m][ [1;34mDEBUG [0m ] Checking ceph-mon1 for /var/lib/ceph/bootstrap-mds/ceph.keyring
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a local connection without sudo
[ [1mceph_deploy.gatherkeys [0m][ [1;34mDEBUG [0m ] Got ceph.bootstrap-mds.keyring key from ceph-mon1.

[root@ceph-mon1 ceph]# ll
total 36
-rw-r--r-- 1 root root    72 Oct 25 16:33 ceph.bootstrap-mds.keyring
-rw-r--r-- 1 root root    72 Oct 25 16:33 ceph.bootstrap-osd.keyring
-rw------- 1 root root    64 Oct 25 16:32 ceph.client.admin.keyring
-rw-r--r-- 1 root root   189 Oct 25 16:25 ceph.conf
-rw-r--r-- 1 root root 11867 Oct 25 16:33 ceph.log
-rw-r--r-- 1 root root    73 Oct 25 16:25 ceph.mon.keyring
-rwxr-xr-x 1 root root    92 Oct  4 14:39  rbdmap 
[root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Modify ceph configuration file /etc/ceph/ceph.conf , add the below entries&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[global] 
auth_service_required = cephx
auth_client_required = cephx
auth_cluster_required = cephx

[mon.ceph-mon1]
mon_addr = 192.168.1.38:6789
host = ceph-mon1

[osd]
filestore_xattr_use_omap = true
osd_data = /var/lib/ceph/osd/$cluster-$id
osd_journal_size = 1024
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Restart the ceph service on the server and check that your monitor is restarting well. Note : updating ceph.conf file does not require ceph service bounce back , we are here just testing if monitor services are OK&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# service ceph restart
=== mon.ceph-mon1 === 
=== mon.ceph-mon1 === 
Stopping Ceph mon.ceph-mon1 on ceph-mon1...kill 27965...done
=== mon.ceph-mon1 === 
Starting Ceph mon.ceph-mon1 on ceph-mon1...
Starting ceph-create-keys on ceph-mon1...
=== mon.ceph-mon1 === 
=== mon.ceph-mon1 === 
Stopping Ceph mon.ceph-mon1 on ceph-mon1...kill 28439...done
=== mon.ceph-mon1 === 
Starting Ceph mon.ceph-mon1 on ceph-mon1...
Starting ceph-create-keys on ceph-mon1...
[root@ceph-mon1 ceph]# 
[root@ceph-mon1 ceph]# service ceph status
=== mon.ceph-mon1 === 
mon.ceph-mon1: running {&quot;version&quot;:&quot;0.67.4&quot;}
=== mon.ceph-mon1 === 
mon.ceph-mon1: running {&quot;version&quot;:&quot;0.67.4&quot;}
 [root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Preparing_OSD_node_40_ceph_45node1_38_ceph_45node2_41&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_10&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Preparing OSD node ( ceph-node1 &amp;amp; ceph-node2 )&lt;a class=&quot;ecpEdit&quot; data-from=&quot;10&quot; data-to=&quot;10&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Preparing OSD node ( ceph-node1   ceph-node2 )&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Use ceph-deploy node ( ceph-mon1 ) to list available disk on ceph-node1 that will be used as OSD&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-d e ploy disk list ceph-node1
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy disk list ceph-node1
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a remote connection without sudo
[ [1mceph_deploy.lsb [0m][ [1;33mWARNIN [0m] lsb_release was not found - inferring OS details
[ [1mceph_deploy.osd [0m][ [1;37mINFO [0m  ] Distro info: CentOS 6.4 Final
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] Listing disks on ceph-node1...
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] Running command: ceph-disk list
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] /dev/vda :
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ]  /dev/vda1 swap, swap
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ]  /dev/vda2 other, ext4, mounted on /
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] /dev/vdb other, ext3
[root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To zap a disk (delete its partition table) in preparation for use with Ceph, execute the following .&amp;nbsp;&lt;span class=&quot;foswikiRedFG&quot; style=&quot;color: red;&quot;&gt;This will delete all data.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-deploy disk zap ceph-node1:vdb
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy disk zap ceph-node1:vdb
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] zapping /dev/vdb on ceph-node1
[ [1mceph-node1 [0m][ [1;34mDEBUG [0m ] detect platform information from remote host
[ [1mceph_deploy.osd [0m][ [1;37mINFO [0m  ] Distro info: CentOS 6.4 Final
[ [1mceph-node1 [0m][ [1;34mDEBUG [0m ] zeroing last few blocks of device
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] Running command: sgdisk --zap-all --clear --mbrtogpt -- /dev/vdb
[ [1mceph-node1 [0m][ [1;34mDEBUG [0m ] Creating new GPT entries.
[ [1mceph-node1 [0m][ [1;34mDEBUG [0m ] GPT data structures destroyed! You may now partition the disk using fdisk or
[ [1mceph-node1 [0m][ [1;34mDEBUG [0m ] other utilities.
[ [1mceph-node1 [0m][ [1;34mDEBUG [0m ] The operation has completed successfully.
 [root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Prepare the OSDs and deploy them to the OSD node&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-deploy osd prepare ceph-node1:vdb
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy osd prepare ceph-node1:vdb
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] Preparing cluster ceph disks ceph-node1:/dev/vdb:
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a remote connection without sudo
[ [1mceph_deploy.lsb [0m][ [1;33mWARNIN [0m] lsb_release was not found - inferring OS details
[ [1mceph_deploy.osd [0m][ [1;37mINFO [0m  ] Distro info: CentOS 6.4 Final
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] Deploying osd to ceph-node1
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] write cluster configuration to /etc/ceph/{cluster}.conf
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] keyring file does not exist, creating one at: /var/lib/ceph/bootstrap-osd/ceph.keyring
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] create mon keyring file
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] Running command: udevadm trigger --subsystem-match=block --action=add
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] Preparing host ceph-node1 disk /dev/vdb journal None activate False
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] Running command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/vdb
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] The operation has completed successfully.
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] The operation has completed successfully.
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] meta-data=/dev/vdb1              isize=2048   agcount=4, agsize=28770239 blks
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ]          =                       sectsz=512   attr=2, projid32bit=0
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] data     =                       bsize=4096   blocks=115080955, imaxpct=25
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ]          =                       sunit=0      swidth=0 blks
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] naming   =version 2              bsize=4096   ascii-ci=0
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] log      =internal log           bsize=4096   blocks=56191, version=2
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ]          =                       sectsz=512   sunit=0 blks, lazy-count=1
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] realtime =none                   extsz=4096   blocks=0, rtextents=0
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] The operation has completed successfully.
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] INFO:ceph-disk:Will colocate journal with data on /dev/vdb
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] Host ceph-node1 is now ready for osd use.
 [root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once you prepare an OSD you may activate it.&amp;nbsp;&lt;span class=&quot;foswikiBlueFG&quot; style=&quot;color: blue;&quot;&gt;The activate command will cause your OSD to come up and be placed in the cluster. The activate command uses the path to the partition created when running the prepare command.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; text-align: left; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-de ploy osd activate ceph-node1: vdb1
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy osd activate ceph-node1:vdb
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] Activating cluster ceph disks ceph-node1:/dev/vdb:
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a remote connection without sudo
[ [1mceph_deploy.lsb [0m][ [1;33mWARNIN [0m] lsb_release was not found - inferring OS details
[ [1mceph_deploy.osd [0m][ [1;37mINFO [0m  ] Distro info: CentOS 6.4 Final
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] activating host ceph-node1 disk /dev/vdb
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] will use init type: sysvinit
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] Running command: ceph-disk-activate --mark-init sysvinit --mount /dev/vdb
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: small; line-height: 21.988636016845703px;&quot;&gt;During this step if you encounter error like below , then start troubleshooting&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 20:46:47.433307 7f6adc1d9700  0 -- :/1010803 &amp;gt;&amp;gt; 192.168.1.38:6789/0 pipe(0x7f6acc003d40 sd=10 :0 s=1 pgs=0 cs=0 l=1 c=0x7f6acc003270).fault
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 20:46:50.433780 7f6ad43f9700  0 -- :/1010803 &amp;gt;&amp;gt; 192.168.1.38:6789/0 pipe(0x7f6acc00b860 sd=10 :0 s=1 pgs=0 cs=0 l=1 c=0x7f6acc005090).fault
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 20:46:53.378985 7f6add314700  0 monclient(hunting): authenticate timed out after 300
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 20:46:53.379057 7f6add314700  0 librados: client.bootstrap-osd authentication error (110) Connection timed out
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] Error connecting to cluster: Error
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] ERROR:ceph-disk:Failed to activate
[root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;On ceph-mon1 , cd /etc/ceph&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;  scp ceph.c lient.admin.keyring ceph-node1:/etc/ceph&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;scp /var/lib/ceph/bootstrap-osd/ceph.keyring ceph-node1:/var/lib/ceph/bootstrap-osd&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;check firewall between nodes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Again try to activate your OSD , it should work&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: 1em; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-deploy osd prepare ceph-node1:/dev/vdb1
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy osd activate ceph-node1:/dev/vdb1
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] Activating cluster ceph disks ceph-node1:/dev/vdb1:
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a remote connection without sudo
[ [1mceph_deploy.lsb [0m][ [1;33mWARNIN [0m] lsb_release was not found - inferring OS details
[ [1mceph_deploy.osd [0m][ [1;37mINFO [0m  ] Distro info: CentOS 6.4 Final
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] activating host ceph-node1 disk /dev/vdb1
[ [1mceph_deploy.osd [0m][ [1;34mDEBUG [0m ] will use init type: sysvinit
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] Running command: ceph-disk-activate --mark-init sysvinit --mount /dev/vdb1
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] === osd.0 === 
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] Starting Ceph osd.0 on ceph-node1...
[ [1mceph-node1 [0m][ [1;37mINFO [0m  ] starting osd.0 at :/0 osd_data /var/lib/ceph/osd/ceph-0 /var/lib/ceph/osd/ceph-0/journal
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] got latest monmap
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 21:50:53.768569 7fc6aff527a0 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 21:50:54.268147 7fc6aff527a0 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 21:50:54.269488 7fc6aff527a0 -1 filestore(/var/lib/ceph/tmp/mnt.DBPdBc) could not find 23c2fcde/osd_superblock/0//-1 in index: (2) No such file or directory
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 21:50:54.611784 7fc6aff527a0 -1 created object store /var/lib/ceph/tmp/mnt.DBPdBc journal /var/lib/ceph/tmp/mnt.DBPdBc/journal for osd.0 fsid 0ff473d9-0670-42a3-89ff-81bbfb2e676a
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 21:50:54.611876 7fc6aff527a0 -1 auth: error reading file: /var/lib/ceph/tmp/mnt.DBPdBc/keyring: can&#39;t open /var/lib/ceph/tmp/mnt.DBPdBc/keyring: (2) No such file or directory
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] 2013-10-25 21:50:54.612049 7fc6aff527a0 -1 created new key in keyring /var/lib/ceph/tmp/mnt.DBPdBc/keyring
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] added key for osd.0
[ [1mceph-node1 [0m][ [1;31mERROR [0m ] create-or-move updating item name &#39;osd.0&#39; weight 0.43 at location {host=ceph-node1,root=default} to crush map
 [root@ceph-mon1 ceph]# 
[root@ceph-mon1 ceph]# ceph status
  cluster 0ff473d9-0670-42a3-89ff-81bbfb2e676a
   health HEALTH_WARN 192 pgs degraded; 192 pgs stuck unclean
   monmap e1: 1 mons at {ceph-mon1=192.168.1.38:6789/0}, election epoch 2, quorum 0 ceph-mon1
   osdmap e5: 1 osds: 1 up, 1 in
    pgmap v8: 192 pgs: 192 active+degraded; 0 bytes data, 1057 MB used, 438 GB / 439 GB avail
   mdsmap e1: 0/0/1 up
 [root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Similarly add 3 more OSD on ceph-node1 , after successful addition of OSD your ceph status will look like&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]#  ceph status
  cluster 0ff473d9-0670-42a3-89ff-81bbfb2e676a
   health HEALTH_WARN 192 pgs stuck unclean
   monmap e1: 1 mons at {ceph-mon1=192.168.1.38:6789/0}, election epoch 1, quorum 0 ceph-mon1
   osdmap e63: 4 osds: 4 up, 4 in
    pgmap v112: 192 pgs: 192 active+remapped; 0 bytes data, 2188 MB used, 1755 GB / 1757 GB avail
   mdsmap e1: 0/0/1 up
 [root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Once you have added 4 OSD on ceph-node1 , repeat these steps and add 4 OSD on ceph-node2 , before OSD make you install ceph packages on ceph-node2&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;After these steps you cluster should have 8 OSD running and cluster health must be OK , PGmap=ACTIVE+CLEAN&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph status
  cluster 0ff473d9-0670-42a3-89ff-81bbfb2e676a
   health HEALTH_OK
   monmap e1: 1 mons at {ceph-mon1=192.168.1.38:6789/0}, election epoch 1, quorum 0 ceph-mon1
   osdmap e87: 8 osds: 8 up, 8 in
    pgmap v224: 192 pgs: 192 active+clean; 0 bytes data, 2363 MB used, 3509 GB / 3512 GB avail
   mdsmap e1: 0/0/1 up
[root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Scaling_the_cluster_by_adding_monitors_40_ceph_45mon2_38_ceph_45mon3_41&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_11&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Scaling the cluster by adding monitors ( ceph-mon2 &amp;amp; ceph-mon3 )&lt;a class=&quot;ecpEdit&quot; data-from=&quot;11&quot; data-to=&quot;11&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Scaling the cluster by adding monitors ( ceph-mon2   ceph-mon3 )&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create monitors on the ceph-mon2 and ceph-mon3 , before creating monitors make sure you install ceph packages on ceph-mon2 &amp;amp; ceph-mon3&lt;/span&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[root@ceph-mon1 ceph]# ceph-deploy mon create ceph-mon2                        
[ [1mceph_deploy.cli [0m][ [1;37mINFO [0m  ] Invoked (1.2.7): /usr/bin/ceph-deploy mon create ceph-mon2
[ [1mceph_deploy.mon [0m][ [1;34mDEBUG [0m ] Deploying mon, cluster ceph hosts ceph-mon2
[ [1mceph_deploy.mon [0m][ [1;34mDEBUG [0m ] detecting platform for host ceph-mon2 ...
[ [1mceph_deploy.sudo_pushy [0m][ [1;34mDEBUG [0m ] will use a remote connection without sudo
[ [1mceph_deploy.lsb [0m][ [1;33mWARNIN [0m] lsb_release was not found - inferring OS details
[ [1mceph_deploy.mon [0m][ [1;37mINFO [0m  ] distro info: CentOS 6.4 Final
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] determining if provided host has same hostname in remote
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] deploying mon to ceph-mon2
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] remote hostname: ceph-mon2
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] write cluster configuration to /etc/ceph/{cluster}.conf
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] checking for done path: /var/lib/ceph/mon/ceph-ceph-mon2/done
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] create a done file to avoid re-doing the mon deployment
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] create the init path if it does not exist
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] locating `service` executable...
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] found `service` executable: /sbin/service
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] Running command: /sbin/service ceph -c /etc/ceph/ceph.conf start mon.ceph-mon2
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] === mon.ceph-mon2 === 
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] Starting Ceph mon.ceph-mon2 on ceph-mon2...
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] failed: &#39;ulimit -n 32768;  /usr/bin/ceph-mon -i ceph-mon2 --pid-file /var/run/ceph/mon.ceph-mon2.pid -c /etc/ceph/ceph.conf &#39;
[ [1mceph-mon2 [0m][ [1;34mDEBUG [0m ] Starting ceph-create-keys on ceph-mon2...
[ [1mceph-mon2 [0m][ [1;33mWARNIN [0m] No data was received after 7 seconds, disconnecting...
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] Running command: ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon2.asok mon_status
[ [1mceph-mon2 [0m][ [1;31mERROR [0m ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ [1mceph-mon2 [0m][ [1;33mWARNIN [0m] monitor: mon.ceph-mon2, might not be running yet
[ [1mceph-mon2 [0m][ [1;37mINFO [0m  ] Running command: ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-mon2.asok mon_status
[ [1mceph-mon2 [0m][ [1;31mERROR [0m ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ [1mceph-mon2 [0m][ [1;33mWARNIN [0m] ceph-mon2 is not defined in `mon initial members`
[ [1mceph-mon2 [0m][ [1;33mWARNIN [0m] monitor ceph-mon2 does not exist in monmap
[ [1mceph-mon2 [0m][ [1;33mWARNIN [0m] neither `public_addr` nor `public_network` keys are defined for monitors
[ [1mceph-mon2 [0m][ [1;33mWARNIN [0m] monitors may not be able to form quorum
[root@ceph-mon1 ceph]# 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span class=&quot;foswikiBlueFG&quot; style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You might encounter some warnings or errors that need to be fixed&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;check monitor logs from ceph-mon1 , /var/lib/ceph directory&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;You might need to manually add monitor in cluster&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;#### Manually login on monitor node and execute commands like below 
ceph mon add ceph-mon2 192.168.1.33:6789
ceph-mon -i ceph-mon2 --public-addr 192.168.1.33:6789
service ceph status
service ceph restart
ps -ef | grep ceph
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In case ceph service is not showing as running in service ceph status command , however ps -ef | grep ceph , shows monitor running , kill the process manually and restart ceph services , monitor now should start working&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# service ceph status
# ps -ef | grep ceph
# kill -9 6554

### Finally you would see your ceph cluster is healthy with all the OSD and monitors UP and Running

[root@ceph-mon1 ~]# ceph status
  cluster 0ff473d9-0670-42a3-89ff-81bbfb2e676a
   health HEALTH_OK
   monmap e3: 3 mons at {ceph-mon1=192.168.1.38:6789/0,ceph-mon2=192.168.1.33:6789/0,ceph-mon3=192.168.1.31:6789/0}, election epoch 10, quorum 0,1,2 ceph-mon1,ceph-mon2,ceph-mon3
   osdmap e97: 8 osds: 8 up, 8 in
    pgmap v246: 192 pgs: 192 active+clean; 0 bytes data, 2352 MB used, 3509 GB / 3512 GB avail
   mdsmap e1: 0/0/1 up
[root@ceph-mon1 ~]#

&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;Please Follow&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://karan-mj.blogspot.fi/2013/12/ceph-installation-part-3.html&quot;&gt;Ceph Installation :: Part-3&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 21.984375px;&quot;&gt;for next step in installation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial, verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-installation-part-2.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-5876999420945785311</guid><pubDate>Thu, 05 Dec 2013 16:16:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.559-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph guide</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">ceph step by step</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">planet</category><title>Ceph Installation :: Part-1</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-family: Verdana, sans-serif; font-size: 21.81818199157715px; line-height: 1.1em;&quot;&gt;Ceph Installation Step by Step&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;This quick start setup helps to deploy ceph with 3 Monitors and 2 OSD nodes with 4 OSD each node. In this we are using commodity hardware running CentOS 6.4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;Ceph-mon1&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;: First Monitor + Ceph-deploy machine (will be used to deploy ceph to other nodes )&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;Ceph-mon2&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;: Second Monitor ( for monitor quorum )&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;Ceph-mon3&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;: Third Monitor ( for monitor quorum )&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;Ceph-node1&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;: OSD node 1 with 10G X 1 for OS , 440G X 4 for 4 OSD&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;Ceph-node2&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;: OSD node 2 with 10G X 1 for OS , 440G X 4 for 4 OSD&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ceph-Deploy Version is 1.3.2 , Ceph Version 0.67.4 ( Dumpling )&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #339900; font-size: 19.09090805053711px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;Preflight_Checklist&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_5&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;Preflight Checklist&amp;nbsp;&lt;a class=&quot;ecpEdit&quot; data-from=&quot;5&quot; data-to=&quot;5&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;Preflight Checklist&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;All the Ceph Nodes may require some basic configuration work prior to deploying a Ceph Storage Cluster.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; color: #339900; font-size: 16.363636016845703px; font-weight: normal; line-height: 1.1em;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;https://draft.blogger.com/blogger.g?blogID=6067449713794600812&quot; name=&quot;CEPH_node_setup&quot; style=&quot;color: #0066cc; cursor: pointer;&quot;&gt;&lt;/a&gt;&lt;span class=&quot;tok&quot;&gt;&lt;/span&gt;&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_6&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;CEPH node setup&lt;a class=&quot;ecpEdit&quot; data-from=&quot;6&quot; data-to=&quot;6&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;CEPH node setup&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Create a user on each Ceph Node.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;sudo useradd -d /home/ceph -m ceph
sudo passwd ceph
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Add root privileges for the user on each Ceph Node.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;echo &quot;ceph ALL = (root) NOPASSWD:ALL&quot; | sudo tee /etc/sudoers
sudo chmod 0440 /etc/sudoers
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Configure your ceph-deploy node ( ceph-mon1) with password-less SSH access to each Ceph Node. Leave the passphrase empty , repeat this step for CEPH and ROOT users.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;ceph@ceph-admin:~ [ceph@ceph-admin ~]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ceph/.ssh/id_rsa): yes         
Created directory &#39;/home/ceph/.ssh&#39;.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/ceph/.ssh/id_rsa.
Your public key has been saved in /home/ceph/.ssh/id_rsa.pub.
The key fingerprint is:
48:86:ff:4e:ab:c3:f6:cb:7f:ba:46:33:10:e6:22:52 ceph@ceph-admin.csc.fi
The key&#39;s randomart image is:
+--[ RSA 2048]----+
|                 |
|    E.  o        |
|   .. oo .       |
|  . .+..o        |
|   . .o.S.       |
|       .  +      |
|     .  o. o     |
|      ++ .. .    |
|     ..+*+++     |
+-----------------+

&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Copy the key to each Ceph Node. ( Repeat this step for ceph and root users )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[ceph@ceph-mon1 ~]$ ssh-copy-id ceph@ceph-node2
The authenticity of host &#39;ceph-node2 (192.168.1.38)&#39; can&#39;t be established.
RSA key fingerprint is ac:31:6f:e7:bb:ed:f1:18:9e:6e:42:cc:48:74:8e:7b.
Are you sure you want to continue connecting (yes/no)? y
Please type &#39;yes&#39; or &#39;no&#39;: yes
Warning: Permanently added &#39;ceph-node2,192.168.1.38&#39; (RSA) to the list of known hosts.
ceph@ceph-node2&#39;s password: 
Now try logging into the machine, with &quot;ssh &#39;ceph@ceph-node2&#39;&quot;, and check in:  .ssh/authorized_keys
to make sure we haven&#39;t added extra keys that you weren&#39;t expecting.
[ceph@ceph-mon1 ~]$ 
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ensure connectivity using ping with hostnames , for convenience we have used local host file , update host file of every node with details of other nodes. PS : Use of DNS is recommended&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Packages are cryptographically signed with the release.asc key. Add release key to your system’s list of trusted keys to avoid a security warning:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;sudo rpm --import &#39;https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc&#39;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Ceph may require additional additional third party libraries. To add the EPEL repository, execute the following:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;su -c &#39;rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm&#39;
sudo yum install snappy leveldb gdisk python-argparse gperftools-libs
&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Installing Release packages , Dumpling is the most recent stable release of Ceph. ( by the time i am creating this wiki )&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;su -c &#39;rpm -Uvh http://ceph.com/rpm-dumpling/el6/noarch/ceph-release-1-0.el6.noarch.rpm&#39;&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Adding ceph to YUM , create repository file for ceph /etc/yum.repos.d/ceph.repo&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;[ceph]
name=Ceph packages for $basearch
baseurl=http://ceph.com/rpm-dumpling/el6/$basearch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

[ceph-noarch]
name=Ceph noarch packages
baseurl=http://ceph.com/rpm-dumpling/el6/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

[ceph-source]
name=Ceph source packages
baseurl=http://ceph.com/rpm-dumpling/el6/SRPMS
enabled=0
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For best results, create directories on your nodes for maintaining the configuration generated by ceph . These should get auto created by ceph however in may case it gave me problems. So creating manually.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #ededeb; border: 1px solid rgb(221, 221, 221); color: #333333; font-size: small; line-height: 21.988636016845703px; margin-bottom: 1em; margin-top: 1em; padding: 1em; white-space: pre-wrap; width: auto; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;mkdir -p /etc/ceph /var/lib/ceph/{tmp,mon,mds,bootstrap-osd} /var/log/ceph&lt;/span&gt;&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;By default, daemons bind to ports within the 6800:7100 range. You may configure this range at your discretion. Before configuring your IP tables, check the default iptables configuration. ::ports within the 6800:7100 range. You may configure this range at your discretion. Since we are performing test deployment we can disable iptables on ceph nodes . For moving to production this need to be attended.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;Please Follow&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://karan-mj.blogspot.fi/2013/12/ceph-installation-part-2.html&quot;&gt;Ceph Installation :: Part-2&lt;/a&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 21.984375px;&quot;&gt;for next step in installation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/ceph-storage-part-2.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>0</thr:total><georss:featurename>Espoo, Finland</georss:featurename><georss:point>60.2054911 24.655900100000053</georss:point><georss:box>59.7005586 23.365006600000054 60.710423600000006 25.946793600000053</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6067449713794600812.post-7579341445305609058</guid><pubDate>Thu, 05 Dec 2013 15:37:00 +0000</pubDate><atom:updated>2014-04-11T05:29:17.610-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ceph</category><category domain="http://www.blogger.com/atom/ns#">ceph and openstack</category><category domain="http://www.blogger.com/atom/ns#">ceph guide</category><category domain="http://www.blogger.com/atom/ns#">ceph installation</category><category domain="http://www.blogger.com/atom/ns#">configuring openstack with ceph</category><category domain="http://www.blogger.com/atom/ns#">karan singh</category><category domain="http://www.blogger.com/atom/ns#">Karan Singh :: Ceph Blogs</category><category domain="http://www.blogger.com/atom/ns#">mds</category><category domain="http://www.blogger.com/atom/ns#">monitor</category><category domain="http://www.blogger.com/atom/ns#">openstack</category><category domain="http://www.blogger.com/atom/ns#">osd</category><category domain="http://www.blogger.com/atom/ns#">pg</category><category domain="http://www.blogger.com/atom/ns#">placement group</category><category domain="http://www.blogger.com/atom/ns#">planet</category><category domain="http://www.blogger.com/atom/ns#">what is ceph</category><title>Ceph Storage :: Introduction</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-size: 21.81818199157715px; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;background-color: white; color: #339900; font-size: 21.81818199157715px; font-weight: normal; line-height: 1.1em; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;ecpHeading&quot; id=&quot;chapter_cloudcomputing_cephstorage_2&quot; style=&quot;padding-right: 20px; position: relative;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;What is CEPH&lt;/span&gt;&lt;a class=&quot;ecpEdit&quot; data-from=&quot;2&quot; data-to=&quot;2&quot; data-topic=&quot;CEPHStorage&quot; data-web=&quot;CloudComputing&quot; href=&quot;https://wiki.csc.fi/wiki/CloudComputing/CEPHStorage#&quot; style=&quot;bottom: 0.25em; color: #4c94db; cursor: pointer; font-family: arial, verdana, sans-serif; position: absolute; right: 0px; text-decoration: none; visibility: hidden;&quot; title=&quot;What Is CEPH&quot;&gt;&lt;img height=&quot;16&quot; src=&quot;https://wiki.csc.fi/pub/System/EditChapterPlugin/pencil.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: text-bottom; width: 16px;&quot; width=&quot;16&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small; line-height: 21.988636016845703px;&quot;&gt;Ceph is an open-source, massively scalable, software-defined storage system which provides object, block and file system storage from a single clustered platform. Ceph&#39;s main goals is to be completely distributed without a single point of failure, scalable to the exabyte level, and freely-available. The data is replicated, making it fault tolerant. Ceph software runs on commodity hardware. The system is designed to be both self-healing and self-managing and self awesome :-)&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-family: arial, verdana, sans-serif; font-size: 21.81818199157715px; line-height: 1.1em;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #339900; font-size: 21.81818199157715px; line-height: 1.1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;CEPH Internals&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: arial, verdana, sans-serif; font-size: small; line-height: 21.988636016845703px;&quot;&gt;
&lt;/div&gt;
&lt;ul style=&quot;background-color: white; line-height: 21.988636016845703px;&quot;&gt;
&lt;li style=&quot;background-color: transparent; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;strong&gt;OSD&lt;/strong&gt;: A Object Storage Daemon (OSD) stores data, handles data replication, recovery, backfilling, rebalancing, and provides some monitoring information to Ceph Monitors by checking other Ceph OSD Daemons for a heartbeat. A Ceph Storage Cluster requires at least two Ceph OSD Daemons to achieve an active + clean state when the cluster makes two copies of your data .&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-family: Verdana, sans-serif; line-height: 21.988636016845703px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;Monitor&lt;/strong&gt;: A Ceph Monitor maintains maps of the cluster state, including the monitor map, the OSD map, the Placement Group (PG) map, and the CRUSH map. Ceph maintains a history (called an “epoch”) of each state change in the Monitors, Ceph OSD Daemons, and PGs.&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-color: transparent; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;strong&gt;MDS&lt;/strong&gt;: A Ceph Metadata Server (MDS) stores metadata on behalf of the Ceph Filesystem . Ceph Metadata Servers make it feasible for POSIX file system users to execute basic commands like ls, find, etc. without placing an enormous burden on the Ceph Storage Cluster.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 21.984375px;&quot;&gt;Note :: Please use&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 21.984375px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;http://ceph.com/docs/master/ and other official InkTank and ceph community resources as a primary source of information on ceph . This entire blog is an attempt help beginners in setting up ceph cluster and sharing my troubleshooting with you.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 21.984375px; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://karan-mj.blogspot.com/2013/12/what-is-ceph-ceph-is-open-source.html</link><author>noreply@blogger.com (Anonymous)</author><thr:total>1</thr:total></item></channel></rss>