All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with installation httpd and mod_ssl from ceph repo
@ 2015-05-13 13:49 Butkeev Stas
  2015-05-13 23:25 ` Ken Dreyer
  0 siblings, 1 reply; 5+ messages in thread
From: Butkeev Stas @ 2015-05-13 13:49 UTC (permalink / raw)
  To: ceph-devel; +Cc: ceph-qa, ceph-maintainers

Hello everyone

I have rhel 6.5 OS.
Today I faced with next error with dependencies.
Initially I installed httpd and after I wanted to install mod_ssl for one. But got problem.
Step to reproduce:
1) Install http

[16:41]:[root@host ~]# yum install httpd -y
Loaded plugins: priorities
Setting up Install Process
58 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.22-1.ceph.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================
 Package                                  Arch                                      Version                                                Repository                                           Size
=====================================================================================================================================================================================================
Installing:
 httpd                                    x86_64                                    2.2.22-1.ceph.el6                                      6.10-addons-orig                                    812 k

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

Total download size: 812 k
Installed size: 3.0 M
Downloading Packages:
httpd-2.2.22-1.ceph.el6.x86_64.rpm                                                                                                                                            | 812 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : httpd-2.2.22-1.ceph.el6.x86_64                                                                                                                                                    1/1 
  Verifying  : httpd-2.2.22-1.ceph.el6.x86_64                                                                                                                                                    1/1 

Installed:
  httpd.x86_64 0:2.2.22-1.ceph.el6                                                                                                                                                                   

Complete!

2) Install mod_ssl

[16:43]:[root@host ~]# yum install mod_ssl -y
Loaded plugins: priorities
Setting up Install Process
58 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package mod_ssl.x86_64 1:2.2.22-1.ceph.el6 will be installed
--> Processing Dependency: httpd-mmn = 20051115-x86-64 for package: 1:mod_ssl-2.2.22-1.ceph.el6.x86_64
--> Finished Dependency Resolution
Error: Package: 1:mod_ssl-2.2.22-1.ceph.el6.x86_64 (6.10-addons-orig)
           Requires: httpd-mmn = 20051115-x86-64
           Installed: httpd-2.2.22-1.ceph.el6.x86_64 (@6.10-addons-orig)
               httpd-mmn = 20051115
               httpd-mmn = 20051115-x86-64
           Available: httpd-2.2.15-39.el6.x86_64 (6.10-rhn)
               httpd-mmn = 20051115
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

But if I try to install these two packages together all will work fine

Step to reproduce:
1) Remove httpd

[16:43]:[root@host ~]# yum remove httpd -y
Loaded plugins: priorities
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.22-1.ceph.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================
 Package                                  Arch                                      Version                                               Repository                                            Size
=====================================================================================================================================================================================================
Removing:
 httpd                                    x86_64                                    2.2.22-1.ceph.el6                                     @6.10-addons-orig                                    3.0 M

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

Installed size: 3.0 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : httpd-2.2.22-1.ceph.el6.x86_64                                                                                                                                                    1/1 
  Verifying  : httpd-2.2.22-1.ceph.el6.x86_64                                                                                                                                                    1/1 

Removed:
  httpd.x86_64 0:2.2.22-1.ceph.el6                                                                                                                                                                   

Complete!

2) Install httpd and mod_ssl together

[16:46]:[root@ak25 rgw fs osd ~]# yum install httpd mod_ssl -y
Loaded plugins: priorities
Setting up Install Process
58 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.22-1.ceph.el6 will be installed
---> Package mod_ssl.x86_64 1:2.2.22-1.ceph.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================
 Package                                   Arch                                     Version                                                 Repository                                          Size
=====================================================================================================================================================================================================
Installing:
 httpd                                     x86_64                                   2.2.22-1.ceph.el6                                       6.10-addons-orig                                   812 k
 mod_ssl                                   x86_64                                   1:2.2.22-1.ceph.el6                                     6.10-addons-orig                                    73 k

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

Total download size: 885 k
Installed size: 3.1 M
Downloading Packages:
(1/2): httpd-2.2.22-1.ceph.el6.x86_64.rpm                                                                                                                                     | 812 kB     00:00     
(2/2): mod_ssl-2.2.22-1.ceph.el6.x86_64.rpm                                                                                                                                   |  73 kB     00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                 29 MB/s | 885 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : httpd-2.2.22-1.ceph.el6.x86_64                                                                                                                                                    1/2 
  Installing : 1:mod_ssl-2.2.22-1.ceph.el6.x86_64                                                                                                                                                2/2 
  Verifying  : httpd-2.2.22-1.ceph.el6.x86_64                                                                                                                                                    1/2 
  Verifying  : 1:mod_ssl-2.2.22-1.ceph.el6.x86_64                                                                                                                                                2/2 

Installed:
  httpd.x86_64 0:2.2.22-1.ceph.el6                                                                 mod_ssl.x86_64 1:2.2.22-1.ceph.el6                                                                

Complete!

Could you solve this problem with dependencies.

-- 
Best Regards,
Stanislav Butkeev
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with installation httpd and mod_ssl from ceph repo
  2015-05-13 13:49 Problems with installation httpd and mod_ssl from ceph repo Butkeev Stas
@ 2015-05-13 23:25 ` Ken Dreyer
  2015-07-06  7:36   ` Number of PG per OSD in cluster Butkeev Stas
  0 siblings, 1 reply; 5+ messages in thread
From: Ken Dreyer @ 2015-05-13 23:25 UTC (permalink / raw)
  To: Butkeev Stas, ceph-devel; +Cc: ceph-qa, ceph-maintainers

On 05/13/2015 07:49 AM, Butkeev Stas wrote:
> Hello everyone
> 
> I have rhel 6.5 OS.
> Today I faced with next error with dependencies.
> Initially I installed httpd and after I wanted to install mod_ssl for one. But got problem.
> Step to reproduce:
> 1) Install http


The Ceph version of httpd has several unresolved CVEs and should not be
used. Please just use the httpd packages straight from CentOS.

I think we've purged our docs of all references to installing a custom
Apache. Are you following a doc somewhere that still refers to this?

- Ken


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Number of PG per OSD in cluster
  2015-05-13 23:25 ` Ken Dreyer
