From 4f8dc363739f905f190469ca764b5206087b755f Mon Sep 17 00:00:00 2001 From: Sajjad Lateef Date: Tue, 22 Mar 2011 11:17:33 -0700 Subject: xenserver: Collect /proc/slabinfo in a Server Status Report /proc/slabinfo gives information about memory usage as slab level and can be used to diagnose memory issues on memory-limited systems --- xenserver/README | 5 +++++ xenserver/automake.mk | 1 + ...c_xensource_bugtool_kernel-info_openvswitch.xml | 23 ++++++++++++++++++++++ xenserver/openvswitch-xen.spec | 4 ++++ 4 files changed, 33 insertions(+) create mode 100644 xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml (limited to 'xenserver') diff --git a/xenserver/README b/xenserver/README index 3e63374c7..3f2677602 100644 --- a/xenserver/README +++ b/xenserver/README @@ -40,6 +40,11 @@ files are: Open vSwitch. Runs usr_share_openvswitch_scripts_xen-bugtool-tc-class-show. + etc_xensource_bugtool_kernel-info_openvswitch.xml + + xen-bugtool extension to collect kernel information relevant to + Open vSwitch. + etc_xensource_scripts_vif Open vSwitch-aware replacement for Citrix script of the same name. diff --git a/xenserver/automake.mk b/xenserver/automake.mk index 0a44797d7..225386b90 100644 --- a/xenserver/automake.mk +++ b/xenserver/automake.mk @@ -16,6 +16,7 @@ EXTRA_DIST += \ xenserver/etc_profile.d_openvswitch.sh \ xenserver/etc_xapi.d_plugins_openvswitch-cfg-update \ xenserver/etc_xensource_bugtool_network-status_openvswitch.xml \ + xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml \ xenserver/etc_xensource_scripts_vif \ xenserver/openvswitch-xen.spec \ xenserver/opt_xensource_libexec_InterfaceReconfigure.py \ diff --git a/xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml b/xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml new file mode 100644 index 000000000..67d8b88e6 --- /dev/null +++ b/xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml @@ -0,0 +1,23 @@ + + + + + /proc/slabinfo + + diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index 6516086f4..7a2e1761d 100644 --- a/xenserver/openvswitch-xen.spec +++ b/xenserver/openvswitch-xen.spec @@ -83,6 +83,9 @@ install -m 755 xenserver/etc_xapi.d_plugins_openvswitch-cfg-update \ install -d -m 755 $RPM_BUILD_ROOT/etc/xensource/bugtool/network-status install -m 644 xenserver/etc_xensource_bugtool_network-status_openvswitch.xml \ $RPM_BUILD_ROOT/etc/xensource/bugtool/network-status/openvswitch.xml +install -d -m 755 $RPM_BUILD_ROOT/etc/xensource/bugtool/kernel-info +install -m 644 xenserver/etc_xensource_bugtool_kernel-info_openvswitch.xml \ + $RPM_BUILD_ROOT/etc/xensource/bugtool/kernel-info/openvswitch.xml install -d -m 755 $RPM_BUILD_ROOT/usr/share/openvswitch/scripts install -m 644 vswitchd/vswitch.ovsschema \ $RPM_BUILD_ROOT/usr/share/openvswitch/vswitch.ovsschema @@ -313,6 +316,7 @@ fi /etc/init.d/openvswitch-xapi-update /etc/xapi.d/plugins/openvswitch-cfg-update /etc/xensource/bugtool/network-status/openvswitch.xml +/etc/xensource/bugtool/kernel-info/openvswitch.xml /etc/logrotate.d/openvswitch /etc/profile.d/openvswitch.sh /usr/share/openvswitch/python/ovs/__init__.py -- cgit v1.2.1