Sun Cluster 系统管理指南(适用于 Solaris OS)

Procedure如何添加群集传输电缆、传输适配器或传输交换机

有关群集专用传输要求的信息,请参见《Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS》中的“Interconnect Requirements and Restrictions”

您还可以使用 Sun Cluster Manager GUI 来完成此过程。有关详细信息,请参见 Sun Cluster Manager 联机帮助。

phys-schost# 提示符表示全局群集提示符。此操作过程适用于全局群集。

此过程提供了 Sun Cluster 命令的长格式。此外,大多数命令还有简短格式。这些命令除了名称长短的不同以外,其功能都是相同的。有关命令及其简短格式的列表,请参见附录 B

  1. 确保安装了群集传输电缆(电缆本身)。

    有关安装群集传输电缆的过程,请参见《Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS》

  2. 成为群集中任一节点上的超级用户。

  3. 启动 clsetup 实用程序。


    # clsetup
    

    将显示主菜单。

  4. 键入与显示群集互连菜单的选项相对应的编号。


    注 –

    如果配置所使用的是 SCI 适配器,则在该过程的”添加“操作中提示适配器连接(端口名)时,不要接受默认设置。而是应提供在 Dolphin 交换机上所找到的端口名(0、1、2、或 3),节点通过电缆以物理方式与之连接。


  5. 键入与添加传输电缆的选项相对应的编号。

    按说明进行操作,并键入请求的信息。

  6. 键入与向节点添加传输适配器的选项相对应的编号。

    按说明进行操作,并键入请求的信息。

  7. 键入与添加传输交换机的选项相对应的编号。

    按说明进行操作,并键入请求的信息。

  8. 检验是否添加了群集传输电缆、传输适配器或传输交换机。


    # clinterconnect show node:adapter,adapternode
    # clinterconnect show node:adapter
    # clinterconnect show node:switch
    

示例 7–2 添加群集传输电缆、传输适配器或传输交换机

以下示例说明了如何使用 clsetup 实用程序向节点添加传输电缆、传输适配器或传输交换机。


[Ensure that the physical cable is installed.]
[Start the clsetup utility:]
# clsetup
[Select Cluster interconnect]

[Select either Add a transport cable, 
Add a transport adapter to a node, 
or Add a transport switch.}
[Answer the questions when prompted.]
   [You Will Need:  ]       
[Information:       Example:[
   node names             phys-schost-1
   adapter names          qfe2
   switch names         hub2
   transport type         dlpi
[Verify that the clinterconnect
 command completed successfully:]Command completed successfully.
Quit the clsetup Cluster Interconnect Menu and Main Menu. 
[Verify that the cable, adapter, and switch are added:]
# clinterconnect show phys-schost-1:qfe2,hub2
  ===Transport Cables ===
Transport Cable:                  phys-schost-1:qfe2@0,hub2
  Endpoint1:                  phys-schost-2:qfe0@0
  Endpoint2:                  ethernet-1@2 ???? Should this be hub2?
  State:                      Enabled

# clinterconnect show phys-schost-1:qfe2
=== Transport Adepters for qfe2
Transport Adapter:                             qfe2
  Adapter State:                                 Enabled
  Adapter Transport Type:                        dlpi
  Adapter Property (device_name):                ce
  Adapter Property (device_instance):            0
  Adapter Property (lazy_free):                  1
  Adapter Property (dlpi_heartbeat_timeout):     10000
  Adpater Property (dlpi_heartbeat_quantum):     1000
  Adapter Property (nw_bandwidth):               80
  Adapter Property (bandwidth):                  70
  Adapter Property (ip_address):                 172.16.0.129
  Adapter Property (netmask):                    255.255.255.128
  Adapter Port Names:                            0
  Adapter Port STate (0):                        Enabled

# clinterconnect show phys-schost-1:hub2

=== Transport Switches ===
Transport Switch:                              hub2
  Switch State:                                  Enabled
  Switch Type:                                   switch
  Switch Port Names:                             1 2
  Switch Port State(1):                          Enabled
  Switch Port State(2):                          Enabled

接下来的操作

要检查群集传输电缆的互连状态,请参见如何检查群集互连的状态