Creating a TimesTen Client Instance
A TimesTen client instance can be used to connect to a database in either TimesTen Scaleout or in TimesTen Classic.
This is an example of creating a client instance. See "Client-Only Installations and Instances" for detailed information about client-only installations and instance, including multiple examples.
Navigate to the installation_dir
/tt22.1.1.25.0/bin
area and run the ttInstanceCreate
utility, specifying the -clientonly
option. User input is shown in bold.
%installation_dir
/tt22.1.1.25.0/bin
/ttInstanceCreate -clientonly NOTE: Each TimesTen instance is identified by a unique name. The instance name must be a non-null alphanumeric string, not longer than 255 characters. Please choose an instance name for this installation? [ tt221 ] clientinstance1 Instance name will be 'clientinstance1'. Is this correct? [ yes ] Where would you like to install the clientinstance1 instance of TimesTen? [ /home/ttuser ] /scratch/ttuser Creating instance in /scratch/ttuser/clientinstance1 ... INFO: Mapping files from the installation to /scratch/ttuser/clientinstance1/install In order to use the cache features in any TimesTen databases created within this instance, you must set a value for the TNS_ADMIN environment variable. It can be left blank, and a value can be supplied later using <install_dir>/bin/ttInstanceModify. Please enter a value for TNS_ADMIN (s=skip)? [ ] s The 22.1 Release Notes are located here : '/installation_dir
/tt22.1.1.25.0/README.html'