Install OnApp Control Panel Server



 OnApp Cloud platform offers a comprehensive set of cloud management, storage, virtualization management, networking, billing, provisioning, DevOps, and automation tools. All cloud functionality of OnApp is controlled via a customizable HTML5 web interface and is also accessible via OnApp’s full REST API. 


OnApp provides a fully customizable HTML5 control panel that allows self-service, streamlines workload management, and uses GUI controls and intuitive wizards to make cloud management and provisioning as efficient and straightforward as possible. 


Users can control everything from the system architecture to virtual server root access via the user interface (UI). In this tutorial, we will learn the simple steps with required scripts and commands to install OnApp Control Panel server.


Prerequisites

  • Ready environment for installation.


  • If MySQL is already installed, use the corresponding option for the Control Panel installer.

  • Make sure to redirect the installer output to the ./onapp-cp-install.log file.

  • Redirect the installer critical errors to the /var/log/messages folder.

  • OnApp provides a pre-built OVA template to install their Control Panel on another virtualization environment (like AWS, VMware, Hyper-V, etc.).

  • It is required to have 4 virtual CPU(s) processors, a VMXNET 3 network adapter, a 250GB hard disk drive (thin-provisioned), and a 16384MB of memory.

  • Before beginning the installation, disable SELinux.

How To Install the OnApp Control Panel server

To Install OnApp Control Panel Server. Run the following procedure:


  1. First of all, Update your server system and disable SELinux.


# yum update


  1. Download the OnApp YUM repository file using the following command.


# rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-7.0.noarch.rpm


  1. Install the OnApp Control Panel installer package.


# yum install onapp-cp-install


  1. Optionally, You can set custom configuration options for the Control Panel. It is important to set custom values before the installer script runs.


  1. Now, Next to execute the command to run the Control Panel installer


For CentOS 7:


# /onapp/onapp-cp-install/onapp-cp-install.sh -i SNMP_TRAP_IPS

 Use the steps from 6 to 9 only if you are using CloudBoot and/or OnApp Storage.


  1. Install CloudBoot dependencies and default ramdisk:


# yum install onapp-ramdisk-centos7-default


Depends on resource type, you should install onapp-ramdisk-DISTRO-FLAVOR package(s) where:


DISTRO: centos7

FLAVOR: kvm


Depends on the need of resource type, install only the corresponding package(s):


# yum install onapp-ramdisk-centos7-kvm


  1. Now run the following commands to configure and customize ramdisks:


# /onapp/onapp-store-install/onapp-store-install.sh


  1. Now you have to install an OnApp license to activate your OnApp Control Panel server. Enter a valid license key via the OnApp UI. After you enter a license key, it takes approximately 15-20 minutes to activate the key. Your default OnApp login credentials will be admin/changeme. You can change a password later via the “Users” menu from the Control Panel. 


  1. Now, Restart the OnApp service:


# service onapp restart


Perform the following step (10) only if you plan to deploy Accelerator.



   10. If you plan to configure an Accelerator, run the following command:


For all compute resources:


cd /onapp/interface

# rake hypervisor:messaging:configure


For certain compute resources only:


cd /onapp/interface

# rake hypervisor:messaging:configure['11.0.50.111 11.0.50.112']


To perform the configuration for a number of compute resources, separate their IP addresses with a space.


Perform the steps from 11 to 13 if there are compute resources added in the cloud.


    11. OnApp requires you to generate SSH keys to access various elements of the cloud. The script needs to be run on your Control Panel server. It overwrites any keys that   already exist, so if you have custom keys already installed, you need to add them again after running the script. You need to provide your login details to various servers during the script execution. Please follow the onscreen instructions.         


   12. If you install a new compute resource, connect to your Control Panel server via SSH, download, and run the script:


# wget http://downloads.repo.onapp.com/install-all-keys.sh

# /bin/sh install-all-keys.sh


   13. Update the authorized_keys file by running the following commands on the Control Panel server. If you add additional compute resources to an existing cloud. 


# ssh-copy-id -i /home/onapp/.ssh/id_rsa.pub root@HV_HOST_IP


   14. Only If you do not plan to install a dedicated backup server follow this process. Mount the locations for templates and backups. If you do not have a dedicated backup server, mount your template and backup repositories to compute resources. If your template and backup repositories are located on the Control Panel server, you can mount them as follows:


Add the repositories to /etc/exports on the Control Panel server and then restart the NFS service:


# /onapp/templates 192.168.10.0/24(rw,no_root_squash)

# /onapp/backups 192.168.10.0/24(rw,no_root_squash)


15. After installing the OnApp Control Panel server, You have to configure your Cloud Settings. 


  • When the configuration is completed, Control Panel will be available in both http and https protocols. For security reasons, we recommend either closing port 80 or opening port 443. The identity of the remotely connected server can be verified with significant confidence. 


  • It should be noted If you use a time zone with 30-minute or 45-minute offsets, you need to modify the configuration file /etc/crontab and change the startup time (rake vm:generate_hourly_stats) from 0th minute to 30th or 45th minute, depending on a time zone.


In the script, you should replace the line


0 * * * * onapp cd /onapp/interface; RAILS_ENV=production rake vm:generate_hourly_stats

With the below line

30 * * * * onapp cd /onapp/interface; RAILS_ENV=production rake vm:generate_hourly_stats


Conclusion

This guide presents the complete steps to install OnApp Control Panel server. We hope this guide was helpful.


If you have any questions feel free to contact us. Supportfly is the best server management company in India to boost the performance of your server instantly at an affordable price. We have a skilled and experienced support team to offer the world-class OnApp server management service. 


SHARE

Manish Lakhera

Best Server Support Management Company

  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment