Advertisement
BinLiu

ha-cluster-init

Feb 6th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. lchen-SLE15-node1:~ # ha-cluster-init
  2. ! Failed to detect firewall: Could not open ports tcp=30865|5560|7630|21064, udp=
  3. /root/.ssh/id_rsa already exists - overwrite (y/n)? y
  4. Generating SSH key
  5. Configuring csync2
  6. csync2 is already configured - overwrite (y/n)? y
  7. Generating csync2 shared key (this may take a while)...done
  8. csync2 checking files...done
  9. /etc/corosync/authkey already exists - overwrite (y/n)? y
  10.  
  11. Configure Corosync:
  12. This will configure the cluster messaging layer. You will need
  13. to specify a network address over which to communicate (default
  14. is eth0's network, but you can use the network address of any
  15. active interface).
  16.  
  17. /etc/corosync/corosync.conf already exists - overwrite (y/n)? y
  18. Network address to bind to (e.g.: 192.168.1.0) [10.67.160.0]
  19. Multicast address (e.g.: 239.x.x.x) [239.143.9.201]
  20. Multicast port [5405]
  21.  
  22. Configure SBD:
  23. If you have shared storage, for example a SAN or iSCSI target,
  24. you can use it avoid split-brain scenarios by configuring SBD.
  25. This requires a 1 MB partition, accessible to all nodes in the
  26. cluster. The device path must be persistent and consistent
  27. across all nodes in the cluster, so /dev/disk/by-id/* devices
  28. are a good choice. Note that all data on the partition you
  29. specify here will be destroyed.
  30.  
  31. SBD is already configured to use /dev/disk/by-path/ip-10.67.160.200:3260-iscsi-iqn.2018-01.suse.com:larry-jenkins-test-sbd-lun-0 - overwrite (y/n)? n
  32. ! Failed to detect firewall: Could not open ports tcp=, udp=5405|5404
  33. Hawk cluster interface is now running. To see cluster status, open:
  34. https://10.67.162.234:7630/
  35. Log in with username 'hacluster'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement