In this blog we’ll discuss complete steps that allows you to import data from an on-premise SQL database to SAP Analytics Cloud .
Here, Our Data source is SQL Database from which the SAP Analytics Cloud is connected using the SAP Analytics Cloud Agent and SAP Cloud Connector.
It is recommended that the Cloud Connector, SAP Analytics Cloud agent are installed together on a dedicated server, and not a personal computer. This helps to ensure that multiple users can use an import data connection without experiencing slowness or downtime.
Below are the steps for Import Data connection for On-premise SQL Database –
1. Check the connectivity between SAC agent server and SQL DB on the required port.
telnet <MS SQL SERVER> 1433
2. Installing and Configuring SAP Cloud Connector and JVM on a linux server.
You must use a System Owner account to perform the following steps. If you don't know who the system owner is, log on to SAP Analytics Cloud and from the side navigation, choose Security > Users.
In the SAP Business Technology Platform (BTP) Account section, enter account ID. In our case SAP Analytics Cloud tenant was hosted on a non-SAP data center, hence our account ID is an email address.
When the account ID is accepted, account information will be displayed.
Once all the details are entered, your subaccount addition in your Cloud Connector will look like below:
Add the internal host name of the Tomcat server where the SAP Analytics Cloud agent is running.
The default Tomcat port is 8080 and the default HTTPS port is 8443.
Enter the virtual host and port so that the internal host name and port are not exposed.
Agent is reachable.
Add resource.
3. Installing and configuring SAP Analytics Cloud Agent on Linux Server
You can verify the installation by opening the following URL in your browser: http://<Host>:<Port>/C4A_AGENT/deploymentInfo
The version of the SAP Analytics Cloud agent installed is displayed.
You can connect to multiple locations that have on-premises data sources. Each location that you add should already have a Cloud Connector installed and configured on it.
You can also leave the Location ID blank to create a Default Location. This Default location will correspond to your subaccount on the SAP Cloud Connector with a blank Location ID.
4. Make sure JDBC driver is installed.
The jar files can be in any location on your server as long as the properties file includes the correct file locations.
We kept it in SAC agent installed directory and gave permission 777 and ownership as sidadm:sapsys.
Navigate to tomcat/bin.
Run the shutdown.sh script.
Open the catalina.sh file in the tomcat/bin directory and find the line where Java options are set. Modify this line so that the -DSAP_CLOUD_AGENT_PROPERTIES_PATH option is included and points to your .properties file.
Run the startup.sh script.
5. Creating the Import Data Connection in SAC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 24 | |
| 15 | |
| 13 | |
| 12 | |
| 11 | |
| 10 | |
| 9 | |
| 8 | |
| 8 | |
| 8 |