Web Hosting Resource Manager Namespace

This section provides the details of the application programming interface (API) for the Web Hosting Resource Manager namespace included with the Microsoft Provisioning System (MPS) in the .

Overview

The Web Hosting Resource Manager namespace provides business logic regarding the definition and management of Internet Information Services (IIS) Web Server resources in shared hosting scenarios. This includes:

  • Adding and Removing IIS Web Servers.

  • Classification of shared IIS Web Servers such as Premium (2 CPUs) or Standard (1 CPUs).

  • Allocation of Web sites to servers and leveling of these Web sites across available systems.

Setup

The Web Hosting Resource Manager namespace installs as a Microsoft Provisioning Framework (MPF) Namespace in MPS Provisioning Manager. It may require the additional execution of a procedure to set up permissions, credentials, or perform additional initialization configuration.

Public Methods

Public Method Description

Web Hosting Resource Manager::AddServers

Adds IIS Web Servers to the Resource Manager IIS Web Server resource pool.

Web Hosting Resource Manager::ModifyServers

Modifies IIS Web Servers in the Resource Manager IIS Web Server resource pool.

Web Hosting Resource Manager::RemoveServers

Removes IIS Web Servers from the Resource Manager IIS Web Server resource pool.

Web Hosting Resource Manager::AddServerClasses

Adds "Server Classes" resource groups. This allows for the grouping of Server resources by capability. For example, you might have a "Premium" server class that contains all dual processor servers with drive arrays.

Web Hosting Resource Manager::RemoveServerClasses

Removes server classes from Resource Manager. All IIS Web Servers must first be removed from the Server Class group for this procedure to succeed.

Web Hosting Resource Manager::CreateOrganizationQuota

Creates a IIS Web Server Web site and disk space quota for a specified organization.

Web Hosting Resource Manager::ModifyOrganizationQuota

Modifies a IIS Web Server Web site and disk space quota for a specified organization

Web Hosting Resource Manager::DeleteOrganizationQuota

Deletes an organization's Web site and storage quota.

Web Hosting Resource Manager::AllocateDedicatedWebServer

Allocates a dedicated Web server to a specified organization.

Web Hosting Resource Manager::DeallocateDedicatedWebServer

De-allocates a dedicated Web server from an organization and returns it to the resource pool.

Web Hosting Resource Manager::BeginAllocateWebSite

Allocates a Web site from the resource pool. The allocation is first checked against the organization's quota and then a server is selected from the pool.

Web Hosting Resource Manager::EndAllocateWebSite

Completes the allocation process for a Web site.

Web Hosting Resource Manager::ModifyWebSiteAllocation

Modifies a Web site size allocation.

Web Hosting Resource Manager::DeallocateWebSite

De-allocates a Web site from the resource pool.

Web Hosting Resource Manager::QueryAllServerClasses

Return a listing of all Defined IIS Web Server Classes.

Web Hosting Resource Manager::QueryAllServers

Returns a listing of all IIS Web Servers in the resource pool with capacity data.

Web Hosting Resource Manager::QueryServersByClass

Returns a listing of all IIS Web Servers in the resource pool that belong to a specified server class.

Web Hosting Resource Manager::QueryWebSitesByServer

Returns a listing of all Web sites allocated in the resource pool to a particular server.

Web Hosting Resource Manager::QueryDedicatedByOrganization

Returns a listing of all Web servers allocated in the resource pool to a particular organization.

Web Hosting Resource Manager::QueryWebSitesByOrganization

Returns a listing of all Web sites allocated in the resource pool to a particular organization.

Web Hosting Resource Manager::QueryOrganizationQuota

Returns capacity data for a specified organization.

Web Hosting Resource Manager::QueryAllOrganizations

Returns all organizations that have IIS Web Server quotas in resource manager.

Web Hosting Resource Manager::QueryWebSiteAllocation

Returns the allocation for a given Web site.

Web Hosting Resource Manager::InitializeRM

Initializes all resource, consumer, and group types.

Web Hosting Resource Manager::UnitializeRM

Un-initializes all resource, consumer, and group types. Note that the call will fail if the are resource types, consumer types, and mappings existing.

Applies To

  • 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