Installation manual

If you have previously installed Host On-Demand and have changed
/hostondemand/lib/NSMprop or changed or created
/hostondemand/hod/config.properties , you must back up these files before
installation, then restore them after installation. The files are overwritten during
the unzip process.
The following steps assume that hostondemand is the server directory and HOD is the
publish directory. To install the Host On-Demand server:
1. Insert the CD.
2. Create a server directory, for example, hostondemand . The server directory
contains files that are used only by the server and must not be available to
client workstations.
3. Change to the server directory.
4. Run the following command to extract the files:
unzip [cd_rom]:\zip\hod60srv.zip
where:
v unzip is your unpacking program (such as UNZIP.EXE ). It must support long
filenames
v [cd_rom] is the CD-ROM drive letter
v ZIP is the directory on the CD
5. Create the publish directory; for example, HOD. The publish directory contains
files that must be available to client users who access the server through a
browser.
6. Change to the publish directory.
7. Run the following command to extract the files:
unzip [cd_rom]:\zip\hod60www.zip
8. Make the publish directory available to clients on the network. Refer to your
Web server documentation for information on how to do that.
9. Configure a local host by adding the following line to the setup.cmd file,
which is usually found in the \mptn\bin directory:
ifconfig lo 127.0.0.1
10. Start the Host On-Demand Service Manager, which provides support services
for Host On-Demand and runs as a Java application:
a. At the command prompt, change directory to \hostondemand\lib .
b. Copy NCServiceManager-OS2.cmd from the
\hostondemand\lib\samples\CommandFiles directory.
c. Edit NCServiceManager-OS2.cmd to reflect the directory paths appropriate
for your workstation.
d. Run NCServiceManager-OS2.cmd. The Service Manager does not display a
message indicating that it has started.
For Host On-Demand to function, the Service Manager must be running. If you
reboot the server, you must also restart the Service Manager. You might want to
add the command to your startup.cmd file so that the Service Manager starts
automatically when the workstation boots. If you do, remember to include logic
to change directory to the \hostondemand\lib subdirectory before the command
runs.
11. Restart the Web server.
Chapter 3. Installing Host On-Demand 17