To install Control Panel server, perform the following procedure:
Update your server:
bash# yum update
Download OnApp YUM repository file:
# rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-5.4.noarch.rpm
Install OnApp Control Panel installer package:
bash#> yum install onapp-cp-install
(Optional) Set the custom Control Panel configuration. It is important to set the custom values before the installer script runs.
# IPs (separated with coma) list for the SNMP to trap. This is the list of Control Panel IP addresses on which the traps sent from the compute resources are processed.
# 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 (Deprecated parameter. If you set any values for this parameter, they will not take effect)
# Configure the database server relative amount of available RAM (Deprecated parameter. If you set any values for this parameter, they will not take effect)
# The number of C data structures that can be allocated before triggering the garbage collector. Only change this value if you understand what it does.
# 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
# If enabled (the 1 value is set) - install (if local box) and configures RabbitMQ Server (messaging system) for the vCloud support. (Deprecated parameter. If you set any values for this parameter, they will not take effect)
# Rotate transactions' log files created more than 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)
# SSLCertificateFile, SSLCertificateKeyFile Apache directives' values
# * PEM-encoded CA Certificate (if custom one exists)
# SSLCipherSuite, SSLProtocol Apache directives' values
bash# vi /onapp/onapp-cp.conf
Run the Control Panel installer:
bash#> /onapp/onapp-cp-install/onapp-cp-install.sh -i SNMP_TRAP_IPS
Set the OPENSSL_ENABLE_MD5_VERIFY=1 environment variable if installing on CentOS 6.x with self-signed certificates. So the installer command should look like:
Install Cloudboot dependencies:
Depending on the needed compute resource type, you should install onapp-ramdisk-DISTRO-FLAVOR package(s), where:
DISTRO - CentOS6 or CentOS7
FLAVOR - XEN, KVM
It is required to install yum install onapp-ramdisk-centos7-default together with onappstore packages.
It is recommended to install all packages. Below you can find an example:
bash#> # yum install onapp-ramdisk-centos6-kvm bash#> # yum install onapp-ramdisk-centos6-xen bash#> # yum install onapp-ramdisk-centos7-kvm bash#> /onapp/onapp-store-install/onapp-store-install.sh bash#> # yum install onapp-ramdisk-centos7-default
Make sure that you run
After onapp-ramdisk-centos7-default installation the following packages will be installed automatically:
Install OnApp license to activate the Control Panel. Enter a valid license key via the Web UI (you'll be prompted to do so). Your default OnApp login is admin/changeme. The password can be changed via the Control Panel's Users menu in the Control Panel.
|Once you have entered a license it can take up to 15 minutes to activate.|
Restart the OnApp service:
bash#> service onapp restart
After you have installed the Control Panel server, configure your Cloud Settings. See Configure Cloud for details.