Work with your hub's administrator to gain access to the hub's IP address(es) before you can proceed in this section.
First, ask your hub admin for the base url for your hub. That admin will ask you for your public IP address so that the hub can open an inbound firewall hole for your system. "Inbound" access is from the perspective of the hub. In most cases, if a downstream site can reach the Internet without restrictions, then no firewall configuration is necessary on the downstream side.
Second, ensure that you can reach the hub's tomcat service from your shrine host with this curl command. (Substitute the right DNS name for the hub.) In the example below, if your command executes successfully, you will receive a "pong 200" response:
If this step does not succeed, work with your local network admin group to resolve this network problem.
Third, edit your shrine.conf to use the hub's base url. The shrine.conf template uses the shrineHubBaseUrl property for this:
Fourth, 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.
A few notes about these values:
- Once you select your node key value, it cannot be changed in the hub. Please select a value unique for your site. It is never displayed in the UI so should be insulated from branding considerations.
- Please keep your preferred node name descriptive and concise. This is the value that will be displayed in query result outputs, so consider branding carefully. It is easy to change.
- Please use an i2b2 domain that reasonably reflects your site. Please do not use the default value.
- For your sys admin email address, consider using an alias email for your team to simplify your vacation plans.
The hub admin will run this curl command to add your node to the network.
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:
Open your browser and clear the the cache. Use your browser to create a topic and run a query in shrine.
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 you are ready. He will run this curl command so that you receive queries from the network:
Once your hub admin has done that, use your browser to run another test query to see results from your node listed with the others.