SDB:Dell OMSA
推荐文章
此页面记录了在 openSUSE 上设置 Dell OpenManage Server Administrator (OMSA) 工具集的步骤。
OMSA 9.2 在 openSUSE Leap 15 上的安装说明
此安装指南已在 Dell PowerEdge R640 / R630 上测试过。
步骤
以 root 用户身份执行以下步骤。执行 Dell 系统更新 (`dsu`) 的步骤可能可以跳过。
- 使用 bootstrap.cgi 添加 Dell 系统更新仓库
curl -s https://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | bash
- 更新 OS 依赖仓库以反映 "SLES" 与 "SUSE" 的区别
sed -i s/suse/sles/ /etc/zypp/repos.d/dell-system-update_dependent.repo
- 添加 Dell 公钥以进行更新签名验证
curl -s https://linux.dell.com/repo/hardware/dsu/copygpgkeys.sh | bash
- 禁用 dell-system-update 仓库的 GPG 检查
zypper mr -G dell-system-update_dependent zypper mr -G dell-system-update_independent
- 安装系统更新并更新系统
zypper install dell-system-update libssh2-1 dsu
- sblim-sfcb 是必需的,并且不在默认仓库中
zypper addrepo https://download.opensuse.org/repositories/systemsmanagement:wbem/openSUSE_Leap_15.4/systemsmanagement:wbem.repo zypper refresh zypper install sblim-sfcb opi sblim-sfcb # If you have opi installed, this is an interactive alternative to the three above lines
- 安装软件
zypper install srvadmin-all OpenIPMI net-snmp
- 在 /opt/dell/srvadmin/lib64/openmanage 中创建 IGNORE_GENERATION 文件(如果您的服务器不受当前 OpenManage 支持)
touch /opt/dell/srvadmin/lib64/openmanage/IGNORE_GENERATION
- 启用服务
chkconfig dataeng on
- 如果您收到此错误
Failed to enable unit: Unit file /etc/systemd/system/dataeng.service is masked.
- 那么执行
systemctl unmask dataeng
- 重试启用
chkconfig dataeng on
- 启用服务
chkconfig dsm_om_connsvc on chkconfig dsm_om_shrsvc on
- 启动服务
systemctl start dataeng.service systemctl start dsm_om_connsvc.service systemctl start dsm_om_shrsvc.service
- 如果一切正常,请不要忘记在您的防火墙中允许 OMSA 服务(根据需要调整区域)
firewall-cmd --zone=public --add-port=1311/tcp --permanent firewall-cmd --reload
- 访问 https://servername:1311 以打开 Dell OpenManage Server Administrator。要登录,请使用该系统的任何有效凭据。
OMSA 服务安装故障排除
您可能会遇到 OMSA 启动服务的问题,systemd 抱怨 LSB 标头不正确。这些脚本没有 LSB 标头。将以下内容添加到脚本的顶部
### BEGIN INIT INFO ### END INIT INFO
可能比使用 chkconfig 更好,但 Dell 甚至没有充分记录使用 Dell 方法启用服务的 `/opt/dell/srvadmin/sbin/srvadmin-services.sh enable` 选项。这可能比手动编辑启动脚本和运行 chkconfig 更好。
OMSA 8.2 / 8.3 在 openSUSE Leap 42.1 上的安装说明
此安装指南已在 Dell PowerEdge R420 / R510 / R520 上测试过。
步骤
以 root 用户身份执行以下步骤。前两个执行 Dell 系统更新的步骤可能可以跳过。
- 使用 bootstrap.cgi 添加 Dell 系统更新仓库
wget -q -O - http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | bash
- 安装系统更新并更新系统
zypper install dell-system-update dsu
- 添加 SLES12 系统更新仓库
zypper ar http://linux.dell.com/repo/hardware/dsu/os_dependent/SLES12_64 dell-platform
- 获取 libwsman1,它不属于 42.1,尝试这个 或自行构建
zypper install libwsman1-2.4.11-19.3.x86_64.rpm
- 安装软件
zypper install srvadmin-all OpenIPMI net-snmp
- 在 /opt/dell/srvadmin/lib64/openmanage 中创建 IGNORE_GENERATION 文件
touch /opt/dell/srvadmin/lib64/openmanage/IGNORE_GENERATION
- 启用服务
chkconfig dataeng on chkconfig dsm_om_connsvc on chkconfig dsm_om_shrsvc on
- 启动服务
systemctl start dataeng.service systemctl start dsm_om_connsvc.service systemctl start dsm_om_shrsvc.service
- 检查服务
systemctl status dataeng.service
- 如果存储服务失败,请尝试 按照此建议 (修改文件前请备份),这可能对 OMSA 8.3 不必要
sed -i -e 's/\x00release_date\x00/\x00version\x00\x00\x00\x00\x00\x00/' /opt/dell/srvadmin/lib64/libstorelib.so.4.39-0
- 重启服务
systemctl restart dataeng.service
- 如果一切正常,请不要忘记在您的防火墙中允许 OMSA 服务
- 转到 yast2 防火墙 -> 允许的服务 -> 高级... -> 附加允许的端口 / TCP 端口
- 填写 1311。如果有其他端口号,请用空格分隔它们。
- 保存配置
- 访问 https://servername:1311 以打开 Dell OpenManage Server Administrator。要登录,请使用该系统的任何有效凭据。
注意事项/限制
- 如果您看到“启动失败,因为系统不受支持”,请编辑文件 /opt/dell/srvadmin/sbin/CheckSystemType,找到 IsDELLSystem() 函数,并根据 [1] 将 "OEM String 1" 替换为 "Vendor"
相关
- [Dell - 系统管理:如何在 Linux 上安装 OpenManage Server Administrator](https://www.dell.com/support/kbdoc/en-us/000185829/how-to-install-openmanage-server-administrator-on-linux)