Prerequisites for Connecting to TIBCO Spotfire (prior to v10.3 )
To integrate with Tibco Spotfire, particularly for getting data, you must deploy Metric Insights' Remote Data Processor (RDP) to your server and install a custom MIAddIn package (extension) on a Spotfire server.
NOTE: Spotfire does not have a restAPI for Metric Insights to work with. Therefore, an extension that runs directly on Spotfire server is the only viable to connect. Ensuring the extension runs properly requires your Spotfire server to be configured correctly including folder browser+access permissions.
This article assumes that you have already configured a Remote Data Processor profile in the Metric Insights UI and installed Insightd on your remote Tibco Spotfire Windows Server
1. Connect to Spotfire Remote Desktop Client
- Enter the hostname of the computer with the installed Remote Desktop client
- Specify the User name of the remote computer
- Click [Connect]
- Provide your Password credential
- Click [OK] to proceed
2. Access Spotfire server
- Open your browser and type "localhost" in the address bar
- When you press enter, you will be redirected to the Spotfire Homepage
- Click Deployments & Packages icon in the Homepage navigation menu
3. Add the Extension to Deployment area
Spotfire extensions are functional units included in Spotfire add-ins. When added, they enable custom capabilities.
Extension artifacts are compiled and packaged into Spotfire packages, .spk files (containing the .dll's for the extension code and other resources as well as a module.xml file describing the metadata of the extension).
Since the .spk (extension) file can be large, we recommend uploading this file from the Spotfire server directly (localhost). Otherwise, you may get the error "Request Entity Too Large" (413).
- Deployment areas page will display available areas for deploying your extension
- [Add packages]: click to add a package to a deployment area
-
[Choose File]: click to access the MICustomTasks.spk file
- The file is located in the Tibco plugin directory
C:\Program Files (x86)\Metric Insights\Insightd\plugins\tibco\MICustomTasks.spk
- The file is located in the Tibco plugin directory
- Open
- Upload
4. Save the new Distribution
- The .spk extension file will be uploaded as an MIAddIn package with the "Add" status
- [Save]: click to save and validate the new distribution
5. Update Automation Services
After adding the MIAddIn extension package, you need to update Automation Services to the new deployment.
- From the navigation menu dropdown, select Nodes & Services
- Click the tree view symbol [+] to open the hierarchical structure of Network components and select the required Automation Service
- Go to More actions > Update Service
- Updating the Service will get the latest modules from the deployment area and create a new Service
6. Migrate Instances to the new Service
After the new Service has been created, you need to migrate Instances from the old to the new Automation Service.
- Go to More actions > click Migrate
7. Restart your Instances
- Access the newly created Automation Service
- Verify that the Service has been installed successfully
- Click the name of the Instance to access its configuration page
- Restart the Instance
- Make sure that Service can communicate successfully
If the new Automation Service runs successfully, you can optionally delete the old Service.
8. Add configuration file to Insighd directory
To connect the MI server to the Tibco Spotfire server, you need to create the spotfire.conf file and add it to the Insightd package.
- In the file, specify the parameter (RDC hostname) as
rdchostname=ip-address or hostname
- For example,
rdchostname=10.8.0.27
- For example,
- Optionally, you can override the port via
rdcPort=port
- For example,
rdcPort=81
- The default port used for TCP socket communication from Spotfire to RDC is 4444
- For example,
- Place the configuration file in the Insightd/plugins directory
After that, run RDC and Test Connection from the Metic Insights UI (as available in the Tibco Spotfire connection profile).
8.1. How to obtain the ip-address (for spotfire.config)
To get the ip-address of the machine with the installed RDC, enter ipconfig
in the Windows Command Prompt.
If there are several ip-addresses listed, use the first.