Oracle® Solaris Cluster 系统管理指南

退出打印视图

更新时间: 2015 年 10 月
 
 

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

有关群集专用传输的要求的信息,请参见Oracle Solaris Cluster 4.2 Hardware Administration Manual 中的Interconnect Requirements and Restrictions

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

此过程提供了 Oracle Solaris Cluster 命令的长格式。此外,大多数命令还有短形式。这些命令除了名称长短的不同以外,其功能都是相同的。

您还可以使用 Oracle Solaris Cluster Manager GUI 将电缆、传输适配器和专用适配器添加到群集。有关 GUI 登录说明,请参见如何访问 Oracle Solaris Cluster Manager

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

    有关安装 群集传输电缆 的过程,请参见Oracle Solaris Cluster 4.2 Hardware Administration Manual

  2. 在群集中的任一节点上承担 root 角色。
  3. 启动 clsetup 实用程序。
    # clsetup

    这时将显示主菜单。

  4. 键入与显示群集互连菜单选项对应的编号。
  5. 键入与添加传输电缆选项对应的编号。

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

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

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

    如果打算将以下任何适配器用于群集互联,请在各群集节点上的 /etc/system 文件中添加相关条目。此条目在下次引导系统后生效。

    适配器
    条目
    nge
    set nge:nge_taskq_disable=1
    e1000g
    set e1000g:e1000g_taskq_disable=1
  7. 键入与添加传输交换机选项对应的编号。

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

  8. 检验是否添加了群集传输电缆、传输适配器或传输交换机。
    # clinterconnect show node:adapter,adapternode
    # clinterconnect show node:adapter
    # clinterconnect show node:switch
示例 7-2  添加群集传输电缆、传输适配器或传输交换机

以下示例说明了如何使用 clsetup 实用程序向节点添加传输电缆、传输适配器或传输交换机。该示例包含了数据链路提供者接口 (Data Link Provider Interface, DLPI) 传输类型的设置。

[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          net5
   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:net5,hub2
  ===Transport Cables ===
Transport Cable:              phys-schost-1:net5@0,hub2
Endpoint1:                  phys-schost-2:net4@0
Endpoint2:                  hub2@2
State:                      Enabled

# clinterconnect show phys-schost-1:net5
=== Transport Adepters for net5
Transport Adapter:                             net5
Adapter State:                                 Enabled
Adapter Transport Type:                        dlpi
Adapter Property (device_name):                net6
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

接下来的步骤

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