So, just so I am clear – in addition to the steps below, will I also need to 
also install NGINX or HAProxy on the server to act as the front end?

-- M

From: Rok Jaklič <rjak...@gmail.com>
Sent: Monday, February 12, 2024 12:30 PM
To: Michael Worsham <mwors...@datadimensions.com>
Cc: ceph-users@ceph.io
Subject: Re: [ceph-users] Re: What is the proper way to setup Rados Gateway 
(RGW) under Ceph?

This is an external email. Please take care when clicking links or opening 
attachments. When in doubt, check with the Help Desk or Security.

Hi,

recommended methods of deploying rgw are imho overly complicated. You can get 
service up manually also with something simple like:

[root@mon1 bin]# cat /etc/ceph/ceph.conf

[global]
fsid = 12345678-XXXx ...
mon initial members = mon1,mon3
mon host = ip-mon1,ip-mon2
auth cluster required = none
auth service required = none
auth client required = none
ms_mon_client_mode = crc

[client.radosgw.mon1]
host = mon1
log_file = /var/log/ceph/client.radosgw.mon1.log
rgw_dns_name = mon1
rgw_frontends = "civetweb port=80 num_threads=500" # this is different in ceph 
versions 17, 18.
rgw_crypt_require_ssl = false

----

[root@mon1 bin]# cat start-rgw.sh
radosgw -c /etc/ceph/ceph.conf --setuser ceph --setgroup ceph -n 
client.radosgw.mon1 &

---

This configuration has nginx in front of rgw .... all traffic goes from nginx 
443 -> rgw 80 and it assumes you "own the network" and you are aware of 
"drawbacks".

Rok

On Mon, Feb 12, 2024 at 2:15 PM Michael Worsham 
<mwors...@datadimensions.com<mailto:mwors...@datadimensions.com>> wrote:
Can anyone help me on this? I can't be that hard to do.

-- Michael


-----Original Message-----
From: Michael Worsham 
<mwors...@datadimensions.com<mailto:mwors...@datadimensions.com>>
Sent: Thursday, February 8, 2024 3:03 PM
To: ceph-users@ceph.io<mailto:ceph-users@ceph.io>
Subject: [ceph-users] What is the proper way to setup Rados Gateway (RGW) under 
Ceph?

I have setup a 'reef' Ceph Cluster using Cephadm and Ansible in a VMware ESXi 7 
/ Ubuntu 22.04 lab environment per the how-to guide provided here:  
https://computingforgeeks.com/install-ceph-storage-cluster-on-ubuntu-linux-servers/.

The installation steps were fairly easy and I was able to get the environment 
up and running in about 15 minutes under VMware ESXi 7. I have buckets and 
pools already setup. However, the ceph.io<http://ceph.io> site is confusing on 
how to setup the Rados Gateway (radosgw) with Multi-site -- 
https://docs.ceph.com/en/latest/radosgw/multisite/. Is a copy of HAProxy also 
needed for handling the front-end load balancing or is it implied that Ceph 
sets it up?

Command-line scripting I was planning on using for setting up the RGW:
```
radosgw-admin realm create --rgw-realm=sandbox --default radosgw-admin 
zonegroup create --rgw-zonegroup=sandbox  --master --default radosgw-admin zone 
create --rgw-zonegroup=sandbox --rgw-zone=sandbox --master --default 
radosgw-admin period update --rgw-realm=sandbox --commit ceph orch apply rgw 
sandbox --realm=sandbox --zone=sandbox --placement="2 ceph-mon1 ceph-mon2" 
--port=8000 ```

What other steps are needed to get the RGW up and running so that it can be 
presented to something like Veeam for doing performance and I/O testing 
concepts?

-- Michael

This message and its attachments are from Data Dimensions and are intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is privileged, confidential, and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify the 
sender immediately and permanently delete the original email and destroy any 
copies or printouts of this email as well as any attachments.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io>
To unsubscribe send an email to 
ceph-users-le...@ceph.io<mailto:ceph-users-le...@ceph.io>
This message and its attachments are from Data Dimensions and are intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is privileged, confidential, and exempt from 
disclosure under applicable law. If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering the 
message to the intended recipient, you are hereby notified that any 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, please notify the 
sender immediately and permanently delete the original email and destroy any 
copies or printouts of this email as well as any attachments.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to