@ 2015-07-06  7:36   ` Butkeev Stas
  2015-07-06  8:03     ` Pavan Rallabhandi
  2015-07-06  8:41     ` Blair Bethwaite
  0 siblings, 2 replies; 5+ messages in thread
From: Butkeev Stas @ 2015-07-06  7:36 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org, ceph-qa@ceph.com,
	ceph-maintainers@ceph.com

Hello everbody

Could you help me with one question about number of pg in cluster.
I have next cluster

[10:26]:[root@se087  ~]# ceph osd tree
ID  WEIGHT    TYPE NAME                        UP/DOWN REWEIGHT PRIMARY-AFFINITY 
 -1 183.00101 root default                                                       
 -2 183.00101     region RU                                                      
 -3  91.50099         datacenter ru-msk-comp1p                                   
 -9  22.87500             host sf016                                             
 48   1.90599                 osd.48                up  1.00000          1.00000 
 49   1.90599                 osd.49                up  1.00000          1.00000 
 50   1.90599                 osd.50                up  1.00000          1.00000 
 51   1.90599                 osd.51                up  1.00000          1.00000 
 52   1.90599                 osd.52                up  1.00000          1.00000 
 53   1.90599                 osd.53                up  1.00000          1.00000 
 54   1.90599                 osd.54                up  1.00000          1.00000 
 55   1.90599                 osd.55                up  1.00000          1.00000 
 56   1.90599                 osd.56                up  1.00000          1.00000 
 57   1.90599                 osd.57                up  1.00000          1.00000 
 58   1.90599                 osd.58                up  1.00000          1.00000 
 59   1.90599                 osd.59                up  1.00000          1.00000 
-10  22.87500             host sf049                                             
 60   1.90599                 osd.60                up  1.00000          1.00000 
 61   1.90599                 osd.61                up  1.00000          1.00000 
 62   1.90599                 osd.62                up  1.00000          1.00000 
 63   1.90599                 osd.63                up  1.00000          1.00000 
 64   1.90599                 osd.64                up  1.00000          1.00000 
 65   1.90599                 osd.65                up  1.00000          1.00000 
 66   1.90599                 osd.66                up  1.00000          1.00000 
 67   1.90599                 osd.67                up  1.00000          1.00000 
 68   1.90599                 osd.68                up  1.00000          1.00000 
 69   1.90599                 osd.69                up  1.00000          1.00000 
 70   1.90599                 osd.70                up  1.00000          1.00000 
 71   1.90599                 osd.71                up  1.00000          1.00000 
-11  22.87500             host sf056                                             
 72   1.90599                 osd.72                up  1.00000          1.00000 
 73   1.90599                 osd.73                up  1.00000          1.00000 
 74   1.90599                 osd.74                up  1.00000          1.00000 
 75   1.90599                 osd.75                up  1.00000          1.00000 
 76   1.90599                 osd.76                up  1.00000          1.00000 
 77   1.90599                 osd.77                up  1.00000          1.00000 
 78   1.90599                 osd.78                up  1.00000          1.00000 
 79   1.90599                 osd.79                up  1.00000          1.00000 
 80   1.90599                 osd.80                up  1.00000          1.00000 
 81   1.90599                 osd.81                up  1.00000          1.00000 
 82   1.90599                 osd.82                up  1.00000          1.00000 
 83   1.90599                 osd.83                up  1.00000          1.00000 
-12  22.87500             host sf068                                             
 84   1.90599                 osd.84                up  1.00000          1.00000 
 85   1.90599                 osd.85                up  1.00000          1.00000 
 86   1.90599                 osd.86                up  1.00000          1.00000 
 87   1.90599                 osd.87                up  1.00000          1.00000 
 88   1.90599                 osd.88                up  1.00000          1.00000 
 89   1.90599                 osd.89                up  1.00000          1.00000 
 90   1.90599                 osd.90                up  1.00000          1.00000 
 91   1.90599                 osd.91                up  1.00000          1.00000 
 92   1.90599                 osd.92                up  1.00000          1.00000 
 93   1.90599                 osd.93                up  1.00000          1.00000 
 94   1.90599                 osd.94                up  1.00000          1.00000 
 95   1.90599                 osd.95                up  1.00000          1.00000 
 -4  91.50099         datacenter ru-msk-vol51                                    
 -5  22.87500             host se087                                             
  0   1.90599                 osd.0                 up  1.00000          1.00000 
  1   1.90599                 osd.1                 up  1.00000          1.00000 
  2   1.90599                 osd.2                 up  1.00000          1.00000 
  3   1.90599                 osd.3                 up  1.00000          1.00000 
  4   1.90599                 osd.4                 up  1.00000          1.00000 
  5   1.90599                 osd.5                 up  1.00000          1.00000 
  6   1.90599                 osd.6                 up  1.00000          1.00000 
  7   1.90599                 osd.7                 up  1.00000          1.00000 
  8   1.90599                 osd.8                 up  1.00000          1.00000 
  9   1.90599                 osd.9                 up  1.00000          1.00000 
 10   1.90599                 osd.10                up  1.00000          1.00000 
 11   1.90599                 osd.11                up  1.00000          1.00000 
 -6  22.87500             host se088                                             
 12   1.90599                 osd.12                up  1.00000          1.00000 
 13   1.90599                 osd.13                up  1.00000          1.00000 
 14   1.90599                 osd.14                up  1.00000          1.00000 
 15   1.90599                 osd.15                up  1.00000          1.00000 
 16   1.90599                 osd.16                up  1.00000          1.00000 
 17   1.90599                 osd.17                up  1.00000          1.00000 
 18   1.90599                 osd.18                up  1.00000          1.00000 
 19   1.90599                 osd.19                up  1.00000          1.00000 
 20   1.90599                 osd.20                up  1.00000          1.00000 
 21   1.90599                 osd.21                up  1.00000          1.00000 
 22   1.90599                 osd.22                up  1.00000          1.00000 
 23   1.90599                 osd.23                up  1.00000          1.00000 
 -7  22.87500             host se089                                             
 24   1.90599                 osd.24                up  1.00000          1.00000 
 25   1.90599                 osd.25                up  1.00000          1.00000 
 26   1.90599                 osd.26                up  1.00000          1.00000 
 27   1.90599                 osd.27                up  1.00000          1.00000 
 28   1.90599                 osd.28                up  1.00000          1.00000 
 29   1.90599                 osd.29                up  1.00000          1.00000 
 30   1.90599                 osd.30                up  1.00000          1.00000 
 31   1.90599                 osd.31                up  1.00000          1.00000 
 32   1.90599                 osd.32                up  1.00000          1.00000 
 33   1.90599                 osd.33                up  1.00000          1.00000 
 34   1.90599                 osd.34                up  1.00000          1.00000 
 35   1.90599                 osd.35                up  1.00000          1.00000 
 -8  22.87500             host se090                                             
 36   1.90599                 osd.36                up  1.00000          1.00000 
 37   1.90599                 osd.37                up  1.00000          1.00000 
 38   1.90599                 osd.38                up  1.00000          1.00000 
 39   1.90599                 osd.39                up  1.00000          1.00000 
 40   1.90599                 osd.40                up  1.00000          1.00000 
 41   1.90599                 osd.41                up  1.00000          1.00000 
 42   1.90599                 osd.42                up  1.00000          1.00000 
 43   1.90599                 osd.43                up  1.00000          1.00000 
 44   1.90599                 osd.44                up  1.00000          1.00000 
 45   1.90599                 osd.45                up  1.00000          1.00000 
 46   1.90599                 osd.46                up  1.00000          1.00000 
 47   1.90599                 osd.47                up  1.00000          1.00000

total OSD 96.
I want use ceph + rgw and now I have 10 pools.
How I can calculate number of pg per OSD with 10 pools?

Thanks in advance for the help.

-- 
Best Regards,
Stanislav Butkeev
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Number of PG per OSD in cluster
  2015-07-06  7:36   ` Number of PG per OSD in cluster Butkeev Stas
