cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Moody <j...@fifthecho.com>
Subject Re: Cloudstack Repackaging / Distro support
Date Tue, 12 May 2015 13:08:21 GMT
I'd say a safe middle-ground might be providing a working proxy config
for Apache and for nginx in the docs or share directories and then
pointing to those in the documentation as references to get the API
proxied on 80/443.

I do agree with leaving the default on 8080 as that's the default for
Tomcat and a LOT of CloudStack drivers for different tools default to
that port.

On Tue, 2015-05-12 at 14:47 +0200, Rafael Fonseca wrote:
> I'll stay away from touching port 80 for now, but isn't saving work 
> to the
> admin one of cloudstack's main goals?
> 
> That is also the main reason to package this stuff and have rules for
> configuration :)
> 
> I do see a lot of people complaining that cloudstack is hard to 
> setup and
> has very long setup guides and a lot of stuff doesn't work on certain
> environments... i aim to put an end to that.. hopefully even the 
> dumbest
> sysadmin will be able to get it up and running without much effort 
> by the
> time i'm done :) . The effort reduction is also always valid for
> experienced sysadmins and developers ;)
> 
> 
> 
> 
> On Tue, May 12, 2015 at 1:16 PM, Wido den Hollander <wido@widodh.nl> 
> wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > 
> > 
> > On 05/12/2015 12:03 PM, Rafael Fonseca wrote:
> > > Wido,
> > > 
> > > If we were to recommend proxying with httpd, shouldn't cloudstack
> > > provide that as well out of the box?
> > 
> > I'd stay away from that. Providing that out of the box means doing
> > more stuff which an admin should do.
> > 
> > Wido
> > 
> > > Btw, there isn't really a big performance gain by proxying 
> > > through
> > > httpd nowadays, the new version of the packaging also includes
> > > using tomcat8, which has an improved http/nio connector, have a
> > > look here for some performance benchmarks :) ->
> > > http://www.tomcatexpert.com/blog/2010/03/24/myth-or-truth-one
> > > -should-a
> > lways-use-apache-httpd-front-apache-tomcat-improve-perform
> > > 
> > >  What i think is that if we are going to suggest configuring 
> > > httpd
> > > on the same box we should do it automatically, if not, tomcat can
> > > still run on port 80 by default and user can reverse proxy from 
> > > any
> > > other machine :)
> > > 
> > > Also, if we're sticking to tomcat, we should have scripts build
> > > the APR/native connector for improved performance :)
> > > http://tomcat.apache.org/native-doc/
> > > 
> > > This would be an improvement independent from using or not
> > > httpd/nginx in front of tomcat.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > On Tue, May 12, 2015 at 11:45 AM, Wido den Hollander
> > > <wido@widodh.nl> wrote:
> > > 
> > > 
> > > 
> > > On 05/12/2015 11:37 AM, Erik Weber wrote:
> > > > > > On Tue, May 12, 2015 at 10:59 AM, Rafael Fonseca
> > > > > > <rsafonseca@gmail.com> wrote:
> > > > > > 
> > > > > > > Hi all,
> > > > > > > 
> > > > > > > I'm reworking the packaging system in cloudstack, and 
> > > > > > > would
> > > > > > > like to gather your opinion on the following:
> > > > > > > 
> > > > > > > - Fedora 2x runs systemd's cockpit on port 9090 by 
> > > > > > > default
> > > > > > > This is a deal breaker for the cluster servlet port on

> > > > > > > this
> > > > > > > OS, the two possibilities would be to either pack changes
> > > > > > > to fedora's config on rpm install or simply change the
> > > > > > > servlet port to another one that does not clash on any
> > > > > > > distro.. any comments/suggestions?
> > > > > > > 
> > > > > > > - Tomcat is not listening on port 80 Tomcat is using port
> > > > > > > 8080, which makes the user have to specify that in the
> > > > > > > browser.. should we change it? In ubuntu it's already
> > > > > > > running under jsvc, so it shouldn't be a problem.. same

> > > > > > > can
> > > > > > > be arranged for centos/other distros.
> > > > > > > 
> > > > > > 
> > > > > > Is it possible to ask the user for this during installation
> > > > > > and default to either 80 or 8080? I know Debian has a way 
> > > > > > to
> > > > > > interact with the user during install, not sure about
> > > > > > RedHat.
> > > > > > 
> > > > > > I don't know the rationale behind putting it on port 8080 
> > > > > > in
> > > > > > the first place, but personally I don't see a problem 
> > > > > > moving
> > > > > > it to port 80.
> > > > > > 
> > > 
> > > I'd say to stick to 8080 and recommend anybody to use Apache /
> > > Nginx to proxy towards Tomcat.
> > > 
> > > > > > 
> > > > > > > - No link on the tomcat root (http://management-server/
> > > > > > >  can
> > > > > > > link internally to http://management-server/client , this
> > > > > > > makes it easier for new users who don't know the URL for
> > > > > > > the UI :)
> > > > > > > 
> > > > > > > 
> > > > > > Sounds like a good idea to me, I always forget to add 
> > > > > > /client
> > > > > > when I browse to new installations.
> > > > > > 
> > > > 
> > > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1
> > 
> > iQIcBAEBAgAGBQJVUeEFAAoJEAGbWC3bPspCupwQAJjU6Akq18N9QcPYiOK60NR5
> > P9+MF0UFvu1N5nHJxYwEHjIqwuzN9957xqx6LK0nhyDMN8ECadvZXweT5XhXbh+5
> > G7D1Wqilav7GqGiye+4zV2CLRUI8KBPrUMFHwk4C4o1SqE6YxiX7E8/WY+cx2nt2
> > LRAwPIvc3IL5QRIbiDfFm19mJRExBvHIZCYsMAPMgag2p85HOzuGxQ/NCcME7nna
> > ODlHkjrPaWF66vZtyMA289R1e0Bab7hbElirCsA0VoTP3gbrwNriDf1KSfmOzIJD
> > VyaSq2kcDIrWYWjuXxtjhIKdxCCkopgqRvjjiEDCQ3LVDaMsh4PSjhl2SuSU24l4
> > mX6DZXjnt+3U01FOj9Bc76K28hawB3+7qqYPEsWlboi7Jz5hn0j04Kn9wRa+ZbfF
> > 8t1DUpdPDtWd+HsyV/fdKXKY1X4Q/P3SatrqVZBymnyT/l/ENvqYLzLcNXHN9NSl
> > 8o0+vhmTJRdbK9QoNeB8QtmtU+VB4iyC6x5tfwgqLvRNsSep3mpEgrKVa3h1Ssaz
> > 14ChxYSNktOLJM3JuKBHqzSM0lxOHOT7wkiSXiXlCpbaoVRLcge7U4PjJW/GCSrE
> > a/BAUYQzSKBAS/OpZHFizmQ0J7ASXaFDlBwy5XBfV+4nZjtClVR4oN9VHAJJ8d2X
> > Fl89s3wdH0L/ag6Sd/oj
> > =nbJY
> > -----END PGP SIGNATURE-----
> > 

Mime
View raw message