(0) exportieren Drucken
Alle erweitern

Deploying Large Deployments

Letzte Aktualisierung: Oktober 2013

If your deployment is too large to be contained in the default approot folder, you can use a local storage resource as the deployment root folder for your JDK and application server.

To use a local storage resource as the deployment root folder for large deployments

  1. Create a new local storage resource. The name of the resource does not matter. Storage resources are defined at the role level. The quickest way to access the local storage configuration dialog, from which you could create a new local storage resource, is by using the following steps: Right-click the role in the Project Explorer view (expand your Windows Azure project node if you don’t see the role), click Windows Azure, and then click Local Storage. Within the Local Storage dialog, click Add to create a new local storage resource.

  2. Set the desired size to at least 2048 MB (anything less may cause the same file size problems as you would encounter in the approot).

  3. Ensure that Clean the contents when the role instance is recycled is checked; this will help prevent the deployment’s startup logic from running into conflicts with pre-existing files in the resource when the role instance is recycled.

  4. Ensure that the Environment variable storing the resource’s directory path after deployment value is set to the string DEPLOYROOT.

    Your local storage resource dialog will look similar to the following.

    Lokale Speicherressource für DEPLOYROOT

Alternatively, if use DEPLOYROOT as the name of your local resource and you do not change the automatically generated environment variable name (which will be set to DEPLOYROOT_PATH in that case), that would work for your application as well.

Additional information about creating a local storage resource can be found at Local storage properties.

Siehe auch

Microsoft führt eine Onlineumfrage durch, um Ihre Meinung zur MSDN-Website zu erfahren. Wenn Sie sich zur Teilnahme entscheiden, wird Ihnen die Onlineumfrage angezeigt, sobald Sie die MSDN-Website verlassen.

Möchten Sie an der Umfrage teilnehmen?
Anzeigen:
© 2014 Microsoft