Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
slapos
Commits
9a5b940f
Commit
9a5b940f
authored
Aug 02, 2015
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kvm: add monitor frontend, increase apache connexion limit
parent
96ff0e45
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
software/kvm/common.cfg
software/kvm/common.cfg
+2
-2
software/kvm/instance-kvm.cfg.jinja2
software/kvm/instance-kvm.cfg.jinja2
+19
-1
software/kvm/template/apache.conf.in
software/kvm/template/apache.conf.in
+2
-2
No files found.
software/kvm/common.cfg
View file @
9a5b940f
...
@@ -98,7 +98,7 @@ mode = 0644
...
@@ -98,7 +98,7 @@ mode = 0644
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2
url = ${:_profile_base_location_}/instance-kvm.cfg.jinja2
mode = 644
mode = 644
md5sum =
6e4f3819c4cdaf27896f3762a53a3f18
md5sum =
c03816e4ed3657361c95d2047e4c6524
download-only = true
download-only = true
on-update = true
on-update = true
...
@@ -184,7 +184,7 @@ recipe = hexagonit.recipe.download
...
@@ -184,7 +184,7 @@ recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/apache.conf.in
url = ${:_profile_base_location_}/template/apache.conf.in
mode = 644
mode = 644
filename = apache.conf.in
filename = apache.conf.in
md5sum =
e9c9fd88d71e9dc7416149af5bcfb951
md5sum =
355fdabdb86fee8e9714b6d357149958
download-only = true
download-only = true
on-update = true
on-update = true
...
...
software/kvm/instance-kvm.cfg.jinja2
View file @
9a5b940f
...
@@ -334,6 +334,23 @@ source = ${directory:public}
...
@@ -334,6 +334,23 @@ source = ${directory:public}
[monitor-parameters]
[monitor-parameters]
port = 8026
port = 8026
[request-monitor-frontend]
<= slap-connection
recipe = slapos.cookbook:requestoptional
name = Monitor {{ slapparameter_dict.get('name', '') }} Frontend
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
slave = true
config-url = ${monitor-parameters:url}
return = site_url domain
[monitor-frontend-promise]
recipe = slapos.cookbook:check_url_available
path = $${directory:promises}/monitor_frontend
url = ${publish-connection-information:monitor_url}
dash_path = {{ dash_executable_location }}
curl_path = {{ curl_executable_location }}
check-secure = 1
{% endif -%}
{% endif -%}
[publish-connection-information]
[publish-connection-information]
...
@@ -371,7 +388,8 @@ tap-ipv4 = ${slap-network-information:tap-ipv4}
...
@@ -371,7 +388,8 @@ tap-ipv4 = ${slap-network-information:tap-ipv4}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% if monitor -%}
{% if monitor -%}
monitor_url = ${monitor-parameters:url}
monitor_url = ${request-monitor-frontend:connection-site_url}
monitor_v6_url = ${monitor-parameters:url}
{% endif -%}
{% endif -%}
{% if use_tap == 'true' and tap_network_dict.has_key('ipv4') -%}
{% if use_tap == 'true' and tap_network_dict.has_key('ipv4') -%}
...
...
software/kvm/template/apache.conf.in
View file @
9a5b940f
ServerLimit
2
ServerLimit
16
StartServers 1
StartServers 1
MaxClients
2
MaxClients
7
LoadModule unixd_module modules/mod_unixd.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule access_compat_module modules/mod_access_compat.so
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment