Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Multiple Instances of SugarCRM`

  1. #1
    historicslunk is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    52

    Cool Multiple Instances of SugarCRM`

    OK

    Simple question is can I Host multiple sugarcrm dbs on the same server?

    Basically I have 3 companies - who have different sales processes etc. and I want to be able to host three different sugarcrm installs on the same server.

    Also can I have two "faces" to the same db

    i.e. sugarcrm and sugardev - both using the same db

    Lastly - is there an easy way to get a link between sugarcrm and a remote control package?

    Thanks

    Sharif

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Multiple Instances of SugarCRM`

    Yes, it is possible to have multiple Sugar databases on one server. It would be best if you also had three different install directories for the actual Sugar HTML/PHP files. Otherwise, you'll have to constantly modify files in order to access the different databases via one install. You could automate that process, but it would still be a bit kludgy.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    historicslunk is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    52

    Cool Re: Multiple Instances of SugarCRM`

    OK - Got that part OK. Each install would have it's own directory for html files etc. but one install would have to html firctories as it is being used to "experiment" with the interface!!

    The real question is How do I get multiple installs and How do I get them working properly.

    Thanks

    Sharif
    Sharif "very very helpful" George
    The Computer Help Co
    0845 260 9800

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Multiple Instances of SugarCRM`

    Quote Originally Posted by historicslunk
    The real question is How do I get multiple installs and How do I get them working properly.
    Assuming that the folder /var/www/html (or c:\inetpub\wwwroot) is where your web files are stored for your web server....

    ...Unzip or place the Sugar program files into 3 different sub-directories. i.e. /var/www/html/sugar1 /var/www/html/sugar2 etc...

    Then, open your browser and go to http://localhost/sugar1 and complete that install process. Repeat for http://localhost/sugar2, etc. Making sure that each are using different database names.

    Whenver you need to access your second install, simply open the corresponding URL. For that matter, you could have all 3 open simultaneously.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    nerd is offline Junior Member
    Join Date
    Feb 2007
    Posts
    3

    Default Re: Multiple Instances of SugarCRM`

    I am currently running multiple instances of sugar on the same linux box. I have 3 different copies, each have a different copy of the source and are connected to different databases.

    I changed session name id for each copy of Sugar. And you also have to remember to change "session_dir" in your config.php for each copy of sugar. Each sugar instance needs to use a different session dir or you will have problems with being able to login into more than one instance at a time.


    Nerd.
    www.bonjones.com
    Last edited by nerd; 2007-02-18 at 03:53 PM.

  6. #6
    paikmoses's Avatar
    paikmoses is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    541

    Default Re: Multiple Instances of SugarCRM`

    Folks,

    Take a quick look to get a gist of running multiple instances of Sugar on a single server: http://sugarcrm.openapp.org/?p=172
    This would helps you either: http://sugarcrm.openapp.org/?p=175

    HTH.

    Regards,

  7. #7
    rishavraj's Avatar
    rishavraj is offline Sugar Community Member
    Join Date
    Sep 2010
    Posts
    135

    Question Re: Multiple Instances of SugarCRM`

    Hi All

    I am creating two instance of sugarcrm on same machine

    The steps are
    1) change the unique id in config file from both folder
    2) session directory is created for each instance
    3)site url is also changed
    4) changed the database connection for each instance

    I am able to login with different user credentials to both instance successfully but while logout from one user interface it automatically logout of second user interface

    Please help me out .....

    I am using sugarcrm 5.1, wamp server 2.0 with windows machne

  8. #8
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Multiple Instances of SugarCRM`

    Sounds like the sessions aren't being written to the instance specific directories. Double check that indeed it is using the custom session directory for each.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  9. #9
    rishavraj's Avatar
    rishavraj is offline Sugar Community Member
    Join Date
    Sep 2010
    Posts
    135

    Question Re: Multiple Instances of SugarCRM`

    Hi

    Thanks for the reply


    While login the sesion is creating properly. My session path is

    1) c:\wamp\www\tmp\crm1
    2) c:\wamp\www\tmp\crm2

    and file is written properly. when when i logout the session directory file copies the same file to another session folder. currently i am seeing this isue

    How can we do thart

  10. #10
    rishavraj's Avatar
    rishavraj is offline Sugar Community Member
    Join Date
    Sep 2010
    Posts
    135

    Question Re: Multiple Instances of SugarCRM`

    Hi

    Please tell me the procedure for creating two instance of CRM. i have modified every thing this is necessary for creating two instance like session_dir, uniique_id etc. all things are working properly but still i am facing one issue that is while logout from one instance it automatically logouts from second instance also.

    I have checked in both the session_dir is writable for both instance of CRM

    Please help me out

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. multiple instances, same database
    By sugarcare in forum Developer Help
    Replies: 4
    Last Post: 2006-10-17, 07:33 AM
  2. Multiple Account modules / Multiple applications?
    By Lars.Englund in forum Developer Help
    Replies: 1
    Last Post: 2006-10-05, 08:39 AM
  3. Customize SugarCRM for multiple companies
    By gfi in forum Classifieds
    Replies: 3
    Last Post: 2006-05-31, 06:59 PM

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
  •