Prerequisite
- Before starting, open port 64432 and keep the port open as long as the mainframe is connected.
- Verify Teradata version using pdepath -i.
- Verify if dependent packages ( TCHN, luminex, and bti-channel) are installed or not on the Teradata nodes.
rpm -qa|grep -Ei 'tchn|luminex|bti-channel'.
If packages are not present, request you to raise a change request with GSO Change control team. - Download TCHN and dependent packages from TSD. Download the same version as the TDBMS versions.
- Azure only - Upgrade tdc-azure-all to 8.5.5 or the latest version.
- Run the command tdc-feature-init.
- For HSN update, run the command tdc-hot-standby update/launch.
Adding or removing mainframe connectivity typically takes 3 to 5 minutes, depending on your configuration.
- Stop the database.
# tpareset –x –y stop for mainframe connectivity
- Verify the database is in a DOWN/HARDSTOP state.
# pdestate -a
PDE state: DOWN/HARDSTOPPutting the database in this state may take several minutes. - Do one of the following to run the command.
Option Action To add connectivity - Run tdc-mainframe add with arguments.
where:- -c followed by the number of PEs to add
- -y used in conjunction with -c, bypasses user prompt and proceeds running the command automatically
- -h to display help information
To remove connectivity - Run tdc-mainframe delete without arguments.
PEs and nodes are automatically removed when this command is run.
- Example of adding two mainframe PEs: tdc-mainframe add -c 2
- Example of adding one mainframe PE: tdc-mainframe add -c 1
- The database restarts multiple times when tdc-mainframe is running.
- At the prompt, check the database status to make sure logons are enabled.
# pdestate -a
PDE state is RUN/STARTED.DBS state is 4: Logons are enabled - Users are logged on - If you remove mainframe connectivity, close port 64432.