Introduction
This section describes how to prepare your system to support Insight Virtual Collections in LUNA.
You will need to update your Insight Collection database by running a script that changes a Primary Key on the IRGROUPS table of your Insight Collection Manager database.
You will then need to use the Administrator Tools (6.0.1+) to prepare the virtual collection for LUNA as described in this section.
Once you have completed this preparation, you can publish your virtual collections the same way you publish other collections to LUNA.
Updating your Insight Database
Warning!!! Before making any database changes, always backup your current database.
The first step is to change the Primary key of the IRGROUPS table in the Insight database that contains your virtual collection.
There are two ways you can do this.
- If you are familiar with how to change primary keys in your database, you can change the Primary Key on the table IRGROUPS from (GROUPID) to (UNIQUECOLLECTIONID,GROUPID,VCID)
- Use one of following database scripts links to update your IRGROUPS table
Preparing your Virtual Collection with the Administrator Tools
Using your Administrator Tools (6.0.1+) open your collection configuration panel for the Virtual Collection you would like to make available in LUNA. Scroll to the bottom of the panel. You will see a button that says "Prepare Collection Configuration for LUNA".
Select this button. (This button will only show for virtual collections).
Once you have selected the Prepare Collection Configuration for LUNA button, you will need to set a New Institution ID for the collection. Make sure this is different than the Source Institution ID.
As described in the previous panel, your collection entry will be duplicated and you will now have two entries for your Virtual collection. The original and now the new one with the New Institution ID and the VC ID of NA.
Next you will need to add an additional Collection entry to the User Manager to access the Virtual collection in LUNA.
Under the Collections section of the User Manager, create a new entry and fill in Collection Name, Collection ID, your new Institution ID Server Address and port number. Then save your Collection entry.
Next you will need to give a Studio privileged user access to this collection.
For instructions on this, follow the "Granting Access to Insight Studio" in the "User's Guide to Basic Collection Building".
Once a user has access to this virtual collection in Studio, they can Publish the collection into LUNA just like any non-virtual collection.