所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

华为SAP HANA RH5885H&RH8100 V3 (SLES) 一体机 双机安装指南 10

评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
主节点初始化HA集群

主节点初始化HA集群

在HANA HA集群服务器节点1上运行Suse Cluster的命令进行集群的初始化,在进行集群初始化前需要配置SSH互信连接和NTP。

  1. 以root用户登录服务器节点1(配置为主节点)。
  2. 添加默认路由,命令中eth0为本主节点的OS网口,实际的OS网口请根据实际情况进行,再运行/sbin/ip route命令查看路由信息。

    hw00001:#ip route add default via 192.168.2.20 dev eth0
    hw00001:/home # /sbin/ip route

  3. 执行命令ha-cluster-init初始化集群主节点。

    打印参考如下:

    hw00001:# ha-cluster-init
    WARNING: No watchdog device found. If SBD is used, the cluster will be unable to start without a watchdog.
    Do you want to continue anyway? [y/N] y //选择“y”,表示脑裂机制使用IPMI机制,不使用SBD方案。
    Command line is not complete. Try option "help"
    WARNING: Could not detect IP address for
    WARNING: Could not detect network address for  Enabling sshd service
    /root/.ssh/id_rsa already exists - overwrite? [y/N] n //输入“N”,表示不覆盖id_rsa。
    Configuring csync2
    csync2 is already configured - overwrite? [y/N] y //输入“Y”,表示该服务之前配置过,覆盖原有配置。
    Generating csync2 shared key (this may take a while)...done
    Enabling csync2 service
    Enabling xinetd service
    csync2 checking files
    Configure Corosync:
    This will configure the cluster messaging layer.  You will need
    to specify a network address over which to communicate (default
    is eth0's network, but you can use the network address of any
    active interface), a multicast address and multicast port.
    Network address to bind to (e.g.: 192.168.1.0) []192.168.2.0 //输入本机OS维护网段
    Multicast address (e.g.: 239.x.x.x) [239.80.241.100] //默认不修改,请记录下这个IP地址,在后续配置集群基础参数时会用到
    Multicast port [5405] //默认不修改
    Configure SBD:
    If you have shared storage, for example a SAN or iSCSI target,
    you can use it avoid split-brain scenarios by configuring SBD.
    This requires a 1 MB partition, accessible to all nodes in the
    cluster.  The device path must be persistent and consistent
    across all nodes in the cluster, so /dev/disk/by-id/* devices
    are a good choice.  Note that all data on the partition you
    specify here will be destroyed.
    Do you wish to use SBD? [y/N] n //输入“n”,表示不使用SBD模式。如果使用SBD模式,请输入“Y”。
    WARNING: Not configuring SBD - STONITH will be disabled.
    Enabling hawk service
    HA Web Konsole is now running, to see cluster status go to:
    https://192.168.20.210:7630/
    Log in with username 'hacluster', password 'linux' //请记住登录用户为“hacluster”密码为“linux”。
    WARNING: You should change the hacluster password to something more secure!
    Enabling openais service
    Waiting for cluster........done
    Loading initial configuration
    Configure Administration IP Address:
    Optionally configure an administration virtual IP
    address. The purpose of this IP address is to
    provide a single IP that can be used to interact
    with the cluster, rather than using the IP address
    of any specific cluster node.
    
    Do you wish to configure an administration IP? [y/N]  n //完成初始化,输入“n”,表示不配置管理IP。
    Done (log saved to /var/log/ha-cluster-bootstrap.log)

翻译
下载文档
更新时间:2019-08-27

文档编号:EDOC1100009657

浏览量:18821

下载量:805

平均得分:
本文档适用于这些产品
相关文档
相关版本
Share
上一页 下一页