#!/bin/bash # Copyright 2010-2013 Frank Liepold / 1&1 Internet AG # # Email: frank.liepold@1und1.de # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # add logical volume mit 4.1 TB lv_config_lv_name_list[${#lv_config_lv_name_list[*]}]=lv-$((${#lv_config_lv_name_list[*]} + 1))-4100 resource_name_list=(${lv_config_lv_name_list[$((${#lv_config_lv_name_list[*]} - 1))]}) resource_set_globals_depending_on_resource_name_list ## maxtime to wait for initial sync after join resource to stop resource_maxtime_initial_sync=72000 ## time for which the amount of data to sync must be constant ## to declare the sync process as inactive resource_time_constant_initial_sync=60 ## maxtime to wait for apply to stop resource_maxtime_apply=300 ## time for which the amount of data to apply must be constant to declare ## the apply process as having stopped resource_time_constant_apply=5 ## maxtime to wait for fetch to stop (after pause-fetch) resource_maxtime_fetch=300 ## time for which the amount of data to fetch must be constant to declare ## the fetch process as having stopped resource_time_constant_fetch=10 ## maxtime to wait for sync to stop resource_maxtime_sync=300 ## time for which the amount of data to sync must be constant ## to declare the sync process as inactive resource_time_constant_sync=10 run_list="resource_write_and_check lib_general_checks_after_every_test"