{"id":180415,"date":"2013-05-22T12:03:03","date_gmt":"2013-05-22T08:03:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=180415"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=180415","title":{"rendered":"<span class=\"post_title\">\u042d\u043b\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0435 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0435 S3-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0437\u0430 15 \u043c\u0438\u043d\u0443\u0442<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \tS3 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043d\u0435 \u0443\u0434\u0438\u0432\u0438\u0448\u044c \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u043d\u0438\u043a\u043e\u0433\u043e. \u0415\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0438 \u043a\u0430\u043a \u0431\u044d\u043a\u0435\u043d\u0434 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043f\u043e\u0434 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0438 \u043a\u0430\u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043c\u0435\u0434\u0438\u0430 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438, \u0442\u0430\u043a \u0438 \u043a\u0430\u043a \u0430\u0440\u0445\u0438\u0432 \u0434\u043b\u044f \u0431\u044d\u043a\u0430\u043f\u043e\u0432.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/d70\/402\/5fd\/d704025fd8503027567edafd4b0700f7.png\"\/><\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f S3-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 Ceph<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u041a\u0440\u0430\u0442\u043a\u0430\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0430<\/h5>\n<p>  <a href=\"http:\/\/ceph.com\/\">Ceph<\/a> \u2014 \u044d\u0442\u043e open source \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u044d\u043b\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u0435\u0442\u0430\u0431\u0430\u0439\u0442\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430. \u0412 \u043e\u0441\u043d\u043e\u0432\u0435 \u043b\u0435\u0436\u0438\u0442 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u0438\u0431\u043a\u0443\u044e \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u0443\u044e \u043f\u0441\u0435\u0432\u0434\u043e\u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0443\u044e \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Ceph \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u0442\u0430\u043a\u043e\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0435\u0449\u0435 \u0442\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438:<\/p>\n<ul>\n<li>RADOS Gateway \u2014 S3- \u0438 Swift-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0439 RESTful \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/li>\n<li>RBD \u2014 \u0431\u043b\u043e\u0447\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0442\u043e\u043d\u043a\u043e\u0433\u043e \u0440\u043e\u0441\u0442\u0430 \u0438 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u0430\u043c\u0438<\/li>\n<li>Ceph FS \u2014 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0430\u044f POSIX-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430<\/li>\n<\/ul>\n<p>  <\/p>\n<h5>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430<\/h5>\n<p>  \u0412 \u043c\u043e\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044f <a href=\"http:\/\/habrahabr.ru\/post\/179823\/\">\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e<\/a> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c 3 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e 3 SATA \u0434\u0438\u0441\u043a\u0430 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c: <code>\/dev\/sda<\/code> \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0438 <code>\/dev\/sdb<\/code> \u0438 <code>\/dev\/sdc<\/code> \u043f\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043c\u043e\u0434\u0443\u043b\u0438, \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 S3 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c. \u042f \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b <a href=\"http:\/\/www.dragondisk.com\">DragonDisk<\/a>, <a href=\"http:\/\/www.crossftp.com\">CrossFTP<\/a> \u0438 <a href=\"http:\/\/s3browser.com\/\">S3Browser<\/a>.<br \/>  \u0422\u0430\u043a\u0436\u0435 \u0432 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d RADOS Gateway \u043d\u0430 \u043d\u043e\u0434\u0435 node01. S3 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <code>http:\/\/s3.ceph.labspace.studiogrizzly.com<\/code>.<br \/>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 Ceph \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u043a\u0438\u0435 S3 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 <a href=\"http:\/\/ceph.com\/docs\/master\/radosgw\/s3\/\">http:\/\/ceph.com\/docs\/master\/radosgw\/s3\/<\/a>.<\/p>\n<h4>\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c<\/h4>\n<p>  <\/p>\n<h5>\u0428\u0430\u0433 0. \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 Ceph<\/h5>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0436\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/179823\/\">\u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0439 \u043a\u043b\u0430\u0441\u0442\u0435\u0440 Ceph<\/a>, \u043c\u043d\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e <code>\/etc\/ceph\/ceph.conf<\/code> \u2014 \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f RADOS Gateway<\/p>\n<pre><code class=\"bash\">[client.radosgw.gateway]         host = node01         keyring = \/etc\/ceph\/keyring.radosgw.gateway         rgw socket path = \/tmp\/radosgw.sock         log file = \/var\/log\/ceph\/radosgw.log         rgw dns name = s3.ceph.labspace.studiogrizzly.com         rgw print continue = false <\/code><\/pre>\n<p>  \u0438 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0435 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u043e\u0434\u0430\u0445<\/p>\n<pre><code class=\"bash\">scp \/etc\/ceph\/ceph.conf node02:\/etc\/ceph\/ceph.conf scp \/etc\/ceph\/ceph.conf node03:\/etc\/ceph\/ceph.conf <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0428\u0430\u0433 1. \u0418\u043d\u0441\u0442\u0430\u043b\u043b\u0438\u0440\u0443\u0435\u043c Apache2, FastCGI \u0438 RADOS Gateway<\/h5>\n<p>  <\/p>\n<pre><code class=\"bash\">aptitude install apache2 libapache2-mod-fastcgi radosgw <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0428\u0430\u0433 2. \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f Apache<\/h5>\n<p>  \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u043c\u043e\u0434\u0443\u043b\u0438<\/p>\n<pre><code class=\"bash\">a2enmod rewrite a2enmod fastcgi <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c VirtualHost \u0434\u043b\u044f RADOS Gateway <code>\/etc\/apache2\/sites-available\/rgw.conf<\/code><\/p>\n<pre><code class=\"bash\">FastCgiExternalServer \/var\/www\/s3gw.fcgi -socket \/tmp\/radosgw.sock  &lt;VirtualHost *:80&gt;         ServerName s3.ceph.labspace.studiogrizzly.com         ServerAdmin tweet@studiogrizzly.com         DocumentRoot \/var\/www          RewriteEngine On         RewriteRule ^\/([a-zA-Z0-9-_.]*)([\/]?.*) \/s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]          &lt;IfModule mod_fastcgi.c&gt;                 &lt;Directory \/var\/www&gt;                         Options +ExecCGI                         AllowOverride All                         SetHandler fastcgi-script                         Order allow,deny                         Allow from all                         AuthBasicAuthoritative Off                 &lt;\/Directory&gt;         &lt;\/IfModule&gt;           AllowEncodedSlashes On         ErrorLog \/var\/log\/apache2\/error.log         CustomLog \/var\/log\/apache2\/access.log combined         ServerSignature Off &lt;\/VirtualHost&gt; <\/code><\/pre>\n<p>  \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 VirtualHost \u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439<\/p>\n<pre><code class=\"bash\">a2ensite rgw.conf a2dissite default <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c FastCGI \u0441\u043a\u0440\u0438\u043f\u0442 <code>\/var\/www\/s3gw.fcgi<\/code>:<\/p>\n<pre><code class=\"bash\">#!\/bin\/sh exec \/usr\/bin\/radosgw -c \/etc\/ceph\/ceph.conf -n client.radosgw.gateway <\/code><\/pre>\n<p>  \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c<\/p>\n<pre><code class=\"bash\">chmod +x \/var\/www\/s3gw.fcgi <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0428\u0430\u0433 3. \u041f\u043e\u0434\u0433\u043e\u0442\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c RADOS Gateway<\/h5>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e<\/p>\n<pre><code class=\"bash\">mkdir -p \/var\/lib\/ceph\/radosgw\/ceph-radosgw.gateway <\/code><\/pre>\n<p>  \u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 RADOS Gateway<\/p>\n<pre><code class=\"bash\">ceph-authtool --create-keyring \/etc\/ceph\/keyring.radosgw.gateway chmod +r \/etc\/ceph\/keyring.radosgw.gateway ceph-authtool \/etc\/ceph\/keyring.radosgw.gateway -n client.radosgw.gateway --gen-key ceph-authtool -n client.radosgw.gateway --cap osd 'allow rwx' --cap mon 'allow r' \/etc\/ceph\/keyring.radosgw.gateway <\/code><\/pre>\n<p>  \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0435\u0433\u043e \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440<\/p>\n<pre><code class=\"bash\">ceph -k \/etc\/ceph\/ceph.keyring auth add client.radosgw.gateway -i \/etc\/ceph\/keyring.radosgw.gateway <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0428\u0430\u0433 4. \u0417\u0430\u043f\u0443\u0441\u043a<\/h5>\n<p>  \u0420\u0435\u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c Apache2 \u0438 RADOS Gateway<\/p>\n<pre><code class=\"bash\">service apache2 restart \/etc\/init.d\/radosgw restart <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0428\u0430\u0433 5. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/h5>\n<p>  \u0427\u0442\u043e \u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c S3 \u043a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043b\u044e\u0447\u0438 <code>access_key<\/code> \u0438 <code>secret_key<\/code> \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/p>\n<pre><code class=\"bash\">radosgw-admin user create --uid=i --display-name=&quot;Igor&quot; --email=tweet@studiogrizzly.com <\/code><\/pre>\n<p>  \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432\u044b\u0432\u043e\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438 \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u043b\u044e\u0447\u0438 \u0432 \u0432\u0430\u0448 \u043a\u043b\u0438\u0435\u043d\u0442<\/p>\n<h5>\u0428\u0430\u0433 6. DNS<\/h5>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u0431\u044b \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 buckets \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0447\u0442\u043e \u0431\u044b DNS \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0443\u0431\u0434\u043e\u043c\u0435\u043d\u0430 \u0434\u043b\u044f <code>s3.ceph.labspace.studiogrizzly.com<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u043d\u0430 IP \u0430\u0434\u0440\u0435\u0441 \u0445\u043e\u0441\u0442\u0430 \u0433\u0434\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d RADOS Gateway.<br \/>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 bucket \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <code>mybackups<\/code> \u2014 \u0434\u043e\u043c\u0435\u043d <code>mybackups.s3.ceph.labspace.studiogrizzly.com.<\/code> \u0434\u043e\u043b\u0436\u0435\u043d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430 IP \u0430\u0434\u0440\u0435\u0441 node01, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u2014 192.168.2.31.<br \/>  \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044e CNAME \u0437\u0430\u043f\u0438\u0441\u044c<\/p>\n<pre><code class=\"bash\">*     IN     CNAME     node01.ceph.labspace.studiogrizzly.com. <\/code><\/pre>\n<p>  <\/p>\n<h5>\u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435<\/h5>\n<p>  \u0417\u0430 15 \u043c\u0438\u043d\u0443\u0442 \u043c\u044b \u0443\u0441\u043f\u0435\u043b\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u043b\u0438 S3-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0430\u0448 \u043b\u044e\u0431\u0438\u043c\u044b\u0439 S3 \u043a\u043b\u0438\u0435\u043d\u0442.<\/p>\n<hr\/>\n<p>  <\/p>\n<h4>\u0411\u043e\u043d\u0443\u0441\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c<\/h4>\n<p>  \u042f \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b <a href=\"http:\/\/habrahabr.ru\/users\/sn00p\/\" class=\"user_link\">sn00p<\/a> \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0435\u0433\u043e \u043e\u043f\u044b\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 RADOS Gateway \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 <a href=\"http:\/\/habrahabr.ru\/company\/2gis\/\">2GIS<\/a>. \u041d\u0438\u0436\u0435 \u0435\u0433\u043e \u043e\u0442\u0437\u044b\u0432:<\/p>\n<h5>\u041e\u0431\u0449\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/h5>\n<p>  \u0423 \u043d\u0430\u0441 \u0441\u0442\u043e\u0438\u0442 \u0432\u0430\u0440\u043d\u0438\u0448, \u0432\u0430\u0440\u043d\u0438\u0448\u0443 \u0431\u0435\u043a\u0435\u043d\u0434\u0430\u043c\u0438 \u043f\u043e\u0434\u0446\u0435\u043f\u043b\u0435\u043d\u044b 4 \u0430\u043f\u0430\u0447\u0430 \u0440\u0430\u0434\u043e\u0441\u0433\u0435\u0439\u0442\u0432\u0435\u0435\u0432. \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043b\u0435\u0437\u0435\u0442 \u0432 \u0432\u0430\u0440\u043d\u0438\u0448, \u0435\u0441\u043b\u0438 \u0442\u0430\u043c \u043e\u0431\u043b\u043e\u043c, \u0442\u043e \u0440\u0430\u0443\u043d\u0434\u0440\u043e\u0431\u0438\u043d\u043e\u043c \u043b\u043e\u043c\u0438\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 \u0430\u043f\u0430\u0447\u0438. \u042d\u0442\u0430 \u0448\u0442\u0443\u043a\u0430 \u0436\u043c\u0435\u0442 20000 \u0440\u043f\u0441 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043f\u043e \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0442\u0435\u0441\u0442\u0430\u043c jmeter c access \u043b\u043e\u0433\u043e\u043c \u0437\u0430 \u043c\u0435\u0441\u044f\u0446. \u0412\u043d\u0443\u0442\u0440\u0438 \u043f\u043e\u043b\u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0430 \u0444\u043e\u0442\u043e\u0447\u0435\u043a, \u0440\u0430\u0431\u043e\u0447\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043e\u043a\u043e\u043b\u043e 300 \u0440\u043f\u0441.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/1ed\/532\/627\/1ed5326273399df81f3a73179848a404.png\"\/><\/p>\n<p>  Ceph \u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043d\u0430 5 \u043c\u0430\u0448\u0438\u043d\u0430\u0445, \u0442\u0430\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u0441\u043a \u043f\u043e\u0434 osd \u0438 \u0434\u043b\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 ssd. \u0420\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u0430\u044f, ^2. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043f\u0435\u0440\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0434\u0435\u043d\u0438\u0435 \u0434\u0432\u0443\u0445 \u043d\u043e\u0434 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438 \u0442\u0430\u043c \u0434\u0430\u043b\u044c\u0448\u0435 \u0441 \u0432\u0430\u0440\u0438\u0430\u0446\u0438\u044f\u043c\u0438. \u0417\u0430 \u043f\u043e\u043b\u0433\u043e\u0434\u0430 \u043d\u0438 \u043e\u0434\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0435\u0449\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438.<\/p>\n<p>  \u041d\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c\u044e \u2014 \u0440\u0430\u0437\u043c\u0435\u0440 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430, \u0438\u043d\u043e\u0434\u044b, \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043f\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u043c \u2014 \u044d\u0442\u043e \u0432\u0441\u0435 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c.<\/p>\n<h5>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041f\u044f\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 HP Proliant Gen8 DL360e. \u041f\u043e\u0434 \u0437\u0430\u0434\u0430\u0447\u0438 Ceph \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u044b \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 300 \u0413\u0431 SAS 15krpm. \u0414\u043b\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0436\u0443\u0440\u043d\u0430\u043b\u044b \u0434\u0435\u043c\u043e\u043d\u043e\u0432 osd \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u044b \u043d\u0430 ssd \u0434\u0438\u0441\u043a\u0438 Hitachi Ultrastar 400M.<\/li>\n<li>\u0414\u0432\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b kvm \u0441 apache2 \u0438 radosgw \u0432\u043d\u0443\u0442\u0440\u0438. \u041a\u0430\u043a nginx \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 FastCGI \u043c\u043d\u0435 \u043b\u0438\u0447\u043d\u043e \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c. Nginx \u043f\u0440\u0438 \u0430\u043f\u043b\u043e\u0430\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0431\u0443\u0444\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c, \u043a\u0430\u043a \u043e\u0442\u0434\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0431\u044d\u043a\u0435\u043d\u0434\u0443. \u0422\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043f\u0440\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u0438\u043b\u0438 \u043f\u043e\u0442\u043e\u043a\u0430\u0445. \u041d\u043e, \u0434\u0435\u043b\u043e \u0432\u043a\u0443\u0441\u0430 \u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, nginx \u0442\u043e\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/li>\n<li>Apache2 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c <code>100-continue HTTP response<\/code>. \u0413\u043e\u0442\u043e\u0432\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c <a href=\"http:\/\/ceph.com\/docs\/master\/radosgw\/manual-install\/#continue-support\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/li>\n<li>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 varnish \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u043d\u0430 \u043e\u0431\u0435 \u043d\u043e\u0434\u044b \u0441 radosgw. \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u043a\u044d\u0448 \u0438\u043b\u0438 \u0431\u0430\u043b\u0430\u043d\u0441\u0435\u0440. \u0415\u0441\u043b\u0438 \u043e\u043d \u043f\u0430\u0434\u0430\u0435\u0442, \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0443\u043c\u0435\u0435\u0442 \u043e\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c radosgw \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e: <br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0440\u0430\u0441\u043a\u0440\u044b\u0442\u044c<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"python\">backend radosgw1 {   .host = &quot;radosgw1&quot;;   .port = &quot;8080&quot;;   .probe = {       .url = &quot;\/&quot;;       .interval = 2s;       .timeout = 1s;       .window = 5;       .threshold = 3;   } } backend radosgw2 {   .host = &quot;radosgw2&quot;;   .port = &quot;8080&quot;;   .probe = {       .url = &quot;\/&quot;;       .interval = 2s;       .timeout = 1s;       .window = 5;       .threshold = 3;   } } director cephgw round-robin {   {       .backend = radosgw1;   }   {       .backend = radosgw2;   } } <\/code><\/pre>\n<\/div>\n<\/div>\n<\/li>\n<li>\u041a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0432\u044b\u0434\u0435\u043b\u0435\u043d \u0441\u0432\u043e\u0439 bucket. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 acl, \u043c\u043e\u0436\u043d\u043e \u0433\u0438\u0431\u043a\u043e \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f bucket \u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u043d\u0435\u043c.<\/li>\n<li>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0432\u0441\u0435\u0439 \u043a\u0443\u0445\u043d\u0435\u0439 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c <code>python-boto<\/code>. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 python (\u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e, \u043e\u0442\u0441\u0442\u0443\u043f\u044b), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043c\u0435\u0435\u0442 \u0441 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0437\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0432 bucket. \u0414\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u0443\u0447\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u0415\u0441\u043b\u0438 \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f python \u2014 \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u044f\u0437\u044b\u043a\u0438.<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0440\u0430\u0441\u043a\u0440\u044b\u0442\u044c<\/b><\/p>\n<div class=\"spoiler_text\">#!\/usr\/bin\/env python<br \/>  import fnmatch<br \/>  import os, sys<br \/>  import boto<br \/>  import boto.s3.connection<br \/>  access_key = &#8216;insert_access_key&#8217;<br \/>  secret_key = &#8216;insert_secret_key&#8217;<\/p>\n<p>  pidfile = &quot;\/tmp\/copytoceph.pid&quot;<br \/>  def check_pid(pid):<br \/>   try:<br \/>   os.kill(pid, 0)<br \/>   except OSError:<br \/>   return False<br \/>   else:<br \/>   return True<\/p>\n<p>  if os.path.isfile(pidfile):<br \/>   pid = long(open(pidfile, &#8216;r&#8217;).read())<br \/>   if check_pid(pid):<br \/>   print &quot;%s already exists, doing natting&quot; % pidfile<br \/>   sys.exit()<\/p>\n<p>  pid = str(os.getpid())<br \/>  file(pidfile, &#8216;w&#8217;).write(pid)<\/p>\n<p>  conn = boto.connect_s3(<br \/>   aws_access_key_id = access_key,<br \/>   aws_secret_access_key = secret_key,<br \/>   host = &#8216;cephgw1&#8217;,<br \/>   port = 8080,<br \/>   is_secure=False,<br \/>   calling_format = boto.s3.connection.OrdinaryCallingFormat(),<br \/>   )<\/p>\n<p>  mybucket = conn.get_bucket(&#8216;test&#8217;)<br \/>  mylist = mybucket.list()<br \/>  i = 0<br \/>  for root, dirnames, filenames in os.walk(&#8216;\/var\/storage\/photoes&#8217;, followlinks=True):<br \/>   for filename in fnmatch.filter(filenames, &#8216;*&#8217;):<br \/>   myfile = os.path.join(root,filename)<br \/>   key = mybucket.get_key(filename)<br \/>   i += 1<br \/>   if not key:<br \/>   key = mybucket.new_key(filename)<br \/>   key.set_contents_from_filename(myfile)<br \/>   key.set_canned_acl(&#8216;public-read&#8217;)<br \/>   print key<br \/>   print i<br \/>  os.unlink(pidfile)  <\/div>\n<\/div>\n<\/li>\n<li>\u0418\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 radosgw \u0441\u0438\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440\u0447\u0438\u0432\u044b\u0439 \u0438 \u043f\u0440\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0433\u0435\u043d\u0435\u0440\u0438\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0441 \u043b\u043e\u0433\u0430\u043c\u0438. \u041f\u0440\u0438 \u043d\u0430\u0448\u0438\u0445 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u0445 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043d\u0438\u0437\u0438\u043b\u0438 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f:<br \/> \n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0440\u0430\u0441\u043a\u0440\u044b\u0442\u044c<\/b><\/p>\n<div class=\"spoiler_text\">[client.radosgw.gateway]<br \/>  \u2026<br \/>   debug rgw = 2<br \/>   rgw enable ops log = false<br \/>   log to stderr = false<br \/>   rgw enable usage log = false<br \/>   &#8230;<\/div>\n<\/div>\n<\/li>\n<li>\u0414\u043b\u044f \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u0434\u043b\u044f Zabbix, \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0431\u0440\u0430\u0442\u044c <a href=\"https:\/\/github.com\/thelan\/ceph-zabbix\">\u0442\u0443\u0442<\/a>.<\/li>\n<\/ul>\n<p>  \u0412\u0441\u0435 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u043f\u043e\u043b\u0433\u043e\u0434\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u043c\u0435\u0448\u0430\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 ))<\/p>\n<h5>\u041f\u043b\u0430\u043d\u044b \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435<\/h5>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u043f\u0440\u043e\u0431\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Ceph \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u0434\u0430\u0447\u0438 \u0443\u0436\u0435 15 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u043e ~4-200\u043a\u0431. \u0421 S3 \u044d\u0442\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u2014 \u0442\u0430\u043c \u043d\u0435\u0442 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 bulk-copy, \u043d\u0435\u043b\u044c\u0437\u044f \u0443\u0434\u0430\u043b\u0438\u0442\u044c bucket \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043d\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u2014 \u044d\u0442\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u043f\u043f\u0446. \u0418\u0441\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043a\u0430\u043a \u044d\u0442\u043e \u043f\u043e\u0434\u043a\u0440\u0443\u0442\u0438\u0442\u044c.<\/p>\n<p>  \u041d\u043e \u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0433\u0435\u043e\u043a\u043b\u0430\u0441\u0442\u0435\u0440, \u043c\u044b \u0441\u0430\u043c\u0438 \u0432 \u0421\u0438\u0431\u0438\u0440\u0438 \u0438 \u0445\u043e\u0442\u0438\u043c \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438 \u0431\u043b\u0438\u0437\u043a\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0443. \u0414\u043e \u041c\u043e\u0441\u043a\u0432\u044b \u0443 \u043d\u0430\u0441 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u043b\u0435\u0442\u0438\u0442 \u0441 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0443\u0436\u0435 \u2014 \u0434\u043e 100\u043c\u0441 \u043f\u043b\u044e\u0441\u043e\u043c, \u044d\u0442\u043e \u043d\u0435 \u0433\u043e\u0434\u0438\u0442\u0441\u044f. \u041d\u0443 \u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 Ceph \u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0435 \u0432 <a href=\"http:\/\/wiki.ceph.com\/01Planning\/02Blueprints\/Dumpling\/RGW_Geo-Replication_and_Disaster_Recovery\">\u043f\u043b\u0430\u043d\u0430\u0445 \u0442\u0430\u043a\u043e\u0435<\/a>.    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/180415\/\"> http:\/\/habrahabr.ru\/post\/180415\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \tS3 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043d\u0435 \u0443\u0434\u0438\u0432\u0438\u0448\u044c \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u043d\u0438\u043a\u043e\u0433\u043e. \u0415\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0438 \u043a\u0430\u043a \u0431\u044d\u043a\u0435\u043d\u0434 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043f\u043e\u0434 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0438 \u043a\u0430\u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043c\u0435\u0434\u0438\u0430 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438, \u0442\u0430\u043a \u0438 \u043a\u0430\u043a \u0430\u0440\u0445\u0438\u0432 \u0434\u043b\u044f \u0431\u044d\u043a\u0430\u043f\u043e\u0432.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/d70\/402\/5fd\/d704025fd8503027567edafd4b0700f7.png\"\/><\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f S3-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 Ceph  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-180415","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/180415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=180415"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/180415\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=180415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=180415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=180415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}