Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. scp /etc/corosync/* root@web02:/etc/corosync/
  2.  
  3. # Totem Protocol Configuration
  4. totem {
  5. version: 2
  6. cluster_name: hakase-cluster
  7. transport: udpu
  8.  
  9. # Interface configuration for Corosync
  10. interface {
  11. ringnumber: 0
  12. bindnetaddr: 10.0.15.0
  13. broadcast: yes
  14. mcastport: 5407
  15. }
  16. }
  17.  
  18. # Nodelist - Server List
  19. nodelist {
  20. node {
  21. ring0_addr: web01
  22. }
  23. node {
  24. ring0_addr: web02
  25. }
  26. node {
  27. ring0_addr: web03
  28. }
  29. }
  30.  
  31. # Quorum configuration
  32. quorum {
  33. provider: corosync_votequorum
  34. }
  35.  
  36. # Corosync Log configuration
  37. logging {
  38. to_logfile: yes
  39. logfile: /var/log/corosync/corosync.log
  40. to_syslog: yes
  41. timestamp: on
  42. }
  43.  
  44. service {
  45. name: pacemaker
  46. ver: 0
  47. }
  48.  
  49. root@web01:/home/user1# systemctl start corosync
  50. Job for corosync.service failed because the control process exited with error code. See "systemctl status corosync.service" and "journalctl -xe" for details.
  51.  
  52. root@web01:/home/user1# systemctl status corosync
  53. ● corosync.service - Corosync Cluster Engine
  54. Loaded: loaded (/lib/systemd/system/corosync.service; enabled; vendor preset: enabled
  55. Active: failed (Result: exit-code) since Sat 2017-09-23 05:02:22 PDT; 1min 20s ago
  56. Process: 4680 ExecStart=/usr/sbin/corosync -f $OPTIONS (code=exited, status=20)
  57. Main PID: 4680 (code=exited, status=20)
  58.  
  59. Sep 23 05:02:22 web01 corosync[4680]: [TOTEM ] Initializing transport (UDP/IP Unicast)
  60. Sep 23 05:02:22 web01 corosync[4680]: [TOTEM ] Initializing transmit/receive security
  61. Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 notice [TOTEM ] The network inter
  62. Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 info [QB ] server name: cmap
  63. Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 info [QB ] server name: cfg
  64. Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 info [QB ] server name: cpg
  65. Sep 23 05:02:22 web01 systemd[1]: corosync.service: Main process exited, code=exited, st
  66. Sep 23 05:02:22 web01 systemd[1]: Failed to start Corosync Cluster Engine.
  67. Sep 23 05:02:22 web01 systemd[1]: corosync.service: Unit entered failed state.
  68. Sep 23 05:02:22 web01 systemd[1]: corosync.service: Failed with result 'exit-code'.
  69. lines 1-16/16 (END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement