参考文章:
和我自己原来的CENTOS 6.X安装OMSA http://www.azurew.com/5815.html
添加yum源
先添加个yum源,把DELL的源添加进来
$ vi /etc/yum.repos.d/DELL-OMSA.repo
[DELL-OMSA]
name=DELL-OMSA
baseurl=http://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL7_64/
enabled=1
gpgcheck=1
gpgkey=http://linux.dell.com/repo/hardware/latest/public.key
开始安装OMSA
yum -y install srvadmin-all
等安装
安装SNMP
yum install -y net-snmp
yum install -y net-snmp-devel
yum install -y net-snmp-libs
yum install -y net-snmp-perl
yum install -y net-snmp-utils
将SNMP服务设置为开机启动
systemctl enable snmpd
启动OMSA服务
/opt/dell/srvadmin/sbin/srvadmin-services.sh start
将OMSA设置为开机启动
echo
‘/opt/dell/srvadmin/sbin/srvadmin-services.sh start’ >> /etc/rc.local
开通防火墙端口
firewall-cmd –zone=public –add-port=80/tcp –permanent
重载防火墙配置
firewall-cmd –reload
OMSA命令
omreport about 查看OMSA版本