Using the CAST-Connection-Profile-Configuration.py file
End of Life Notice
CAST Storage Service (com.castsoftware.css) is End of Life and is no longer supported or distributed. Customers previously using CAST Storage Service must migrate to a standard PostgreSQL installation. CAST recommends PostgreSQL 18.x.
Info
Available in AIP Core ≥ 8.3.37.
Introduction
The file CAST-Connection-Profile-Configuration.py has been made available to allow you to manually create an entry in a cast-ms.connectionProfiles.pmx file. The file is available in the following location:
<AIP_Core_installation_location>\Tools\ConnectionProfile\CAST-Connection-Profile-Configuration.py
It should be executed via the command line or in a batch script using the python.exe provided in AIP Core here:
<AIP_Core_installation_location>\ThirdParty\Python34\python.exe
Syntax
python.exe CAST-Connection-Profile-Configuration.py --filepath my_connectionprofile_filename_with_path --name my_connection_profile_name --host my_css_postgres_host --port my_css_postgres_port --database my_css_postgres_database --user my_css_postgres_user --cryptedpassword my_crypted_password --schema my_mngt_schema_name
Parameter definition
| –filepath FILEPATH | cast-ms.connectionProfiles.pmx file path, i.e. “%APPDATA%\Cast\Cast\8.3” (default: None). |
| –name CONNECTION PROFILE NAME | Name of the connection profile you want to edit or create. |
| –schema SCHEMA | Management Schema name (default: None). |
| –user USER | Username used to connect to CSS/PostgreSQL server (default: operator). |
| –host HOST | Host for CSS/PostgreSQL server (default: localhost) |
| –port PORT | Port for CSS/PostgreSQL server (default: 2282) |
| –database DATABASE | CSS/PostgreSQL database name (default: postgres) |
| –cryptedpassword CRYPTEDPASSWORD | Crypted password used to connect to CSS/PostgreSQL server for the user specified in –user. (default: CRYPTED2:90B1A6EC1618661401B724DB5AC34595 which corresponds to CastAIP) |