Add a New Client Host
On this page
Overview
In the following example:
-
The default domain and realm are
S2.
LOCAL -
The Key Distribution Center (KDC) server is on
10.
1. 0. 5 -
The Kerberos admin server is on
10.
1. 0. 5
Install Kerberos Tools and Obtain a Ticket
-
Install the
krb5-user
tools.Red Hat
sudo yum install krb5-userDebian
sudo apt install krb5-user -
Enter the domain that will be connected to the default Kerberos realm.
-
Enter the Kerberos authentication server.
-
Enter the administrative server.
-
The
[realms]
section in the/etc/krb5.
file on this host will now resemble the following.conf [realms]S2.LOCAL = {kdc = 10.1.0.5admin_server = 10.1.0.5default_domain = s2.local} -
Obtain a ticket for a user that exists in the cluster.
kinit user1@S2.LOCALPassword for user1@S2.LOCAL:
klistTicket cache: FILE:/tmp/krb5cc_1000 Default principal: user1@S2.LOCAL Valid starting Expires Service principal 09/28/22 10:46:12 09/28/22 20:46:12 krbtgt/S2.LOCAL@S2.LOCAL renew until 09/29/22 10:46:08
Connect to SingleStore
Connect using the SingleStore Client
-
For a package-based installation of the SingleStore client.
singlestore -h<hostname> --plugin-dir=/usr/lib/singlestore-client/plugin/ -u<username> -
For a tarball-based installation of the SingleStore client.
singlestore -h<hostname> --plugin-dir=/path/to/singlestore-client/plugin/ -u<username>
Last modified: January 9, 2023