NOTE: you will need to work with the network administrator to have your institution's IP address whitelisted on the HUB before you can proceed in this section
First, ask your hub admin for the base url for your hub.
Second, ensure that - from your tomcat's machine - you can reach the hub's tomcat with this curl command (substitute the right base url):
If that does not work, you may need to open an outbound firewall hole, or work through your network's proxies. You will very likely need help from your local network admin group to solve this problem.
Third, edit your shrine.conf to use the hub's base url. The shrine.conf template uses the shrineHubBaseUrl property for this:
Forth, tell your hub admin that you are ready to run a test query. He will need to know your node key (from your shrine.conf), your preferred node name, your i2b2 user domain, and your sys admin email address (you might want to use an alias for your team).
A few notes about these values:
- Once you select your node key value, it cannot be changed in the hub. Please select a value that reflects your site.
- Please keep your preferred node name descriptive and concise. This is the value that will be displayed in query result outputs.
- Regarding the i2b2 user domain, please specify a domain that reasonably reflects your site. Please do not use the default setting.
- You may choose a departmental or role-based email address if you wish.
The hub admin will run this curl command on the network.
Start tomcat. If all is well after SHRINE starts you should see recurring entries of your shrine node asking the hub for updates in shrine-api.log:
Log in to the DSA, create a topic, then log into shrine and try running a test query.
After you successfully run a query and get results back from other nodes then you should start accepting queries from elsewhere. Let your hub admin know and he will run this curl command so that you receive queries from the network:
Once your hub admin has done that, run another test query to see results from your node listed with the others.