Klaus - thanks I'll try that.

On my other point, has anyone written a shell or perl script to do the
following on Linux/Unix:

1) Start Orion
2) Monitor that the Java process Orion is running in is running
3) If Orion stops (ie JVM crashes) - restart Orion
4) Log the starts / stops?

I'm not a scripting guru at all, but if noone has one I'll start trying to
hack one together. Always easier to start from something working though -
has anyone seen something like this elsewhere I could look at?

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Klaus Thiele
> Sent: Saturday, October 14, 2000 5:17 PM
> To: Orion-Interest
> Subject: Re: Deployment platforms
>
>
> Mike Cannon-Brookes wrote:
> >
> [...]
> > > > 6. What has been your experience (stability, performance,
> managability,
> > > > etc) - mainly of the underlying platform, not orion.
> > Perfect, we've never had any problems with the OS or the DB (Sybase
> > 11.0.3.3). Our only problem now is twofold:
> > 1) Finding a way for Orion effectively to run as something
> other than root.
>
> some time ago there was a nice tip from a guy on this list:
>
> Linux kernel configuration:
>   Networking options  --->
>     [*] IP: firewalling
>     [*] IP: transparent proxy support
>
> and then a small startup-script:
>    [...]
>    start)
>        echo -n "Redirect port 80"
>        /sbin/ipchains -A input -p tcp -s 0/0 -d 0/0 80 -j REDIRECT 8000
>     this should also work (https):
>        /sbin/ipchains -A input -p tcp -s 0/0 -d 0/0 443 -j REDIRECT 8443
>    [...]
>
> then you can run orion as any user you want.
>
> hope that helps
>   klaus
>
> --
> Klaus Thiele - Personal & Informatik AG
> mailto:[EMAIL PROTECTED]
>
>  "There's got to be more to life than compile-and-go."
>
>


Reply via email to