Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the tool to setup PG HA without internet? #669

Open
dashng opened this issue May 30, 2024 · 5 comments
Open

How to use the tool to setup PG HA without internet? #669

dashng opened this issue May 30, 2024 · 5 comments
Labels
question Further information is requested

Comments

@dashng
Copy link

dashng commented May 30, 2024

Hi,
Is it possible to setup HA without internet?
May I downloaded all dependencies and install manually then call the script to install HA cluster?

@vitabaks vitabaks added the question Further information is requested label May 30, 2024
@vitabaks
Copy link
Owner

vitabaks commented May 30, 2024

Hi @dashng

For environments where there is no direct Internet access from servers, they can use a proxy server.

Or use the (more complex) offline installation method - installation_method: file https://github.com/vitabaks/postgresql_cluster/blob/master/vars/Debian.yml#L145

@dashng
Copy link
Author

dashng commented May 30, 2024

Hi @vitabaks, thanks for your comments. I will try the offline mode on RHEL9.
By the way, does it possible to have only 2 nodes, master and slavor as the minimal size of the cluster?

@vitabaks
Copy link
Owner

Yes, provided that you use a dedicated DCS cluster (etcd or consul) consisting of 3 or more servers.

@vitabaks
Copy link
Owner

I will try the offline mode on RHEL9.

Feel free to suggest a PR with improvement, as offline installation is the most rarely used mode.

@dashng
Copy link
Author

dashng commented May 30, 2024

Sure, we will try and update here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants