MrMEEE / awx-rpm-v2

AWX-RPM Reignited
GNU Affero General Public License v3.0
33 stars 9 forks source link

Can Ansible AWX be installed in High Availability mode? Currently, it's functioning on a standalone server. #21

Closed ompals92 closed 4 months ago

MrMEEE commented 4 months ago

Hi..

Just to make sure that we are talking about the same thing, this question is for AWX-RPM, right?

I have done it in the past..

Basically it should be as "simple" as:

MrMEEE commented 4 months ago

I will keep this open, and finish it when I have the time

albebert commented 4 months ago

HI, i've planned to add the possibility to use an external DB.

but don't have time now, i will make a PR when i'ts down

MrMEEE commented 4 months ago

Hi

I have just added the possibility to use an external DB, and multiple AWX-RPM hosts..

So far as I can tell, it works in my testing setup..

Setting up the external DB, and a loadbalancer for the AWX-RPM servers must be done separately..

Let me hear if it works for you

ompals92 commented 4 months ago

Hi,

The functionality is confirmed. I've conducted tests in my environment, including Load Balancer and External Database. Currently, I'm evaluating the possibility of adding an execution node to the cluster.

MrMEEE commented 4 months ago

Hmm.. seems like the add button for nodes is missing..

Something in the source/configuration is apparently missing..

MrMEEE commented 4 months ago

New instances can be provisioned with: awx-manage provision_instance --hostname test2.mrmeee.net --node_type execution

But the install bundle (under the new instance) is not showing up, so we either need to get that enabled or do the receptor installation manually..

ompals92 commented 4 months ago

Yes, Above approach works in AWX Operator based deployment only.