Prepare the lineage harvester configuration file for MicroStrategy
You have to prepare a configuration file before you run the lineage harvester. The lineage harvester collects your MicroStrategy metadata and sends it to the Collibra Data Lineage server, where it is processed and analyzed. Collibra Data Intelligence Cloud then imports the MicroStrategy assets and relations to Data Catalog.
Prerequisites
- You have the newest lineage harvester.
- You have a global role that has the Manage all resources global permission.
- You have a global role with the Catalog global permission, for example Catalog Author.
- You have a global role with the Technical lineage global permission.
- You have a global role with the Data Stewardship Manager global permission.
- You have a global role with the Data Stewardship Manager global permission.
- You have created a BI Catalog domain in which you want to ingest the MicroStrategy assets.
-
You have a resource role with the following resource permission on the community level in which you created the BI Data Catalog domain:
- Asset: add
- Attribute: add
- Domain: add
- Attachment: add
- You have downloaded the lineage harvester and you have the necessary system requirements to run it.
Steps
- Run the following command line to start the lineage harvester:
- Windows:
.\bin\lineage-harvester.bat
- For other operating systems:
chmod +x bin/lineage-harvesterand thenbin/lineage-harvester
An empty configuration file is created in the config folder.
- Windows:
-
Open the lineage-harvester.conf file and enter the values for each property.
Properties Description general This section describes the connection information between the lineage harvester and Data Catalog.
catalogThis section contains information that is necessary to connect to Data Catalog.
urlThe URL of your Collibra Data Intelligence Cloud environment.
Note You can only enter the public URL of your Collibra DGC environment. Other URLs will not be accepted.
usernameThe username that you use to sign in to Collibra.
sources This section contains all MicroStrategy connection properties.
typeThe kind of data source. In this case, the value has to be
MicroStrategy.collibraSystemNameThis property is deprecated for MicroStrategy integration. The lineage harvester does not take into account any value that you enter here.
idThe unique ID of your MicroStrategy metadata. For example,
my_microstrategy.Tip This value can be anything as long as it is unique and human readable. The ID identifies the batch of MicroStrategy metadata on the Collibra Data Lineage server.
domainIdThe unique reference ID of the domain in Collibra Data Intelligence Cloud in which you want to ingest the MicroStrategy assets.
usernameThe username that you use to sign in to MicroStrategy. hostnameThe endpoint that you use to access the PostgreSQL repository or remote data source, depending on where you installed the lineage harvester.
For example
remote.postgres.com.portThe port number. databaseNameOptionally, the name of your database. For example
poc_metadata. - Save the configuration file.
- Start the lineage harvester again in the console and run the following command:
- for Windows:
.\bin\lineage-harvester.bat full-sync - for other operating systems:
./bin/lineage-harvester full-sync
- for Windows:
- When prompted, enter the password or client secret to connect to your Collibra Data Intelligence Cloud and MicroStrategy environment.The passwords are encrypted and stored in /config/pwd.conf
Example
The following example shows a configuration file for MicroStrategy.
{
"general": {
"catalog": {
"url": "https://<organization>.collibra.com",
"userName": "<your-collibra-username>"
},
"useCollibraSystemName": false
},
"sources": {
"type": "Microstrategy",
"id": "microstrategy-batch",
"collibraSystemName": "system-name",
"domainId": "<domain-resource-id>",
"username": "mstr",
"hostname": "remote.postgres.com",
"port": 5432,
"databaseName": "poc_metadata"
}
}