![]() ![]() IP Virtual Server version 1.2. I am sure that the servers are responding healthy: # ipvsadm -Ln The servers serve the git requests if I clone projects from them directly. The command just times out after a couple of minutes. Everytime I try to access git-ld/ one of the servers serves the web page.īut, I am not able to make the servers respond when I request a git clone to git-ld using below command: git clone git://git-ld/project.git Now, the web server is load balanced perfectly. I am checking the health of the servers using a custom tcp service which runs on both the git servers (server1 and 2) on port 777 and returns "OPEN" if the servers are healthy enough to serve requests.Īs you can see, I am also load balancing a web server on using the came ldirectord.cf file. # Web server load balancing configuration # ![]() Note: I am not interested on providing HA services to them yet, just the load balancing. Install Git The first step is to install Git on your CentOS: sudo dnf install git Verify the installation by displaying the Git version: git -version git version 2.18. It can be also deployed as a Docker image. There is no Git-daemon running on git-ld. Installing Gitea Gitea can be installed from source, binary, and as a package. I am trying to load balance two GIT servers (viz server1 and server2) using ldirectord on a CentOS 4.5 system.Ī server named git-ld acts as the ldirectord master.īoth the servers are running git-daemons on port 9418 and have identical set of git projects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |