The config variable to tell TINA where the catalog is located is global_odb_translation_path
:
global_odb_translation_path: |
Change the catalog path
We need to move the catalog directory /usr/Atempo/TimeNavigator/MyCatalog/Data.MyCatalog
to /MyPATH/Other-Directory
.
The purpose is to place the catalog on a partition with a greater storage capacity.
Steps
0/ Have a recent catalog backup available in case it should be needed
# /usr/Atempo/TimeNavigator/MyCatalog/Bin/tina_odbsave -catalog MyCatalog -file /MyPATH/Other-Directory/catalog_backup/MyCatalog_Backup_$(date +%Y-%m-%d_%H-%m).cod |
1/ Check for no current job
# /usr/Atempo/TimeNavigator/MyCatalog/Bin/tina_acct -display_active_jobs_only |
2/ Stop the catalog(s)
# /etc/init.d/tina.MyCatalog stop |
3/ Stop the tina service
# /usr/Atempo/TimeNavigator/MyCatalog/Bin/tina_catalog_ctrl -stop |
4/ List and kill all TiNa and Codac services if they still exist:
# ps aux | grep -E 'tina|MyCatalog' |
5/ Rename directories for security
5.1/ If the /Data.MyCatalog directory still exist in your target path, you should rename it before
# mv /MyPATH/Other-Directory/Data.MyCatalog /MyPATH/Other-Directory/Data.MyCatalog.OLD |
5.2/ If a /vls directory still exist in your target path, you should rename it before and create a empty one
# mv /MyPATH/Other-Directory/vls /MyPATH/Other-Directory/vls.OLD |
5/ Copy the /usr/Atempo/TimeNavigator/MyCatalog/Data.MyCatalog
directory to /MyPATH/Other-Directory/
# cp -r /usr/Atempo/TimeNavigator/MyCatalog/Data.MyCatalog /MyPATH/Other-Directory/ |
6/ Add the paragraph below in the /usr/Atempo/TimeNavigator/MyCatalog/Conf/parameters.xml
file, just before the last </parameters>
line
[...] |
7/ Restart the Tina service
# /usr/Atempo/TimeNavigator/MyCatalog/Bin/tina_catalog_ctrl -start |
8/ Restart the catalog(s)
# /etc/init.d/tina.MyCatalog start |
9/ If you want to check that the tunable is taken into account, connect to the catalog via the web interface and go to settings > tunables
10/ If everything went well, delete the odb
files (except the odb.lock
and /Boot
folder) from the old path /usr/Atempo/TimeNavigator/MyCatalog/Data.MyCatalog
directory
Documentation
https://usergroup.atempo.com/wp-content/uploads/2023/01/Tina_Command_Line_Documentation_EN.pdf