php - Multiple webservers (NGINX) behind Load Balancer, share settings (database connections etc.) -


i'm designing system require several web servers (nginx) behind load balancer.

my question is: techniques suggest using sharing settings among webbservers (hosting php-app)? let's have change credentials database connection. in case don't want log in every single server , change of config files.

what suggest able update variables in 1 place it's accessible web servers. i've considered having small server in middle servers read (through scp-connection or such), don't want single point of failure.

there various solutions automate server management puppet , chef, if getting started 2 our 3 servers, consider tool that's send broadcast same ssh session multiple hosts. terminator gnome great , there's csshx mac (which haven't tried).

it's great able see both terminals @ once in case there small differences between server prior manual maintenance. in terminator, can switch between broadcasting commands group of terminals , typing specific one. can set layout automatically starts 2 joined sessions , ssh's servers in given cluster. in other words, it's easy use ssh session be, works multiple servers.

when project size , complexity grows, consider switching more automated server management.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -