|
1 | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
2 | 2 | # or more contributor license agreements. See the NOTICE file |
3 | | -db.usage.maxActive=100 |
4 | 3 | # distributed with this work for additional information |
5 | | - |
6 | | - |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
7 | 5 | # to you under the Apache License, Version 2.0 (the |
8 | | -# with the License. You may obtain a copy of the License at |
9 | 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 | +# |
10 | 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
11 | | -# software distributed under the License is distributed on an |
12 | | -# regarding copyright ownership. The ASF licenses this file |
| 10 | +# |
13 | 11 | # Unless required by applicable law or agreed to in writing, |
14 | | -db.cloud.name=cloud |
15 | | -db.cloud.password=ENC(vlzQjmqOV4s5q7n+S1OMbA==) |
16 | | -# specific language governing permissions and limitations |
17 | | -# KIND, either express or implied. See the License for the |
18 | | - |
19 | | -# |
20 | | - |
21 | | - |
22 | | - |
23 | | -# in which the management server(Tomcat) is running |
| 12 | +# software distributed under the License is distributed on an |
24 | 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 |
25 | 16 | # under the License. |
26 | | -# management server clustering parameters, change cluster.node.IP to the machine IP address |
27 | 17 |
|
28 | | -# usage database tuning parameters |
29 | | - |
30 | | -db.usage.maxWait=10000 |
31 | | -db.cloud.port=3306 |
32 | | -# High Availability And Cluster Properties |
33 | | -db.usage.maxIdle=30 |
34 | | -# CloudStack database settings |
| 18 | +# management server clustering parameters, change cluster.node.IP to the machine IP address |
| 19 | +# in which the management server(Tomcat) is running |
35 | 20 | cluster.node.IP=127.0.0.1 |
36 | | -db.cloud.testOnBorrow=true |
37 | | -db.cloud.maxIdle=30 |
38 | | -db.cloud.autoReconnectForPools=true |
39 | | -db.cloud.trustStore= |
40 | | -region.id=1 |
41 | 21 | cluster.servlet.port=9090 |
| 22 | +region.id=1 |
| 23 | + |
| 24 | +# CloudStack database settings |
| 25 | +db.cloud.username=cloud |
| 26 | +db.cloud.password=ENC(vlzQjmqOV4s5q7n+S1OMbA==) |
42 | 27 | db.cloud.host=localhost |
43 | | -db.cloud.url.params=prepStmtCacheSize=517&cachePrepStmts=true |
| 28 | +db.cloud.port=3306 |
| 29 | +db.cloud.name=cloud |
| 30 | + |
44 | 31 | # CloudStack database tuning parameters |
45 | | -db.usage.name=cloud_usage |
46 | | -db.cloud.poolPreparedStatements=false |
47 | | -db.ha.enabled=false |
48 | | -db.cloud.keyStorePassphrase=vmops.com |
49 | | -db.simulator.maxActive=250 |
50 | | -db.cloud.username=cloud |
51 | | -db.usage.port=3306 |
| 32 | +db.cloud.maxActive=250 |
| 33 | +db.cloud.maxIdle=30 |
52 | 34 | db.cloud.maxWait=10000 |
53 | | -db.cloud.timeBetweenEvictionRunsMillis=40000 |
54 | | -db.cloud.keyStorePassword= |
55 | | -# usage database settings |
56 | | -db.cloud.queriesBeforeRetryMaster=5000 |
57 | 35 | db.cloud.validationQuery=SELECT 1 |
58 | | -db.usage.failOverReadOnly=false |
59 | | -db.cloud.maxActive=250 |
60 | | - |
61 | | -db.cloud.useSSL=false |
62 | | -db.usage.host=localhost |
63 | | -db.cloud.initialTimeout=3600 |
64 | | -# Encryption Settings |
65 | | -db.cloud.minEvictableIdleTimeMillis=240000 |
| 36 | +db.cloud.testOnBorrow=true |
66 | 37 | db.cloud.testWhileIdle=true |
| 38 | +db.cloud.timeBetweenEvictionRunsMillis=40000 |
| 39 | +db.cloud.minEvictableIdleTimeMillis=240000 |
| 40 | +db.cloud.poolPreparedStatements=false |
| 41 | +db.cloud.url.params=prepStmtCacheSize=517&cachePrepStmts=true |
| 42 | + |
67 | 43 | # CloudStack database SSL settings |
68 | | -db.cloud.slaves=localhost,localhost |
69 | | -db.simulator.maxIdle=30 |
| 44 | +db.cloud.useSSL=false |
70 | 45 | db.cloud.keyStore= |
71 | | -db.cloud.encrypt.secret=ENC(zaGuSF5a4KyWayn2t0yyjDa0HjdToVtZ) |
| 46 | +db.cloud.keyStorePassword= |
| 47 | +db.cloud.trustStore= |
| 48 | +db.cloud.trustStorePassword= |
| 49 | +db.cloud.keyStorePassphrase=vmops.com |
| 50 | + |
| 51 | +# Encryption Settings |
72 | 52 | db.cloud.encryption.type=file |
73 | | -db.cloud.failOverReadOnly=false |
| 53 | +db.cloud.encrypt.secret=ENC(zaGuSF5a4KyWayn2t0yyjDa0HjdToVtZ) |
74 | 54 |
|
75 | | -db.simulator.port=3306 |
| 55 | +# usage database settings |
76 | 56 | db.usage.password=ENC(cQEcN5aVucSYK+WUkPjDcw==) |
77 | 57 | db.usage.username=cloud |
78 | | -db.cloud.trustStorePassword= |
79 | | -db.simulator.username=cloud |
| 58 | +db.usage.host=localhost |
| 59 | +db.usage.port=3306 |
| 60 | +db.usage.name=cloud_usage |
| 61 | + |
| 62 | +# usage database tuning parameters |
| 63 | +db.usage.maxActive=100 |
| 64 | +db.usage.maxIdle=30 |
| 65 | +db.usage.maxWait=10000 |
80 | 66 | db.usage.url.params= |
81 | | -db.usage.initialTimeout=3600 |
82 | 67 |
|
83 | 68 | # Simulator database settings |
84 | | -db.cloud.reconnectAtTxEnd=true |
85 | | -db.usage.autoReconnect=true |
86 | | -#usage Database |
87 | | -db.simulator.maxWait=10000 |
88 | | -# cloud stack Database |
| 69 | +db.simulator.username=cloud |
89 | 70 | db.simulator.password=cloud |
90 | | -db.usage.reconnectAtTxEnd=true |
| 71 | +db.simulator.host=localhost |
| 72 | +db.simulator.port=3306 |
| 73 | +db.simulator.name=simulator |
| 74 | +db.simulator.maxActive=250 |
| 75 | +db.simulator.maxIdle=30 |
| 76 | +db.simulator.maxWait=10000 |
91 | 77 | db.simulator.autoReconnect=true |
92 | 78 |
|
| 79 | + |
| 80 | +# High Availability And Cluster Properties |
| 81 | +db.ha.enabled=false |
93 | 82 | db.ha.loadBalanceStrategy=com.cloud.utils.db.StaticStrategy |
| 83 | +# cloud stack Database |
| 84 | +db.cloud.slaves=localhost,localhost |
94 | 85 | db.cloud.autoReconnect=true |
95 | | -db.simulator.host=localhost |
96 | | -db.simulator.name=simulator |
97 | | -db.usage.queriesBeforeRetryMaster=5000 |
| 86 | +db.cloud.failOverReadOnly=false |
| 87 | +db.cloud.reconnectAtTxEnd=true |
| 88 | +db.cloud.autoReconnectForPools=true |
| 89 | +db.cloud.secondsBeforeRetryMaster=3600 |
| 90 | +db.cloud.queriesBeforeRetryMaster=5000 |
| 91 | +db.cloud.initialTimeout=3600 |
| 92 | + |
| 93 | +#usage Database |
98 | 94 | db.usage.slaves=localhost,localhost |
99 | | -db.usage.secondsBeforeRetryMaster=3600 |
| 95 | +db.usage.autoReconnect=true |
| 96 | +db.usage.failOverReadOnly=false |
| 97 | +db.usage.reconnectAtTxEnd=true |
100 | 98 | db.usage.autoReconnectForPools=true |
101 | | -db.cloud.secondsBeforeRetryMaster=3600 |
| 99 | +db.usage.secondsBeforeRetryMaster=3600 |
| 100 | +db.usage.queriesBeforeRetryMaster=5000 |
| 101 | +db.usage.initialTimeout=3600 |
0 commit comments