CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Multi Site Installation
Pages: [1]

Author Topic: Multi Site Installation  (Read 1187 times)

chiebert

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 1
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Multi Site Installation
March 06, 2012, 11:50:06 am
Anyone have experience setting up a multi-site, multi-org installation with a recent release of CiviCRM? I'm just sitting down to unravel this with 4.1, and the wiki docs appear to be quite out of date - which makes me wonder what parts are still valid. Any short-form notes would be highly valued!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multi Site Installation
March 06, 2012, 12:51:57 pm

The settings via the UI should match closely to what used to be in the civicrm.settings.php file

Can you please update the docs (u need an account to modify the wiki) to reflect the latest changes to that as you give it a shot

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

chiebert

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 1
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Multi Site Installation
March 06, 2012, 01:24:51 pm
Count on it - heading over to set up an account right now...

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multi Site Installation
March 06, 2012, 01:32:07 pm
On of the tricky things is that the term 'multisite' is confusing - it can refer to

1) 'Shared Codebase' - several sites sharing the same drupal / CiviCRM folders
2) 'Shared Drupal database' - several sites sharing the same drupal database using domain module
3) 'Shared CiviCRM database' - several sites sharing the same CiviCRM database - either separate Drupal Databases OR Shared Drupal database
4) 'Multisite module' - use of CiviCRM multisite module to manage permissions based on the site membership. This is on top of #3.

We almost always share the USER table when doing #3/#4 (& do so implicitly when combining with #2).

When reading the notes it's worth bearing in mind that the terms multi-site & multi-org are not always used consistently - it would be good to get the terminology better.



Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

chiebert

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 1
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Multi Site Installation
March 07, 2012, 09:49:35 am
Thanks, Eileen - I agree that the terms can get mixed up. I'm going to have a crack at updating the wiki for this, and I'll include your helpful summary.

Re. sharing the drupal user table between Drupal (multi)sites:

  • When going this route, are there any other tables you need to share? (Drupal 7.x context) I.e., also sharing any custom fields on users a.k.a. 'profile' module functionality from D6 and earlier - or is this just too much of a bother? (And I can see definite benefits for having separate user profiles for the separate sites)
  • Does sharing the user table for the Drupal sites affect the way the UF matching happens for contacts?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multi Site Installation
March 07, 2012, 12:29:07 pm
Hi,

We share the user table just so that people can use the same username & password. CiviCRM is unaware of this & just thinks it's a happy co-incidence that people have the same uid on different domains :-).

I think it would be useful to have a setting that tells Civi that the user table is shared so that it only creates one entry per UID (although we also use it in situations with a mixture of shared & not shared).

We have not shared other tables although we are considering sharing the roles table on one site
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Multi Site Installation

This forum was archived on 2017-11-26.