FME Version
Files
Introduction
In FME 2020.1, we added support for Oracle Autonomous, now in FME 2021, you can directly upload your Oracle Autonomous Wallet credentials to both FME Desktop and FME Server.For instructions on how to use Oracle Wallet in FME Desktop, please see the bottom of Connecting to Oracle Autonomous Databases. This tutorial will walk you through adding Oracle Wallet credentials and creating a Database Connection in FME Server.
Requirements
- Oracle Client and SQL*Plus Packages 18.5 or higher
- Oracle Autonomous Database
- FME Server 2021 or higher
Step-by-step Instructions
Before you begin, ensure that you have access to an Oracle Autonomous database as well as have installed an Oracle Client 18.5 or higher on the same machine as FME Server. For details on how to set this up, please see How to setup an Oracle Instant Client for use with FME.1. Provision Oracle Autonomous Database
Provision Oracle Autonomous Database, either Autonomous Database Warehouse (ADW) or Autonomous Transaction Processing (ATP), and download the corresponding credentials.zip file to the same system that has FME installed. For the Oracle documentation to provision, ADW click here. For the Oracle documentation to provision ATP, click here. Also, check Downloading Client Credentials (Wallets).
2. Upload Oracle Wallet to FME Server Resources
Log into FME Server with a user that has permissions to upload to the Resources folder as well as create a database connection.
Browse to the Resources folder located under Files & Connections on the side menu bar. In the Resources folder, navigate to the Data folder. Here you can create a new folder if desired. For this example, we will just be uploading to the Data folder.
In the Data folder, click on the Upload button then select Files. Browse to your downloaded Oracle Wallet credentials and upload the zipped credentials.
3. Create a Database Connection
Navigate to the Database Connections located under Files & Connections. Click on the New button to create a new connection.
Name the connection Oracle Autonomous, then select Oracle as the Type. Change the Connection Mode to Cloud Wallet. Add the connection Username and Password if you have one.
For the Cloud Wallet File, database connections cannot use the macros ( e.g. $(FME_SHAREDRESOURCE_DATA)), so you will need to add the direct path to the resource.
In Windows, the Resource folder can be found in:
%ProgramData%/Safe Software/FME Server/resources
In Linux, it is found in:
<FME Server Install Dir>/resources
For this example, our ProgramData is found in the C: drive so our path is:
C:\ProgramData\Safe Software\FME Server\resources\data\Wallet_SAFE.zip
Finally, set your Wallet Service to the service name found in the tnsnames.ora file found in the credentials zip file. For more information on Wallet Service, see Step 5 in Connecting to Oracle Autonomous Databases .
4. Publish a Workspace
In FME Desktop, publish a workspace that contains an Oracle Autonomous Writer to FME Server. Ensure that the workspace has the Oracle Autonomous Connection set up as a published parameter. If you need a demo workspace, you can download WritingToOracleAutonomous.fmwt from the Files section.
5. Run Workspace on FME Server
Back in FME Server, navigate to the Run Workspace page. Select the workspace that was uploaded in the previous step, then set the Connection to Oracle Autonomous. If your workspace fails, review the troubleshooting section at the bottom of this article.
Comments
0 comments
Please sign in to leave a comment.