CENTOS 7.X安装Dell OMSA

  • 内容
  • 评论
  • 相关

参考文章:

http://www.madown.com/2017/05/23/zabbix%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%A1%AC%E4%BB%B6%E7%9B%91%E6%8E%A7%E4%B9%8Bdell-openmanage-server-administrator%E5%AE%89%E8%A3%85%E5%8F%8A%E4%BD%BF%E7%94%A8/

和我自己原来的CENTOS 6.X安装OMSA http://www.azurew.com/5815.html

添加yum源

先添加个yum源,把DELL的源添加进来

CentOS 6

$ vi /etc/yum.repos.d/DELL-OMSA.repo

[DELL-OMSA]
name=DELL-OMSA
baseurl=http://linux.dell.com/repo/hardware/dsu/os_dependent/RHEL6_64/
enabled=1
gpgcheck=1
gpgkey=http://linux.dell.com/repo/hardware/latest/public.key

CentOS 7

$ 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版本


其他命令:http://www.dell.com/support/manuals/cn/zh/cndhs1/dell-opnmang-srvr-admin-v7.3/omsa_cli-v1/omreport-%E5%91%BD%E4%BB%A4%E7%9A%84%E5%91%BD%E4%BB%A4%E6%91%98%E8%A6%81?guid=guid-6295cb3a-6545-425a-867c-485cc6b6c668&lang=zh-cn