log_dir = 'log' # default is cm_agent data dir
log_file_size = 16MB # only support MB
log_min_messages = WARNING # log_min_messages.
# Default WARNING.
# Valid value: DEBUG5, DEBUG1, WARNING, ERROR, LOG, FATAL
incremental_build = on # Enable the dn incremental build mode.
# Default on.
# Valid value: on, off
security_mode = off # Enable the datanode or coordinator security mode.
# Default off.
# Valid value: on, off
upgrade_from = 0 # the version number of the cluster before upgrade
alarm_component = '/opt/huawei/snas/bin/snas_cm_cmd' # Sets the component for alarm function
agent_report_interval = 1 #interval of cm_agent report instance status to cm_server in sec
agent_heartbeat_timeout = 5 #timeout of cm_agent receive cm_server heartbeat in sec, when cma don't get the heartbeat msg from cms for this time, it will kill conn of cms
agent_connect_timeout = 1 #timeout of cm_agent connect to cm_server in sec
agent_connect_retries = 15 #cm_agent retry to connect to cm_server
agent_kill_instance_timeout=0 #timeout for kill instances when cm_agent is lost connection with cms primary.
#Default 0 means don't kill instances after it is lost.
#If configured, it must be greater than the time that was exausted by cms to promote as primary.
alarm_report_interval = 1 # Set the alarm report interval
# Default 10 secs.
alarm_report_max_count = 1 # Set the alarm report max count
# Default 5 times.
agent_check_interval = 2 #Time interval for cm_agent checking the instance.
enable_log_compress = on #enable compress log,Valid value: on, off
enable_vtable = off #enable vtable mode,Valid value: on, off
process_cpu_affinity = 0 #enable cpu bind, Valid value: 0-2
#default 0
enable_xc_maintenance_mode = on #enable using xc_maintenance_mode to connect dn
log_threshold_check_interval = 1800
log_max_size=10240 #the unit is MB,the priority is 5
log_max_count=10000 #the max trace count save on disk,the priority is 3
log_saved_days=90 #guard trace saved days,the priority,the priority is 4
agent_phony_dead_check_interval = 10 #the interval of cm_agent check DN phony dead
unix_socket_directory = '' #directory of unix socket
dilatation_shard_count_for_disk_capacity_alarm = 1 #check disk capacity, 0 means off, bigger than 0 means dilatation shard number
enable_dcf = off
agent_backup_open = 0
environment_threshold = (90,90,90,0,0) #the threshold of system status check, index is 0:memory, 1:cpu, 2:diskIO, 3:instance memory, 4:instance pool
diskusage_threshold_value_check = 90 #disk usage threshold check
disk_check_timeout = 2000 #disk read/write check timeout, unit: ms
disk_check_interval = 1 #disk read/write check interval, unit: s
disk_check_buffer_size = 1 #disk read/write check buffer size
enable_xalarmd_slow_disk_check = false #whether to use the xalarmd plugin for slow disk detection. Note: The xalarmd plugin is provided by the operating system.
enable_xalarm_event_check = off #enable dedicated xalarm event thread, currently PANIC(1007)/KERNEL_REBOOT(1009) are handled
xalarm_node_map = '' #format: nodeId:cna;nodeId:cna, used to map xalarm payload(cna) to CM node
voting_disk_path = ''
disk_timeout = 200
agent_rhb_interval = 1000 # the heatbeat of cma to cma broadcast interval, unit is ms
enable_ssl = on # enable cma to cma ssl
ssl_cert_expire_alert_threshold = 90
ssl_cert_expire_check_interval = 86400
db_service_vip = '' # db primary virtual ip address
# default '' means no virutal ip configured
enable_fence_dn = off #enable fence the datanode when cma cannot connect to any cms.
#if set to on, restart datenode after 30 seconds. otherwise, don't restart datanode.
#default off
ss_double_cluster_mode = 0 #cluster run mode for ss double cluster scene, Valid value: 0-2
############### must leave a new line at the end ###################