Ektron CMS400.NET on Three Machines
This section examines a Web site driven by Ektron CMS400.NET and three Web servers.
Setting Up Multiple Ektron CMS400.NET Web Sites
To run an identical Ektron CMS400.NET Web site on three machines, you must use the same database for each site. To do this:
- Install the Ektron CMS400.NET .exe file on each Web server that will be part of the Web site.
Note
Refer to the Ektron CMS400.NET Setup Manual for additional information on performing an install.
- Identify one installed database as your master database. Each Web site points to this database for content, users, and load balance paths.
- Create an ODBC or OLE DB connection to that database, and edit the web.config file for each Web site to use that DSN, Provider string, or file string.
If performed correctly, each Ektron CMS400.NET Web site on each Web server uses the same database.
Setting Up Virtual Directories
Through Internet Information Services (IIS) on all three Web servers, create virtual directories for each image or file folder to be used with your load balancing model. In addition, it is recommended that you change the default UploadedImages and UploadedFiles' directories to virtual directories as well.
For our example, we create the following virtual directories on all Ektron CMS400.NET Web servers.
Virtual Directory |
Description |
UploadedImages |
Virtual directory that points to the default UploadedImages folder installed by Ektron CMS400.NET on the Web Server. |
UploadedFiles |
Virtual directory that points to the default UploadedFiles folder installed by Ektron CMS400.NET on the Web server. |
LB_Images1 |
Virtual directory that points to the UploadedImages folder installed on the second Ektron CMS400.NET Web server. |
LB_Files1 |
Virtual directory that points to the UploadedFiles folder installed on the second Ektron CMS400.NET Web server. |
LB_Images2 |
Virtual directory that points to the UploadedImages folder installed on the third Ektron CMS400.NET Web server. |
LB_Files2 |
Virtual directory that points to the UploadedFiles folder installed on the third Ektron CMS400.NET Web server. |
These four identical virtual directories must exist in the IIS console for each Web server machine in your load balancing model.
Creating a Virtual Directory
Refer to Creating a Virtual Directory for information about creating virtual directories in IIS.
Setting Up Ektron CMS400.NET Load Balancing
With the completion of setting up the virtual directories on both Web server machines, you are ready to create the load balance paths in Ektron CMS400.NET.
Review
Before we begin, let's review the virtual directories that have been created:
Computer1 |
Virtual Directory |
Points to... |
UploadedImages |
C:\InetPub\wwwroot\400Sample\UploadedImages |
UploadedFiles |
C:\InetPub\wwwroot\400Sample\UploadedFiles |
LB_Images1 |
\\{Computer2}\C:\InetPub\wwwroot\400Sample\UploadedImages |
LB_Files1 |
\\{Computer2}\C:\InetPub\wwwroot\400Sample\UploadedFiles |
LB_Images2 |
\\{Computer3}\C:\InetPub\wwwroot\400Sample\UploadedImages |
LB_Files2 |
\\{Computer3}\C:\InetPub\wwwroot\400Sample\UploadedFiles |
Computer2 |
Virtual Directory |
Points to... |
UploadedImages |
C:\InetPub\wwwroot\400Sample\UploadedImages |
UploadedFiles |
C:\InetPub\wwwroot\400Sample\UploadedFiles |
LB_Images1 |
\\{Computer1}\C:\InetPub\wwwroot\400Sample\UploadedImages |
LB_Files1 |
\\{Computer1}\C:\InetPub\wwwroot\400Sample\UploadedFiles |
LB_Images2 |
\\{Computer3}\C:\InetPub\wwwroot\400Sample\UploadedImages |
LB_Files2 |
\\{Computer3}\C:\InetPub\wwwroot\400Sample\UploadedFiles |
Computer3 |
Virtual Directory |
Points to... |
UploadedImages |
C:\InetPub\wwwroot\400Sample\UploadedImages |
UploadedFiles |
C:\InetPub\wwwroot\400Sample\UploadedFiles |
LB_Images1 |
\\{Computer1}\C:\InetPub\wwwroot\400Sample\UploadedImages |
LB_Files1 |
\\{Computer1}\C:\InetPub\wwwroot\400Sample\UploadedFiles |
LB_Images2 |
\\{Computer2}\C:\InetPub\wwwroot\400Sample\UploadedImages |
LB_Files2 |
\\{Computer2}\C:\InetPub\wwwroot\400Sample\UploadedFiles |
Setting Up Load Balance Paths in Ektron CMS400.NET
Refer to Setting Up Load Balance Paths in Ektron CMS400.NET for information about how to configure Ektron CMS400.NET for load balancing.