如何安装 HP CentOS 存储库

dgi*_*bbs 4 linux hp centos6

我一直在寻找答案,但找不到任何对我有用的说明。

我想为我的新 ML310e Gen8 服务器安装 HP CentOS 存储库,以便我可以为其设置洞察管理软件等。

谢谢

eww*_*ite 8

您正在寻找HP Software Delivery Repository (HP-SDR)安装它过程在这里有很好的记录

我通过 Puppet 执行此操作,但手动运行它也没什么大不了的:

有 HP Management Component Pack (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
Run Code Online (Sandbox Code Playgroud)

完成后,您可以通过 yum 安装 HP 代理。对于您的服务器,我建议是这样的:yum install hp-snmp-agents hpssa hp-health hp-smh-templates hpsmh hpssacli hponcfg也许yum install 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
Run Code Online (Sandbox Code Playgroud)