It is unclear to me, after reading about your plugin, if it is optimised to minimize overhead?
Best regards
]]>My WP hosts on an auto-scaling server and all the resource files are located on the AWS S3. Seems that Popup Maker creates js and css files in the upload folder and to make the pup-up works properly I upload the files to the AWS S3 manually. Is there a way to simplify this process? Any help would be appreciated!
Thanks,
Lisa
Regards
https://www.ads-software.com/plugins/wpsitesynccontent/
]]>I’ve set up a multisite WordPress installation and would like to move it to 2 EC2 instances behind a load balancer. My issue is with the wp-config.php configuration setting for the DOMAIN_CURRENT_SITE parameter. I currently have it set as follows
define(‘DOMAIN_CURRENT_SITE’, ‘ec2-instance-1.us-west-2.compute.amazonaws.com’);
How should this be set if I am load balancing between multiple EC2 instances? Because it’s multisite the DOMAIN_CURRENT_SITE value is saved in the WP database. I am unsure how this should be set since I am sharing a single RDS db between multiple WordPress instances. If I set it to one of the EC2 host names then the others would generate an error when connecting to the db. I’ve tried setting it to the load balancer domain name (and have updated the domain name in the db) but I’m getting a blank white page and the load balancer shows the EC2 instances as ‘Out of Service’. I’d appreciate any help anyone can offer.
Thanks
]]>It’s been about 3 months now and I cannot get things working. I am installing WordPress 4.4.1. I have two web servers, one SQL server and one NAS shared directory for files.
I install WordPress on the two webservers pointing their wp-config.php to the SQL server. This appears to work fine. A load balancing IP points to each.
I have a folder in my html folder called “blog” which is really a NAS share.
I follow the instructions in the codex to make this work and it does.
Now when I start configuring the multisite is where issues arrise. I setup a wildcard DNS entry before anything else. I turn on the option in wp-config.php by adding the following:
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
Then I return to the site and do the network setup. I choose subdomain. I then copy the code provided to the index.php and .htaccess files.
When I log out and back in it looks fine. I can click and open all pages on the left related to the main site. At the top I have My Sites and the Main site. When I click anything related to My Sites or it’s submenu the links do not include the full path. I’ve noticed I can get around this by entering the /blog in myself. That works for some navigation but I cannot create any sites. When I click create I’m redirected to a login. Seems like a couple issues and trust me I have looked EVERYWHERE but know I’ve read some really good advise here and hoping someone has a clue.
Site is https://wp.ravanallc.com/ if that helps at all.
]]>We are using Amazon s3 for a CDN to get past the issue of replicating images across 2 load balanced servers. We create a post while connected to one of the servers and the images automatically get pushed to amazon so that they will be available to published posts regardless of which server the user is directed to.
The issue is that if a different editor is connected to server A, they do not see the images in the media library that another editor uploaded when they were connected to server B. WP knows the image is there and what the URL is, but the file is missing from the media library on server A. It’s on server B and on Amazon, so it works fine for everything (including preview and the published post) except “editing” on server A.
The sysadmin can sync up the media files between the 2 servers by copying files to correct it, but I’d prefer that our editor take care of it themselves. Is there a feature that I’m missing that will allow the editor on server A tell WordPress to grab files from the CDN if the’re missing locally?
Thank you,
Michael
https://www.ads-software.com/plugins/w3-total-cache/
]]>I have a cluster of Raspberry Pi’s and BeagleBone Blacks load balancing my website using nginx. The LB works perfectly well. Problem is, if I log into https://www.beagle-pi.com/wp-admin and add a new post and upload an image to it, only the node that I’ve landed on is going to get that image. I have a couple options in my mind:
1) Setup the load balancer to not load balance https://www.beagle-pi.com/wp-admin requests and land on one node all the time for that URL. I can then make posts/upload content from there and run a scheduled rsync task to push out the changes from /var/www/html/wp-content/uploads/… to the other nodes. Problem with this is that the content will be out of sync until that task completes. So, I either need to schedule the task frequently or deal with content issues.
2) Glusterfs – I tried to run a gluster clustered file system. It worked well, but the Raspi’s are too slow to utilize it and it made loading sites a bit slow.
3) NFS share as the content location that all web front ends load from. Tried this, and again, now the hops for https://www.beagle-pi.com are firewall, load balancer, node, NAS, and back out. Its a bit lame.
Any thoughts on how to sync content between load balanced front end servers? MySQL is running on another cluster and does not slow down this processes since it is off-loaded. Are there any plugins within WordPress that detect new content and copy out?
Thanks guys!
]]>I have a cluster of Raspberry Pi’s and BeagleBone Blacks load balancing my website using nginx. The LB works perfectly well. Problem is, if I log into www.beagle-pi.com/wp-admin and add a new post and upload an image to it, only the node that I’ve landed on is going to get that image. I have a couple options in my mind:
1) Setup the load balancer to not load balance www.beagle-pi.com/wp-admin requests and land on one node all the time for that URL. I can then make posts/upload content from there and run a scheduled rsync task to push out the changes from /var/www/html/wp-content/uploads/… to the other nodes. Problem with this is that the content will be out of sync until that task completes. So, I either need to schedule the task frequently or deal with content issues.
2) Glusterfs – I tried to run a gluster clustered file system. It worked well, but the Raspi’s are too slow to utilize it and it made loading sites a bit slow.
3) NFS share as the content location that all web front ends load from. Tried this, and again, now the hops for www.beagle-pi.com are firewall, load balancer, node, NAS, and back out. Its a bit lame.
Any thoughts on how to sync content between load balanced front end servers? MySQL is running on another cluster and does not slow down this processes since it is off-loaded. Are there any plugins within WordPress that detect new content and copy out?
Thanks guys!
]]>I can’t find the function to do this… any help or suggestion about making a load balance?
Thanks in advanced.
]]>The load balancer is set up to send all /wp-admin and /wp-login page requests to the master web server (I’m not sure if this is necessary though).
Is this the best approach? Any suggestions/comments?
]]>