To upgrade your Control Panel server: Run the following command from the CP server to stop the OnApp service: Download and install the latest OnApp YUM repository file: Upgrade OnApp Control Panel installer package: Update your server OS components (if required): values before the installer script runs. # Template server URL Run Control Panel installer: See the installer options below for details. Usage: Where: You may wish to reboot your Control Panel server to take advantage of a new kernel if it is installed. It is not required immediately as a part of the upgrade process though.
# IPs (separated with coma) list for the snmp to trap
# OnApp Control Panel custom version
# OnApp MySQL/MariaDB connection data (database.yml)
# MySQL/MariaDB server configuration data (in case of local server)
# Use MariaDB instead of MySQL as OnApp database server
# Configure the database server relative amount of available RAM
# The number of C data structures that can be allocated before triggering the garbage collector. It defaults to 8 million
# sysctl.conf net.core.somaxconn value
# The root of OnApp database dump directory (on the Control Panel box)
# Remote server's (to store database dumps) IP, user, path, openssh connection options ans number of dumps to keep
# Enable monit - tool for managing and monitoring Unix systems
# If enabled (the 1 value is set) - install (if local box) and configures RabbitMQ Server (messaging system) for the vCloud support.
# Rotate transactions' log files created more then TRANS_LOGS_ROTATE_TIME day(s) ago
# Maximum allowed for uploading file size in bytes, from 0 (meaning unlimited) to 2147483647 (2GB). Default is 1GB
# Timeout before ping Redis Server to check if it is started. Default is 5 sec.
# OnApp Control Panel SSL certificates (please do not change if you aren't familar with SSL certificates)
# * The data below to generate self-signed PEM-encoded X.509 certificate
# SSLCertificateFile, SSLCertificateKeyFile Apache directives' values
# ssl_certificate, ssl_certificate_key Nginx directives' values
# * PEM-encoded CA Certificate (if custom one exists)
# SSLCACertificateFile, SSLCertificateChainFile Apache directives' values
# ssl_client_certificate Nginx directives' values
# SSLCipherSuite, SSLProtocol Apache directives' values
# ssl_ciphers, ssl_protocols Nginx directives' values
MYSQL_* Options are useful if MySQL is already installed and configured.
MySQL host -p MYSQL_PASSWD MySQL password -d MYSQL_DB OnApp MySQL database name -u MYSQL_USER MySQL user REDIS_* Options are useful if Redis Server is already installed and configured.
IP address/FQDN where Redis Server runs.
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.
If local Redis, it will serve as well on the unix socket '/tmp/redis.sock'.
Default value is 127.0.0.1.
Redis Server listen port.
0 - if local server
6379 - if remote server
Redis Server password to authentificate.
Random password is generated if the option's argument isn't specified.
By default no password is used for local Redis.
Path to the Redis Server's socket. Used if local server only.
Default is /tmp/redis.sock
Options are used to configure OnApp Control Panel administrator data.
Please note, that these options are for NEW INSTALL only and not for upgrade
CP administrator password -F ADMIN_FIRSTNAME CP administrator first name -L ADMIN_LASTNAME CP administrator last name -E ADMIN_EMAIL CP administrator e-mail -v ONAPP_VERSION Install custom OnApp CP version -i SNMP_TRAP_IPS IP addresses separated with coma for snmp to trap -c CONFIG_FILE Custom installer configuration file. Otherwise, preinstalled one is used. -y update OS packages (except of OnApp provided) on the box with 'yum update'. -a do not be interactive. Process with automatic installation. -D do not make database dump, and make sure it is disabled in the cron and not running at the moment -h print this info
To upgrade your Control Panel server:
Run the following command from the CP server to stop the OnApp service:
Download and install the latest OnApp YUM repository file:
Upgrade OnApp Control Panel installer package:
Update your server OS components (if required):
values before the installer script runs.(Optional) If you need some custom Control Panel configuration, set the
# Template server URL
Run Control Panel installer:
See the installer options below for details.
You may wish to reboot your Control Panel server to take advantage of a new kernel if it is installed. It is not required immediately as a part of the upgrade process though.
- No labels