/
csm_master.cfg
113 lines (104 loc) · 3.68 KB
/
csm_master.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"csm" :
{
"role": "Master",
"thread_pool_size" : 1,
"api_permission_file": "/etc/ibm/csm/csm_api.acl",
"api_configuration_file": "/etc/ibm/csm/csm_api.cfg",
"log" :
{
"format" : "%TimeStamp% %SubComponent%::%Severity% | %Message%",
"consoleLog" : false,
"sysLog" : true,
"fileLog" : "/var/log/ibm/csm/csm_master.log",
"#rotationSize_comment_1" : "Maximum size (in bytes) of the log file, 1000000000 bytes is ~1GB",
"rotationSize" : 1000000000,
"default_sev" : "warning",
"csmdb" : "info",
"csmnet" : "info",
"csmd" : "info",
"csmras" : "info",
"csmapi" : "info",
"csmenv" : "info",
"transaction" : true,
"transaction_file" : "/var/log/ibm/csm/csm_transaction.log",
"transaction_rotation_size" : 1000000000,
"allocation_metrics" : true,
"allocation_metrics_file" : "/var/log/ibm/csm/csm_allocation_metrics.log",
"allocation_metrics_rotation_size" : 1000000000
},
"db" :
{
"connection_pool_size" : 10,
"host" : "127.0.0.1",
"name" : "csmdb",
"user" : "csmdb",
"password" : "",
"schema_name" : ""
},
"inventory" :
{
"csm_inv_log_dir" : "/var/log/ibm/csm/inv",
"ufm":
{
"ib_cable_errors" : "bad_ib_cable_records.txt",
"switch_errors" : "bad_switch_records.txt",
"ufm_switch_output_file_name" : "ufm_switch_output_file.json",
"ufm_switch_input_file_name" : "ufm_switch_output_file.json"
}
},
"net" :
{
"heartbeat_interval" : 15,
"local_client_listen" :
{
"socket" : "/run/csmd.sock",
"permissions" : 777,
"group" : ""
},
"aggregator_listen":
{
"host": "__MASTER__",
"port": 9815
},
"utility_listen":
{
"host": "__MASTER__",
"port": 9816
},
"ssl":
{
"ca_file": "",
"cred_pem": ""
}
},
"ras" :
{
"action" :
{
"fatal_event": "fatal_event.sh",
"scriptdir" : "/opt/ibm/csm/ras/actions",
"logdir" : "/var/log/ibm/csm/ras/actions",
"maxactions" : 1000,
"timeout" : 30
}
},
"ufm" :
{
"rest_address" : "__UFM_REST_ADDRESS__",
"rest_port" : 80,
"ufm_ssl_file_path" : "/etc/ibm/csm",
"ufm_ssl_file_name" : "csm_ufm_ssl_key.txt"
},
"recurring_tasks":
{
"enabled" : false,
"soft_fail_recovery" :
{
"enabled" : false,
"interval" : "00:01:00",
"retry" : 3
}
}
}
}