1. Trang chủ
  2. » Công Nghệ Thông Tin

drupal on windows azure

21 170 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 21
Dung lượng 1,4 MB

Nội dung

[...]... (http://www.opensource.org/licenses/bsdlicense.php) * @version SVN: 1.0 * @link * */ /** Microsoft_WindowsAzure_Storage_Blob */ require_once'Microsoft/WindowsAzure/Storage/Blob.php'; / /Windows Azure BLOB storage account name define( "AZURE_ STORAGE_ACCOUNT", "YOUR_ACCOUNTNAME"); / /Windows Azure BLOB storage container name define( "AZURE_ STORAGE_CONTAINER", "YOUR_STORAGECONTAINERNAME"); / /Windows Azure BLOB storage secret key define( "AZURE_ STORAGE_KEY",... $databases['default']['default']['username'] = azure_ getconfig('sql _azure_ username'); $databases['default']['default']['password'] = azure_ getconfig('sql _azure_ password'); $databases['default']['default']['host'] = azure_ getconfig('sql _azure_ host'); $databases['default']['default']['database'] = azure_ getconfig('sql _azure_ database'); With Drupal running on Windows, and with the customizations to Drupal and PHP outlined above,... PHP for Windows Azure For more information, see Running Memcached on Windows Azure for PHP Here is also an example of how to get Memcached working in Windows Azure using a plugin: Windows Azure Memcached plugin Here are several design and management considerations related to caching Area Design and Implementation Configuration Performance and Monitoring Consideration For a technology like Memcached, will... can directly connect to machines that are running the Drupal site Windows Azure diagnostics allows you to collect performance counters and logs off of the web role instances that are running the Drupal site Although there are many options for configuring diagnostics in Azure, the best solution with Drupal is to use a diagnostics configuration file The following configuration file demonstrates some... Applications by Increasing or Decreasing the Number of Role Instances Note that some configuration changes can cause your existing web role instances to recycle You can choose to handle this situation by applying the configuration change and continue running This is done by handling the RoleEnvironment.Changing event For more information see, How to Use the RoleEnvironment.Changing Event A common question... the Drupal admin panel Copy Media Files to Blob Storage The main challenge in copying media files to Windows Azure Blob Storage was in handling Linux file name conventions that are not supported on Windows While Linux supports a colon (:) as part of a file name, Windows does not Consequently, when the zip archive of media files was unpacked on Windows, file names were automatically changed: all colons... backup location As with SQL Database, bandwidth and transaction charges apply to a backup script like this Scalability Drupal sites on Windows Azure can scale as load increased through typical strategies of scale-up, scaleout, and caching The following sections describe the specifics of how these strategies are implemented in Windows Azure Typically you make scalability decisions based on monitoring and... Windows Azure Diagnostics Configuration File This information is stored locally on each role instance and then transferred to Windows Azure storage per a defined schedule or on- demand See Getting Started with Storing and Viewing Diagnostic Data in Windows Azure Storage Various monitoring tools, such as Azure Diagnostics Manager, help you to more easily analyze diagnostic data Monitoring the performance... the caching strategy is important in scaling Drupal applications on Windows Azure One reason for this is that SQL Databaseimplements throttling mechanisms to regulate the load on any one database in the cloud Code that uses SQL Databaseshould have robust error handling and retry logic to account for this For more information, see Error Messages (Windows Azure SQL Database) Because of the potential... For more information about setting up diagnostic configuration files, see How to Use the Windows Azure Diagnostics . windows- azure- stream-wrapper-name=azurepublic windows- azure- storage-account- name =azure_ storage_account_name windows- azure- storage-account- key =azure_ storage_account_key windows- azure- blob-container- name =azure_ blob_container_name. runs on PHP. Windows Azure offers a flexible platform for hosting, managing, and scaling Drupal deployments. This paper focuses on an approach to hosting Drupal sites on Windows Azure, based on. typical Drupal deployment on Windows Azure. The following diagram displays the basic architecture of Drupal running on Windows and IIS7. At its core, Drupal 7 is a PHP application. Drupal

Ngày đăng: 20/10/2014, 14:06