Open Source Object Storage for Unstructured Data: Ceph on HP ProLiant SL4540 Gen8 Servers

Table Of Contents
Reference Architecture| Ceph on HP ProLiant SL4540 Gen8 Servers
-1 546 root default
-2 54.6 host hp-osdhost01
0 2.73 osd.0 up 1
1 2.73 osd.1 up 1
2 2.73 osd.2 up 1
3 2.73 osd.3 up 1
4 2.73 osd.4 up 1
5 2.73 osd.5 up 1
6 2.73 osd.6 up 1
7 2.73 osd.7 up 1
8 2.73 osd.8 up 1
9 2.73 osd.9 up 1
10 2.73 osd.10 up 1
11 2.73 osd.11 up 1
12 2.73 osd.12 up 1
13 2.73 osd.13 up 1
14 2.73 osd.14 up 1
15 2.73 osd.15 up 1
16 2.73 osd.16 up 1
17 2.73 osd.17 up 1
18 2.73 osd.18 up 1
19 2.73 osd.19 up 1
Configuring Pool Settings
This is often useful for dynamically changing the pg_num and pgp_num settings after changing the number of OSDs. There
are a few other parameters that can be set if needed like CRUSH rule set or the replica parameters.
To get current information on pools in the system, execute this on an admin node:
sudo ceph osd dump | grep pool
Here is an example for setting the data pool on an object gateway for 60 OSDs with a 3 way replica. If total pgs should be
around: (60 * 100)/3 == 2000, try to choose a reasonable power of 2 under that number.
sudo ceph osd pool set .rgw.buckets pg_num 1024
Wait until cluster settles down with ceph –w’:
sudo ceph osd pool set .rgw.buckets pgp_num 1024
See Appendix B for an example of pool dump output.
Listing Object Gateway Users
If the administrator forgets a username or there’s a need to list existing object gateway users this command is helpful.
sudo radosgw-admin metadata list user
50