1 / 13

SugarCRM LAMP App Deployment Usecase

SugarCRM LAMP App Deployment Usecase. IBM Vnomic. Objective.

opa
Download Presentation

SugarCRM LAMP App Deployment Usecase

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SugarCRM LAMP AppDeployment Usecase IBM Vnomic

  2. Objective • Using an application which is simple, but also presents the most fundamental deployment challenges, which can be referred to when discussing TOSCA features and functionality, try to generate all the TOSCA artifacts required to deploy it, identifying and resolving necessary issues in the process • Iterate until we can deploy the application

  3. SugarCRM • Popular Open Source (community edition) CRM Business Application (v 6.1.5) • 2 Tier LAMP stack PHP • Installed in private and public clouds • Supports multiple databases • Can be deployed in 1 or 2 Tier topology

  4. SugarCRM Service Model SugarCRM Service WebServerTier DBServerTier Apache Web Server MySQL MySQL Client Endpoint Port 3306 SugarCRM App SugarCRM DB HTTP Client requires Application EndPoint HTTP Port 80 DocumentRoot:/SugarCRM PHP Module Database client requires client credentials, DB Name, host and port Admin Access and/or Management Access possibly over separate isolated networks with different client credentials Database content must be placed on storage of required capacity, availability and performance Zone1

  5. Deployment Artifacts

  6. SugarCRM Installation Model Apache Web Server ApacheRPMInstallation /etc/httpd/conf.d/httpd.conf SugarCRM App SugarCRMWebApplicationInstallation (rpm_httpd-2.2.3-31.el5.centos_app_SugarCE-Full-6.1.5.tar.gz located at: /var/www/html/ SugarCE-Full-6.1.5) ./config.php PHP Module PHPRPMInstallation /etc/php.ini /etc/httpd/conf.d/php.conf MySQL MySQLDatabaseRPMInstallation /etc/my.cnf SugarCRM DB MySQLDatabaseContentInstallation (rpm_mysql-5.0.77-4.el5_6.6_db_sugarcrm.tar.gz)

  7. SugarCRM Hierarchy Cloud Tier Tier VM VM OS OS Web Server MySQL SugarCRM DB SugarCRM App Requires PHP Module

  8. SugarCRM Deployment Model SugarCRM Deployment WebServer Tier Database Tier VM HTTP Client VM LB FW Network Network . . . Network VM Management Traffic Admin Client Mgmt Client Admin/Mgmt access requires bypassing the LB and specific FW configuration

  9. Topology Template – High Level ThoughtaboutusingDependsOn, but theymaybetoo different!?! Web Tier (GroupTemplate) DB Tier (GroupTemplate) PHP Module (PhpModule) SugarCRMApp (SugarCrmApp) SugarCRM DB (SugarCrmDb) DependsOn ConnectsTo HostedOn HostedOn HostedOn ApacheWebServer (ApacheWebServer) MySQL (MySQL) HostedOn HostedOn OS-Apache (OperatingSystem) OS-MySQL (OperatingSystem) HostedOn HostedOn VM-Apache (VirtualMachine) VM-MySQL (VirtualMachine) 9

  10. Topology Template – Alternative PHP Module (PhpModule) SugarCRMApp (SugarCrmApp) SugarCRM DB (SugarCrmDb) DependsOn ConnectsTo HostedOn HostedOn HostedOn ApacheWebServer (ApacheWebServer) MySQL (MySQL) HostedOn HostedOn OS-Apache (OperatingSystem) OS-MySQL (OperatingSystem) HostedOn HostedOn VM-Apache (VirtualMachine) VM-MySQL (VirtualMachine) HostedOn HostedOn Web Tier (Tier) DB Tier (Tier) 10

  11. Deployment Artifacts Web Tier (GroupTemplate) DB Tier (GroupTemplate) PHP Module (PhpModule) SugarCRMApp (SugarCrmApp) SugarCRM DB (SugarCrmDb) DependsOn ConnectsTo 5 1 2 HostedOn HostedOn HostedOn ApacheWebServer (ApacheWebServer) MySQL (MySQL) 3 4 HostedOn HostedOn OS-Apache (OperatingSystem) OS-MySQL (OperatingSystem) HostedOn HostedOn VM-Apache (VirtualMachine) VM-MySQL (VirtualMachine) 6 6 11

  12. Deployment Artifacts - Details • SugarCE-Full-6.1.5.tar.gz • mysql_db_sugarcrm.tar.gz • httpd-2.2.3-31.el5.centos (RPM) • mysql-server-5.0.77-4.el5_6.6 (RPM),mysql-5.0.77-4.el5_6.6 (RPM) • php53-5.3.3-1.el5_6.1 (RPM),php53-cli-5.3.3-1.el5_6.1 (RPM),php53-common-5.3.3-1.el5_6.1 (RPM),php53-mbstring-5.3.3-1.el5_6.1 (RPM),php53-imap-5.3.3-1.el5_6.1 (RPM) • VM image (e.g. RHEL 6.x) 12

  13. Issues • Need for a core set of basic Relationship Types, Node Types, and Deployment Artifacts • Representing endpoint and connection semantics in Service Templates • Representing deployment specific sets of Deployment Artifacts • Service Template validation

More Related