If you set up SSL or TCP after your DSA environment is already up and running, you can use toggle scripts on each client to switch to SSL or TCP without uninstalling and reinstalling.
-
Restart the dsmain process on DSC server for the repository
database cnsterm 6:
-
Stop bardsmain:
cnsterm 6
start bardsmain -s
-
Start bardsmain:
cnsterm 6
start bardsmain
-
Stop bardsmain:
cnsterm 6
-
To toggle SSL for each client component (DSC, DSARest, BARCmdline, and
ClientHandler), run the ./ssl_jms_toggle.sh script on each client.
The ./ssl_jms_toggle.sh script is located in each client's installed directory:Usage example: ssl_jms_toggle.sh [ DSC | DSARest | BARCmdline | ClientHandler ] [ tcp | ssl ]
- $DSA_DSC_ROOT
- $BARCMDLINE_ROOT
- $CLIENTHANDLER_ROOT
- For ClientHandler, the script will prompt you for the SSL keystore password. This is the client's keystore password.
-
If the port number has changed, change the following parameters.
Property File Parameter Value clienthandler.properties broker.port Change from 61616 to 61617. clienthandler.properties server.protocol Change from TCP to SSL. dsc.properties broker.port Change from 61616 to 61617. dsarest.properties broker.port Change from 61616 to 61617. commandline.properties broker.port Change from 61616 to 61617.
- To toggle SSL or TCP on Viewpoint, run the following script ./barportlets_ssl_setup.sh Usage example: BARPortlets.15.11.00.00/barportlets_ssl_setup.sh [ tcp | ssl ]
- To enable DSMAIN or the Teradata Database system, go to the BAR Setup portlet and click Systems and Nodes under Categories.
-
To configure SSL, under SSL Communication:
- Check the Enable SSL over JMS Communication box.
- Enter the keystore password in the Truststore password box.
- Click Apply, then follow on-screen instructions.
Whenever SSL settings are toggled in Viewpoint, a tpareset on the system is required for the changes to take effect. -
To configure TCP, under SSL Communication:
- Clear the Enable SSL over JMS Communication box.
- Remove the keystore password from the Truststore password box.
- Click Apply, then follow on-screen instructions.