Thanks a lot for your help
Regards
Ute
------------------------------
Message: 2
Date: Wed, 31 Oct 2007 22:35:50 +1000
From: Q <[EMAIL PROTECTED]>
Subject: Re: Deployment Linux - Mac OS X
To: [EMAIL PROTECTED]
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
On 31/10/2007, at 10:12 PM, Ute Hoffmann wrote:
Hallo,
I need some experienced comments again.
1) Which kind of Linux is used successfully with WO Deployment.
Background: I recently
did deploy WO on Debian Linux but could not find a means to get WO
starting automatically
on server start, which is a bad thing really.
You would just need to use whatever startup mechanism debian uses,
perhaps look for an /etc/init.d or /etc/rc.d
It also does not support to
store variables
like NEXT_ROOT on the system permanently.
This isn't strictly necessary, NEXT_ROOT only needs to be in the
environment that is used to start wotaskd and JavaMonitor, any sub-
processes they launch will inherit the environment. So all you need
to do is export NEXT_ROOT in the launch scripts for wotaskd and
JavaMonitor
So those of you, who do have Linux Deployments running, on which
flavour
of Linux do they
run?
I don't use Linux. I use FreeBSD.
Any comments why (if not personal preference)?
Because FreeBSD is better than Linux (ducks!). Seriously, I have used
FreeBSD for over a decade, the kernel is (or at least used to be) a
LOT cleaner and nicer to work on than Linux. FreeBSD also has the
"ports" system, which I have leveraged to allow building a full
deployment environment in a single command "make install" (once you
have downloaded some prerequisite files).
2) I suppose running on Linux is the cheaper way to get an App up and
running. Is that
true or are there other upsides in behalve of Linux.
It's all relative. Depends on the cost of the hardware you run it on,
and the expertise of your admins.
3) Do you have high traffic apps on LInux as well or would it be
better to
have a high
traffic app running on Mac hardware?
Either option should be equally capable on similar hardware.
--
Seeya...Q
Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806
------------------------------
Message: 3
Date: Wed, 31 Oct 2007 16:03:44 +0100
From: Aurelien Minet <[EMAIL PROTECTED]>
Subject: Re: Deployment Linux - Mac OS X
To: [EMAIL PROTECTED]
Cc: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-15
Hi,
1) Which kind of Linux is used successfully with WO Deployment.
Background: I recently
did deploy WO on Debian Linux but could not find a means to get WO
starting automatically
on server start, which is a bad thing really. It also does not support to
store variables
like NEXT_ROOT on the system permanently.
I got it running under Gentoo with debian tools in startup scripts :
variables:
NEXT_ROOT="/..../webobjects-5.3.3"
WOTASKD_PIDFILE="/var/run/wotaskd.pid"
WOTASKD_USER="woappsrv"
WOTASKD_GROUP="apple"
WOTASKD_LOG="/var/log/wotaskd.log"
WOTASKD_OPT=" -WOPort 1085"
WOTASKD_DIR="Library/WebObjects/JavaApplications/wotaskd.woa"
WOTASKD_PLATFORM="UNIX"
WOTASKD_BIN="wotaskd"
WOTASKD_CMD="$NEXT_ROOT/$WOTASKD_DIR/$WOTASKD_BIN"
WOTASKD_ARG=" $WOTASKD_OPT >> $WOTASKD_LOG 2>&1 "
for starting:
export NEXT_ROOT=$NEXT_ROOT
exec start-stop-daemon --start --background --chuid
${WOTASKD_USER}:${WOTASKD_GROUP} --make-pidfile --pidfile
${WOTASKD_PIDFILE} --exec ${WOTASKD_CMD} --$WOTASKD_ARG
for stoping:
start-stop-daemon --stop --signal INT --quiet --pidfile ${WOTASKD_PIDFILE}
Under debian use update-rc.d to add the startup script in init.d to the
runlevels or do symlinks manualy un /etc/rc.d/...
So those of you, who do have Linux Deployments running, on which flavour
of Linux do they
run?
first I will not chose any rpm based distrubition, rpm dependencies give
me headheach, realy boring, just losing time.
I will not chose a distribution where I can't have my hands everywhere,
have freedom and understand how it works.
So my first choice is Gentoo/Linux* due to customisability, up to date
packages, packages integration, init system... tools provided just helps.
Second choice would be Debian for apt-get, quality of pkg and total time
to have it run from scratch.
(*: Gentoo isn't only Linux centric)
Any comments why (if not personal preference)?
2) I suppose running on Linux is the cheaper way to get an App up and
running. Is that true or are there other upsides in behalve of Linux.
The main cost is the time, it depends on the OS tools (must work for you
and save your time) and on your knowledge of the OS.
It tooks me half an hour to a have a minimal debian running and
configured with a net install CD. And a bit less with one of my Gentoo
stage.
So chose a unix distribution ( linux darwin *bsd ...) thats meets your
needs and doesn't eat your time.
3) Do you have high traffic apps on LInux as well or would it be better
to
have a high
traffic app running on Mac hardware?
As Quinton says it's the same hardware (x86 intel core duo/quatro), so
the only difference is the Kernel (and the JVM). I think context
switching performance and process scheduling with lots of apps running
is important, memory management too.
But most kernels scale well, so when having load, first I check how apps
works, what they do (sql...) then I tell the devs what's wrong and for
heavy apps I do load balancing on low cost x86 servers.
Aurelien Minet
--
------------------
Direction des systèmes d'information
Université Paris Descartes
------------------------------
_______________________________________________
Webobjects-deploy mailing list
[email protected]
http://lists.apple.com/mailman/listinfo/webobjects-deploy
End of Webobjects-deploy Digest, Vol 4, Issue 104
*************************************************