Go to main content
Oracle® Hardware Management Pack 安装指南

退出打印视图

更新时间: 2016 年 2 月
 
 

使用控制台模式安装 Hardware Management 组件

开始之前

  • 要使用 Oracle Hardware Management Pack 安装程序安装 Management Pack 组件,必须以管理权限登录系统。

  • 下载并提取 Hardware Management Pack。请参见获得软件

    此过程中用于提取文件的目录称为 extract-directory

  • 对于 Windows Server 2003 SP2 或较低版本,必须首先安装 Sun IPMI System Management Driver。请参见安装 Sun IPMI System Management Driver 2.1

  • Hardware Management Pack 的软件包有一些相关项,成功安装需要满足这些相关项。有关更多信息,请参见软件相关项

  • 在 Oracle Solaris OS 上,由于 pkgadd(1M) 的限制,用于提取 Hardware Management Pack 的路径不得包含任何空格,这样安装过程才能继续。

  • 在运行 Windows Server OS 的服务器上,安装主机到 ILOM 互连时,必须导入安全证书。有关更多信息,请参见在 Windows 服务器上导入安全性证书

  1. 设置与服务器的控制台会话。
  2. 要启动安装程序,请键入以下命令之一:
    • 对于 Oracle Solaris 10 和 Linux 系统:/extract-directory/oracle-hmp-version/install.bin -i console
    • 对于 Oracle Solaris 11 或 11.1 系统:/extract-directory/oracle-hmp-version/install.arch.bin -i console

      其中 arch 是 SPARC 或 x86,具体取决于您的处理器。

    • 对于 Windows 系统:\extract-directory\oracle-hmp-version\install.exe -i console

    系统显示的输出类似以下内容:

    Preparing to install...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    
    Launching installer...
    
    Preparing CONSOLE Mode Installation...
    
    
    ===============================================================================
    Oracle Hardware Management Pack                  (created with InstallAnywhere)
    -------------------------------------------------------------------------------
    
    
    
    
    ===============================================================================
    Introduction
    ------------
    
    InstallAnywhere will guide you through the installation of Oracle Hardware
    Management Pack.
    
    It is strongly recommended that you quit all programs before continuing with
    this installation.
    
    Respond to each prompt to proceed to the next step in the installation.  If you
    want to change something on a previous step, type 'back'.
    
    You may cancel this installation at any time by typing 'quit'.
  3. 系统将显示:
    ENTER A COMMA_SEPARATED LIST OF NUMBERS REPRESENTING THE FEATURES YOU WOULD
    LIKE TO SELECT, OR DESELECT. TO VIEW A FEATURE'S DESCRIPTION, ENTER
    '?<NUMBER>'.  PRESS RETURN WHEN YOU ARE DONE:
    
        1- [X] Hardware Management Agents
        2- [X] CLI Tools
        3- [X] HMP Watchdog Agent
        4- [ ] IPMITool
        5- [ ] Emulex Fiber Channel support
        6- [ ] QLogic Fiber Channel support
        7- [ ] Mellanox Infiniband support
    
    Please choose the Features to be installed by this installer.:
    
    

    已预选择了选项 1、2 和 3。

    要切换选项,请键入一个以逗号分隔的数字列表。键入任意数字将切换相应选项。例如,在上文所示的默认选择内容中,键入 1,4 将取消选择 Hardware Management Agents 并选择 IPMItool。


    注 -  Hardware Management Pack 的某些组件是特定于硬件或 OS 的,只有在兼容的系统上运行安装程序时,安装程序中才会显示这些组件。

    只应在具有兼容硬件的服务器上选择光纤通道支持选项。在没有受支持硬件的服务器上选择这些选项会降低安装过程的速度。


  4. 在键入了要安装的功能之后,按回车键。

    如果系统显示:

    ===============================================================================
    Dependency requirement for feature selection.
    ----------------------------------------------
    
    Before installing hmp packages, please resolve these requirements:
    
    Emulex Fibre Channel support requires package(s):  elxocmcore
    libhbaapi-devel
    QLogic Fibre Channel support requires package(s):  libhbaapi-devel
    
    1- Exit and resolve the dependencies.
    2- Continue and de-select unresolved packages.

    选择其中一个选项,然后按 Enter 键。

  5. 根据步骤 3 中的选择:
    • 如果未选择安装 Hardware Management Agents,请转至步骤 6。
    • 如果选择安装 Hardware Management Agents,则系统将显示:
      Configure Hardware Management Agent
      -----------------------------------
      
      Start the Hardware Management Agent? This agent's short name is hwmgmtd.
      
      ->1- Yes
      2- No

      键入所选择的编号,或者按 Enter 键以选择 "Yes"。

      此时将显示以下屏幕:

      Configure SNMP Agent
      --------------------
      
      Start the SNMP agent? This agent's short name is snmpd on Linux, sma on Solaris,
      and SNMP on Windows.
      ->1- Yes
      2- No

      键入所选择的编号,或者按 Enter 键以选择 "Yes"。

  6. 执行以下操作之一:
    • 如果在步骤 3 中未选择安装 Hardware Management Agents,或者您的服务器不支持主机到 ILOM 互连,请转至步骤 10。
    • 如果您在步骤 3 中选择安装 Hardware Management Agents,并且您的服务器支持主机到 ILOM 互连,则可以配置 ILOM 陷阱代理:
      ================================================================
      Configure ILOM  Trap Proxy
      --------------------------
      
      The ILOM trap proxy enables you to forward traps generated by an Oracle ILOM service
      processor to a network destination without having to connect the service processor
      to the destination network. When enabling the SNMP trap proxy, you must configure the
      IP, port and SNMP community that your destination is listening on.
      
      Do you want to enable ILOM Trap Proxy?
      
      1- Yes
      ->2- No

      如果要启用故障陷阱代理,则键入 1。系统提供了用于配置 SNMP 故障陷阱代理的选项,也可以接受默认设置:

      Destination IP (DEFAULT: 127.0.0.1):
      
      Destination Port (DEFAULT: 162):
      
      Destination Community (DEFAULT: public):  
  7. 如果在步骤 3 中未选择安装 CLI Tools,请转至步骤 10。如果在步骤 3 中选择了 CLI Tools,则系统将显示:
    Configure Host-to-ILOM Interconnect
    -----------------------------------
    
    Configure the Host-to-ILOM Interconnect between the host and ILOM.
    This is a high-speed connection that allows fast communication with
    ILOM using an internal IP address.
    
    1- Configure automatically
    ->2- Configure manually

    注 -  必须启用主机到 ILOM 互连,才能使 ILOM 陷阱代理运行。Oracle Linux 故障管理体系结构 (Fault Management Architecture, FMA) 组件也要求启用主机到 ILOM 互连。有关主机到 ILOM 互连的更多信息,请参见启用主机到 ILOM 互连
  8. 默认情况下,主机到 ILOM 互连处于禁用和未配置状态。如果执行安装的服务器支持主机到 ILOM 互连,则可选择下列选项之一:

    键入所选择的编号,或者按 Enter 键以选择 "Configure automatically"。

    如果选择了 1 或 3,请转至步骤 11。如果选择了 2–Configure manually,则系统将显示:

    Configure Host-to-ILOM Interconnect Manually
    --------------------------------------------
    
    Specify the following parameters.
    
    IP Address: (DEFAULT: 169.254.182.76):
    
    Netmask: (DEFAULT: 255.255.255.0):
    
    Host IP Address: (DEFAULT: 169.254.182.77):
  9. 为 "IP Address"、"Netmask" 和 "Host IP Address" 键入适当的值,然后按 Enter 键。

    此时将显示 "Pre-Installation Summary"。

  10. 验证 "Pre-Installation Summary" 屏幕上显示的信息是否正确。
    • 如果信息不正确,请键入 back,直至返回到要进行更改的屏幕。
    • 如果屏幕中显示的信息正确,请按 Enter 键以继续。

    将显示以下输出:

    Ready To Install
    ----------------
    
    InstallAnywhere is now ready to install Oracle Hardware Management Pack onto
    your system at the following location:
  11. 按 Enter 键开始安装。

    安装大约需要 2 分钟。

  12. (可选)要验证 Oracle Hardware Management Pack 安装是否正确,运行一个命令。例如,以 root 身份输入以下 CLI 命令:

    # ilomconfig --version

    如果安装正确,Oracle Hardware Management Pack 将显示版本信息。

另请参见