|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +# or more contributor license agreements. See the NOTICE file |
| 3 | +# distributed with this work for additional information |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
| 5 | +# to you under the Apache License, Version 2.0 (the |
| 6 | +# "License"); you may not use this file except in compliance |
| 7 | +# with the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, |
| 12 | +# software distributed under the License is distributed on an |
| 13 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +# KIND, either express or implied. See the License for the |
| 15 | +# specific language governing permissions and limitations |
| 16 | +# under the License. |
| 17 | + |
| 18 | + |
| 19 | +# management server clustering parameters, change cluster.node.IP to the machine IP address |
| 20 | +# in which the management server(Tomcat) is running |
| 21 | +cluster.node.IP=127.0.0.1 |
| 22 | +cluster.servlet.port=9090 |
| 23 | + |
| 24 | +# CloudStack database settings |
| 25 | +db.cloud.username=cloud |
| 26 | +db.cloud.password=cloud |
| 27 | +db.root.password= |
| 28 | +db.cloud.host=localhost |
| 29 | +db.cloud.port=3306 |
| 30 | +db.cloud.name=cloud |
| 31 | + |
| 32 | +# CloudStack database tuning parameters |
| 33 | +db.cloud.maxActive=250 |
| 34 | +db.cloud.maxIdle=30 |
| 35 | +db.cloud.maxWait=10000 |
| 36 | +db.cloud.autoReconnect=true |
| 37 | +db.cloud.validationQuery=SELECT 1 |
| 38 | +db.cloud.testOnBorrow=true |
| 39 | +db.cloud.testWhileIdle=true |
| 40 | +db.cloud.timeBetweenEvictionRunsMillis=40000 |
| 41 | +db.cloud.minEvictableIdleTimeMillis=240000 |
| 42 | +db.cloud.poolPreparedStatements=false |
| 43 | +db.cloud.url.params=prepStmtCacheSize=517&cachePrepStmts=true&prepStmtCacheSqlLimit=4096 |
| 44 | + |
| 45 | +# usage database settings |
| 46 | +db.usage.username=cloud |
| 47 | +db.usage.password=cloud |
| 48 | +db.usage.host=localhost |
| 49 | +db.usage.port=3306 |
| 50 | +db.usage.name=cloud_usage |
| 51 | + |
| 52 | +# usage database tuning parameters |
| 53 | +db.usage.maxActive=100 |
| 54 | +db.usage.maxIdle=30 |
| 55 | +db.usage.maxWait=10000 |
| 56 | +db.usage.autoReconnect=true |
| 57 | + |
| 58 | +# awsapi database settings |
| 59 | +db.awsapi.name=cloudbridge |
| 60 | + |
| 61 | +# Simulator database settings |
| 62 | +db.simulator.username=cloud |
| 63 | +db.simulator.password=cloud |
| 64 | +db.simulator.host=localhost |
| 65 | +db.simulator.port=3306 |
| 66 | +db.simulator.name=simulator |
| 67 | +db.simulator.maxActive=250 |
| 68 | +db.simulator.maxIdle=30 |
| 69 | +db.simulator.maxWait=10000 |
| 70 | +db.simulator.autoReconnect=true |
0 commit comments