![]() |
Page History
...
Step | Action |
1 | Execute the Ant build script build.xml located at <CANANOLAB_SOURCE>/build with the target install:new:cananolab-db. Example: Issue the following commands to execute the Ant script:
Successful execution of the Ant script creates the database schema and seed data required the caNanoLab 2.0 release. |
2 | If you are NOT using LDAP for user authentication, you can skip this step. If you are using LDAP for authentication, execute the Ant build script build.xml located at <CANANOLAB_SOURCE>/build with the target update:cananolab-db:ldap:upt:superadmin Example: Issue the following commands to execute the Ant script:
Successful execution of the Ant script updates the default UPT super admin with the user name entered in the build properties file on page 4. |
...
Step | Action |
1 | Execute the Ant build script build.xml located at <CANANOLAB_SOURCE>/build with the target update:cananolab-db. Example: Issue the following commands to execute the Ant script:
Successful execution of the Ant script updates the database schema and seed data required the caNanoLab 2.0 release. |
2 | If you are NOT using LDAP for user authentication, you can skip this step. If you are using LDAP for authentication, execute the Ant build script build.xml located at <CANANOLAB_SOURCE>/build with the target update:cananolab-db:ldap:upt:superadmin Example: Issue the following commands to execute the Ant script:
Successful execution of the Ant script updates the default UPT super admin with the user name entered in the build properties file. |
3 | If you are NOT using LDAP for user authentication, you can skip this step. If you are using LDAP for authentication, and you already have user accounts in the system and you have data created by these users whose login names are not their LDAP login IDs, you'd need to do the following data update:
|
...
Step | Action | |||||||||||||||||||||||||||||||||||||||
1 | Set up an environment variable JBOSS_HOME to point to the JBoss installation directory. | |||||||||||||||||||||||||||||||||||||||
2 | Execute the Ant build script build.xml located at
| |||||||||||||||||||||||||||||||||||||||
3 | We recommend increasing the JBoss JVM heap size to 1G bytes and permanent generation (permgen) memory space to 256M bytes by updating the file
This configuration file is read when JBoss server starts. | |||||||||||||||||||||||||||||||||||||||
4 | When deploying the caNanolab application and the grid service in a production environment, we also recommend updating the default logging behavior of the JBoss server by turning off the unnecessary loggings thus reducing file system requirements for server log files.
|
Verification
Once the deployment artifacts have been are deployed and the JBoss application server is correctly configured, you can now start the JBoss application server, which in turn starts the caNanoLab application.
Open the URL http://<APP_SERVER_URL>/caNanoLab/ (for example,
http://localhost:8080/caNanoLab). You should see a Welcome/Login page.
...
Before a user can log in to the caNanoLab application to submit and search data, you must first create his/her a user account through the UPT web interface. The caNanoLab application makes use of the NCICBIIT's User Provisioning Tool (UPT), a separate web application, for user account management. The concepts of users, groups, roles, protection groups are defined according the CSM/UPT principles. See the CSM documentation at {+} http://gforge.nci.nih.gov/frs/?group_id=12+ for details on these concepts and the use of the UPT tool.
Since release 1.5.2, as a part of the database seed data, two default user groups have been are created: Public and Curator. The group Public has been is assigned role R (read-only) public protocols, samples and publications. The group Curator has been is assigned role CURD (create, update, read and delete) to all protocols, samples and publications in the system. When a user first logs into caNanoLab, he/she will be the user is automatically added to the Public group so he/she can and can see all public data. The user would need needs to be added to the Curator group in the UPT tool in order to have Curator access.
NOTE: Since release 1.5.2, a user must be assigned as a caNanoLab administrator to see the ADMINISTRATION menu item in the application to log into the UPT tool or do update site preferences, such as the site logo. A user must be assigned as a caNanoLab administrator and assigned to the Curator group to be able to execute the transfer ownership function.
...
The following steps illustrate an example use of the UPT tool to create a new user, to assign the user to be a caNanoLab administrator, and to assign the user to the Curator group.
Step | Action |
1 | Launch the UPT tool at http://<APP_SERVER_URL>/uptlogin and login as the super admin. If you are NOT using LDAP for user authentication, the default user account/password for super admin is superadmin/superadmin. Use Entercsmupt as the application name when prompted at the UPT log in. If you are using LDAP for user authentication, please use the LDAP login name and password of the user who has been assigned as the super admin as specified in the Ant build properties file on page 5. |
2 | If you are using LDAP for user authentication, you can skip this step. If you are not using LDAP for authentication, you can follow this step to reset the password for superadmin:
|
3 | Logged in as the super admin, follow these steps to create a new user and assign it to be a caNanoLab administrator:
|
4 | Before the newly-created user can log into the UPT application, logged in as the super admin, follow these steps to update the required database connection information for the csmupt and caNanoLab applications under the Application tab: Select Application > Select an Existing Application; , and click Search. Select csmupt from the application list. Click View Details, then update the following fields:
Note: Please refer to page 5 for appropriate values for these fields. Values for Application Database Dialect and Application Database Driver should must be exactly entered as shown above. Repeat the steps to update the database connection information for the |
5 | Log out of the UPT tool and log back in as admin. Use caNanoLab as the application name when prompted at the UPT log in. |
6 | Select User > Select an Existing User, and click Search. Select admin from the User list. Click ViewDetails, then AssociatedGroups. Select Curator from the pre-defined group list and assign it to the user. Click UpdateAssociations to commit the change. |
...
NCICBIIT Application Support
{+} http://NCICBIIT.nci.nih.gov/NCICBIIT/support+
Telephone: 301-451-4384
Toll free: 888-478-4423