Mercury Multisite?

Events happening in the community are now at Drupal community events on www.drupal.org.
WhenInRome's picture

I understand that Mercury doesn't officially support multisite yet. But has anyone configured it for use with multisite? I have a brand new server I'm setting up and want to put mercury on it, but I have 10+ sites! Any input/advice is appreciated.

Thanks,

Comments

Should be fine

gchaix's picture

It should work fine with multiple sites.

You should check to make sure the memcache/APC configs have prefixes for each of the sites so that you don't have cross-site cache corruption.

That's the main thing

joshk's picture

Greg is correct: cache-keys are the first thing you need to worry about for multi-siting on Mercury.

However, configuring Solr for multisite is more non-trivial work, and there are enough other edge-cases where I don't want to tell people it's "all good" for multisite. Managing expectations again. ;)

I wont be using Solr just

WhenInRome's picture

I wont be using Solr just quite yet. But for the rest of the stuff....can anyone walk me through the edits that need to be made?

Memcache Prefixing

joshk's picture

See the "prefixing" section on the main memcache page: http://drupal.org/project/memcache

There may be other issues. Like I said, it's not all tested yet.

Thanks for the reply Josh.

WhenInRome's picture

Thanks for the reply Josh. I'll be the guinea pig and report back any issues with running multisite if I run into any.

Multisites work great for me so far.

Macronomicus's picture

I run Aegir in Mercury, have done for months now with no probs; its platforms are essentially Multi-sites. Memcached does work fine with the prefix.. its as simple as adding 'memcache_key_prefix' => 'yoursite' to your conf array for each site along with the other memcached stuff. Varnish seems to be fine in the mix too. Solr is the only thing ive not made multi-site capable in my stuff.. since only one site needs solr and well I couldn't get multi-core solr to work lol.

I made this wiki a while back http://groups.drupal.org/node/55393 thats geared around Mercury + Aegir but its platforms are multi-sites like I said. If you can get the solr multi-core to work please add it there so folks that need it can try it out before there is a mercury + aegir and/or mercury multi-site build released. If I end up needing it I may but truthfully im thinking of placing solr & memcached into their own separate server instances with focused ami's.

We have a soon coming real estate site thats a beast with 40k + nodes, it uses solr & may require its own instance when all is said and done. IMO the multi-sites might bog down a small instance so I used a large instance & may give some sites their own instances... the cool thing is that it looks like Aegir can manage sites across multiple servers which I really want to test soon!

Looking forward to hear any multi-site stuff you run into.

Cheers to all the Pantheon Aegir and Drupal folks for all these awesome open source goodies!

Joshua

Thanks for the post. Thanks

WhenInRome's picture

Thanks for the post. Thanks to josh and the crew I got multisite working flawlessly. Just like you said, all I had to do was add the prefix and it all seems to be working fine.

What about the Domain Access module?

threading_signals's picture

I've been looking into the feasibility of implementation of the Domain Access module with the Mercury project. Is it more reasonable to leverage existing code? Any thoughts on this?

Multisite solr

what you don't know will inspire you

Mercury

Group organizers

Group categories

Post Type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week