Ce sujet n'a pas encore été évalué - Évaluez ce sujet

Web Deploy webServer Provider

Mis à jour: août 2009

S'applique à: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

webServer

The webServer provider synchronizes two IIS 7 Web servers.

Example

msdeploy -verb:sync -source:webServer -dest:webServer,computerName=WebServer1

The webServer provider returns all the contents of a Web server or synchronizes its contents from a source Web server to a destination Web server. The webServer provider can be used with IIS 7 or IIS 7.5 Web servers. webServer uses the following providers to implement its functionality. For more information about each of these, see the related links in the See Also section.

  • appHostConfig

  • appHostSchema

  • cert

  • contentPath

  • gacAssembly

  • machineConfig32

  • machineConfig64

  • rootWebConfig32

  • rootWebConfig64

In addition, the webServer provider includes server level registry keys and installed components from the source server.

To copy only the configuration settings from server to server, but not the Web content, include -disableLink:ContentExtension in your Déploiement Web command. For more information about link extensions, see Web Deploy Link Extensions.

WarningAvertissement
The getDependencies method will not show FTP Server as an IIS 6.0 dependency if you specify webServer60 or webServer for the -source argument. Instead, you must use the metaKey provider, as in the following example.

msdeploy -verb:getDependencies -source:metaKey=lm/msftpsvc -xml

Example usages

1) Display an IIS 7.5 Web server configuration and registry paths.

msdeploy -verb:dump -source:webServer

2) Synchronize an IIS 7 Web server between two computers.

msdeploy -verb:sync -source:webServer -dest:webServer,computerName=Server2

Voir aussi

Cela vous a-t-il été utile ?
(1500 caractères restants)

Ajouts de la communauté

AJOUTER
© 2013 Microsoft. Tous droits réservés.