@ 2015-07-06  8:03     ` Pavan Rallabhandi
  2015-07-06  8:41     ` Blair Bethwaite
  1 sibling, 0 replies; 5+ messages in thread
From: Pavan Rallabhandi @ 2015-07-06  8:03 UTC (permalink / raw)
  To: Butkeev Stas, ceph-devel@vger.kernel.org, ceph-qa@ceph.com,
	ceph-maintainers@ceph.com

This can be a good start

http://ceph.com/pgcalc/

-----Original Message-----
From: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel-owner@vger.kernel.org] On Behalf Of Butkeev Stas
Sent: Monday, July 06, 2015 1:06 PM
To: ceph-devel@vger.kernel.org; ceph-qa@ceph.com; ceph-maintainers@ceph.com
Subject: Number of PG per OSD in cluster

Hello everbody

Could you help me with one question about number of pg in cluster.
I have next cluster

[10:26]:[root@se087  ~]# ceph osd tree
ID  WEIGHT    TYPE NAME                        UP/DOWN REWEIGHT PRIMARY-AFFINITY
 -1 183.00101 root default
 -2 183.00101     region RU
 -3  91.50099         datacenter ru-msk-comp1p
 -9  22.87500             host sf016
 48   1.90599                 osd.48                up  1.00000          1.00000
 49   1.90599                 osd.49                up  1.00000          1.00000
 50   1.90599                 osd.50                up  1.00000          1.00000
 51   1.90599                 osd.51                up  1.00000          1.00000
 52   1.90599                 osd.52                up  1.00000          1.00000
 53   1.90599                 osd.53                up  1.00000          1.00000
 54   1.90599                 osd.54                up  1.00000          1.00000
 55   1.90599                 osd.55                up  1.00000          1.00000
 56   1.90599                 osd.56                up  1.00000          1.00000
 57   1.90599                 osd.57                up  1.00000          1.00000
 58   1.90599                 osd.58                up  1.00000          1.00000
 59   1.90599                 osd.59                up  1.00000          1.00000
