Configuring the Client Machine ODBC Connector on Secure Big Data Service Cluster
- Install MIT Kerberos Client on the Windows machine.
-
Copy the contents of
/etc/krb5.conffrom a cluster node to theC:\ProgramData\MIT\Kerberos5\krb5.inifile. -
Collect Root CA certificate and the Trino Server certificate pem files, and then create a pem file to append both certificates.
Example:
C:\Users\opc\cloud.oracle.com.pem - Create an MIT user principle and create its keytab.
-
Copy the keytab to the a Windows directory.
Example:
C:\Users\opc\admin.user.keytab -
Be sure the Trino Coordinator's hostname .
If not, update the Windows host file at
C:\Windows\System32\drivers\etc\hostswith the IP and hostname. - In Windows Search, search for and open ODBC Data Sources (64-bit).
- Select Add, and then select Simba Trino ODBC Driver.
- Select Finish.
-
Enter Simba Trino ODBC Driver DSN Setup details.
- In the Data Source Name field, enter a name for the data source.
- Select Kerberos Authentication for the Authentication Type.
- Check Use GSSAPI.
- Select Kinit Options to enter the user principal information.
- Complete one of the following:
- For Kinit with Keytab, enter the user principal information into the Kerberos Username and Keytab File Path fields.
- For Kinit with Password, enter the user principal information into the Kerberos Username and Keytab Password fields.
- Select OK.
-
Provide the following information:
- Service Name
- Enter Trino.
- Data Source Host
- Enter the Big Data Service Trino Coordinator hostname.
- Port
- Enter 7778 for secure SSL enabled clusters.
- To configure SSL and provide certificate detail for the Trino certificate and its Root Certificate, select SSL Options.
- To test the connection, select Test.
- To save the setup, select OK.
- In the Catalog field, select Hive.
- In the Schema field, select the database you want to connect to. For example, default.