zmediaguru
Junior Member

Posts: 16
Joined: Jan 2007
Reputation: 0
|
RE: Multi-Server ispCP!
Update: Sorry for the delay. I was gone for about a week, and was not able to pick up and work on this project again until today.
Progress: With the GUI mods already in place (see attached graphics on my previous post), today I completed the initial mods to the ispcp-rqstmngr engine script. What I did was modify the query that looks for any domains that do not have a status of 'ok', refining it to only pull results for domains which are assigned to this server.
I went ahead and setup a second web server, installed ISP-CP, and applied my mod (gui & engine components) to this new server, and pointed it to use the ispcp database on the first primary server.
Success: Today I was able to successfully able to deploy domains across 2 separate web servers from a single GUI!.
With the second web server in place, I was able to add hosts in the control panel GUI, assign IPs to that host, and add a domain user to either of the first or second web servers.
I don't yet have all automation in place for calling the daemon on each web server, so once I've added a domain through the GUI, I still need to manually run the ispcp-rqst-mngr script on whichever server the domain was added to. However, I've already poked around at that code, and have a good idea how to have it call the Request Manager on each node via the daemon once a change is saved in the GUI.
Once I get some more of the initial issues worked out, and also apply some similar modifications to the mailbox process, I will hopefully figure out how to package up my mods as a patch for others to begin testing with.
Interestingly, with ISP-CP fully installed on both server, the GUI can now be accessed from either web server as well - this may be nice down the road implementing some form of load-balancing, etc.
(This post was last modified: 09-04-2008 09:27 AM by zmediaguru.)
|
|
09-04-2008 09:26 AM |
|