Github user remibergsma commented on the pull request:
https://github.com/apache/cloudstack/pull/1052#issuecomment-155381433
LGTM, Tested on CentOS7 with Tomcat 7.
The package builds fine:
```
+ exit 0
RPM Build Done
```
Install also works:
```
Installed:
cloudstack-common.x86_64 0:4.6.0-SNAPSHOT.el7.centos
cloudstack-management.x86_64 0:4.6.0-SNAPSHOT.el7.centos
Complete!
```
Setup, now requires `--tomcat7` as parameter:
```
[root@cs2 x86_64]# cloudstack-setup-management --tomcat7
Starting to configure CloudStack Management Server:
Configure Firewall ... [OK]
Configure CloudStack Management Server ...[OK]
CloudStack Management Server setup is Done!
```
Files in `/etc/`:
```
[root@cs2 management]# pwd
/etc/cloudstack/management
[root@cs2 management]# ls -la
total 136
drwxr-xr-x. 3 root root 4096 Nov 10 09:10 .
drwxr-xr-x. 3 root root 4096 Nov 9 17:06 ..
drwxrwx---. 3 root cloud 4096 Nov 10 09:06 Catalina
-rw-r--r--. 1 root root 8945 Nov 10 08:56 catalina.policy
-rw-r--r--. 1 root root 3794 Nov 10 08:56 catalina.properties
-rw-r--r--. 1 root root 1653 Nov 10 08:56 classpath.conf
-rw-r--r--. 1 root root 1357 Nov 10 08:56 commons-logging.properties
-rw-r-----. 1 root cloud 3125 Nov 10 09:08 db.properties
-rw-r-----. 1 root cloud 3125 Nov 9 21:27 db.properties.rpmsave
-rw-r--r--. 1 root root 972 Nov 10 08:56 environment.properties
-rw-r--r--. 1 root root 927 Nov 10 08:56 java.security.ciphers
-rw-r--r--. 1 root root 8 Nov 10 09:08 key
-rw-r--r--. 1 root root 7020 Nov 10 08:56 log4j-cloud.xml
-rw-r--r--. 1 root root 6722 Nov 10 08:56 server7-nonssl.xml
-rw-r--r--. 1 root root 7251 Nov 10 08:56 server7-ssl.xml
lrwxrwxrwx. 1 root root 45 Nov 10 09:10 server.xml ->
/etc/cloudstack/management/server7-nonssl.xml
-rw-r--r--. 1 root root 1383 Nov 10 08:56 tomcat-users.xml
-rw-r--r--. 1 root root 50475 Nov 10 08:56 web.xml
```
Enabling and starting:
```
[root@cs2 management]# systemctl enable cloudstack-management
[root@cs2 management]# systemctl start cloudstack-management
[root@cs2 management]# systemctl status cloudstack-management
cloudstack-management.service - CloudStack Management Server
Loaded: loaded (/usr/lib/systemd/system/cloudstack-management.service;
enabled)
Active: active (running) since Tue 2015-11-10 09:11:41 GMT; 5s ago
Main PID: 12381 (java)
CGroup: /system.slice/cloudstack-management.service
ââ12381 java -Djava.awt.headless=true
-Dcom.sun.management.jmxremote=false -Xmx2g -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M
-XX:MaxPermSize=800m -cla...
```
Deployed data center:


Currently running some Marvin tests and that looks good. Will post results
later.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---