Results 1 to 6 of 6

Thread: Multiple Installations on the same Server. Any issues?

  1. #1
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Multiple Installations on the same Server. Any issues?

    We're looking to install a second installation of SugarCRM on our SugarCRM Appliance Server. I assume this can be done without too many issues. I'm panning on doing the following, but would appreciate any knownledge on issues that I will run into.
    1. Copy existing /sugarcrm directory over to /sugarcrm2
    2. Copy the entire MySQL database over to a new database with proper username/password permissions.
    3. Edit the /sugarcrm2 configuration file.
      • Edit the Database connection vars db_*
      • Edit the "unique_key"
      • Set specific "session_dir" for each installation.
      • Set new "site_url" for new directory.
    It looks like it should be fairly straight forward. Has anyone else tried this, or have any other items to add that I'm not thinking of?



    Thanks.
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  2. #2
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Multiple Installations on the same Server. Any issues?

    Quote Originally Posted by jjwdesign
    We're looking to install a second installation of SugarCRM on our SugarCRM Appliance Server. I assume this can be done without too many issues. I'm panning on doing the following, but would appreciate any knownledge on issues that I will run into.
    1. Copy existing /sugarcrm directory over to /sugarcrm2
    2. Copy the entire MySQL database over to a new database with proper username/password permissions.
    3. Edit the /sugarcrm2 configuration file.
      • Edit the Database connection vars db_*
      • Edit the "unique_key"
      • Set specific "session_dir" for each installation.
      • Set new "site_url" for new directory.
    It looks like it should be fairly straight forward. Has anyone else tried this, or have any other items to add that I'm not thinking of?



    Thanks.
    I have 4 versions running on my dev server with no problems
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  3. #3
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: Multiple Installations on the same Server. Any issues?

    Just to post some feedback.

    I didn't have any issues with the second installation of SugarCRM. I did take care to set the session directories for each installation to a different folder.

    Example:
    /tmp/sugarcrm
    /tmp/sugarcrm2

    And then make the appropriate changes in the SugarCRM configuration file. All seems to be working.

    Thanks.
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  4. #4
    larsaman is offline Junior Member
    Join Date
    Oct 2008
    Posts
    3

    Default Re: Multiple Installations on the same Server. Any issues?

    Quote Originally Posted by jjwdesign
    Just to post some feedback.

    I didn't have any issues with the second installation of SugarCRM. I did take care to set the session directories for each installation to a different folder.

    Example:
    /tmp/sugarcrm
    /tmp/sugarcrm2

    And then make the appropriate changes in the SugarCRM configuration file. All seems to be working.

    Thanks.
    Using the procedure as described above works very well when loging into SugarCRM in several applications. However, when logging out in one of the applications, the sessions end really much and causing my other SugarCRM applications to log out as well. Apparently, the sessions are emptied completly when pressing log out

    I wonder what I can do to isolate all sessions from one SugarCRM from another SugarCRM installation? OR, what kind of changes can I do in order to when loging out from one application, keep my sessions in all other applications?

  5. #5
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: Multiple Installations on the same Server. Any issues?

    larsaman,

    I found out that there is a setting in the config.php file for the session directory. Just make a directory for each SugarCRM instance and set the setting path appropriately.

    Example Session Dir's:

    /tmp/crm1
    /tmp/crm2
    /tmp/crm3

    Make sure they are writable by your server process (apache.apache in my case). Hope that helps.

    Jeff Walters
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  6. #6
    larsaman is offline Junior Member
    Join Date
    Oct 2008
    Posts
    3

    Default Re: Multiple Installations on the same Server. Any issues?

    That's exactly what I did

    I changed the config.php file for each of the installations of SugarCRM, but it only worked when I was logged on in both applications. As soon as I log out in one of the installations, the other application is also logged out

    I wrote another tread about this -> http://www.sugarcrm.com/forums/showt...875#post134875

    perhaps, you could see if there is anything wrong?

    I have installed everything manually, not using the fast install from SugarCRM.

    Many many thanks if you find anything helpful.

    /larsaman

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 2008-02-22, 04:25 PM
  2. Replies: 0
    Last Post: 2007-11-29, 04:43 PM
  3. Replies: 2
    Last Post: 2007-05-02, 05:39 AM
  4. How do do multiple installations?
    By dleangen in forum Help
    Replies: 6
    Last Post: 2007-04-17, 05:51 PM
  5. Replies: 1
    Last Post: 2006-03-15, 12:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •