Wondering how to install control Panel Server on OnApp? We can help you.
As part of our Server Virtualization Technologies and Services, we assist our customers with several OnApp queries.
Today, let us see how our Support Techs install it.
OnApp install Control Panel Server
Today, let us see the steps followed by our Support Techs to install Control Panel Server on OnApp.
1.Firstly, update your server:
# yum update
Copy Code
2.Then, download OnApp YUM repository file:
# rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-6.0.noarch.rpm
Copy Code
3.Next, install OnApp Control Panel installer package:
#> yum install onapp-cp-install
Copy Code
4.You can optionally apply the Control Panel custom configuration.
It is important to set the custom values before the installer script runs.
Edit the /onapp/onapp-cp.conf file to set Control Panel custom values
Template server URL
TEMPLATE_SERVER_URL='http://templates-manager.onapp.com/'
Copy Code
IPs (separated with coma) list for the snmp to trap
SNMP_TRAP_IPS=
Copy Code
OnApp Control Panel custom version
ONAPP_VERSION=
Copy Code
OnApp MySQL/MariaDB connection data (database.yml)
ONAPP_CONN_WAIT_TIMEOUT=15
ONAPP_CONN_POOL=30
ONAPP_CONN_RECONNECT='true'
ONAPP_CONN_ENCODING='utf8'
ONAPP_CONN_SOCKET='/var/lib/mysql/mysql.sock'
Copy Code
MySQL/MariaDB server configuration data (in case of local server)
MYSQL_WAIT_TIMEOUT=604800
MYSQL_MAX_CONNECTIONS=500
MYSQL_PORT=3306
Copy Code
Use MariaDB instead of MySQL as OnApp database server
WITH_MARIADB=0
Copy Code
Configure the database server relative amount of available RAM
TUNE_DB_SERVER=0
Copy Code
The number of C data structures that can allocate before triggering the garbage collector. It defaults to 8 million
RUBY_GC_MALLOC_LIMIT=16000000
Copy Code
sysctl.conf net.core.somaxconn value
Copy Code
NET_CORE_SOMAXCONN=2048
Copy Code
The root of OnApp database dump directory (on the Control Panel box)
ONAPP_DB_DUMP_ROOT=
Copy Code
Remote server’s (to store database dumps) IP, user, path, openssh connection options ans number of dumps to keep
DB_DUMP_SERVER=
DB_DUMP_USER=root
DB_DUMP_SERVER_ROOT=/onapp/backups
DB_DUMP_SERVER_SSH_OPT="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PasswordAuthentication=no"
KEEP_DUMPS=168
DB_DUMP_CRON='40 * * * *'
Copy Code
Enable monit – tool for managing and monitoring Unix systems
ENABLE_MONIT=1
Copy Code
If enabled (the 1 value is set) – install (if local box) and configures RabbitMQ Server (messaging system) for the vCloud support.
ENABLE_RABBITMQ=1
Copy Code
Rotate transactions’ log files created more then
TRANS_LOGS_ROTATE_TIME
Copy Code
day(s) ago
TRANS_LOGS_ROTATE_TIME=30
Copy Code
Maximum allowed for uploading file size in bytes.
MAX_UPLOAD_SIZE=1073741824
Copy Code
Timeout before ping Redis Server to check if it is started. Default is 5 sec.
REDIS_PING_TIMEOUT=5
Copy Code
# 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
Copy Code
SSL_CERT_COUNTRY_NAME=UK
SSL_CERT_ORGANIZATION_NAME='OnApp Limited'
SSL_CERT_ORGANIZATION_ALUNITNAME='OnApp Cloud'
SSL_CERT_COMMON_NAME=`hostname --fqdn 2>/dev/null`
# SSLCertificateFile, SSLCertificateKeyFile Apache directives’ values
# ssl_certificate, ssl_certificate_key Nginx directives’ values
SSLCERTIFICATEFILE=/etc/pki/tls/certs/ca.crt
SSLCERTIFICATECSRFILE=/etc/pki/tls/private/ca.csr
SSLCERTIFICATEKEYFILE=/etc/pki/tls/private/ca.key
# * PEM-encoded CA Certificate (if custom one exists)
# SSLCACertificateFile, SSLCertificateChainFile Apache directives’ values
# ssl_client_certificate Nginx directives’ values
SSLCACERTIFICATEFILE=
SSLCERTIFICATECHAINFILE=
# SSLCipherSuite, SSLProtocol Apache directives’ values
# ssl_ciphers, ssl_protocols Nginx directives’ values
SSLCIPHERSUITE=
SSLPROTOCOL=
# vi /onapp/onapp-cp.conf
Copy Code
5.Then, run the Control Panel installer.
#> /onapp/onapp-cp-install/onapp-cp-install.sh -i SNMP_TRAP_IPS
Copy Code
6.Install CloudBoot dependencies.
#> yum install onapp-store-install
Copy Code
#> /onapp/onapp-store-install/onapp-store-install.sh
Copy Code
7.Then, install OnApp license to activate the Control Panel.
Enter a valid license key via the Web UI.
Your default OnApp login is admin/changeme. You can change the password via the Control Panel’s Users and Groups menu in the Control Panel.
8.Once you have entered a license it can take up to 15 minutes to activate.
Finally, restart the OnApp service:
#> service onapp restart
Copy Code
[Need help with the process? We’d be happy to assist]
Conclusion
In short, today we saw how our Support Techs install Control Panel Server on OnApp.
.
0 Comments