分类: 服务器与存储
2016-03-31 14:53:06
Openmamage 安装手顺
1.挂载本地镜像
mount -o loop
挂载光盘镜像
mount /dev/cdrom /mnt
2.安装
cd /mnt
./install.sh
xe-install-supplemental-pack
cd /opt/dell/srvadmin/etc
./autoconf_cim_component.sh -p 5986
3.解除挂载
cd ..
umount /mnt
4.相关配置
cd /opt/dell/srvadmin/etc
./autoconf_cim_component.sh -p 5986
/etc/init.d/iptables save
/etc/init.d/openwsmand restart
/etc/init.d/sfcb restart
iptables -I RH-Firewall-1-INPUT -p tcp --destination-port 5986 -j ACCEPT
5.启动服务
cd /opt/dell/srvadmin/sbin/
./srvadmin-services.sh start
6.检查
chkconfig --list |grep dsm
dsm_om_shrsvc 0:off 1:off 2:on 3:on 4:on 5:on 6:off
service --status-all | grep dsm
dsma_sa_datamgrd is running
dsma_sa_eventmgrd is running
dsma_sa_snmpd is running
dsm_om_shrsvc is running
Snmp配置
1.查看snmp服务状态
service snmpd status
→snmpd (pid 6941) is running... のように起動しているか?
2.查看配置文件
cat /etc/snmp/snmpd.conf
→com2sec notConfigUser default public
3.防火墙规则增加
vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -p udp --dport 161 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 123 -j ACCEPT