Re: Instructions for manually adding a object gateway node ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

And if you don’t have the pools, I created these. But from a little 
testing I noticed that lots of them are not used, so you have to 
investigate what is necessary or not. I think it is because I have read 
old and new docs, I was not able to find a definite list of necessary 
pools. So share if you found something ;)

ceph osd pool create default.rgw 8
ceph osd pool create default.rgw.meta 8
ceph osd pool create default.rgw.control 8
ceph osd pool create default.rgw.log 8
ceph osd pool create .rgw.root 8
ceph osd pool create .rgw.gc 8
ceph osd pool create .rgw.buckets 16 
ceph osd pool create .rgw.buckets.index 8
ceph osd pool create .rgw.buckets.extra 8
ceph osd pool create .intent-log 8
ceph osd pool create .usage 8
ceph osd pool create .users 8
ceph osd pool create .users.email 8
ceph osd pool create .users.swift 8
ceph osd pool create .users.uid 8



POOL_NAME                  USED   OBJECTS CLONES COPIES   
MISSING_ON_PRIMARY UNFOUND DEGRADED RD_OPS    RD     WR_OPS    WR
.intent-log                     0       0      0        0                
  0       0        0         0      0         0     0
.rgw.buckets                    0       0      0        0                
  0       0        0         0      0         0     0
.rgw.buckets.extra              0       0      0        0                
  0       0        0         0      0         0     0
.rgw.buckets.index              0       0      0        0                
  0       0        0         0      0         0     0
.rgw.gc                         0       0      0        0                
  0       0        0         0      0         0     0
.rgw.root                    1113       4      0       12                
  0       0        0      6501  4334k        12  8192
.usage                          0       0      0        0                
  0       0        0         0      0         0     0
.users                          0       0      0        0                
  0       0        0         0      0         0     0
.users.email                    0       0      0        0                
  0       0        0         0      0         0     0
.users.swift                    0       0      0        0                
  0       0        0         0      0         0     0
.users.uid                      0       0      0        0                
  0       0        0         0      0         0     0
default.rgw                     0       0      0        0                
  0       0        0         0      0         0     0
default.rgw.buckets.data    3814M    1596      0     4788                
  0       0        0      1546 85953k     10850 4008M
default.rgw.buckets.index       0       4      0       12                
  0       0        0     11070 11865k      6681     0
default.rgw.buckets.non-ec      0       0      0        0                
  0       0        0      2505  1624k      1952     0
default.rgw.control             0       8      0       24                
  0       0        0         0      0         0     0
default.rgw.log              2431     210      0      630                
  0       0        0  12914226 12611M   8603543 13312
default.rgw.meta             2462      14      0       42                
  0       0        0      1832  1575k       185 18432



-----Original Message-----
From: Marc Roos 
Sent: dinsdag 27 maart 2018 16:35
To: ceph-users; massimo.sgaravatto
Subject: Re:  Instructions for manually adding a object 
gateway node ?

 
This is how I did it (centos7), but beware I have client.rgw1 not
client.radosgw.rgw1


yum install ceph-radosgw

Creating the gw node user:

ceph auth get-or-create client.rgw1

ceph auth caps client.rgw1 osd 'allow rwx' mon 'allow rwx'

#limit access
#ceph auth caps client.rgw1 mon 'allow rx' osd 'allow rwx 
pool=default.rgw, allow rwx pool=default.rgw.meta, allow rwx 
pool=.rgw.root, allow rwx pool=default.rgw.control, allow rwx 
pool=.rgw.gc, allow rwx pool=.rgw.buckets, allow rwx 
pool=.rgw.buckets.index, allow rwx pool=.rgw.buckets.extra, allow rwx 
pool=default.rgw.log, allow rwx pool=.intent-log, allow rwx pool=.usage, 

allow rwx pool=.users, allow rwx pool=.users.email, allow rwx 
pool=.users.swift, allow rwx pool=.users.uid'

mkdir -p /var/lib/ceph/radosgw/ceph-rgw1
chown ceph.ceph -R /var/lib/ceph/radosgw

service ceph-radosgw@rgw1 start

systemctl enable ceph-radosgw@rgw1

Adding the configuration to /etc/ceph/ceph.conf:

[client.rgw1]
rgw_frontends = civetweb port=80+7480s ssl_certificate=/etc/ceph/xxx.pem


-----Original Message-----
From: Massimo Sgaravatto [mailto:massimo.sgaravatto@xxxxxxxxx] 
Sent: dinsdag 27 maart 2018 16:03
To: ceph-users@xxxxxxxxxxxxxx
Subject:  Instructions for manually adding a object gateway 
node ?

Hi

Are there somewhere some instructions on how to *MANUALLY* add a object 
gateway node on a Luminous cluster, that was manually installed (i.e. 
not using ceph-deploy) ?

In the official doc I can find instruction only referring to ceph-deploy 

...


Thanks, Massimo 


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux