Forum Discussion

mouad's avatar
mouad
Creator I
6 years ago

Install two instances of Aras V11 in the same machine

Hello All,


I have installed an instance of Aras Innovator V11 SP15 with the following url : http://MachineName/InnovatorServerOne/Client, using create a new database (dbOne) during installation.
what i want to do is adding or installing another instance (InnovatorServerTwo) of Aras V11 SP15 in the same machine using a database (dbTwo) that already exist.

Is there any idea please on how to add this second instance with the following url :http://MachineName/InnovatorServerTwo/Client ; ?

15 Replies

  • asebastian's avatar
    asebastian
    Community Manager

    Hi Mouad,

    If your goal is having two seperate 11sp15 databases, I would recommend just adding an additional <DB-Connection> tag within your innovatorserverconfig.xml file, which can be located in the root of your aras installation. This will allow you to log into both databases from a your "innovatorServerOne" url.

    If you'd like to have two separate instances, you'll have to modify the GUID of the installer process to load an additional instance to your machine. Subscribers have access to the CD image which contains a changeGUID.exe file within the utilities folder. Dragging the installer on top of this executable will change the GUID of its installer, allowing for a parallel download. Just ensure that when you're running through the installer that you're giving everything unique names.

    AJ

    • mouad's avatar
      mouad
      Creator I

      Hello AJ Sebastian,

      Thanks for your reply,

      the goal is to have two separate instances, means two different url (InnovatorServerOne, InnovatorServerTwo) and two different Vault directories.

      The first solution that you have proposed allow just to log into both databases using the same url (InnovatorServerOne).

      By the way i have executed the file specifying the full path to the installer using Administrator command prompt : ChangeGUID <path>\InnovatorSetup.msi  but nothing  happens.

      ChangeGUID.exe is it comaptible with windows server 2016 ?


      • asebastian's avatar
        asebastian
        Community Manager

        The executable should be compatible with windows server 2016. The way I normally achieve this is by dragging the innovatorSetup.msi file on top of the executable(which can be found in the utilities folder). The result looks something like this:

        Once you drag and drop, the executable quickly runs in the background, and upon opening the msi file you'll be prompted for a fresh install. 

    • LukSor's avatar
      LukSor
      Ideator I

      Hello AJ Sebstian, I have tried your solution and have linked 2 databases in one Innovator Instance. On my default database I have no problem using vault, yet when I switch to 2nd database I am not able to open files. How do you "connect:" database to vault ? 

      Best regards

      Lukasz

      • asebastian's avatar
        asebastian
        Community Manager

        Hi LukSor,

        Each database has it's own vault by default. This can be found (default location) at c:/aras/vaults/[DBNAME]. If you've added a second database it's looking for a vault at that location. Unless you've manually created one, it won't exist. For testing purposes, the easiest path forwards is to create a copy of the vaultfolder and rename it the same as your new database.

        AJ

  • Hello AJ Sebastian,

    I have done the needfull, the second instance installed successfully but i am unable to see changes when i execute a client Event method.

    Server event method works fine as when i execute the method i can see the changes.

    I have tested with a simple client method that contains just an alert but no changes are applied in the application. 

    Is there any missing configuration shoud be done ? as this is so strange

    • asebastian's avatar
      asebastian
      Community Manager

      Hi Moaud,

      Assuming you're making/testing the changes in the same instance, I would recommend clearing your browser cache. It shouldn't make much of a difference unless you're modifying code tree files, however it's always one of my first steps when troubleshooting a client-side error or any strange behavior. 

      But to answer your question, there shouldn't be any additional requirements to have to parallel innovator instances running on one machine. Have you tried creating the client event in both instances? Does it work in one, both, or neither?

      AJ

      • mouad's avatar
        mouad
        Creator I

        Hi AJ Sebastian,

        I have tried creating the client event (alert) in the first instance already installed and it's works fine, but it's not working in the second instance as i didn't see any changes even if i clear the browser cache.

        Is there any other idea please ? as i'm still stuck on this.