-10  22.87500             host sf049
 60   1.90599                 osd.60                up  1.00000          1.00000
 61   1.90599                 osd.61                up  1.00000          1.00000
 62   1.90599                 osd.62                up  1.00000          1.00000
 63   1.90599                 osd.63                up  1.00000          1.00000
 64   1.90599                 osd.64                up  1.00000          1.00000
 65   1.90599                 osd.65                up  1.00000          1.00000
 66   1.90599                 osd.66                up  1.00000          1.00000
 67   1.90599                 osd.67                up  1.00000          1.00000
 68   1.90599                 osd.68                up  1.00000          1.00000
 69   1.90599                 osd.69                up  1.00000          1.00000
 70   1.90599                 osd.70                up  1.00000          1.00000
 71   1.90599                 osd.71                up  1.00000          1.00000
-11  22.87500             host sf056
 72   1.90599                 osd.72                up  1.00000          1.00000
 73   1.90599                 osd.73                up  1.00000          1.00000
 74   1.90599                 osd.74                up  1.00000          1.00000
 75   1.90599                 osd.75                up  1.00000          1.00000
 76   1.90599                 osd.76                up  1.00000          1.00000
 77   1.90599                 osd.77                up  1.00000          1.00000
 78   1.90599                 osd.78                up  1.00000          1.00000
 79   1.90599                 osd.79                up  1.00000          1.00000
 80   1.90599                 osd.80                up  1.00000          1.00000
 81   1.90599                 osd.81                up  1.00000          1.00000
 82   1.90599                 osd.82                up  1.00000          1.00000
 83   1.90599                 osd.83                up  1.00000          1.00000
