Web Hosting Resource Manager::AllocateDedicatedWebServer
This procedure allocates a dedicated Web server to a specified organization.
Arguments
Input argument | Required | Description |
---|---|---|
<org> |
Yes |
The LDAP path of the owning organization. |
<serverClassName> |
Yes |
The server class group to select the server candidate from. |
<algorithm> |
Yes |
Defines the server candidate selection behavior. The allowed values are (note these are case sensitive):
|
<preferredDomainController> |
Yes |
|
<serverName> |
No |
The name of the IIS Web Server. Overrides automatic selection behavior. However the specified server is still evaluated to see if it has been added to Resource Manager, has the necessary resources to satisfy the request, is a member of the specified server class, and is set with a shared flag = 0.
Note
Despite the override of automatic selection behavior, you are still required to provide the <algorithm> parameter in the request.
|
<container> |
No |
A starting LDAP container to look for the server in. The procedure performs an LDAP search to resolve the <server>/<serverName> to the Active Directory computer object. You can improve the performance of this search by specifying a default container (e.g. LDAP://CN=Computers,DC=fabrikam,DC=Com). |
Output Argument
The server selected for the allocation. For example:
<server>
<GUID>AFF7B1E1DF90A042BABA475A5D5E155D</GUID>
<serverName>WEB01</serverName>
</server>
Remarks
Access Level
Private.
Provisioning Steps
Find resources to satisfy request
Allocate the specified Web site from Resource Manager
Server Selection Behavior
All IIS Web Server resources are retrieved (if serverName is specified, only this resource is retrieved) if shared = 0 and they are not already allocated to another owner
Discard any that are not members of the specified serverClassName
Rank the server candidates by algorithm (level or tightpack) based on number of free Web sites.
Rank the server candidates by algorithm (level or tightpack) based on the amount of free megabytes
Select the top candidate and allocate the Web site.
Security
- Impersonate Caller.
Note
The access level of this procedure is private. It is intended to be called from other namespaces that perform their own security checks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="Web Hosting Resource Manager" procedure="AllocateDedicatedWebServer" impersonate="1">
<executeData>
<org>LDAP://OU=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</org>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
<algorithm>level</algorithm>
<serverClassName>IISWebServerBasic</serverClassName>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
No example XML response.
Applies To
Web Hosting Resource Manager Namespace for:
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting version 3.5
Windows-based Hosting for Applications version 1.0