Cloud with Redhat OpenShift Flex

Revision as of 13:12, 4 May 2014 by Gpaint (talk | contribs)

En verysmall.png Page waiting to complete. To complete, create an account, go back and clic on "Modify".
Fr verysmall.png Page en attente d'être complété. Pour compléter, créez un compte, revenez et cliquez sur "Modifier".
Es verysmall.png Página a completar. Para completarla, cree una cuenta, vuelva a la página y haga clic en "editar"
De verysmall.png Seite wartet auf Vervollständigung. Um zu helfen, erstelle ein Konto, gehe zurück und klicke auf "Bearbeiten".
Cn verysmall.png 待完成,欲帮助完成,注册帐号,点击“编辑"
Jp verysmall.png ページは未完成の状態です。完成させるにはアカウントを作成し、ページに戻って「編集」をクリックして下さい。

This page is a tutorial to explain how to install Dolibarr ERP-CRM on the Redhat OpenShift Flex Platform www.openshift.com

Image1
Url openshift.JPG

A little about OpenShift.

OpenShift Platform as a Service

OpenShift is Red Hat's Platform-as-a-Service (PaaS) that allows developers to quickly develop, host, and scale applications in a cloud environment. With OpenShift you have choice of offerings, including online, on premise, and open source project options.

OpenShift provides help to build and deploy web applications, mobile backends, service-oriented architectures, and get your favorite services.

Openshfit works with Gears and Cartridges, which are terms with which we have to familiarize ourselves.

What's a Gear?
A gear is a resource-constrained container that runs one or more user-specified software stacks, also known as cartridges. Each gear has a limited amount of RAM and disk space. If an application needs more resources, it can be configured to automatically use more gears.

How Do Gears Work?
Let's look at an example Drupal-based app running on OpenShift. We can estimate the needs and costs of the app at different stages. 15 pages/second Hundreds of articles ~ 50k visitors per month 3 Small Gears Free plan

As we see, a free plan, it may be sufficient for a small or medium company. For larger companies, you can switch to the next plan.

In OpenShift, we have two possibilities, to launch Dolibarr.

1 -. As developers, it gives us the ability to extend or create your own modules.
2 -. As entrepreneurs, it gives us the opportunity to put into production our Dolibarr.

Advantages offered OpenShift.

It is a secure site, which is accessed through SSH.

It is scalable Application scaling enables your application to react to changes in traffic and automatically allocate the necessary resources to handle your current demand. The OpenShift infrastructure monitors incoming web traffic and automatically brings copies of your web cartridge online to handle requests.

It gives total control on our database to connect remotely via a GUI client HeidySQL.

If opt for MySql, we feature the InnoDB engine, essential for transactions.

It gives us the possibility to share SSL Certificates RedHat or customize our own SSL, if you have one. Essential to send our data both login or bank transfers, encrypted and secure.


Create an account

Click in SING UP

 

Fill our data to create an account. Click in Sign Up

They will send an email to your email account to confirm. Click in Verify your Account.

Click LOG IN back and show us the initial aspect of our console applications.

Image 4
 

Click in Create your first application now

Choose a web programming cartridge

Image 5
 

1. Choose a type of application

 

2. Configure the application.

It is important to define the domain name, for this tutorial well, we used sdme. The domain, you cannot change it unless, we delete all our applications and start again from scratch and that is something that nobody wants.

Also, we will have to report, if we have an external git repository with our code.

Here comes the fun part.

In scaling change to Scale with webtraffic.

The creation of this application, used a Gear of the 3 that we have, indicates precisely next to the Create Application button.

Click in Create Application.


When the application is scalable, you cannot add more Cartridges, the Gear. For example we do want to use MySQL, you must go apart, another Gear.
















Create an instance/domain

Submit Dolibarr files

Run Dolibarr install Wizard