diff options
author | wangyaoguang <sunshine.wang@huawei.com> | 2016-04-06 09:49:42 +0800 |
---|---|---|
committer | wangyaoguang <sunshine.wang@huawei.com> | 2016-04-06 10:07:42 +0800 |
commit | 922c3005c3e60a1e570bf98589f9ecf9c35bacb9 (patch) | |
tree | f62a31eda148d4d557a192e3f343963916e5bc3e /testsuites/rubbos/puppet_manifests/modules/rubbos_httpd/files/apache_conf/workers.properties | |
parent | 708e3c7eacb563bfe029719bc7f4c7d0c6d233b7 (diff) |
add puppet manifests and conf files for rubbos httpd module
1. add two manifests
2. add two configuration files,httpd.conf and workers.properties
JIRA: BOTTLENECK-52
Change-Id: Icb651238f597a91ac9b748db487c24959825485c
Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
Diffstat (limited to 'testsuites/rubbos/puppet_manifests/modules/rubbos_httpd/files/apache_conf/workers.properties')
-rw-r--r-- | testsuites/rubbos/puppet_manifests/modules/rubbos_httpd/files/apache_conf/workers.properties | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/testsuites/rubbos/puppet_manifests/modules/rubbos_httpd/files/apache_conf/workers.properties b/testsuites/rubbos/puppet_manifests/modules/rubbos_httpd/files/apache_conf/workers.properties new file mode 100644 index 00000000..cdf0a783 --- /dev/null +++ b/testsuites/rubbos/puppet_manifests/modules/rubbos_httpd/files/apache_conf/workers.properties @@ -0,0 +1,64 @@ +############################################################################# +# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + + +# workers.properties +# +# This file provides jk derived plugins with the needed information to +# connect to the different tomcat workers. Note that the distributed +# version of this file requires modification before it is usable by a +# plugin. +# + +# workers.tomcat_home should point to the location where you +# installed tomcat. This is where you have your conf, webapps and lib +# directories. +workers.tomcat_home=REPLACED_RUBBOS_APP_TOOLS/apache-tomcat-5.5.17 + +# workers.java_home should point to your Java installation. Normally +# you should have a bin and lib directories beneath it. +workers.java_home=REPLACED_RUBBOS_APP_TOOLS/jdk1.6.0_27 + +# You should configure your environment slash... ps=\ on NT and / on UNIX +# and maybe something different elsewhere. +ps=/ + + +# The workers that your plugins should create and work with +worker.list=worker1 + +# Here, it can be declared multiple session handlers, such as s1, s2 +REPLACED_HANDLERS_DETAILS +# examples: +#worker.s1.port=8009 +#worker.s1.host=btnks-2 +#worker.s1.type=ajp13 +#worker.s1.lbfactor=1 + +worker.worker1.type=lb +worker.worker1.balance_workers=REPLACED_HANDLERS +# example: +#worker.worker1.balance_workers=s1 +worker.worker1.sticky_session=True +worker.worker1.method=Session + +# Defining a worker named inprocess and of type jni +# Note that the name and the type do not have to match. +worker.inprocess.type=jni + +# Additional class path components. +worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar + +# Setting the command line for tomcat. +# Note: The cmd_line string may not contain spaces. +worker.inprocess.cmd_line=start + +worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)server$(ps)libjvm.so +worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout +worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr |