The Full List of Control Panel Installer Options

Usage:

# /onapp/onapp-cp-install/onapp-cp-install.sh -h
Usage: /onapp/onapp-cp-install/onapp-cp-install.sh [-c CONFIG_FILE] [--mariadb | --mariadb-custom | --community | --percona | --percona-cluster] [-m MYSQL_HOST] [--mysql-port=MYSQL_PORT] [--mysql-sock[=MYSQL_SOCK] [-p MYSQL_PASSWD] [-d MYSQL_DB] [-u MYSQL_USER] [-U ADMIN_LOGIN] [-P ADMIN_PASSWD] [-F ADMIN_FIRSTNAME] [-L ADMIN_LASTNAME] [-E ADMIN_EMAIL] [-v ONAPP_VERSION] [-i SNMP_TRAP_IPS] [--redis-host=REDIS_HOST] [--redis-bind[=REDIS_BIND] [--redis-passwd[=REDIS_PASSWD] [--redis-port=REDIS_PORT] [--redis-sock[=REDIS_SOCK] [--rbthost RBT_HOST] [--vcdlogin VCD_LOGIN] [--vcdpasswd VCD_PASSWD] [--vcdvhost VCD_VHOST] [--rbtlogin RBT_LOGIN] [--rbtpasswd RBT_PASSWD] [-a] [-y] [-D] [-t] [--noservices] [--ha-install] [--rake=RAKE_TASKS] [--quick|--quick-update[=SERVICE] [--accept-eula] [-w] [-h]


Database server options: Default database SQL server is MySQL Server. Please use one of the following option to install LOCALLY:
--mariadbMariaDB Server
--mariadb-customMariaDB Server (custom for CentOS 7.x only)
--communityMySQL Community Server
--perconaPercona Server
--percona-clusterPercona Cluster
-m MYSQL_HOSTMySQL host. Default is 'localhost'
--mysql-port=MYSQL_PORTTCP port where MySQL Server serves connections. Default values is 3306 for the local installation
--mysql-sock[=MYSQL_SOCK]Unix socket on which MySQL Server serves connections. Default values is /var/lib/mysql/mysql.sock. Used if local server only The socket is unset if the option's argument isn't specified.
-p MYSQL_PASSWDMySQL password. Random is generated if is not set or specified.
-d MYSQL_DBOnApp MySQL database name. Default is 'onapp'
-u MYSQL_USERMySQL user. Default is 'root'
REDIS Server Options
--redis-host=REDIS_HOSTIP address/FQDN where Redis Server runs. It is used by Control Panel to connect to Redis Server. The Redis Server will be installed and configured on the current box if localhost/127.0.0.1 or box's public IP address (listed in SNMP_TRAP_IPS) is specified. Default value is 127.0.0.1. If local Redis, it will serve as well on the unix socket 'PORT' (if --redis-sock without argument isn't specified)
--redis-bind[=REDIS_BIND]The IP address for Redis Server to serve connections (to listen)
The option isn't mandatory.
--redis-port=REDIS_PORTRedis Server listen port.
Defaults are: 0 - if local server 6379 - if remote server
--redis-passwd[=REDIS_PASSWD]Redis Server password to authentitacate. Random password is generated if the option's argument isn't specified. By default no password is used for local Redis.
--redis-sock[=REDIS_SOCK]

Path to the Redis Server's socket. Used if local server only. Default is /var/run/redis/redis.sock

The socket is unset if the option's argument isn't specified.

Options to manage OnApp Control Panel administrator account: Please note, that these options are for NEW INSTALL only and not for upgrade
-P ADMIN_PASSWDCP administrator password
-F ADMIN_FIRSTNAMECP administrator first name
-L ADMIN_LASTNAMECP administrator last name
-E ADMIN_EMAILCP administrator e-mail
RabbitMQ Server and vCloud options:
--rbthost RBT_HOSTIP address/FQDN where RabbitMQ Server runs.
The RabbitMQ will be installed and configured on the current box if localhost/127.0.0.1 or box's public IP address (enlisted in SNMP_TRAP_IPS). Default value is 127.0.0.1.
VCD_*Options are usefull if vCloud/RabbitMQ are already installed and configured.
--vcdlogin VCD_LOGINRabbitMQ/vCloud user. Default value is 'rbtvcd'.
--vcdpasswd VCD_PASSWDRabbitMQ/vCloud user password. The random password is generated if isn't specified.
--vcdvhost VCD_VHOSTRabbitMQ/vCloud vhost. Default value is '/'
RBT_*Options are used to configure RabbitMQ manager account. If local RabbitMQ server.
--rbtlogin RBT_LOGINRabbitMQ manager login. The default value is 'rbtmgr'.
--rbtpasswd RBT_PASSWDRabbitMQ manager password. The random password is generated if isn't specified.
General Options:
--ha-installProceed with Control Panel and Hight Availability components installation RHEL/CentOS 7.x is supported only!
--rake RAKE_TASKSList of OnApp Control Panel rake tasks (separated with space) to run at the very end of install or upgrade
-v ONAPP_VERSIONInstall custom OnApp CP version
-i SNMP_TRAP_IPSIP addresses separated with coma for snmp to trap
-yUpdate OS packages (except of OnApp provided) on the box with 'yum update'.
-aDo not be interactive. Process with automatic installation. Please note, this will continue OnApp Control Panel install/upgrade even there is transaction currently running.
-tAdd to the database and download Base Templates. For new installs only.
--noservicesDo not start OnApp services: monit, onapp and httpd Please note, crond and all OnApp's cron tasks remain running. They could be disabled by stopping crond service manually for your own risk.
-DDo not make database dump, and make sure it is disabled in the cron and not running at the moment
-wDo not disable iptables service. Is applicable on fresh installs only.
--quick|--quick-update[=SERVICE]Procceed with quick update procedure.
This will skip update and configure for services, like: system packages, MySQL database, Redis Server, RabbitMQ Server, Monit service
Set the SERVICE parameter (space separated list of statements) to define services, which update is needed.Possible reserved statements are: rpms - for 'system packages' upgrade; mysql - for MySQL databse upgrade ond configuring; redis - for ERedis Server upgrade and configuring; rabbitmq - for RabbitMQ Server upgrade and configuring; monit - for Monit upgrade and configuring.
--accept-eulaAutomatically accept OnApp's End User License Agreement(DEPRICATED)
-c CONFIG_FILECustom installer configuration file. Otherwise, preinstalled one is used.
-hprint this info