11
Web Deployment Tool for Drupal sites Alessandro Pilotti @alexpilotti MVP ASP.NET / IIS MCSD, MCAD, MCSE, MCDBA, MCT Red Hat Certified Engineer

Web Deployment Tool for Drupal sites

Embed Size (px)

DESCRIPTION

In this webcast you will learn about Web Deployment tool for Drupal sites, which simplifies the migration, management and deployment of IIS Web servers, Web applications and Websites. Through out the webcast you will see some very useful scenarios for deploying and migrating Drupal websites and database across IIS installations.

Citation preview

Page 1: Web Deployment Tool for Drupal sites

Web Deployment Tool for Drupal sites

Alessandro Pilotti@alexpilotti

MVP ASP.NET / IIS

MCSD, MCAD, MCSE, MCDBA, MCTRed Hat Certified Engineer

Page 2: Web Deployment Tool for Drupal sites

Web DeployWeb Deploy (Web Deployment Tool) simplifies:

Migration, management, deployment of IIS Web servers, Web applications and Web sites

Command line tool (msdeploy)

IIS Manager module

Page 3: Web Deployment Tool for Drupal sites

WebDeployFeatures

Web Application PackagingApplication or site, including DBsACLs, COM, GAC and registry settingsSources and destinations can be

Live servers Zip files

DeploymentAdministrative rights not requiredIntegration with WMSVC for remote deployment

IIS server synchronizationEntire server / site / applicationDifferentialDetects missing dependencies

Page 4: Web Deployment Tool for Drupal sites

InstallationWeb Deployment Tool

IIS Manager UI Module Remote Agent Service IIS 7.x Deployment Handler

Service msdepsvc Net start msdepsvc sc config msdepsvc start=auto

Default URL http://+/MSDEPLOYAGENTSERVICE/

For a custom URL, use the following setup options: msiexec /i <msi_filename> /passive ADDLOCAL=ALL

LISTENURL=http://+:8080/MSDEPLOY2/

Page 5: Web Deployment Tool for Drupal sites

ProvidersProviders process specific source or destination

data.

Examples:appHostConfigappHostSchemaappPoolConfigcontentPathcreateAppdbMySQL

• dbFullSql• dirPath• iisApp• package• webApp• webServer

Page 6: Web Deployment Tool for Drupal sites

OperationsOperations are actions executed by WebDeploy

on given providersdumpsyncdeleteGetDependenciesGetSystemInfo

Page 7: Web Deployment Tool for Drupal sites

Remote Access – 3 options Administrators can use

Web Deployment Agent Service (msdepsvc) Msdeploy syntax: computername=serverName URL: http://serverName/MSDEPLOYAGENTSERVICE

Non administrators, to which site or application management has been delegated, can use Web Management Service (wmsvc) Msdeploy syntax: wmsvc=serverName, username=xxx,password=xxx URL: https://serverName:8172/msdeploy.axd

WebDeploy “on demand” avoids the need of installing msdepsvc on the target computer, e.g.: msdeploy -verb:sync -source:webserver -

dest:auto,computername=destinationComputer1,username=administrator,password=<password>,tempAgent=true

Deploys binaries on the target computer using WMI Ensure that winmgmt is started and its firewall exception is enabled

Page 8: Web Deployment Tool for Drupal sites

WMSVC – Install IIS Deployment handler!

Page 9: Web Deployment Tool for Drupal sites

ScenarioExport / Import packages via IIS Manager

Export / Import packages via CLI

Synchronize web serversWFF uses Web Deploy!

Migrate from IIS 6.0 to IIS 7.x

Database migration / synchronization

Page 10: Web Deployment Tool for Drupal sites

IIS 7 <-> IIS 7Push

msdeploy -verb:sync -source:apphostconfig="Default Web Site" -dest:apphostconfig="Default Web Site",computername=Server1

Pullmsdeploy -verb:sync -

source:apphostconfig="Default Web Site",computername=Server1 -dest:apphostconfig="Default Web Site"

Page 11: Web Deployment Tool for Drupal sites

IIS 6 <-> IIS 7Source (IIS 6)

msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:package=c:\Site1.zip

Destination (IIS 7.x) msdeploy -verb:sync -source:package=c:\Site1.zip -

dest:metakey=lm/w3svc/1

Using the web deployment agent: Push (run on the source server)

msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:metakey=lm/w3svc/1,computername=Server1

Pull (run on the destination server)msdeploy -verb:sync

-source:metakey=lm/w3svc/1,computername=Server1 -dest:metakey=lm/w3svc/1