OnApp 3.5.0-32 Update

Release NotesAffects Version/s
Improved the display of Sales plan of a Federated Zone 
Fixed GenerateHourlyStatsFailed issue3.5, 4.0
Fixed semaphore gem bug blocking all transactions in the cloud3.5, 4.0
Fixed Content Balance Check issues3.3.2, 3.4-9, 3.5
Fixed service onapp force-stop failure3.5
Fixed the problem of deletion of virtual server.3.5
Fixed the RAM calculation to avoid virtual servers utilizing resources reserved for other virtual servers.3.5

Patch Installation

To apply this patch, follow the step by step instructions and specify the build number of this patch  3.5.0-32 either in the configuration file or in the command line of the Control Panel installer:

Installer output is redirected to ./onapp-cp-install.log

All installer critical errors are in /var/log/messages

  1. Download and install the latest OnApp YUM repository file:

    bash#> rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo.noarch.rpm
  2. Upgrade OnApp Control Panel installer package:

    bash#> yum update onapp-cp-install

  3. Custom Control Panel configuration

     Edit the /onapp/onapp-cp.conf file to set Control Panel custom values

    Template server URL


    # 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 and number of dumps to keep

    DB_DUMP_SERVER_SSH_OPT="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no"
    DB_DUMP_CRON='40 * * * *'

    # Enable monit - tool for managing and monitoring Unix systems


    bash# vi /onapp/onapp-cp.conf

    Custom values must be set before the installer script runs.

  4. Run Control Panel installer:

    bash#> /onapp/onapp-cp-install/onapp-cp-install.sh 

    See the installer options below for details.

     The full list of Control Panel installer options:


    /onapp/onapp-cp-install/onapp-cp-install.sh [-c CONFIG_FILE] [-m MYSQL_HOST] [-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-passwd[=REDIS_PASSWD] [--redis-port=REDIS_PORT] [--redis-sock=REDIS_PATH] [-a] [-y] [-D] [-h]


    MYSQL_*Options are useful if MySQL is already installed and configured.
    -m MYSQL_HOST MySQL host
    -p MYSQL_PASSWDMySQL password
    -d MYSQL_DBOnApp MySQL database name
    -u MYSQL_USERMySQL 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/ 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
    --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 authentificate.
    Random password is generated if the option's argument isn't specified.
    By default no password is used for local Redis.
    --redis-sock=REDIS_PATH : Path to the Redis Server's socket. Used if local server only.
    Default is /tmp/redis.sock
    ADMIN_*Options are used to configure OnApp Control Panel administrator data.
    Please note, that these options are for NEW INSTALL only and not for upgrade
    -P ADMIN_PASSWD CP administrator password
    -F ADMIN_FIRSTNAMECP administrator first name
    -L ADMIN_LASTNAMECP administrator last name
    -E ADMIN_EMAILCP administrator e-mail
    -v ONAPP_VERSIONInstall custom OnApp CP version
    -i SNMP_TRAP_IPSIP addresses separated with coma for snmp to trap
    -c CONFIG_FILECustom installer configuration file. Otherwise, preinstalled one is used.
    -yupdate OS packages (except of OnApp provided) on the box with 'yum update'.
    -ado not be interactive. Process with automatic installation.
    -Ddo not make database dump, and make sure it is disabled in the cron and not running at the moment
    -hprint this info
  5. In the OnApp UI navigate to Settings > Configuration and click Save to complete the process.