Differences between revisions 3 and 4
Revision 3 as of 2015-01-11 12:42:33
Size: 1105
Editor: shindep
Comment:
Revision 4 as of 2015-01-11 12:43:02
Size: 1108
Editor: shindep
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
 - cardname: Used to find the network services (This value is currently hardcoded to be "e1000" and hence ignored)
 - IP address of NFS server: Used to mount the NFS location to get the files
 - Path on NFS server: Where the files to serve on webserver are stored
 .* cardname: Used to find the network services (This value is currently hardcoded to be "e1000" and hence ignored)
 .* IP address of NFS server: Used to mount the NFS location to get the files
 .* Path on NFS server: Where the files to serve on webserver are stored

Running webserver

Barrelfish webserver runs by fetching files over NFS share and serving them to users requesting the files. Currently it assumes that all files are in a flat directory without any subdirectories.

Modules needed

The webserver depends all the modules needed to get networking working, and on top of that it needs webserver module. Following is a webserver relevant part of the menu.lst

# For networking
module /x86_64/sbin/e1000n
module /x86_64/sbin/NGD_mng cardname=e1000
module /x86_64/sbin/netd cardname=e1000

# For webserver
module  /x86_64/sbin/webserver e1000 10.110.4.4 /local/nfs/website/barrelfish

The webserver takes following commandline arguments:

  • * cardname: Used to find the network services (This value is currently hardcoded to be "e1000" and hence ignored)
  • * IP address of NFS server: Used to mount the NFS location to get the files
  • * Path on NFS server: Where the files to serve on webserver are stored

Please refer to networking page for details about modules related to networking.

BarrelfishWiki: Webserver (last edited 2015-01-11 13:02:48 by shindep)