1. 配置yum源
1.1. 使用Dell官方腳本進(jìn)行配置
[root@sys-idc-test01 ~]# curl -s https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi |bash
Downloading GPG key: https://linux.dell.com/repo/hardware/dsu/public.key
Importing key into RPM.
Downloading GPG key: https://linux.dell.com/repo/hardware/dsu/public_gpg3.key
Importing key into RPM.
Write repository configuration
Done!
[root@sys-idc-test01 ~]# ls /etc/yum.repos.d/
dell-system-update.repo
1.2. 查看yum源內(nèi)容
[root@sys-idc-test01 ~]# cat /etc/yum.repos.d/dell-system-update.repo
[dell-system-update_independent]
name=dell-system-update_independent
baseurl=https://linux.dell.com/repo/hardware/dsu/os_independent/
gpgcheck=1
gpgkey=https://linux.dell.com/repo/hardware/dsu/public.key
https://linux.dell.com/repo/hardware/dsu/public_gpg3.key
enabled=1
exclude=dell-system-update*.i386
[dell-system-update_dependent]
name=dell-system-update_dependent
mirrorlist=https://linux.dell.com/repo/hardware/dsu/mirrors.cgi?osname=el$releasever&basearch=$basearch&native=1
gpgcheck=1
gpgkey=https://linux.dell.com/repo/hardware/dsu/public.key
https://linux.dell.com/repo/hardware/dsu/public_gpg3.key
enabled=1
2. 安裝srvadmin-all
2.1. 各組件介紹
The following meta packages are provided:
- srvadmin-all: Install all OMSA components
- srvadmin-base: Install only base OMSA, no web server
- srvadmin-webserver: Install Web Interface
- srvadmin-storageservices: Install RAID Management
- srvadmin-rac4: Install components to manage the Dell Remote Access Card 4
- srvadmin-rac5: Install components to manage the Dell Remote Access Card 5
- OMSA提供的軟件包:
- srvadmin-all:安裝所有OMSA組件;
- srvadmin-base:只安裝基本的OMSA,不安裝web服務(wù)器互捌;
- srvadmin-webserver:安裝Web界面惑畴;
- srvadmin-storageservices:安裝RAID管理黍少;
2.2. 安裝
試了一下其它的安裝寡夹,總是不好用,最后選擇全部安裝厂置。
[root@sys-idc-test01 ~]# yum install srvadmin-all
2.3. 補(bǔ)充
出現(xiàn)libssl.o的報(bào)錯(cuò)菩掏,可以創(chuàng)建一個(gè)軟連接解決。
[root@sys-idc-test01 ~]# cd /usr/lib64/
[root@sys-idc-test01 lib64]# ll libssl*
-rwxr-xr-x. 1 root root 315096 Aug 7 2017 libssl3.so
lrwxrwxrwx 1 root root 16 Apr 18 03:46 libssl.so.10 -> libssl.so.1.0.2k
-rwxr-xr-x 1 root root 470360 Apr 11 2018 libssl.so.1.0.2k
[root@sys-idc-test01 lib64]# ln -s libssl.so.1.0.2k libssl.so
[root@sys-idc-test01 lib64]# ll libssl*
-rwxr-xr-x. 1 root root 315096 Aug 7 2017 libssl3.so
lrwxrwxrwx 1 root root 16 Apr 18 03:50 libssl.so -> libssl.so.1.0.2k
lrwxrwxrwx 1 root root 16 Apr 18 03:46 libssl.so.10 -> libssl.so.1.0.2k
-rwxr-xr-x 1 root root 470360 Apr 11 2018 libssl.so.1.0.2k
3. 驗(yàn)證
[root@sys-idc-test01 lib64]# /opt/dell/srvadmin/sbin/racadm -r 192.168.1.1 -u root -p 123456 getractime
Security Alert: Certificate is invalid - self signed certificate
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
Wed Apr 17 11:50:53 2019
4. 使用
4.1. 報(bào)警配置(SNMP)
#開啟報(bào)警配置
racadm -r $ip -u $username -p $password set idrAC.ipmilan.alertEnable 1
#開啟SNMP陷阱狀態(tài)
racadm -r $ip -u $username -p $password set idrAC.snMP.alert.1.enable 1
#設(shè)置snmp server的地址或域名
racadm -r $ip -u $username -p $password set idrAC.snMP.alert.1.destaddr $snmp_ser
#開啟snmp所有的報(bào)警
racadm -r $ip -u $username -p $password eventfilters set -c idrac.alert.all -a none -n snmp
#設(shè)置snmp陷阱團(tuán)體昵济,public
racadm -r $ip -u $username -p $password set idrac.snmp.AgentCommunity public
#設(shè)置snmp陷阱格式患蹂,SNMPv2
racadm -r $ip -u $username -p $password set idrac.snmp.trapformat 1
#設(shè)置DNS
racadm -r $ip -u $username -p $password set idRAC.ipv4.dns1 8.8.8.8
racadm -r $ip -u $username -p $password set idRAC.ipv4.dns2 8.8.8.9