sugarcrm meets azure

8

Click here to load reader

Upload: toshiya-tsuru

Post on 28-May-2015

1.010 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: SugarCRM meets Azure

SugarCRM (will) meets Azure

SugarCRMはAzureの夢を見るか!?SugarCRMはAzureの夢を見るか!?

Toshiya TSURU <[email protected]>

Page 2: SugarCRM meets Azure

Azure全体像Azure全体像Windows Live 

SQL ServerIDと連携

SQL Server

BizTalkのAzure版

1 アプリケーションの実行1.アプリケーションの実行2.ストレージ

Wi d A Pl tf デベロ パ センタWindows Azure Platform デベロッパー センターhttp://msdn.microsoft.com/azure/default.aspx

Page 3: SugarCRM meets Azure

今回の構成今回の構成

○ オンプレミスサーバでSugarCRMを動かしつつ○ SQL Azure をDBMSとしてつかう○ SQL Azure をDBMSとしてつかう

Page 4: SugarCRM meets Azure

必要なもの必要なもの

• SUGARCRM                       >= 5.5– Windows 2008, MSSQL 2008 公式サポート!, Q 公式サポ

• Microsoft SQL Server Driver for PHP >= 1.1– http://sqlsrvphp.codeplex.com/p q p p p

• SQL Azureのアカウント• SQL Azure のアカウント

– http://sql.azure.com/

Page 5: SugarCRM meets Azure

必要なこと必要なこと

S C 0 C2インスト ル SQ S 2008 ( )• SugarCE‐5.5.0RC2 インストール on SQL Server 2008 m(_ _)mhttp://www2.quickwork.jp/i‐75.html

• インストーラ(install/checkDBSettings.php, install/performSetup php )の書き換えinstall/performSetup.php ...)の書き換え

• データベース周りの書き換え(include/database/ SqlsrvHelper.php)SqlsrvHelper.php)

<?php…// Removed php sqlsrv install support until the driver support is out of beta status// p p_ q pp pp//if(function_exists('sqlsrv_connect') && !function_exists('mssql_connect')){// $_SESSION['mssql_type'] = 'sqlsrv';//} …?>?>

Page 6: SugarCRM meets Azure

結果結果

あ ず完 う 動く• インストールとりあえず完了、かろうじて動く。

<?php…'db_mssql_force_driver' => 'sqlsrv','dbconfig' =>dbconfig => array ('db_host_name' => 'tcp:host.database.windows.net','db_host_instance' => '','db_user_name' => 'username@host','db d' > ‘ d''db_password' => ‘password','db_name' => 'sugar55','db_type' => 'mssql',

),…?>

Page 7: SugarCRM meets Azure

SugarCRMそのものをAzureでSugarCRM そのものをAzureで

:Windows Azure SDK for PHPhttp://phpazure.codeplex.com/

Page 8: SugarCRM meets Azure

SugarCRM Announces CRM Applications on Windows Azure

• “Los Angeles, CA ‐ November 17, 2009 – SugarCRM ... will offer its CRM applications on the Windows Azure to enable its customers and value‐added resellers to benefit from the real‐time scalability, high availability and on‐demand infrastructure of Microsoft Corp.'s cloud platform for web applications and services.”http://www.sugarcrm.com/crm/about/press‐releases/20091117‐azure.html