<inst-dir>
.
jre -help
If needed, you can retrieve V.1.1.8 of the Java Runtime Environment for your architecture into the installation directory: Solaris, HP-UX or Linux.
gunzip -c p2pp-appserver-2.2.2.tar.gz | tar xovf -
cd p2pp-appserver-2.2.2
make
APPSERVER
keywords in the config/site.cf
file. See the
OHS V.2.x configuration files document
for more information.
bin/p2pp-as-supervisor -restart
crontab(1)
man page for details):
15 0 * * * <inst-dir>/p2pp-appserver-2.2.2/bin/p2pp-as-supervisor -restart
0,15,30,45 * * * * <inst-dir>/p2pp-appserver-2.2.2/bin/p2pp-as-supervisor -check
The first line will restart the P2PP Application Server about
midnight every day, will the logfiles, etc.
The second line will check every fifteen minutes if the
server is actually running, and restart it if not.
This completes the installation process.
Note: The P2PP Application Server
V.2.2.2 processes can be controlled manually using the
p2pp-as-supervisor.sh
script in the
<inst-dir>/p2pp-appserver-2.2.2/bin
directory.
The script's help message is reported below:
usage: p2pp-as-supervisor <options> where <options> are: -help Display this help text -kill Kill the P2PP Application Server -restart Kill and restart the P2PP Application Server rotating logfiles -check Check if the P2PP Application Server is running: if not, restart it