That said, we can only host one project at any time?
This form allows a request for a new project data mart to be created. Please make the notations on the form by choosing from the options available or dragging items from existing patient sets or concepts in the current project into the boxes below. If these items are not yet created, please exit from the form to create them and then return to this form.
--
You received this message because you are subscribed to a topic in the Google Groups "i2b2 Install Help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/i2b2-install-help/nYI3T16IfQk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to i2b2-install-h...@googlegroups.com.
Does this help ?
--
You received this message because you are subscribed to the Google Groups "i2b2 Install Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
i2b2-install-h...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The information in this e-mail is intended only for the person to whom it is
To unsubscribe from this group and stop receiving emails from it, send an email to i2b2-install-help+unsub...@googlegroups.com.
Many thanks for helping me to make an i2b2 project. Here is a complete guide how I successfully created a project using SQL Server 2014:
CREATING AN I2B2 PROJECT
This is an attempt to document the process of creating an I2B2 Project for CIHI using SQL SERVER 2014 on Windows 7. The “CIHI” project will exist on the I2B2 domain/install but will point to the database cihidata. However, there will need to be some data updates written to the installed databases that provide command and control for the installed i2b2 instance.
1. CREATE THREE DATABASES
a. Duplicate i2b2demodata as cihidata
b. Duplicate i2b2metadata as cihimetadata
c. Duplicate i2b2workdata as cihiworkdata
2. CREATE NEW LOGINS
a. Create user (new login) cihidata with the password 'demouser' and give it ownership of cihidata
b. Create user (new login) cihimetadata with the password 'demouser' and give it ownership of cihimetadata
c. Create user (new login) cihiworkdata with the password 'demouser' and give it ownership of cihiworkdata
d. Login each account and check if you have access to the respective database.
3. STOP JBOSS
a. Press the Windows Key + R to open “Run”.
b. Type “Services.msc” and press the Enter key to display a list of installed services.
c. Scroll to the service called “JBoss Application Server 7.0.0. Final”, right click and Stop the service.
4. CRC Cell
a. Edit the file C:\opt\i2b2\edu.harvard.i2b2.crc\etc\jboss\crc-ds.xml
Add a new datasource using Notepad++ (Update the jndi-name and pool-name to reflect the name of the second project):
<datasource jta="false" jndi-name="java:/QueryToolCIHIDS"
pool-name="QueryToolCIHIDS" enabled="true" use-ccm="false">
<connection-url>jdbc:sqlserver://localhost:1433</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<driver>sqljdbc4.jar</driver>
<security>
<user-name>cihidata</user-name>
<password>demouser</password>
</security>
<validation>
<valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mssql.MSSQLValidConnectionChecker"></valid-connection-checker>
<validate-on-match>false</validate-on-match>
</validation>
<statement>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</datasource>
b. Run ANT target to deploy modified crc-ds.xml
In the directory, CD C:\opt\i2b2\edu.harvard.i2b2.crc, run the ant target:
%ANT_HOME%\bin\ant.bat -f master_build.xml clean build-all deploy
5. ONTOLOGY CELL
a. Edit the file C:\opt\i2b2\edu.harvard.i2b2.ontology\etc\jboss\ont-ds.xml
Add a new datasource using Notepad++ (Update the jndi-name and pool-name to reflect the name of the second project):
<datasource jta="false" jndi-name="java:/OntologyCIHIDS"
pool-name="OntologyCIHIDS" enabled="true" use-ccm="false">
<connection-url>jdbc:sqlserver://localhost:1433</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<driver>sqljdbc4.jar</driver>
<security>
<user-name>cihimetadata</user-name>
<password>demouser</password>
</security>
<validation>
<valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mssql.MSSQLValidConnectionChecker"></valid-connection-checker>
<validate-on-match>false</validate-on-match>
</validation>
<statement>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</datasource>
b. Run ANT target to deploy modified ont-ds.xml
In the directory, CD C:\opt\i2b2\edu.harvard.i2b2.ontology, run the ant target:
%ANT_HOME%\bin\ant.bat -f master_build.xml clean build-all deploy
6. WORKPLACE Cell
a. Edit the file C:\opt\i2b2\edu.harvard.i2b2.workplace\etc\jboss\work-ds.xml
Add a new datasource using Notepad++ (Update the jndi-name and pool-name to reflect the name of the second project):
<datasource jta="false" jndi-name="java:/WorkplaceCIHIDS"
pool-name="WorkplaceCIHIDS" enabled="true" use-ccm="false">
<connection-url>jdbc:sqlserver://localhost:1433</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<driver>sqljdbc4.jar</driver>
<security>
<user-name>cihiworkdata</user-name>
<password>demouser</password>
</security>
<validation>
<valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.mssql.MSSQLValidConnectionChecker"></valid-connection-checker>
<validate-on-match>false</validate-on-match>
</validation>
<statement>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</datasource>
b. Run ANT target to deploy modified work-ds.xml
In the directory, CD C:\opt\i2b2\edu.harvard.i2b2.workplace, run the ant target:
%ANT_HOME%\bin\ant.bat -f master_build.xml clean build-all deploy
7. DATABASE UPDATES
a. i2b2hive inserts:
In the i2b2hive database, entries need to be created for the datasources created and deployed in the steps above. In particular the tables CRC_DB_LOOKUP, ONT_DB_LOOKUP, and WORK_DB_LOOKUP need INSERT statements (If you are using an identity management cell for the new project, you need to create an IM database and insert an entry in dbo.IM_DB_LOOKUP too).
USE i2b2hive
GO
INSERT INTO [dbo].[CRC_DB_LOOKUP] VALUES
('i2b2demo', '/CIHI/', '@', 'cihidata.dbo', 'java:/QueryToolCIHIDS', 'SQLSERVER', 'cihidata', NULL, NULL, NULL, NULL, NULL);
INSERT INTO [dbo].[ONT_DB_LOOKUP] VALUES
('i2b2demo', 'CIHI/', '@', 'cihimetadata.dbo', 'java:/OntologyCIHIDS', 'SQLSERVER', 'cihimetadata', NULL, NULL, NULL, NULL, NULL);
INSERT INTO [dbo].[WORK_DB_LOOKUP] VALUES
('i2b2demo', 'CIHI/', '@', 'cihiworkdata.dbo', 'java:/WorkplaceCIHIDS', 'SQLSERVER', 'cihiworkdata', NULL, NULL, NULL, NULL, NULL);
b. New cihiworkdata inserts:
Note: First delete an existing C_NAME = SHARED entry with C_INDEX = 100
USE cihiworkdata
GO
INSERT INTO [dbo].[WORKPLACE_ACCESS] VALUES
('demo', 'WORKPLACE', 'N', 0, 'SHARED', 'shared', 'CIHI', 'Y', '100', NULL, 'CA', 'SHARED', NULL, NULL, NULL);
INSERT INTO [dbo].[WORKPLACE_ACCESS] VALUES
('demo', 'WORKPLACE', 'N', 0, 'gul', 'gul', 'CIHI', 'N', '101', NULL, 'CA', NULL, NULL, NULL, NULL);
8. START JBOSS
a. Press the Windows Key + R to open Run.
b. Type Services.msc and press the Enter key to display a list of installed services.
c. Scroll to the service called “JBoss Application Server 7.0.0. Final”, right click and Start the service.
9. CREATE PROJECT:
a. Logon to i2b2 with user that has “Adminstrator” privledge.
b. Click on “Manage Projects”
c. Click on “Add New Project”
d. Make name of Project name the same as used in configuration file for “DS”. In this case Project Id = CIHI and Project Name = i2b2 CIHI.
e. Add the path = /CIHI and Save Updates
f. Add the AGG_SERVICE_ACCOUNT on CIHI project with at least “Aggregated” and “Obfuscated” permissions. You may add “Manager” and “User” permissions too. (This step is very important, otherwise you want be able to run queries.)
g. Add Users (e.g., “gul”) to new Project as needed with permissions.
10. CIHIDATA new Project:
a. Logon as user with rights to project and run a query. Your ontology should get query results. Add Previous Query to Workplace.
EXTRA INFO
The HIVE and PM cells will be shared between your projects.
On Wednesday, 4 November 2015 11:22:27 UTC-5, Gul Shahzad Sarwar wrote: