跳到主要内容

向集群添加节点

创建集群后,可通过向其添加节点来进行扩展。一次只能添加一个节点。

开始之前

  • 如果将节点添加到多节点集群,则集群中一半以上的现有节点必须正常运行(通过 cluster show 指示)。

  • 如果要将节点添加到双节点无交换机集群,则必须先安装并配置集群管理和互连交换机,然后再添加其他节点。

    仅在双节点集群中支持无交换机集群功能。

    当集群中包含的节点超过两个或增长到超过两个时,则不需要集群 HA,因此将自动禁用。

  • 如果要将第二个节点添加到单节点集群,则必须已安装第二个节点,并且必须已配置集群网络。
    Lenovo 不支持单节点集群。
  • 如果集群启用了 SP 自动配置,则为要使用的 SP 指定的子网必须具有加入节点的可用资源。

    加入集群的节点使用指定的子网为 SP 执行自动配置。

  • 必须已收集新节点的节点管理 LIF 的以下信息:

    • 端口

    • IP 地址

    • 网络掩码

    • 默认网关

关于本任务

节点必须为偶数,以使其能够形成 HA 对。开始向集群添加节点后,必须完成该过程。在开始添加另一个节点之前,该节点必须是集群的一部分。

  1. 打开要添加到集群的节点的电源。

    结果

    节点将引导,然后在控制台上启动“集群设置”向导。

    Welcome to the cluster setup wizard.

    You can enter the following commands at any time:
    "help" or "?" - if you want to have a question clarified,
    "back" - if you want to change previously answered questions, and
    "exit" or "quit" - if you want to quit the cluster setup wizard.
    Any changes you made before quitting will be saved.

    You can return to cluster setup at any time by typing "cluster setup".
    To accept a default or omit a question, do not enter a value.

    By default, AutoSupport transmission is disabled.
    In order for this system to send event messages and periodic reports to Lenovo
    Technical Support, Autosupport data transmission needs to be enabled.
    To enable this feature, either enter "yes" to the following AutoSupport
    question, or enter the CLI command "autosupport modify -support enable"
    after cluster creation from the CLI. Please review the Lenovo Privacy
    statement at www.lenovo.com/privacy before enabling this feature.

    Enabling AutoSupport can significantly speed problem determination
    and resolution, should a problem occur on your system.

    To enable AutoSupport data transmission, type “yes”.
    Leave this field blank to keep data transmission disabled {yes, no} [no]:

    To continue with the cluster setup wizard, type "yes" {yes}:

  2. 完成初始任务以继续按照集群设置向导进行操作:
    • 确认自动支持消息。请参阅用于管理自动支持的命令

    • 通过按 Enter 键,将 e0M 保留为节点管理接口端口

    • 输入网络信息以在端口 e0M 上设置节点管理接口

    结果

    将退出节点设置向导,并显示登录提示,警告您尚未完成设置任务。

  3. 按 Enter 键以使用命令行进入集群设置。
  4. 提示创建新集群或加入现有集群时,请输入 join

    示例

    Do you want to create a new cluster or join an existing cluster? {create, join}:
    join
  5. 按照提示操作设置节点,并将其加入到集群:
    • 要接受提示的默认值,请按 Enter 键。
    • 要在出现提示时输入自己的值,请输入该值,然后按 Enter 键。
  6. 对要添加的每个其他节点重复上述步骤。

完成之后

将节点添加到集群后,应为每个 HA 对启用存储故障转移。