cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From remibergsma <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9049: fix Centos7 with Tomcat7...
Date Tue, 10 Nov 2015 10:28:33 GMT
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:
    
    ![screen shot 2015-11-10 at 11 12 42](https://cloud.githubusercontent.com/assets/1630096/11059897/e10bf918-879c-11e5-9a5e-dabe59523077.png)
    
    ![screen shot 2015-11-10 at 11 07 15](https://cloud.githubusercontent.com/assets/1630096/11059898/e62216a8-879c-11e5-8ce8-8df715798d7c.png)
    
    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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message