-
Notifications
You must be signed in to change notification settings - Fork 0
/
POSTCHECK-DRAFT
executable file
·50 lines (40 loc) · 1.22 KB
/
POSTCHECK-DRAFT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# DRAFT FOR MOAR POST-INSTALL CHECK-UPS
#echo NETWORK LAYER 1
#echo
#dsh -e -g xen -s running.hosts.bash.netif
#echo ''
echo NETWORK AGGREGATE
echo
dsh -e -g xen "cat /sys/class/net/bonding_masters /sys/class/net/bond0/speed"
dsh -e -g xen "cat /proc/net/bonding/bond0 | grep -E '^Speed|^Bonding Mode'"
echo ''
echo JUMBO FRAMES
echo
dsh -e -g xen "for netif in eth1 xenbr0 eth2 eth3 bond0 clusterbr0; do echo -n \$netif: ; ifconfig \$netif | head -1 | awk '{print \$NF}'; done; unset netif"
echo
echo QUEUE LENGTH
echo
dsh -e -g xen "for netif in eth1 xenbr0 eth0 eth2 eth3 bond0 clusterbr0; do echo -n \$netif: ; ifconfig \$netif | grep txqueuelen | awk '{print \$4}'; done; unset netif"
echo
echo LINK STATUS
echo
dsh -e -g xen mii-tool eth{0,1,2,3}
echo
echo GRO
echo
dsh -e -g xen "for nic in eth1 eth0 eth2 eth3; do echo -n \$netif: ; ethtool -k \$nic 2>/dev/null | grep gro; done; unset nic"
echo
echo BNX2 FIX
echo
dsh -e -g xen "cat /etc/modprobe.d/bnx2.conf"
echo
echo BNX2 STATUS
echo
dsh -e -g xen "cat /sys/module/bnx2/parameters/disable_msi"
echo
echo CLUSTER HEARTBEAT
dsh -e -g xen "ssh slack1hb hostname"
dsh -e -g xen "ssh slack2hb hostname"
dsh -e -g xen "ssh slack3hb hostname"
dsh -e -g xen "ssh slack4hb hostname"
echo