エクスポート (0) 印刷
すべて展開

Deploying Large Deployments

更新日: 2013年10月

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.

    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.

参照

表示:
© 2014 Microsoft