Configure your DA agent to accept Kerberos settings in a distributed deployment when connecting to a database using Java Database Connectivity (JDBC).
In this example, the remote DA agent is installed on the server called “omnivore.”
Note: In a standalone DA server deployment, use the same steps
described in this procedure to configure the local agent (embedded with DA
server) to work with Kerberos.
Go to $SYBASE/DA-15_5/agent/instance/instance.cfg.
Edit theinstance.cfg file to set the
sun.security.krb5.debug to true, if you want to
troubleshoot any problems.
Verify that DA agent is installed on the server “omnivore”:
show agent a1
go
NAME HOST PORT USER DESCRIPTION
------------ --------- ---- --------- --------------
a1 omnivore 4510 da_admin
(0 rows affected)
Create a database connection for the DA agent “a1” with the dummy user name “my_user”:
create connection c2
set agent a1
and set host omnivore
and set port 5000
and set database dadb
and set user my_user
with properties
set request_kerberos_session true
and set service_principal_name “OMNIVORE@ASE”
go