The easiest way to set up Chili!Soft ASP on more than one computer ("multi-machine Chili!Soft ASP") is to install Chili!Soft ASP separately on each computer in the configuration, and then modify the configuration files.
Important Note
If you make any of the changes described in this section--such as to the Chili!Soft configuration files--without prior authorization from Chili!Soft Customer support, you might void your eligibility for technical support.
Notes
- You cannot configure multi-machine Chili!Soft ASP on Linux or Cobalt platforms.
- Multi-threading mode is not available for multi-machine Chili!Soft ASP. You must run Chili!Soft ASP in multi-process mode in this configuration.
To do set up separate installations of multi-machine ChiliSoft ASP, use the following procedure.
To set up separate installations of multi-machine Chili!Soft ASP
1. Install Chili!Soft ASP on the computer running the Web server to configure for Chili!Soft ASP (even if you do not plan to run the ASP Server on this computer). Do this by following the custom installation instructions for your operating system, as provided in "Installing and Uninstalling Chili!Soft ASP" "Chapter 2: Installing and Configuring Chili!Soft ASP." Be sure to make a note of the port number and a directory you specify for the Chili!Soft ASP installation files.
2. Repeat step 1 for each computer running a Web server to configure for Chili!Soft ASP. Use the same port number and installation directory that you specified in step 1.
3. In the same manner, install Chili!Soft ASP on the computer(s) that are to run the Chili!Soft ASP Server, except when prompted to choose a Web server, select the option to not configure a Web server. Use the same port number and directory options that you specified in step 1.
4. On any of the computers on which you installed Chili!Soft ASP, open the Chili!Soft ASP configuration file, casp.cnfg in a text editor. You can find this file in the following location:
/[C-ASP_INSTALLATION_DIRECTORY]/admin/bin
where [C-ASP_INSTALLATION_DIRECTORY] is the directory in which you installed Chili!Soft ASP.
5. In the [machines] section of the casp.cnfg file, change the count attribute to match the number of computers running Chili!Soft ASP, and add the IP address of each computer running the Chili!Soft ASP Server. For more information, see "Editing the Chili!Soft Configuration File" in this chapter. The following is a sample [machines] section:
[machines]
machine1=200.150.100.1
machine2=200.150.100.2
machine3=200.150.100.3
machine4=200.150.100.4
portnumber=3000
logfile=/opt/casp/asp-apache-3000
mtengine=0
disablerestart=0
6. Databases that must be accessible from all of the ASP Servers must have identical DSNs configured on each ASP Server. For each computer in the configuration, add the required DSNs by following the instructions provided in "Adding a DSN" in this chapter. Make sure that you use identical information on each computer.
7. You are now ready to start the ASP Server(s). To start the ASP Server in multi-machine mode, see "Starting and Stopping Multiple Instances of the ASP Server" in this chapter.
See also:
Setting up a Shared Installation of Chili!Soft ASP in this chapter
Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.