![]() |
ispCP Multi-Server - RC7 patch - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Enhancements (/forum-43.html) +--- Thread: ispCP Multi-Server - RC7 patch (/thread-5711.html) |
ispCP Multi-Server - RC7 patch - zmediaguru - 02-14-2009 04:41 AM Here is a patch updated for RC7 that I started here This patch applies to a fresh install of ISPCP RC7, it contains both the .patch file and the SQL update script: [attachment=603] Basically, this patch does the following:
Applying the Experimental ISP-CP Multi-Site Patch I have tested this process on a fresh Ubuntu 8.04 Hardy server. Here is the process for applying the patch and setting up multi-servers: Step 1: Download and unzip ISPCP-omega RC7 Code: # wget http://superb-west.dl.sourceforge.net/sourceforge/ispcp/ispcp-omega-1.0.0-rc7.tar.gz Step 2: Download and unzip ISPCP-multisite Patch (see attachment above) Step 3: Install ISPCP Dependencies (see documentation for your specific distro) Step 4: Apply ISPCP-multisite Patch - from ispcp-omega.1.0 folder, run: Code: # cd ispcp-omega-1.0.0 Code: # make install Code: # cp -Rv /tmp/ispcp/* / Code: # cd /var/www/ispcp/engine/setup Step 8: Run ISP-CP multisite DB plugs Code: # mysql -u root -p ispcp < [path to patchfile]/ispcp_multisite_rc7.sql Step 10: Create new host entry for local machine - Click Settings > Manage Hosts - For Host: enter local hostname - For Alias: enter a description of the local server - Click Add All Done! To add additional servers to the ISP-CP cluster, follow the steps above, installing a full copy of ISP-CP, The only difference on the additional servers will be during the ispcp-setup, point the MySQL database to the original ISP-CP server. All ISP-CP node servers will point to the same server. Note: You may need to manually adjust permissions on the 'ispcp' database to allow connections from other hosts. Once you have multiple servers set up in this manner, you can add IP addresses, and assign those IP address to any host setup and configured on the system. Note: This modification is highly experimental and untested, and intended only for testing purposes on a clean installation of ISP-CP - proceed at your own risk. There is still quite a bit of work to be done. Not intended for use in Production. RE: ispCP Multi-Server - RC7 patch - ispcomm - 03-22-2009 10:05 PM Hi, I'm quite interested in your patch. Did you have patches for the 1.0.0 version of ispcp (is it that different)? Are you willing to collaborate to implement a dynamic site-moving for the sites? This could be a nice feature to dynamically distrubute load between servers. Perhaps a shared storage/nas solution could help in this aspect. ispcomm. |