When a user runs the Vertical install script (./dr_install.sh -p drinstall.properties) to freshly install or upgrade Vertica 7, the following error appears on screen and in the log file:
/opt/CA/IMDataRepository_vertica7/logs/install_log_install_<Date>_<Time>.log
e.g.:
install_log_install_12-02-2016_20-47-07.log
"
install_vertica: error: argument --failure-threshold: expected one argument
Vertica Analytic Database 7.1.2-6 Installation Tool
Installation FAILED with errors.
Installation stopped before any changes were made.
Vertica installation....................................................[FAIL]
The installation will now exit.
===============================================================================
Script finished - ./dr_install.sh
===============================================================================
Release: Performance Management 2.5.0 and above
Component:
This is due to a known issue with the Vertica 7.0.1-2 installer and above.
If LVM is detected on any volumes (not just the volumes that Vertica uses) within the cluster, the installer will fail and stop the Vertica install script.
The dr_install.sh script needs to be modified to workaround this issue as per the following steps:
1. Make a backup of the original dr_install.sh file in /opt/CA/IMDataRepository_vertica7 directory
2. Use an editor to open the dr_install.sh file
3. Search for the key word "POINT_TO_POINT_SPREAD_OPTION" to find this line:
/opt/vertica/sbin/install_vertica -s $DB_HOST_NAMES -u $DB_ADMIN_LINUX_USER -l $DB_ADMIN_LINUX_USER_HOME -d $DB_DATA_DIR -L ./resources/$VLICENSE -Y -r ./resources/$VERTICA_RPM_FILE $POINT_TO_POINT_SPREAD_OPTION $failure_threshold 2>&1 | tee -a $LOG_FILE
4. In the above line, after "POINT_TO_POINT_SPREAD_OPTION", replace "$failure_threshold" and add the following new entry, surrounded by a space on each side:
--failure-threshold FAIL
The line should now appear as follows:
/opt/vertica/sbin/install_vertica -s $DB_HOST_NAMES -u $DB_ADMIN_LINUX_USER -l $DB_ADMIN_LINUX_USER_HOME -d $DB_DATA_DIR -L ./resources/$VLICENSE -Y -r ./resources/$VERTICA_RPM_FILE $POINT_TO_POINT_SPREAD_OPTION --failure-threshold FAIL 2>&1 | tee -a $LOG_FILE
5. Save the dr_install.sh file, then rerun the install script :
./dr_install.sh -p drinstall.properties
6. This time, the Vertica installation should by pass this error