Adding Web Servers Without Site Packager

You can add Web servers to an application without using Commerce Server Site Packager. First, copy the files of the application to the server and configure the Internet Information Services (IIS) 5.0 application on the new server. You can use Microsoft Application Center 2000 for this. The first time the application is loaded on the new server, the new server will be added as a Web server under the appropriate application in the Commerce Server Administration database. The function that updates the Administration database is JoinWebFarm, which is included in the Commerce Server Solution Sites. It is located in the Global_siteconfig_lib.asp file, which is located in the include folder of unpacked Commerce Server Solution Sites.

After you add the Web server to the application, you must synchronize the following Web server properties in Commerce Server with the properties in IIS:

  • TCP port

  • SSL port

  • Internet Protocol (IP) address

  • Log file path

  • Log file period

To synchronize the properties, either manually update the values in Commerce Server Manager, or click the Synchronize Values button on the Web Servers tab in the Application Properties dialog box. For more information, seeĀ Configuring an Application.

When you click Synchronize Values, Commerce Server copies the properties from IIS at the application level and the properties for all the Web server objects below the application. For the properties at the application level (TCP port and SSL port), Commerce Server reads the values for the first Web server. It assumes that the Web servers have all been configured identically, which must be the case for a Web farm to operate correctly.

Because the JoinWebFarm code uses the SiteConfig object, it works only if the user has permissions to use SiteConfig. If you previously denied permission to SiteConfig, you can use the Windows Registry Editor to restore permission for this object. For more information, seeĀ Limiting Access to the Administration Database.

Ee785207.note(en-US,CS.10).gif Note

  • Application Center 2000 synchronizes files and IIS settings, but does not update the Commerce Server Administration database, which is why an additional script including the JoinWebFarm function must be used. For more information about Application Center 2000, see the Application Center 2000 documentation.


All rights reserved.