|Visibility and the software defined data center|
The talk provides additional background on the sFlow standard and case studies. The remainder of this article describes how to use Host sFlow to monitor a Docker server pool.
First, download, compile and install the Host sFlow agent on a Docker host (Note: The agent needs to be built from sources since Docker support is currently in the development branch):
svn checkout http://svn.code.sf.net/p/host-sflow/code/trunk host-sflow-code cd host-sflow-code make DOCKER=yes make install make schedule service hsflowd startNext, if SE Linux is enabled, run the following commands to allow Host sFlow to retrieve network stats (or disable SE Linux):
audit2allow -a -M hsflowd semodule -i hsflowd.ppSee Installing Host sFlow on a Linux server for additional information on configuring the agent.
The Host sFlow agent makes it easy to enable sFlow on Open vSwitch. Simply enable the sflowovd daemon and Host sFlow configuration settings will be automatically applied to the Open vSwitch.
service sflowovsd startThere are a number of tools that consume and report on sFlow data and these should be able to report on Docker since the metrics being reported are the same standard set reported for virtual machines. Here are a few examples from this blog:
- sFlowTrend adds server performance monitoring
- Using Ganglia to monitor virtual machine pools
- Cluster performance metrics
- Metric export to Graphite