linux – 如何安装HP CentOS repo

我一直在寻找答案,但无法找到任何适合我的说明.

我想为我的新ML310e Gen8服务器安装HP CentOS repo,我可以为它设置洞察管理软件等.

谢谢

解决方法

你正在寻找 HP Software Delivery Repository (HP-SDR). process to install it is documented pretty well here.

我通过Puppet这样做,但手动运行也没什么大不了的:

有HP管理组件包(MCP)和HP Support Pack for ProLiant(SPP).从技术上讲,CentOS应该使用MCP,而Red Hat应该使用SPP.我只是将HP SPP用于所有方面.

在您的情况下,只需下载add_repo.sh脚本.该脚本很愚蠢,因为它需要安装redhat-lsb软件包.最后,您的命令将如下所示:

# sh add_repo.sh -d RedHat spp

完成后,您可以通过yum安装HP代理.对于您的服务器,我建议是这样的:百胜安装HP-SNMP代理hpssa HP-健康hpsmh处的模板hpsmh处hpssacli HPONCFG也许百胜安装的kmod-hpahcisr如果你有一个动态智能阵列控制器.

完整命令用法

[root@mdmarra ~]# sh add_repo.sh 

  Usage: add_repo.sh <RepoName>

    eg: where <RepoName> might be "spp" (Support Pack for Proliant)
        or any directory found in http://downloads.linux.hp.com/SDR/repo

    normally the distribution,version,architecture and other information
    is auto-detected.  You made override these attributes with the following:

         [ -a <Architecture> ]     override to specified Linux architecture
         [ -d <distribution> ]     override to specified Linux distribution
         [ -r <Release> ]          override to specified Linux release

         [ -R <Revision> ]         override to specified product revison

         [ -o <OutputDirectory> ]  override default output directory
         [ -s <APTConfigFile> ]    override default APT configuration file
         [ -y <YUMConfigFile> ]    override default YUM configuration file
         [ -z <ZYPPConfigFile> ]   override default ZYPP configuration file

         [ -m <TransportMethod> ]  override default transport protocol
                                   (ftp or http)
         [ -w <WaystationHost> ]   override default waystation host
         [ -u <URLPrefix> ]        override default URL prefix

相关文章

在Linux上编写运行C语言程序,经常会遇到程序崩溃、卡死等异...
git使用小结很多人可能和我一样,起初对git是一无所知的。我...
1. 操作系统环境、安装包准备 宿主机:Max OSX 10.10.5 虚拟...
因为业务系统需求,需要对web服务作nginx代理,在不断的尝试...
Linux模块机制浅析 Linux允许用户通过插入模块,实现干预内核...
一、Hadoop HA的Web页面访问 Hadoop开启HA后,会同时存在两个...