-12  22.87500             host sf068
 84   1.90599                 osd.84                up  1.00000          1.00000
 85   1.90599                 osd.85                up  1.00000          1.00000
 86   1.90599                 osd.86                up  1.00000          1.00000
 87   1.90599                 osd.87                up  1.00000          1.00000
 88   1.90599                 osd.88                up  1.00000          1.00000
 89   1.90599                 osd.89                up  1.00000          1.00000
 90   1.90599                 osd.90                up  1.00000          1.00000
 91   1.90599                 osd.91                up  1.00000          1.00000
 92   1.90599                 osd.92                up  1.00000          1.00000
 93   1.90599                 osd.93                up  1.00000          1.00000
 94   1.90599                 osd.94                up  1.00000          1.00000
 95   1.90599                 osd.95                up  1.00000          1.00000
 -4  91.50099         datacenter ru-msk-vol51
 -5  22.87500             host se087
  0   1.90599                 osd.0                 up  1.00000          1.00000
  1   1.90599                 osd.1                 up  1.00000          1.00000
  2   1.90599                 osd.2                 up  1.00000          1.00000
  3   1.90599                 osd.3                 up  1.00000          1.00000
  4   1.90599                 osd.4                 up  1.00000          1.00000
  5   1.90599                 osd.5                 up  1.00000          1.00000
  6   1.90599                 osd.6                 up  1.00000          1.00000
  7   1.90599                 osd.7                 up  1.00000          1.00000
  8   1.90599                 osd.8                 up  1.00000          1.00000
  9   1.90599                 osd.9                 up  1.00000          1.00000
 10   1.90599                 osd.10                up  1.00000          1.00000
 11   1.90599                 osd.11                up  1.00000          1.00000
 -6  22.87500             host se088
 12   1.90599                 osd.12                up  1.00000          1.00000
 13   1.90599                 osd.13                up  1.00000          1.00000
 14   1.90599                 osd.14                up  1.00000          1.00000
 15   1.90599                 osd.15                up  1.00000          1.00000
 16   1.90599                 osd.16                up  1.00000          1.00000
 17   1.90599                 osd.17                up  1.00000          1.00000
 18   1.90599                 osd.18                up  1.00000          1.00000
 19   1.90599                 osd.19                up  1.00000          1.00000
 20   1.90599                 osd.20                up  1.00000          1.00000
 21   1.90599                 osd.21                up  1.00000          1.00000
 22   1.90599                 osd.22                up  1.00000          1.00000
 23   1.90599                 osd.23                up  1.00000          1.00000
 -7  22.87500             host se089
 24   1.90599                 osd.24                up  1.00000          1.00000
 25   1.90599                 osd.25                up  1.00000          1.00000
 26   1.90599                 osd.26                up  1.00000          1.00000
 27   1.90599                 osd.27                up  1.00000          1.00000
 28   1.90599                 osd.28                up  1.00000          1.00000
 29   1.90599                 osd.29                up  1.00000          1.00000
 30   1.90599                 osd.30                up  1.00000          1.00000
 31   1.90599                 osd.31                up  1.00000          1.00000
 32   1.90599                 osd.32                up  1.00000          1.00000
 33   1.90599                 osd.33                up  1.00000          1.00000
 34   1.90599                 osd.34                up  1.00000          1.00000
 35   1.90599                 osd.35                up  1.00000          1.00000
 -8  22.87500             host se090
 36   1.90599                 osd.36                up  1.00000          1.00000
 37   1.90599                 osd.37                up  1.00000          1.00000
 38   1.90599                 osd.38                up  1.00000          1.00000
 39   1.90599                 osd.39                up  1.00000          1.00000
 40   1.90599                 osd.40                up  1.00000          1.00000
 41   1.90599                 osd.41                up  1.00000          1.00000
 42   1.90599                 osd.42                up  1.00000          1.00000
 43   1.90599                 osd.43                up  1.00000          1.00000
 44   1.90599                 osd.44                up  1.00000          1.00000
 45   1.90599                 osd.45                up  1.00000          1.00000
 46   1.90599                 osd.46                up  1.00000          1.00000
 47   1.90599                 osd.47                up  1.00000          1.00000

