LMT: LMT installation
Installation
- In an running lustre
- Download cerebro-1.18 from https://github.com/chaos/cerebro/releases/download/cerebro-1-18-1/cerebro-1.18.tar.gz
[root@mds cerebro-1.18]# wget https://github.com/chaos/cerebro/releases/download/cerebro-1-18-1/cerebro-1.18.tar.gz [root@mds cerebro-1.18]# rpmbuild -ba cerebro.spec
- Download lmt-3.1.8 https://github.com/LLNL/lmt/releases/download/3.1.8/lmt-3.1.8.tar.gz
[root@mds cerebro-1.18]# wget https://github.com/LLNL/lmt/releases/download/3.1.8/lmt-3.1.8.tar.gz [root@mds cerebro-1.18]# rpmbuild -ba lmt.spec
- Rpm should be generated
[root@mds ~]# ls rpmbuild/RPMS/x86_64/ cerebro-1.18-1.x86_64.rpm cerebro-clusterlist-hostsfile-1.18-1.x86_64.rpm cerebro-debuginfo-1.18-1.x86_64.rpm cerebro-event-updown-1.18-1.x86_64.rpm cerebro-metric-boottime-1.18-1.x86_64.rpm cerebro-metric-loadavg-1.18-1.x86_64.rpm cerebro-metric-memory-1.18-1.x86_64.rpm cerebro-metric-network-1.18-1.x86_64.rpm lmt-3.1.8-1.x86_64.rpm lmt-server-3.1.8-1.x86_64.rpm lmt-server-agent-3.1.8-1.x86_64.rpm
Install
- Install cerebro and lmt-server-agent on Lustre servers (OSS, MDS)
- Install cerebro and lmt-server on management node
- Restart cerebrod on Lustre servers.
- Run ltop (included in lmt-server) on management node.
- on Any MDT
<nowiki>
[root@mds ~]# /usr/sbin/lmtmetric -m mdt mdt: 1;mds;0.008771;2.242399;mylustre-MDT0000;52428558;52428800;73786856;73853732;10;0;0;10;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;10;0;0;0;0;0;0;0;0;8;0;0;11;0;0;0;0;0;0;0;0;0;0;0
[root@oss ~]# /usr/sbin/lmtmetric -m ost ost: 2;oss;0.004925;1.886331;mylustre-OST0000;1548536;1548800;103177832;103241000;0;6699027;13;3;3;0;0;2;0;INACTIVE 0s remaining;
Filesystem: mylustre
Inodes: 50.000m total, 0.000m used ( 0%), 50.000m free
Space: 0.096t total, 0.000t used ( 0%), 0.096t free
Bytes/s: 0.000g read, 0.000g write, 0 IOPS
MDops/s: 0 open, 0 close, 0 getattr, 0 setattr
0 link, 0 unlink, 0 mkdir, 0 rmdir
0 statfs, 0 rename, 0 getxattr
>OST S OSS Exp CR rMB/s wMB/s IOPS LOCKS LGR LCR %cpu %mem %spc 0000 oss 3 0 0 0 0 3 0 0 0 2 0
[root@mgs ~]# ltop
<nowiki>