Home
last modified time | relevance | path

Searched refs:test_ip (Results 1 – 25 of 158) sorted by relevance

1234567

/dports/net/samba412/samba-4.12.15/ctdb/tests/CLUSTER/complex/
H A D60_rogueip_releaseip.sh15 echo "Using $test_ip, which is onnode $test_node"
20 case "$test_ip" in
26 echo "Finding another node that knows about $test_ip"
34 n=$(awk -v ip="$test_ip" '$1 == ip { print }' "$outfile")
41 die "Unable to find another node that knows about $test_ip"
44 echo "Adding $test_ip on node $other_node"
45 try_command_on_node $other_node "ip addr add ${test_ip}/${mask} dev ${iface}"
50 local test_ip="$2"
51 try_command_on_node $pnn $CTDB_TEST_WRAPPER ip_maskbits_iface $test_ip
56 wait_until 30 rogue_ip_is_gone $other_node $test_ip
H A D61_rogueip_takeip.sh15 echo "Running test against node $test_node and IP $test_ip"
24 case "$test_ip" in
30 echo "Deleting IP $test_ip from all nodes"
31 delete_ip_from_all_nodes $test_ip
33 wait_until_ips_are_on_node ! $test_node $test_ip
41 echo "Adding IP $test_ip to $iface and CTDB on node $test_node"
42 ip_cmd="ip addr add $test_ip/$mask dev $iface"
43 ctdb_cmd="$CTDB addip $test_ip/$mask $iface && $CTDB ipreallocate"
46 wait_until_ips_are_on_node $test_node $test_ip
H A D41_failover_ping_discrete.sh38 echo "Removing ${test_ip} from the local neighbor table..."
41 echo "Pinging ${test_ip}..."
42 ping_wrapper -q -n -c 1 $test_ip
52 echo "Removing ${test_ip} from the local neighbor table again..."
55 echo "Pinging ${test_ip} again..."
56 ping_wrapper -q -n -c 1 $test_ip
H A D11_ctdb_delip_removes_ip.sh16 echo "Checking that node ${test_node} hosts ${test_ip}..."
17 try_command_on_node $test_node "ip addr show to ${test_ip} | grep -q ."
19 echo "Attempting to remove ${test_ip} from node ${test_node}."
20 try_command_on_node $test_node $CTDB delip $test_ip
22 wait_until_ips_are_on_node '!' $test_node $test_ip
27 echo "Waiting for ${test_ip} to disappear from node ${test_node}..."
H A D32_cifs_tickle.sh41 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with netcat..."
43 sleep $((monitor_interval * 4)) | nc $test_ip $test_port &
47 wait_until_get_src_socket "tcp" "${test_ip}:${test_port}" $nc_pid "nc"
54 wait_until 10 check_tickles $test_node $test_ip $test_port $src_socket
62 check_tickles_all $numnodes $test_ip $test_port $src_socket
63 tcptickle_sniff_start $src_socket "${test_ip}:${test_port}"
H A D31_nfs_tickle.sh43 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with netcat..."
45 sleep $((monitor_interval * 4)) | nc $test_ip $test_port &
49 wait_until_get_src_socket "tcp" "${test_ip}:${test_port}" $nc_pid "nc"
56 wait_until 10 check_tickles $test_node $test_ip $test_port $src_socket
64 check_tickles_all $numnodes $test_ip $test_port $src_socket
66 tcptickle_sniff_start $src_socket "${test_ip}:${test_port}"
H A D42_failover_ssh_hostname.sh38 echo "Removing ${test_ip} from the local neighbor table..."
41 echo "SSHing to ${test_ip} and running hostname..."
42 if ! original_hostname=$(ssh -o "StrictHostKeyChecking no" $test_ip hostname) ; then
56 echo "SSHing to ${test_ip} and running hostname (again)..."
57 if ! new_hostname=$(ssh -o "StrictHostKeyChecking no" $test_ip hostname) ; then
H A D30_nfs_tickle_killtcp.sh35 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with netcat..."
37 sleep 30 | nc $test_ip $test_port &
41 wait_until_get_src_socket "tcp" "${test_ip}:${test_port}" $nc_pid "nc"
45 echo "Getting MAC address associated with ${test_ip}..."
50 tcptickle_sniff_start $src_socket "${test_ip}:${test_port}"
H A D33_gratuitous_arp.sh44 echo "Removing ${test_ip} from the local ARP table..."
47 echo "Pinging ${test_ip}..."
48 ping_wrapper -q -n -c 1 $test_ip
50 echo "Getting MAC address associated with ${test_ip}..."
64 echo "Getting MAC address associated with ${test_ip} again..."
H A D36_smb_reset_server.sh41 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with nc..."
43 sleep $((monitor_interval * 4)) | nc $test_ip $test_port &
47 wait_until_get_src_socket "tcp" "${test_ip}:${test_port}" $nc_pid "nc"
54 wait_until 10 check_tickles $test_node $test_ip $test_port $src_socket
57 ss_filter="src ${test_ip}:${test_port} dst ${src_socket}"
H A D37_nfs_reset_server.sh41 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with nc..."
43 sleep $((monitor_interval * 4)) | nc $test_ip $test_port &
47 wait_until_get_src_socket "tcp" "${test_ip}:${test_port}" $nc_pid "nc"
53 check_tickles $test_node $test_ip $test_port $src_socket
57 ss_filter="src ${test_ip}:${test_port} dst ${src_socket}"
H A D34_nfs_tickle_restart.sh42 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with netcat..."
44 sleep 600 | nc $test_ip $test_port &
48 wait_until_get_src_socket "tcp" "${test_ip}:${test_port}" $nc_pid "nc"
55 wait_until 10 check_tickles $test_node $test_ip $test_port $src_socket
78 check_tickles_all $numnodes $test_ip $test_port $src_socket ; then
/dports/net/samba412/samba-4.12.15/ctdb/tests/INTEGRATION/failover/
H A Dpubips.050.missing_ip.sh25 echo "Running test against node $test_node and IP $test_ip"
29 echo "Deleting IP $test_ip from all nodes"
30 delete_ip_from_all_nodes $test_ip
32 wait_until_ips_are_on_node ! $test_node $test_ip
61 echo "Adding IP $test_ip to node $test_node"
62 try_command_on_node $test_node $CTDB addip $test_ip/$mask $iface
68 echo "Ensuring that IP ${test_ip} is not hosted on node ${test_node} when interface is down"
69 if ips_are_on_node '!' $test_node $test_ip; then
78 wait_until_ips_are_on_node $test_node $test_ip
H A Dpubips.010.addip.sh24 echo "Deleting IP $test_ip from all nodes"
25 delete_ip_from_all_nodes $test_ip
27 wait_until_ips_are_on_node '!' $test_node $test_ip
32 echo "Adding IP ${test_ip}/${mask} on ${iface}, node ${test_node}"
33 try_command_on_node $test_node $CTDB addip ${test_ip}/${mask} $iface
35 wait_until_ips_are_on_node $test_node $test_ip
H A Dpubips.020.moveip.sh57 if [ "$ip" = "$test_ip" ] ; then
77 echo "Attempting to move ${test_ip} from node ${test_node} to node ${to_node}"
78 try_command_on_node $test_node $CTDB moveip $test_ip $to_node
79 wait_until_ips_are_on_node '!' $test_node $test_ip
80 wait_until_ips_are_on_node $to_node $test_ip
H A Dpubips.012.reloadips.sh71 echo "Removing IP $test_ip from node $test_node"
73 try_command_on_node $test_node "mv $addresses $backup && grep -v '^${test_ip}/' $backup >$addresses"
79 if grep "^${test_ip} " <<<"$out" ; then
81 BAD: node $test_node can still host IP $test_ip:
88 GOOD: node $test_node is no longer hosting IP $test_ip:
/dports/net/samba412/samba-4.12.15/ctdb/tests/CLUSTER/complex/scripts/
H A Dlocal.bash65 local test_ip="$2"
68 try_command_on_node $node ctdb gettickles $test_ip $test_port
76 local test_ip="$2"
80 try_command_on_node all ctdb gettickles $test_ip $test_port
223 tcpdump_start "arp host ${test_ip}"
229 local hex=$(ipv6_to_hex "$test_ip")
237 case "$test_ip" in
265 nfs_first_export=$(showmount -e $test_ip | sed -n -e '2s/ .*//p')
278 echo "Mounting ${test_ip}:${nfs_first_export} on ${nfs_mnt_d} ..."
280 "[${test_ip}]:${nfs_first_export}" ${nfs_mnt_d}
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/cts/scheduler/scores/
H A Ddate-2.scores4 pcmk__group_allocate: test_ip allocation score on router1: 100
5 pcmk__group_allocate: test_ip allocation score on router2: 0
8 pcmk__native_allocate: test_ip allocation score on router1: 100
9 pcmk__native_allocate: test_ip allocation score on router2: 0
H A Ddate-3.scores4 pcmk__group_allocate: test_ip allocation score on router1: 100
5 pcmk__group_allocate: test_ip allocation score on router2: 0
8 pcmk__native_allocate: test_ip allocation score on router1: 100
9 pcmk__native_allocate: test_ip allocation score on router2: 0
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/pengine/test10/
H A Ddate-3.scores4 pcmk__group_allocate: test_ip allocation score on router1: 100
5 pcmk__group_allocate: test_ip allocation score on router2: 0
8 pcmk__native_allocate: test_ip allocation score on router1: 100
9 pcmk__native_allocate: test_ip allocation score on router2: 0
H A Ddate-2.scores4 pcmk__group_allocate: test_ip allocation score on router1: 100
5 pcmk__group_allocate: test_ip allocation score on router2: 0
8 pcmk__native_allocate: test_ip allocation score on router1: 100
9 pcmk__native_allocate: test_ip allocation score on router2: 0
H A Ddate-3.summary6 test_ip (heartbeat:IPaddr2_vlan): Stopped
17 test_ip (heartbeat:IPaddr2_vlan): Stopped
H A Ddate-2.summary6 test_ip (heartbeat:IPaddr2_vlan): Stopped
17 test_ip (heartbeat:IPaddr2_vlan): Stopped
/dports/mail/spmfilter/spmfilter-0.6.7/test/
H A Dtest_settings.c145 smf_settings_set_nexthop(settings, test_ip); in main()
149 if(strcmp(smf_settings_get_nexthop(settings),test_ip) != 0) { in main()
255 smf_settings_set_bind_ip(settings, test_ip); in main()
259 if(strcmp(smf_settings_get_bind_ip(settings),test_ip) != 0) { in main()
376 s = strdup(test_ip); in main()
457 smf_settings_set_ldap_uri(settings, test_ip); in main()
461 if (strcmp(smf_settings_get_ldap_uri(settings),test_ip) != 0) { in main()
468 s = strdup(test_ip); in main()
/dports/net/samba412/samba-4.12.15/ctdb/tests/scripts/
H A Dintegration.bash268 test_ip="${test_node_ips%% *}"
270 case "$test_ip" in
271 *:*) test_prefix="${test_ip}/128" ;;
272 *) test_prefix="${test_ip}/32" ;;
298 …try_command_on_node $test_node "$CTDB ip -v -X | awk -F'|' -v ip=$test_ip '\$2 == ip { print \$4 }…
303 try_command_on_node $test_node ip addr show to $test_ip
310 echo "$test_ip/$mask is on $iface"

1234567