@@ -51,19 +51,21 @@ Apache CloudStack uses some ports, make sure at least those used by the manageme
5151server are available and not blocked by any local firewall. Following ports are
5252used by Apache CloudStack and its entities:
5353
54- 8787: Apache CloudStack (Tomcat) debug socket
55- 9090, 8250, 8080: Apache CloudStack Management Server, User/Client API
56- 8096: User/Client to CloudStack Management Server (unauthenticated)
57- 7080: AWS API Server
58- 3306: MySQL Server
59- 3922, 8250, 80/443, 111/2049, 53: Secondary Storage VM
60- 3922, 8250, 53: Console Proxy VM
61- 3922, 8250, 53: Virtual Router
54+ 8080: API Server (authenticated), browser or CLI client to management server
55+ 8096: API Server (unauthenticated), browser or CLI client to management server
56+ 8787: Remote java debug debugging port, from IDE to management server
57+ 9090: Management server to management server (cluster)
58+ 7080: AWS API Server to which an AWS client can connect
59+ 80/443: HTTP client to Secondary Storage VM (template download)
60+ 111/2049: Secondary Storage to NFS server
61+ 3922: Port used to ssh/scp into system vms (SSVM, CPVM, VR)
62+ 8250: Agent (SSVM, CPVM, VR) to management server
6263 22, 80, 443: XenServer, XAPI
6364 22: KVM
6465 443: vCenter
65- DNS: 53
66- NFS: 111/2049
66+ 53: DNS
67+ 111/2049: NFS
68+ 3306: MySQL Server to which the management server connects
6769
6870### Configuring MySQL Server
6971
@@ -93,8 +95,7 @@ For example, for master:
9395
9496Clean and build:
9597
96- $ mvn clean
97- $ mvn install
98+ $ mvn clean install -P systemvm,developer
9899
99100In case you want support for VMWare, SRX and other non-Apache (referred to as nonoss)
100101compliant libs, you may download the following jar artifacts from respective vendors:
@@ -112,17 +113,17 @@ Install them to ~/.m2 so maven can get them as dependencies:
112113 $ cd deps
113114 $ ./install-non-oss.sh
114115
115- And build them with the nonoss flag:
116+ To build with nonoss components, use the build command with the nonoss flag:
116117
117- $ mvn install -Dnonoss
118+ $ mvn clean install -P systemvm,developer -Dnonoss
118119
119120Clear old database (if any) and deploy the database schema:
120121
121122 $ mvn -P developer -pl developer -Ddeploydb
122123
123124Export the following variable if you need to run and debug the management server:
124125
125- $ export MAVEN_OPTS="-Xmx1024m -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
126+ $ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m - Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
126127
127128Start the management server:
128129
0 commit comments