Web Deployment Tool for Drupal sites

1,047 views

Published on

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.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,047
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Web Deployment Tool for Drupal sites

  1. 1. Web Deployment Tool for Drupal sites Alessandro Pilotti @alexpilotti MVP ASP.NET / IIS MCSD, MCAD, MCSE, MCDBA, MCT Red Hat Certified Engineer
  2. 2. Web Deploy Web Deploy (Web Deployment Tool) simplifies:  Migration, management, deployment of  IIS Web servers, Web applications and Web sites Command line tool (msdeploy) IIS Manager module
  3. 3. WebDeploy Features  Web Application Packaging  Application or site, including DBs  ACLs, COM, GAC and registry settings  Sources and destinations can be  Live servers  Zip files  Deployment  Administrative rights not required  Integration with WMSVC for remote deployment  IIS server synchronization  Entire server / site / application  Differential  Detects missing dependencies
  4. 4. Installation Web 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/
  5. 5. Providers Providers process specific source or destination data. Examples:  appHostConfig • dbFullSql  appHostSchema • dirPath  • iisApp appPoolConfig • package  contentPath • webApp  createApp • webServer  dbMySQL
  6. 6. Operations Operations are actions executed by WebDeploy on given providers  dump  sync  delete  GetDependencies  GetSystemInfo
  7. 7. 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,pass word=<password>,tempAgent=true  Deploys binaries on the target computer using WMI  Ensure that winmgmt is started and its firewall exception is enabled
  8. 8. WMSVC – Install IISDeployment handler!
  9. 9. Scenario Export / Import packages via IIS Manager Export / Import packages via CLI Synchronize web servers  WFF uses Web Deploy! Migrate from IIS 6.0 to IIS 7.x Database migration / synchronization
  10. 10. IIS 7 <-> IIS 7 Push  msdeploy -verb:sync -source:apphostconfig="Default Web Site" -dest:apphostconfig="Default Web Site",computername=Server1 Pull  msdeploy -verb:sync -source:apphostconfig="Default Web Site",computername=Server1 - dest:apphostconfig="Default Web Site"
  11. 11. IIS 6 <-> IIS 7 Source (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

×