Post by f***@tpc.itPost by Brett SmithSUSE Linux Enterprise Server 8 Extension Pack for Lotus Domino
<http://www.novell.com/products/linuxenterpriseserver8/domino.html>
Wich is needed to modify the scripts on a SLES9 + R7 box?
I'm going to make this kind of the box, but i've no idea how to modify
that scripts..
Thank you in advance.
It's been a while since I installed and I have no documentation, so I'll
try to explain from memory as best I can. I make no claims as to
performance optimization either since I'm only running a development
server. So someone here may be able to comment on how to improve things
more for a production environment.
After unpacking the RPM, these files are installed:
/etc/init.d/domino
/home/notes/.bash_profile
/opt/dominowrap
/opt/dominowrap/domino5
/opt/dominowrap/domino5/libpthread.so
/opt/dominowrap/domino5/librt.so
/opt/dominowrap/domino6
/opt/dominowrap/domino6/libpthread.so
/opt/dominowrap/domino6/librt.so
/opt/dominowrap/serverwrapper
/usr/sbin/rcdomino
/usr/share/doc/packages/domino-runtime
/usr/share/doc/packages/domino-runtime/README.SuSE
/usr/share/doc/packages/domino-runtime/performance.txt
/var/adm/fillup-templates/sysconfig.domino
/var/log/notes
As root, copy the domino6 directory and its files to a new directory:
/opt/dominowrap/domino7
/opt/dominowrap/domino7/libpthread.so
/opt/dominowrap/domino7/librt.so
Edit /opt/dominowrap/serverwrapper and modify this line changing 6 to 7:
if [ "$DOMINOVERSION" = "7" ] && [ "$DOMINO_JAVA_CONSOLE" = "yes" ]
Edit /etc/sysconfig/domino and modify this line changing 6 to 7:
DOMINOVERSION="7"
Start YaST and go to System > System Services (Runlevel), and enable the
domino service to start/stop when Linux boots or shuts down.
Use the rcdomino command in a shell console to start or stop the Domino
server from now on.
I don't really like the Domino Java server console, so I use my own
scripts to view the log and send commands to the server.
-----<BEGIN /usr/bin/domcmd>-----
#!/bin/bash
# Input Domino server commands
ReadDomCmd()
{
echo -n "DOMINO> "
read DOMINO_COMMAND
}
echo "Enter Domino Commands. (Press ENTER to exit)."
echo
while true
do
ReadDomCmd
case "$DOMINO_COMMAND" in
"") break # exit the loop
;;
*) echo ${DOMINO_COMMAND} >> /var/log/notes/domino.input
continue
;;
esac
done
-----<END /usr/bin/domcmd>-----
-----<BEGIN /usr/bin/domlog>-----
#!/bin/bash
# Output Domino server log
echo
tail -f /var/log/notes/domino.log
-----<END /usr/bin/domlog>-----
In a shell console as root, run domlog to view the server activity,
(read-only), and run domcmd in another console session to input commands.
Best of luck,
Brett