To create more than one instance of IMIS on a single server without using the multi-instance utility the following can be done.
1) Create the first instance and connect via the iMIS client and IMIS Public website to make sure that you can authenticate. The default installation location is the C:\Program Files\ASI directory.
2) Make a copy of the entire ASI directory and rename it to “ASI_SecondInstance” or another identifiable name. The path of the second instance is then C:\Program Files\ASI_SecondInstance. In this example ASI is the first instance and ASI_TAPA is the second instance. See the file system view in image one.
3) (Optional) Take the first database of the first instance offline to be sure you’re not connecting to it or messing up permissions while you configure the second instance.
4) Create new web applications for the IMISClient and iMISpublic website. This can be done in IIS by pointing to the net directory in the new instance path and making and then creating an application based on the path. C:\Program Files\ASI_TAPA\iMIS15\net”. The path for the public website would be “C:\Program Files\ASI_TAPA\iMIS15\iMIS_public”. The two new sites are the iMIS15TAPA and iMISpublicTAPA as seen in the IIS view in image one. iMIS15RC and iMISpublicRC are the two sites of the first instance and are named so because of changes made using the wizard of the initial install.
5) Decrypt the connection strings in the web.config file for both the Client and public website. This can by modifying the script in Decrypt.bat file seen in image 2 to point to the second instance websites. “/iMISpublicTAPA” and “/iMIS15TAPA” should be changed to the name of the sites in IIS. (To encrypt the connection strings later on modify and use the Encrypt.bat file.)
6) Now the editing the connection string in both of the secondary instance sites should be possible. Change the connection string in both files to point to the secondary database instance.
7) Open the IMIS Client and click the Cancel button. In the Logon menu at the top select Set Location Host. Add the URL of the new Client site by using the Insert button and typing the URL of the new site. See image 3. Once it’s added to the list select and click OK. Select the Logon to Host from the Logon menu to be prompted again for the credentials. The new Server URL should appear in the Server text below the Logon and Password textboxes.
8) Logging into the new instance should now connect to the second database. Bring the first database back online and change the Server settings back to confirm it still works.
| Attachment | Size |
|---|---|
| MultiInstanceWalkThru.doc | 124 KB |
| Image3.GIF | 6.14 KB |
| Image2.GIF | 19.58 KB |
| Image1.GIF | 23.77 KB |
Workflow Service
What about the workflow service that gets created when you use the multi-instance utility. Isn't this something that needs to be setup also?