-
Notifications
You must be signed in to change notification settings - Fork 32
FAQs
hgomez edited this page Jan 24, 2013
·
9 revisions
The usual FAQ page
One of the goals of MyForge packages is to fit cleanly in your Linux infrastructure and follow Ops team habbits.
Packages expose MyForge services as Linux service and you could use standard Linux service command :
# start MyForge Jenkins
sudo service myjenkins start
# stop MyForge Sonar
sudo service mysonar stop
# restart MyForge Archiva
sudo service myarchiva restart
MyForge packages follow strictly FHS recommandation and service configuration is deployed under /etc/sysconfig.
A single file by service contains all config informations.
For example, MyForge Jenkins configuration file is /etc/sysconfig/myjenkins :
#
# MyApp Configuration
#
# Vars starting with APP_ are used to replace contents in skeletons files
#
APP_SERVER_PORT=12354
APP_HTTP_PORT=12355
APP_HTTPS_PORT=12356
APP_AJP_PORT=12357
APP_RMIREGISTRY_PORT=12358
APP_RMISERVER_PORT=12359
- APP_SERVER_PORT is Apache Tomcat service port
- APP_HTTP_PORT is HTTP port
- APP_HTTPS_PORT is HTTPS port
- APP_AJP_PORT is AJP (mod_jk) port
- APP_RMIREGISTRY_PORT and APP_RMISERVER_PORT are ports used by JMX
Java process parameters, like Ms/Mx are also defined in MyForge uniq configuration file :
For Jenkins, under /etc/sysconfig/myjenkins, you could see :
APP_JAVA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=128m -XX:+UseCompressedOops -server"
Just update Xms, Xmx and restart service.