ttInstanceCreate
The ttInstanceCreate utility creates a new TimesTen instance with the values, behaviors, and characteristics specified by you through the available options.
You can specify options in one of these ways:
-
On the command line.
-
In a file.
-
Interactively as the utility runs.
If you do not specify options on the command line, or if the only options used are -record and/or -verbose, ttInstanceCreate runs in an interactive mode, prompting the Instance Administrator for the information needed to set up the instance.
If you specify the -batch option on the command line, ttInstanceCreate runs in interactive mode, and attempts to answer any questions by fetching the answers from a recorded batch file, generated by a previous run that specified the -record option. If the answer to a question is not present in the batch file, the utility prompts the Instance Administrator to answer the question interactively.
If you specify other options on the command line, they are used as the source of information. The ttInstanceCreate utility does not prompt the user for unknown values.
Usage in TimesTen Scaleout and TimesTen Classic
This utility is supported in both TimesTen Classic and TimesTen Scaleout. In TimesTen Scaleout is used only to create the first management instance; to create additional instances, use ttGridAdmin instanceCreate.
Required Privilege
This utility requires the instance administrator privilege.
Syntax
ttInstanceCreate {-h | -help | -?} [-verbose]
To create an instance for TimesTen Classic, use:
ttInstanceCreate [-name name] [-location path] [-daemonport port] [-csport port] ] [-start] [-tnsadmin path] [-force] [-record filename] [-strict] [-verbose] [-serverEncryption {accepted|rejected|requested|required} -serverCipherSuites {comma-separated list}]
-ssl_fips_140-db_fips_140-asym_alg ECC|RSATo create the first management instance for a grid in TimesTen Scaleout, use:
ttInstanceCreate [-name name] [-location path] [-daemonport port] [-csport port] [-grid] [-force] [-record filename] [-strict] [-verbose]
To create the first management instance for a grid that uses TLS in TimesTen Scaleout, use:
ttInstanceCreate [-name name] [-location path] [-daemonport port] [-csport port] [-grid] [-serverEncryption {accepted|rejected|requested|required}] -serverCipherSuites {suites} [-force] [-record filename] [-strict] [-verbose]To create an instance whose main daemon is managed by systemd, use:
ttInstanceCreate [-name name] [-location path] [-daemonport port] [-csport port] [-grid] [-force] [-record filename] [-strict] [-verbose] [-systemd]
To create a client-only instance, use:
ttInstanceCreate [-name name] [-location path] [-clientonly] [-force] [-record filename] [-strict] [-verbose]
ttInstanceCreate [-batch [filename]]Options
ttInstanceCreate has the options:
| Option | Description |
|---|---|
|
|
Displays help information. |
|
|
Specifies the asymmetric cryptographic algorithm to use when generating a key pair for TLS. The valid values are The If you do not specify
-asym_alg, TimesTen does the following:
|
|
|
Specifies the name of the instance to be created. |
|
|
Specifies the path of the directory in which the instance is to be created. This directory must already exist. A new directory is created in the existing directory. The name of the new directory is specified in the |
|
|
Specifies that an instance directory specified with the 1. The specified instance directory is empty, or 2. The specified instance directory contains a |
|
|
Records responses to installation questions into the file specified by |
|
|
Specifies the file to be used to provide input to the |
|
|
Ensures that the platform running the command is supported and prevents the instance creation if it is not. |
|
|
Determines whether encryption is accepted, rejected, requested, or required for a client/server connection.
With a setting other than rejected, the
The Note: If you did not create certificates when you created the instance, you need to run the ttCreateCerts utility manually to use TLS on a particular database. .See Task 2: Set Server Configuration for TLS in TimesTen
Classic in Oracle TimesTen In-Memory Database Security
Guide regarding usage of the |
|
|
Lists the cipher suite or suites that can be used for Transport Layer Security. TimesTen 22.1 supports cipher suites that include both RSA and ECC authentication/digital signature algorithms. If you are using RSA keys, ensure to include one or more cipher suites with an RSA authentication/digital signature algorithm. Similarly, if you are using ECC keys, ensure to include one or more cipher suites with an ECDSA (Elliptic Curve Digital Signature Algorithm) authentication/digital signature algorithm. For example, if your key is ECC, then the There is no default setting. You can specify one or more cipher suites. If you specify more than one cipher suite, ensure to separate each by a comma, and list them in order of preference. For TLS to be used, there must be at least one common cipher suite. For a list of supported cipher suites, see Transport Layer Security for TimesTen Client/Server in Oracle TimesTen In-Memory Database Security Guide. |
|
|
Enables SSL (TLS) FIPS encryption for both client and server. |
|
|
Enables FIPS symmetric encryption (TDE) for both client and server. |
|
|
For cache operations, this option configures the location to be used for the |
|
|
Displays additional information during the operation of the utility. |
|
|
Indicates that the instance should be configured for use with TimesTen Scaleout. |
|
|
Specifies that the instance’s main daemon will be managed by systemd. |
|
- |
Specifies that the instance is client-only. Most other arguments are not supported for a client-only instance. |
Use these options for full instances with client and server capabilities:
| Option | Description |
|---|---|
|
|
The port number on which the TimesTen daemon process ( |
|
|
The value to be used for the TimesTen client/server port number for this instance. If not specified, the default is |
Use this option for instances intended for TimesTen Classic:
| Option | Description |
|---|---|
|
|
Specifies that the instance should be started after it is created. |