Editing a console generated upgrade response file
- Last Updated: March 6, 2025
- 3 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
After you have generated a response file, you must edit the response file to suit your environment before you perform a silent upgrade. Use the following guidelines to edit your response file.
- If you are installing the Hybrid Data Pipeline server on a system other than the one
you used to generate the response file, you must designate the host machine with
the
D2C_HOSTNAME_CONSOLEoption.Note: For non-load balancer deployments where the server is receiving queries directly, the hostname should be tied to the DNS for public access. This allows you to update IP addresses in the DNS without having to run an upgrade installation to reconfigure your deployment. - If you want to continue with an upgrade even though hostname, port, and
load balancer hostname validations fail, then the validation settings should be
set as follows. (Note that these properties are set to
falseby default.)SKIP_HOSTNAME_VALIDATION=true SKIP_PORT_VALIDATION=true SKIP_LB_HOSTNAME_VALIDATION=true - If you are storing user credentials on an external database, you must
designate the administrator and user passwords of the external database with the
D2C_DB_ADMIN_PASSWORDandD2C_DB_USER_PASSWORDoptions. However, you may skip database validation by setting theSKIP_DATABASE_VALIDATIONproperty totrue. If you skip database validation, the installer will complete the installation even when the database validation fails.Attention: For an installation using environment variables, pass an empty string for each system database credential, and set theSKIP_DATABASE_VALIDATIONproperty totrue. - For an upgrade installation using environment variables:
- Pass an empty string for each system database credential.
- Set the
SKIP_DATABASE_VALIDATIONproperty totrue. - The corresponding property of each environment variable must be present
in the response file, even if passing an empty string. The following
table shows how environment variables map to GUI-generated response file
properties.Note: The dummy values or empty strings you specify in the response file are overwritten, at install time, by any environment variables you have set.
Environment variable Console property HDP_DATABASE_ADMIND2C_DB_ADMIN_USERNAME_CONSOLEHDP_DATABASE_ADMIN_PASSWORDD2C_DB_ADMIN_PASSWORD_CONSOLEHDP_DATABASE_USERD2C_DB_USER_USERNAME_CONSOLEHDP_DATABASE_USER_PASSWORDD2C_DB_USER_PASSWORD_CONSOLE
The following example response file includes the settings for a load balancer deployment using the On-Premises Connector, using a MySQL Community Edition external database. This type of response file would be generated using the installer in console mode.
# Tue Nov 21 15:45:31 EST 2017
# Replay feature output
# ---------------------
# This file was built by the Replay feature of InstallAnywhere.
# It contains variables that were set by Panels, Consoles or Custom Code.
#Choose Install Folder
#---------------------
USER_INSTALL_DIR=<install_dir>
#Installation License Type
#-------------------------
D2C_LICENSE_TYPE_CONSOLE=\"Evaluation\",\"\"
#Enter Hostname
#--------------
D2C_HOSTNAME_CONSOLE=\"<hybriddatapipelinehost>\"
#SKIP VALIDATION SETTINGS
#---------------------------------
SKIP_HOSTNAME_VALIDATION=true
SKIP_PORT_VALIDATION=true
#Install Type
#------------
D2C_INSTALL_TYPE_CONSOLE=\"\",\"Custom\"
#Key Location
#------------
USER_INPUT_KEY_LOCATION_CONSOLE_OPTION=\"Specify location\",\"\"
USER_INPUT_KEY_LOCATION_CONSOLE=\"<keyfilepath>\"
#Java Configuration
#------------------
SPECIFY_JAVA_HOME_YESNO=\"No\",\"\"
HDP_JAVA_HOME_DIR_CONSOLE=\"<jrepath>\"
#FIPS Configuration
#------------------
D2C_USING_FIPS_CONFIG_CONSOLE=\"No\",\"\"
#Load Balancing
#--------------
D2C_LOAD_BALANCER_CONSOLE=\"\",\"Network Load Balancer\",\"\"
LOAD_BALANCING_HOST_NAME_CONSOLE=\"<loadbalancerhost>\"
#SKIP VALIDATION SETTINGS
#------------------------
SKIP_LB_HOSTNAME_VALIDATION=true
#Certificate File
#----------------
D2C_CERT_FILE_YESNO=\"Yes\",\"\"
D2C_CERT_FILE_CONSOLE=\"/<sslcertficatepath>/<filename>\"
#MySQL Community Edition
#-----------------------
D2C_DB_MYSQL_COMMUNITY_SUPPORT_CONSOLE=\"Yes\",\"\"
D2C_DB_MYSQL_JAR_PATH_CONSOLE=\"/<mysqldriverpath>/<filename>.jar\"
#External Database Type
#----------------------
D2C_DB_VENDOR_CONSOLE=\"\",\"MySQLCommunity\"
#Database Connection Information - MySQLCommunity Hostname
#---------------------------------------------------------
D2C_DB_HOSTNAME_CONSOLE=\"<mysqlhost>\"
#Database Connection Information - MySQLCommunity Port
#-----------------------------------------------------
D2C_DB_PORT_CONSOLE=\"3306\"
#Database Connection Information - MySQL Database Name
#-----------------------------------------------------
D2C_DATABASE_NAME_CONSOLE=\"<mysqldbname>\"
#Database Connection Information - MySQL Connection Advanced Options
#-------------------------------------------------------------------
D2C_DB_ADVANCED_OPTIONS_CONSOLE=\"\"
#Database Connection Information - Admin Username
#------------------------------------------------
D2C_DB_ADMIN_USERNAME_CONSOLE=\"<adminname>\"
#Database Connection Information - Admin Password
#------------------------------------------------
D2C_DB_ADMIN_PASSWORD_CONSOLE=\"<adminpassword>\"
#Database Connection Information - User Username
#-----------------------------------------------
D2C_DB_USER_USERNAME_CONSOLE=\"<username>\"
#Database Connection Information - User Password
#-----------------------------------------------
D2C_DB_USER_PASSWORD_CONSOLE=\"<userpassword>\"
#Database Connection Validation
#------------------------------
SKIP_DATABASE_VALIDATION=false
#HDP Server Access Ports - HTTP Port
#-----------------------------------
D2C_API_PORT_CONSOLE=\"8080\"
#On-Premises Settings
#--------------------
ENABLE_OPC_CONSOLE=\"Yes\",\"\"
#On-Premises Ports - On-Premises Port
#------------------------------------
D2C_OPC_PORT_CONSOLE=\"40501\"
#On-Premises Ports - Notification TCP Port
#-----------------------------------------
D2C_NOTIFICATION_PORT_CONSOLE=\"11280\"
#On-Premises Ports - Message Queue Port
#------------------------------------------
D2C_MESSAGE_QUEUE_PORT_CONSOLE=\"8282\"
#Server Internal Ports - Internal API Port
#-----------------------------------------
D2C_INTERNAL_API_PORT_CONSOLE=\"8190\"
#Server Internal Ports - Shutdown Port
#-------------------------------------
D2C_SHUTDOWN_PORT_CONSOLE=\"8005\"