4.1.3.1 Usage
./TSAMDBSchemaSetup.sh -connStr <connection string> -user <username> \
[-enablePartition] [-walletDir <dir>] \
[-enableAI -aiUser <aiusername>]
./TSAMDBUserProvision.sh -connStr <connection string> -adminUser <admin username> -user <new user> -tablespace <tablespace> [-adb] [-walletDir <path to DB wallet>] [-dropUser] [-quota <quota limit>] [-enableAI] [-aiUser <new aiUser>] [-aiSourceMode <CLOUD|LOCAL>]
Option:
-aiSourceMode <CLOUD|LOCAL>(optional): Specifies the AI source mode. The default isCLOUD. Values must be specified in uppercase (CLOUDorLOCAL). TheLOCALoption is not supported when-adbis specified.
Table 4-2 Parameter List
| Name | Description |
|---|---|
-connStr <connection string>
|
DB connection string. If the connection string contains spaces or special characters like parentheses, enclose it in double quotes. |
-user <user name>
|
The name of the TSAM database user. |
-enablePartition |
(Optional) Flag to enable partitioning in database. |
-walletDir <path to DB wallet>
|
(Optional) Path to the wallet directory. |
-enableAI |
(Optional) Flag to enable AI setup (credentials, profile, agent, and metadata).
You must configure the values in Note: Before running TSAMDBSchemaSetup.sh with -enableAI, set AI_VECTORINDEX_SOURCE_MODE in TSAMSetup.cfg. TSAMDBSchemaSetup.sh does not accept -aiSourceMode as a command-line parameter.
|
-aiUser <AI username> |
(Optional) The name of the TSAM database AI user when -enableAI is set. The target schema must own no tables, and -aiUser is required whenever -enableAI is used.
|
-h or -help |
(Optional) Show help message. |
Parent topic: Set up Database Schema