下载地址:http://www.iometer.org/doc/downloads.html
# win 下 安装 iometer-1.1.0-win64.x86_64-bin.zip
# 双击 Iometer.exe
# linux 下安装 iometer-1.1.0-linux.x86_64-bin.tar.bz2
# bzip2 -d iometer-1.1.0-linux.x86_64-bin.tar.bz2 # 解压
# tar -xf iometer-1.1.0-linux.x86_64-bin.tar
# chmod +x dynamo
# ./dynamo -i win_ip -m linux_ip
若有以下报错,则需要更改hosts
Dynamo version 1.1.0, x86-64, built Mar 25 2014 22:08:27
===> ERROR: Getting host name for "mysql-01" failed. [PortTCP::Create() in IOPortTCP.cpp line 238] errno = 0 *** Could not create a TCP/IP Port. exiting..... |
# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 mysql-01 |
# ./dynamo -i 192.168.1.63 -m 192.168.1.153
Dynamo version 1.1.0, x86-64, built Mar 25 2014 22:08:27
Command line parameter(s): Looking for Iometer on "192.168.1.63" Sending login request... mysql-01 192.168.1.153 (port 60523) Successful PortTCP::Connect - port name: 192.168.1.63
*** If dynamo and iometer hangs here, please make sure *** you use a correct -m *** can ping from iometer machine. use IP if need. Login accepted. Reporting drive information... Set_Sizes: Open on "/sys/iobw.tst" failed (error No such file or directory). Set_Sizes: Open on "/dev/iobw.tst" failed (error Invalid argument). Set_Sizes: Open on "/sys/kernel/security/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/dev/shm/iobw.tst" failed (error Invalid argument). Set_Sizes: Open on "/run/iobw.tst" failed (error Invalid argument). Set_Sizes: Open on "/sys/fs/cgroup/iobw.tst" failed (error Read-only file system). Set_Sizes: Open on "/sys/fs/cgroup/systemd/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/pstore/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/freezer/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/memory/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/cpuset/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/perf_event/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/devices/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/hugetlb/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/cpu,cpuacct/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/blkio/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/fs/cgroup/net_cls/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/kernel/config/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/proc/sys/fs/binfmt_misc/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/sys/kernel/debug/iobw.tst" failed (error Permission denied). Set_Sizes: Open on "/dev/mqueue/iobw.tst" failed (error Invalid argument). Set_Sizes: Open on "/dev/hugepages/iobw.tst" failed (error Invalid argument). Set_Sizes: Open on "/run/user/0/iobw.tst" failed (error Invalid argument). Set_Sizes: Open on "/proc/sys/fs/binfmt_misc/iobw.tst" failed (error Permission denied). Physical drives (raw devices)... Set_Sizes: Open on "/dev/fd0" failed (error No such device or address). Set_Sizes: Open on "/dev/sr0" failed (error Read-only file system). Reporting TCP network information... done. |
# 可以测试了