Hi,
I've heard many time that to install multiple rados-gateway on the same server is
possible, just need to create on a different port.
However I've never managed to make it work.
Today I gave another try like this:
1. Created a new keyring: ceph auth get-or-create client.rgw.servername.rgw1 mon
'allow rw' osd 'allow rwx'
2. Created the keyring file: /var/lib/ceph/radosgw/ceph-rgw.servername.rgw1/keyring
3. Added another entry in the ceph octopus configuration with different port:
[client.rgw.servername.rgw1]
host = servername
keyring = /var/lib/ceph/radosgw/ceph-rgw.servername.rgw1/keyring
log file = /var/log/ceph/ceph-rgw-servername.rgw1.log
rgw frontends = beast endpoint=10.104.198.101:8081
rgw thread pool size = 512
rgw_zone=zone
1. Copied another RGW system file in centos 8: cp -pr
/etc/systemd/system/ceph-radosgw.target.wants/ceph-radosgw\(a)rgw.servername.rgw0.service
/etc/systemd/system/ceph-radosgw.target.wants/ceph-radosgw\(a)rgw.servername.rgw1.service
2. Restarted ceph.target.
3. Result is the same number of rados-gateways.
So how is this actually should have been done?
Thank you
________________________________
This message is confidential and is for the sole use of the intended recipient(s). It may
also be privileged or otherwise protected by copyright or other legal rules. If you have
received it by mistake please let us know by reply email and delete it from your system.
It is prohibited to copy this message or disclose its content to anyone. Any
confidentiality or privilege is not waived or lost by any mistaken delivery or
unauthorized disclosure of the message. All messages sent to and from Agoda may be
monitored to ensure compliance with company policies, to protect the company's
interests and to remove potential malware. Electronic messages may be intercepted,
amended, lost or deleted, or contain viruses.