Document Type | Technical Information
Category | Installation
Applicable Product Version | Tibero 7.2.4
Document Number | TINTI016
Overview
This document guides you through how to configure the profile settings when using Tibero 7 multi-instance with a shared engine in Linux and Unix environments, using examples.
Test Environment
- DB: Tibero 7 (DB 7.2.4)
- OS: Rocky Linux 9.6
- Shell: bash
Note
You can find the OS profile setting method for Unix environments for versions earlier than Tibero 7 in the post below.
Method
1. Create .bash_profile
The red text in the example below should be changed according to your environment.
|
### Tibero 7 ENV ### PATH=".:$TB_HOME/bin:$TB_HOME/client/bin:$PATH" export TB_HOME TB_PROF_DIR PATH LD_LIBRARY_PATH ######################################### VALUE=true while [ "$VALUE" = true ] printf "%s" "---ANS> " echo "------------------------------" case "$ans" in export TB_SID echo "#################################" # \w not usable โ in sh, `pwd` must be called ######## TIBERO alias ######## alias tbi='cd "$HOME/tbinary"' |
2. Apply .bash_profile
Apply this to the profile of the OS account where Tibero is installed. Depending on the shell type, the .profile file may be used instead of .bash_profile.
| . ~/.bash_profile or source ~/.bash_profile |
3. Result
Each time the profile is applied or the OS account logs in, you can select the SID as shown below.
Enter the number corresponding to the Tibero SID you want to use and press Enter to access the selected instance.
SELECT TIBERO_SID ------------------------------ 1. tibero01 2. tibero02 ------------------------------