How can I determine the network latency of my multi-site cluster?
Environment
- Red Hat Enterprise Linux Server 5 (with the High Availability Add on)
- Red Hat Enterprise Linux Server 6 (with the High Availability Add on)
- Red Hat Enterprise Linux Server 7 (with the High Availability Add on)
- Red Hat Ceph Storage
- Red Hat Gluster Storage
Issue
- What is a good way to measure site to site network latency?
Resolution
The ping command is a good way to measure the latency. The following command is an example and should be run at each site while pinging another site:
$ ping -c100 -q other.node.ip
If more detailed results are needed, some more complex tools should be used instead, like mtr. Refer to their man pages for details.
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.