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. -
In case if you have previous version of cloudprovider.properties file in ../manager-data/hooks, take the backup of these properties file.
-
While installing the adapter, DataSynapse HPCCA also creates backup folder named as
GSBACKUP_BY_HPCCAwhich contains all libraries of GS fromdatasynapse/manager/webapps/livecluster/WEB-INF/lib/and certs from ../manager-data/certs. This folder is useful when we uninstall the adapter.
Note: After HPCCA uninstallation, GSBACKUP\_BY\_HPCCA backup folder also gets deleted.
-
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).Example: For Linux OS run "./install.sh" after executing you will be asked to confirm the location of your manager and manager-data folder. If you have manager and manager-data folder in same directory choose "yes", If you have manager and manager-data in different directory choose "no". After this you will be asked to provide locations of required folders -
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.
-
If you are using AWS Cloud Provider, update the AWS-Specific Configuration Properties.
-
If you are using Azure Cloud Provider, update the AzureSRG-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
Related information