total OSD 96.
I want use ceph + rgw and now I have 10 pools.
How I can calculate number of pg per OSD with 10 pools?

Thanks in advance for the help.

--
Best Regards,
Stanislav Butkeev
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Number of PG per OSD in cluster
  2015-07-06  7:36   ` Number of PG per OSD in cluster Butkeev Stas
  2015-07-06  8:03     ` Pavan Rallabhandi
@ 2015-07-06  8:41     ` Blair Bethwaite
  1 sibling, 0 replies; 5+ messages in thread
From: Blair Bethwaite @ 2015-07-06  8:41 UTC (permalink / raw)
  To: Butkeev Stas
  Cc: ceph-devel@vger.kernel.org, ceph-qa@ceph.com,
	ceph-maintainers@ceph.com

Hi,

Firstly, please show some mailing list decorum and use the appropriate
mailing list (this is a usage related question, so should go to
ceph-users@ceph.com), and please don't spam every single ceph related
list you can find.

Regarding your question, see http://ceph.com/pgcalc/.

Cheers,

On 6 July 2015 at 17:36, Butkeev Stas <staerist@ya.ru> wrote:
> Hello everbody
>
> Could you help me with one question about number of pg in cluster.
> I have next cluster
>
> [10:26]:[root@se087  ~]# ceph osd tree
> ID  WEIGHT    TYPE NAME                        UP/DOWN REWEIGHT PRIMARY-AFFINITY
>  -1 183.00101 root default
>  -2 183.00101     region RU
>  -3  91.50099         datacenter ru-msk-comp1p
>  -9  22.87500             host sf016
>  48   1.90599                 osd.48                up  1.00000          1.00000
>  49   1.90599                 osd.49                up  1.00000          1.00000
>  50   1.90599                 osd.50                up  1.00000          1.00000
>  51   1.90599                 osd.51                up  1.00000          1.00000
>  52   1.90599                 osd.52                up  1.00000          1.00000
>  53   1.90599                 osd.53                up  1.00000          1.00000
>  54   1.90599                 osd.54                up  1.00000          1.00000
>  55   1.90599                 osd.55                up  1.00000          1.00000
>  56   1.90599                 osd.56                up  1.00000          1.00000
>  57   1.90599                 osd.57                up  1.00000          1.00000
>  58   1.90599                 osd.58                up  1.00000          1.00000
>  59   1.90599                 osd.59                up  1.00000          1.00000
> -10  22.87500             host sf049
>  60   1.90599                 osd.60                up  1.00000          1.00000
>  61   1.90599                 osd.61                up  1.00000          1.00000
>  62   1.90599                 osd.62                up  1.00000          1.00000
>  63   1.90599                 osd.63                up  1.00000          1.00000
>  64   1.90599                 osd.64                up  1.00000          1.00000
>  65   1.90599                 osd.65                up  1.00000          1.00000
>  66   1.90599                 osd.66                up  1.00000          1.00000
>  67   1.90599                 osd.67                up  1.00000          1.00000
>  68   1.90599                 osd.68                up  1.00000          1.00000
>  69   1.90599                 osd.69                up  1.00000          1.00000
>  70   1.90599                 osd.70                up  1.00000          1.00000
>  71   1.90599                 osd.71                up  1.00000          1.00000
> -11  22.87500             host sf056
>  72   1.90599                 osd.72                up  1.00000          1.00000
>  73   1.90599                 osd.73                up  1.00000          1.00000
>  74   1.90599                 osd.74                up  1.00000          1.00000
>  75   1.90599                 osd.75                up  1.00000          1.00000
>  76   1.90599                 osd.76                up  1.00000          1.00000
>  77   1.90599                 osd.77                up  1.00000          1.00000
>  78   1.90599                 osd.78                up  1.00000          1.00000
>  79   1.90599                 osd.79                up  1.00000          1.00000
>  80   1.90599                 osd.80                up  1.00000          1.00000
>  81   1.90599                 osd.81                up  1.00000          1.00000
>  82   1.90599                 osd.82                up  1.00000          1.00000
>  83   1.90599                 osd.83                up  1.00000          1.00000
> -12  22.87500             host sf068
>  84   1.90599                 osd.84                up  1.00000          1.00000
>  85   1.90599                 osd.85                up  1.00000          1.00000
>  86   1.90599                 osd.86                up  1.00000          1.00000
>  87   1.90599                 osd.87                up  1.00000          1.00000
>  88   1.90599                 osd.88                up  1.00000          1.00000
>  89   1.90599                 osd.89                up  1.00000          1.00000
>  90   1.90599                 osd.90                up  1.00000          1.00000
>  91   1.90599                 osd.91                up  1.00000          1.00000
>  92   1.90599                 osd.92                up  1.00000          1.00000
>  93   1.90599                 osd.93                up  1.00000          1.00000
>  94   1.90599                 osd.94                up  1.00000          1.00000
>  95   1.90599                 osd.95                up  1.00000          1.00000
>  -4  91.50099         datacenter ru-msk-vol51
>  -5  22.87500             host se087
>   0   1.90599                 osd.0                 up  1.00000          1.00000
>   1   1.90599                 osd.1                 up  1.00000          1.00000
>   2   1.90599                 osd.2                 up  1.00000          1.00000
>   3   1.90599                 osd.3                 up  1.00000          1.00000
>   4   1.90599                 osd.4                 up  1.00000          1.00000
>   5   1.90599                 osd.5                 up  1.00000          1.00000
>   6   1.90599                 osd.6                 up  1.00000          1.00000
>   7   1.90599                 osd.7                 up  1.00000          1.00000
>   8   1.90599                 osd.8                 up  1.00000          1.00000
>   9   1.90599                 osd.9                 up  1.00000          1.00000
>  10   1.90599                 osd.10                up  1.00000          1.00000
>  11   1.90599                 osd.11                up  1.00000          1.00000
>  -6  22.87500             host se088
>  12   1.90599                 osd.12                up  1.00000          1.00000
>  13   1.90599                 osd.13                up  1.00000          1.00000
>  14   1.90599                 osd.14                up  1.00000          1.00000
>  15   1.90599                 osd.15                up  1.00000          1.00000
>  16   1.90599                 osd.16                up  1.00000          1.00000
>  17   1.90599                 osd.17                up  1.00000          1.00000
>  18   1.90599                 osd.18                up  1.00000          1.00000
>  19   1.90599                 osd.19                up  1.00000          1.00000
>  20   1.90599                 osd.20                up  1.00000          1.00000
>  21   1.90599                 osd.21                up  1.00000          1.00000
>  22   1.90599                 osd.22                up  1.00000          1.00000
>  23   1.90599                 osd.23                up  1.00000          1.00000
>  -7  22.87500             host se089
>  24   1.90599                 osd.24                up  1.00000          1.00000
>  25   1.90599                 osd.25                up  1.00000          1.00000
>  26   1.90599                 osd.26                up  1.00000          1.00000
>  27   1.90599                 osd.27                up  1.00000          1.00000
>  28   1.90599                 osd.28                up  1.00000          1.00000
>  29   1.90599                 osd.29                up  1.00000          1.00000
>  30   1.90599                 osd.30                up  1.00000          1.00000
>  31   1.90599                 osd.31                up  1.00000          1.00000
>  32   1.90599                 osd.32                up  1.00000          1.00000
>  33   1.90599                 osd.33                up  1.00000          1.00000
>  34   1.90599                 osd.34                up  1.00000          1.00000
>  35   1.90599                 osd.35                up  1.00000          1.00000
>  -8  22.87500             host se090
>  36   1.90599                 osd.36                up  1.00000          1.00000
>  37   1.90599                 osd.37                up  1.00000          1.00000
>  38   1.90599                 osd.38                up  1.00000          1.00000
>  39   1.90599                 osd.39                up  1.00000          1.00000
>  40   1.90599                 osd.40                up  1.00000          1.00000
>  41   1.90599                 osd.41                up  1.00000          1.00000
>  42   1.90599                 osd.42                up  1.00000          1.00000
>  43   1.90599                 osd.43                up  1.00000          1.00000
>  44   1.90599                 osd.44                up  1.00000          1.00000
>  45   1.90599                 osd.45                up  1.00000          1.00000
>  46   1.90599                 osd.46                up  1.00000          1.00000
>  47   1.90599                 osd.47                up  1.00000          1.00000
>
> total OSD 96.
> I want use ceph + rgw and now I have 10 pools.
> How I can calculate number of pg per OSD with 10 pools?
>
> Thanks in advance for the help.
>
> --
> Best Regards,
> Stanislav Butkeev
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Cheers,
~Blairo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-06 10:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-13 13:49 Problems with installation httpd and mod_ssl from ceph repo Butkeev Stas
2015-05-13 23:25 ` Ken Dreyer
2015-07-06  7:36   ` Number of PG per OSD in cluster Butkeev Stas
2015-07-06  8:03     ` Pavan Rallabhandi
2015-07-06  8:41     ` Blair Bethwaite

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.