--- apps/leo_storage/priv/leo_storage.conf.orig 2017-11-22 13:11:55.000000000 +0000 +++ apps/leo_storage/priv/leo_storage.conf 2017-11-29 20:42:19.732467000 +0000 @@ -16,7 +16,7 @@ ## about configuration parameters ## SASL error log path -## sasl.sasl_error_log = ./log/sasl/sasl-error.log +## sasl.sasl_error_log = %%LEOFS_LOGDIR%%/leo_storage/sasl/sasl-error.log ## Restricts the error logging performed by the specified sasl_error_logger ## to error reports, progress reports, or both. @@ -25,7 +25,7 @@ ## Specifies in which directory the files are stored. ## If this parameter is undefined or false, the error_logger_mf_h is not installed. -## sasl.error_logger_mf_dir = ./log/sasl +## sasl.error_logger_mf_dir = %%LEOFS_LOGDIR%%/leo_storage/sasl ## Specifies how large each individual file can be. ## If this parameter is undefined, the error_logger_mf_h is not installed. @@ -39,13 +39,13 @@ ## Manager's Node(s) ## -------------------------------------------------------------------- ## Name of Manager node(s) -managers = [manager_0@127.0.0.1, manager_1@127.0.0.1] +managers = [manager@127.0.0.1, manager_slave@127.0.0.1] ## -------------------------------------------------------------------- ## STORAGE ## -------------------------------------------------------------------- ## Object container -obj_containers.path = [./avs] +obj_containers.path = [%%LEOFS_DBDIR%%/leo_storage/avs] obj_containers.num_of_containers = [8] ## e.g. Case of plural pathes @@ -313,16 +313,16 @@ ## log.access_log_level = 0 ## Output log file(s) - Erlang's log -## log.erlang = ./log/erlang +## log.erlang = %%LEOFS_LOGDIR%%/leo_storage/erlang ## Output log file(s) - app -## log.app = ./log/app +## log.app = %%LEOFS_LOGDIR%%/leo_storage/app ## Output log file(s) - members of storage-cluster -## log.member_dir = ./log/ring +## log.member_dir = %%LEOFS_LOGDIR%%/leo_storage/ring ## Output log file(s) - ring -## log.ring_dir = ./log/ring +## log.ring_dir = %%LEOFS_LOGDIR%%/leo_storage/ring ## Output data-diagnosis log log.is_enable_diagnosis_log = true @@ -331,10 +331,10 @@ ## STORAGE - Other Directories ## -------------------------------------------------------------------- ## Directory of db for MQs -## queue_dir = ./work/queue +## queue_dir = %%LEOFS_DBDIR%%/leo_storage/queue ## Directory of SNMP agent configuration -## snmp_agent = ./snmp/snmpa_storage_0/LEO-STORAGE +## snmp_agent = %%PREFIX%%/lib/leofs/snmp/snmpa_storage/LEO-STORAGE ## -------------------------------------------------------------------- @@ -344,7 +344,7 @@ leo_ordning_reda.send_after_interval = 0 ## Temporary directory of stacked objects -## leo_ordning_reda.temp_stacked_dir = "work/ord_reda/" +## leo_ordning_reda.temp_stacked_dir = %%LEOFS_DBDIR%%/leo_storage/ord_reda/ ## -------------------------------------------------------------------- @@ -418,7 +418,7 @@ ## For vm.args ##====================================================================== ## Name of the leofs-storage node -nodename = storage_0@127.0.0.1 +nodename = storage@127.0.0.1 ## Cookie for distributed node communication. All nodes in the same cluster ## should use the same cookie or they will not be able to communicate. @@ -434,7 +434,7 @@ erlang.max_ports = 64000 ## Set the location of crash dumps -erlang.crash_dump = ./log/erl_crash.dump +erlang.crash_dump = %%LEOFS_LOGDIR%%/leo_storage/erl_crash.dump ## Raise the ETS table limit erlang.max_ets_tables = 256000 @@ -464,4 +464,4 @@ process_limit = 1048576 ## Path of SNMP-agent configuration -## snmp_conf = ./snmp/snmpa_storage_0/leo_storage_snmp +snmp_conf = %%PREFIX%%/lib/leofs/snmp/snmpa_storage/leo_storage_snmp