http://docs.openstack.org/developer/keystone/apache-httpd.html
basically create 2 WSGI configurations for Apache, admin and public.
Admin example for CentOS/RHEL:
Listen 35357
<VirtualHost *:35357> DocumentRoot "/var/www/cgi-bin/keystone"
<Directory "/var/www/cgi-bin/keystone"> Options Indexes FollowSymLinks MultiViews AllowOverride None Require all granted </Directory>
ErrorLog "/var/log/httpd/keystone_wsgi_admin_error.log" ServerSignature Off CustomLog "/var/log/httpd/keystone_wsgi_admin_access.log" combined
WSGIApplicationGroup %{GLOBAL} WSGIDaemonProcess keystone_admin display-name=keystone-admin group=keystone processes=1 threads=12 user=keystone WSGIProcessGroup keystone_admin WSGIScriptAlias / "/var/www/cgi-bin/keystone/keystone-admin" WSGIPassAuthorization On </VirtualHost>
Public Example for CentOS/RHEL:
Listen 5000
<VirtualHost *:5000>> DocumentRoot "/var/www/cgi-bin/keystone"
ErrorLog "/var/log/httpd/keystone_wsgi_public_error.log" ServerSignature Off CustomLog "/var/log/httpd/keystone_wsgi_public_access.log" combined
WSGIApplicationGroup %{GLOBAL} WSGIDaemonProcess keystone_public display-name=keystone-public group=keystone processes=1 threads=12 user=keystone WSGIProcessGroup keystone_public WSGIScriptAlias / "/var/www/cgi-bin/keystone/keystone-public" WSGIPassAuthorization On </VirtualHost>
Then, if pacemaker is not monitoring Apache/httpd, add it to pacemaker.
Something similar to this(or elsewhere in install guide, not sure)
https://www.server-world.info/en/note?os=CentOS_7&p=pacemaker&f=2
http:// docs.openstack. org/developer/ keystone/ apache- httpd.html
basically create 2 WSGI configurations for Apache, admin and public.
Admin example for CentOS/RHEL:
Listen 35357
<VirtualHost *:35357> cgi-bin/ keystone"
DocumentRoot "/var/www/
<Directory "/var/www/ cgi-bin/ keystone" >
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
ErrorLog "/var/log/ httpd/keystone_ wsgi_admin_ error.log" httpd/keystone_ wsgi_admin_ access. log" combined
ServerSignature Off
CustomLog "/var/log/
WSGIApplicati onGroup %{GLOBAL} name=keystone- admin group=keystone processes=1 threads=12 user=keystone cgi-bin/ keystone/ keystone- admin" rization On
WSGIDaemonProcess keystone_admin display-
WSGIProcessGroup keystone_admin
WSGIScriptAlias / "/var/www/
WSGIPassAutho
</VirtualHost>
Public Example for CentOS/RHEL:
Listen 5000
<VirtualHost *:5000>> cgi-bin/ keystone"
DocumentRoot "/var/www/
<Directory "/var/www/ cgi-bin/ keystone" >
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
ErrorLog "/var/log/ httpd/keystone_ wsgi_public_ error.log" httpd/keystone_ wsgi_public_ access. log" combined
ServerSignature Off
CustomLog "/var/log/
WSGIApplicati onGroup %{GLOBAL} name=keystone- public group=keystone processes=1 threads=12 user=keystone cgi-bin/ keystone/ keystone- public" rization On
WSGIDaemonProcess keystone_public display-
WSGIProcessGroup keystone_public
WSGIScriptAlias / "/var/www/
WSGIPassAutho
</VirtualHost>
Then, if pacemaker is not monitoring Apache/httpd, add it to pacemaker.
Something similar to this(or elsewhere in install guide, not sure)
https:/ /www.server- world.info/ en/note? os=CentOS_ 7&p=pacemaker& f=2