2 Documentation Kill nodes, delete all data created since boot, start nodes, wait for sync.
4 ... Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
6 ... This program and the accompanying materials are made available under the
7 ... terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 ... and is available at http://www.eclipse.org/legal/epl-v10.html
11 ... This suite is useful for undoing feature installation, Leader movement
12 ... and for recovering from bably broken state.
13 ... The intent is to provide speed compared to isolated job runs.
14 Suite Setup ClusterManagement.ClusterManagement_Setup
15 Default Tags clustering critical
18 Resource ${CURDIR}/../../libraries/ClusterManagement.robot
22 [Documentation] Kill every node, download karaf logs.
23 ClusterManagement.Kill_Members_From_List_Or_All
24 ClusterManagement.Safe_With_Ssh_To_List_Or_All_Run_Keyword member_index_list=${EMPTY} keyword_name=Download_Karaf_Log
26 Clean_Start_All_And_Sync
27 [Documentation] Remove various data folders, including ${KARAF_HOME}/data/ on every node.
28 ... Start each memberand wait for sync.
29 ClusterManagement.Clean_Directories_On_List_Or_All
30 ClusterManagement.Start_Members_From_List_Or_All
31 BuiltIn.Comment Basic synch performed, but waits for specific functionality may still be needed.
35 ${timestamp} = DateTime.Get_Current_Date time_zone=UTC result_format=%Y%m%d%H%M%S%f
36 SSHLibrary.Get_File ${WORKSPACE}${/}${BUNDLEFOLDER}${/}data${/}log${/}karaf.log karaf_${timestamp}.log