JoinWebFarm - Solution Sites Routine
This sub adds the current Web server to the Web farm, if the computer is not already recognized as being so. This routine will run in the case where a site was replicated using Microsoft Application Center 2000, or other cases where the site was not installed using Commerce Site Packager.
This routine updates the Commerce Server Administration database and Data Warehouse as necessary.
To use this routine, the accounts must have access to the Web Users role. This role is designed to support the automatic additions of Web servers, for example, in a Web farm scenario: when the Commerce Server application first starts on the new Web server (for example, a user connects to the Web server or gets load-balanced to it), and global.asa starts, the Web server is added automatically to the Administration database.
By default, Everyone is added to the Web Users role. You must change this as follows:
- Remove Everyone.
- Add the Anonymous account (IUSR_<computername> is the default).
- Add the Launch IIS Process account (IWAM_<computername> is the default).
- Add the accounts of other users who will be allowed to connect to the site.
For more information about how JoinWebFarm is used, see Adding Web Server without Site Packager. For security information about the Config COM+ application, see Important Security Notes.
Definition
Sub JoinWebFarm(
byRef iWebServerCount)
Defined in File
include\global_siteconfig_lib.asp
Routines Called
Called By
Main (include\global_main_lib.asp)
Copyright © 2005 Microsoft Corporation.
All rights reserved.