On Fri, 21 Jul 2006, surendersara wrote:
> 1. LOGFILE=/var/log/pen.log
> 2. PIDFILE=/var/run/pen.pid
> 3. CONTROLPORT=8888
> 4. CHROOTDIR=/chroot/pen
> 5. LBSERVER=raclbr
> 6. SERVER=172.2.1.155:800
>
> Then rest of the if then for init.d to call
> ...
> /bin/pen -C $CONTROLPORT -X -I $LOGFILE -p $PIDFILE $LBSERVER $SERVER1
> ..
>
> I rebooted the server to take affect of the changes.
>
> Not I try to login to http://raclbr:8888 --- dosent work
>
>
> What I need is...
>
> To call http://raclbr:80 or 8888 not sure what
>
> To make the connection to eiher of these ( oracle needs sticky connections)
>
> http://rac1pub.orabyte.com:8000
> http://rac2pub.orabyte.com:8000
The actual command line, since I don't know the details of the
start script, should be something like:
/bin/pen -C 8888 -X -l /var/log/pen.log -p /var/run/pen.pid \
raclbr rac1pub.orabyte.com:8000 rac2pub.orabyte.com:8000
I'm *guessing* that the problems with the start script are:
- There is no -I option (use -l to specify log file)
- $SERVER1 is not defined
You can try fixing the start script or just use the command I
wrote above. If it still doesn't work, type this:
/bin/pen -df \
raclbr rac1pub.orabyte.com:8000 rac2pub.orabyte.com:8000
Then pen will run in the foreground and display some debugging
info which will probably tell you what's wrong.
The load balanced URL will be http://raclbr/
Ulric
Received on Fri Jul 21 2006 - 10:24:57 CEST
This archive was generated by hypermail 2.2.0 : Fri Jul 21 2006 - 10:24:57 CEST