Installing the Adapter
Use this procedure to install DataSynapse™ High-Performance Computing Cloud Adapter (HPCCA) and to restore configuration from the previous versions.
Prerequisites
-
Ensure that your system meets the platform and software requirements. For more information, see Readme.
-
DataSynapse GridServer® must be installed as described at Installing the Base Product.
-
If the DataSynapse GridServer® Manager is running, stop it before installing the adapter.
-
TIBCO DataSynapse GridServer® Engine and DataSynapse GridServer® Manager must be on the same or different Virtual Private Cloud (VPC).
-
Avoid connecting DataSynapse GridServer® Engine to DataSynapse GridServer® Manager using the public internet.
-
Test DataSynapse GridServer® setup with a manually installed DataSynapse GridServer® Engine.
-
Take a backup of the
datasynapse/manager/webapps/livecluster/WEB-INF/libdirectory before installing DataSynapse HPCCA. If the installation fails, you can restore thelibfolder using thebackupfolder. -
While installing the adapter, DataSynapse HPCCA also creates backup folder named as
GsLibBackup-hpccawhich contains all libs fromdatasynapse/manager/webapps/livecluster/WEB-INF/lib/. This folder is useful when we uninstall the adapter. -
If you plan to install the adapter on a DataSynapse GridServer® Manager instance where SSL is enabled, then take a backup of the
manager-data/certsfolder. This is needed for post installation.
Procedure
-
Extract the adapter's installation archive in the same folder that you extracted the base product's installation archive.
-
Run the batch or bash file for your system (
install.shorinstall.bat). For Windows, run theinstall.batwith two arguments: the path to the folder above thedatasynapsefolder in the base product, and true or false to preserve thecloudprovider.propertiesfile.For example, if you have the DataSynapse GridServer® Manager installed atC:\TIBCO\datasynapse\managerand you want to preserve thecloudprovider.propertiesfile, enterinstall.bat C:\TIBCO true.Note: During the installation process, the previous version of the adapter is uninstalled and the previous version'scloudprovider.propertiesfile is stored ascloudprovider.properties.bakfile if the argument is entered astrue. -
(Applicable only if you have installed an earlier version of this adapter) restore the
cloudprovider.properties.bakfile:-
Stop the DataSynapse GridServer® Director.
-
Copy the matching parameters from
cloudprovider.properties.bakfile tocloudprovider.propertiesfile.Note: Ensure that the parameters that you want to copy fromcloudprovider.properties.bakfile exists incloudprovider.propertiesfile (as all parameters from the previous versions of the adapter might not exist incloudprovider.propertiesfile). -
Start the DataSynapse GridServer® Director.
-
-
Update
./datasynapse/manager-data/hooks/Director/cloudprovider.propertiesas follows:-
In the first section, provide the general settings such as which service provider you are using, the platform on which engines are to be launched, and Director details to be used for the newly launched engines. See General Configuration Properties.
-
If you are using AWS Cloud Provider, update the AWS-Specific Configuration Properties.
-
If you are using Azure Cloud Provider, update the Azure-Specific Configuration Properties.
-
If you are using Google Cloud Provider (GCP), update the Google Cloud Platform Specific Configuration Properties.
-
-
Start the DataSynapse GridServer® Manager.
-
Verify that the adapter creates a number of engines equal to the
MINENGINESproperty in thecloudprovider.propertiesfile ifCONSIDER_NON_HPCCA_ENGINESproperty is set tofalse.
Post-requisites
If you plan to install the adapter on a DataSynapse GridServer® Manager instance where SSL is enabled, then take a backup of the
manager-data/certs folder. Then, you must import the certificates from the original ssl.keystore and server.keystore from that directory into the new ssl.keystore and server.keystore.
To merge the backup and the new certificate, use the following command-line example:
keytool -importkeystore -srckeystore PATH_OF_DIRECTOR_BACKUP_CERT/ssl.keystore -srcstorepass changeit -destkeystore ..datasynapse/manager-data/cert/ssl.keystore -deststorepass changeit
keytool -importkeystore -srckeystore PATH_OF_DIRECTOR_BACKUP_CERT/server.keystore -srcstorepass changeit -destkeystore ..datasynapse/manager-data/cert/server.keystore -deststorepass changeit