Upgrade SDC to use common cassandra cluster
[sdc.git] / sdc-os-chef / environments / Template.json
1 {
2    "name": "xxx",
3    "description": "OpenSource-xxx",
4    "json_class": "Chef::Environment",
5    "chef_type": "environment",
6
7    "default_attributes": {
8         "disableHttp": false,
9         "CS_VIP": "yyy",
10         "BE_VIP": "yyy",
11         "ONBOARDING_BE_VIP": "yyy",
12         "FE_VIP": "yyy",
13         "ES_VIP": "yyy",
14         "KB_VIP": "yyy",
15         "DCAE_BE_VIP": "yyy",
16         "DCAE_FE_VIP": "yyy",
17         "interfaces": {
18             "application": "eth0",
19             "private": "eth1"
20         },
21                 "ECompP": {
22                     "ecomp_rest_url": "http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/auxapi",
23             "ecomp_redirect_url": "http://portal.api.simpledemo.openecomp.org:8989/ECOMPPORTAL/login.htm",
24             "cipher_key": "AGLDdG4D04BKm2IxIWEr8o==",
25             "portal_user": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA=",
26             "portal_pass": "j85yNhyIs7zKYbR1VlwEfNhS6b7Om4l0Gx5O8931sCI=",
27             "portal_app_name": "Ipwxi2oLvDxctMA1royaRw1W0jhucLx+grHzci3ePIA="
28         },
29         "UEB": {
30             "PublicKey": "iPIxkpAMI8qTcQj8",
31             "SecretKey": "Ehq3WyT4bkif4zwgEbvshGal",
32             "fqdn": ["10.0.11.1", "10.0.11.1"]
33         },
34         "Nodes": {
35             "CS": [
36               "yyy"
37             ],
38             "BE":            "yyy",
39             "ONBOARDING_BE": "yyy",
40             "FE":            "yyy",
41             "ES": [
42                "yyy"
43             ],
44             "KB":            "yyy"
45         },
46         "VnfRepo": {
47              "vnfRepoPort": "8702",
48              "vnfRepoHost": "10.0.14.1"
49            }
50     },
51     "override_attributes": {
52         "FE": {
53             "http_port": "8181",
54             "https_port": "9443"
55         },
56         "BE": {
57             "http_port": "8080",
58             "https_port": "8443"
59         },
60         "ONBOARDING_BE": {
61             "http_port": "8081",
62             "https_port": "8445",
63             "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/"
64         },
65         "elasticsearch": {
66             "cluster_name": "SDC-ES-",
67             "ES_path_home": "/usr/share/elasticsearch",
68             "ES_path_data": "/usr/share/elasticsearch/data",
69             "num_of_replicas": "0",
70             "num_of_shards": "1"
71         },
72
73         "cassandra": {
74             "cassandra_port": 9042,
75             "concurrent_reads": "32",
76             "num_tokens": "256",
77             "data_dir": "/var/lib/cassandra/data",
78             "hinted_handoff_enabled": "true",
79             "cassandra_user": "asdc_user",
80             "cassandra_password": "Aa1234%^!",
81             "concurrent_writes": "32",
82             "cluster_name": "SDC-CS-",
83             "datacenter_name": "SDC-CS-",
84             "multithreaded_compaction": "false",
85             "cache_dir": "/var/lib/cassandra/saved_caches",
86             "log_file": "/var/lib/cassandra/log/system.log",
87             "phi_convict_threshold": "8",
88             "commitlog_dir": "/var/lib/cassandra/commitlog",
89             "socket_read_timeout": "20000",
90             "socket_connect_timeout": "20000",
91             "titan_connection_timeout": "10000",
92             "replication_factor": "1"
93         }
94     }
95 }
96