sugarcrm meets azure
TRANSCRIPT
SugarCRM (will) meets Azure
SugarCRMはAzureの夢を見るか!?SugarCRMはAzureの夢を見るか!?
Toshiya TSURU <[email protected]>
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
今回の構成今回の構成
○ オンプレミスサーバでSugarCRMを動かしつつ○ SQL Azure をDBMSとしてつかう○ SQL Azure をDBMSとしてつかう
必要なもの必要なもの
• 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/
必要なこと必要なこと
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';//} …?>?>
結果結果
あ ず完 う 動く• インストールとりあえず完了、かろうじて動く。
<?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',
),…?>
SugarCRMそのものをAzureでSugarCRM そのものをAzureで
:Windows Azure SDK for PHPhttp://phpazure.codeplex.com/
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