What s Next


Running the Module

Once installed, the module creates a directory called /proc/net/resin. Within this directory are three files: server_port, srun-count, and srun-n. The server_port file contains the port number the module will bind to in order to listen for HTTP requests. You can change the value for your installation. The srun-count file specifies the total number of servlet engines available to send requests. The value in srun-count determines the total number of files defined as srun-n.

So, if the value in srun-count is 2, there should be two srun-n files, called srun-0 and srun-1. Within each of these files you'll find a domain name and IP address for the servlet engine and the port where it should send a request. For example:

 192.168.1.102 6802 

Once all of the files are configured correctly, start the servlet engines and browse to a file based on the server where the Linux kernel module has been defined.




Mastering Resin
Mastering Resin
ISBN: 0471431036
EAN: 2147483647
Year: 2002
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net