Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scp /etc/corosync/* root@web02:/etc/corosync/
- # Totem Protocol Configuration
- totem {
- version: 2
- cluster_name: hakase-cluster
- transport: udpu
- # Interface configuration for Corosync
- interface {
- ringnumber: 0
- bindnetaddr: 10.0.15.0
- broadcast: yes
- mcastport: 5407
- }
- }
- # Nodelist - Server List
- nodelist {
- node {
- ring0_addr: web01
- }
- node {
- ring0_addr: web02
- }
- node {
- ring0_addr: web03
- }
- }
- # Quorum configuration
- quorum {
- provider: corosync_votequorum
- }
- # Corosync Log configuration
- logging {
- to_logfile: yes
- logfile: /var/log/corosync/corosync.log
- to_syslog: yes
- timestamp: on
- }
- service {
- name: pacemaker
- ver: 0
- }
- root@web01:/home/user1# systemctl start corosync
- Job for corosync.service failed because the control process exited with error code. See "systemctl status corosync.service" and "journalctl -xe" for details.
- root@web01:/home/user1# systemctl status corosync
- ● corosync.service - Corosync Cluster Engine
- Loaded: loaded (/lib/systemd/system/corosync.service; enabled; vendor preset: enabled
- Active: failed (Result: exit-code) since Sat 2017-09-23 05:02:22 PDT; 1min 20s ago
- Process: 4680 ExecStart=/usr/sbin/corosync -f $OPTIONS (code=exited, status=20)
- Main PID: 4680 (code=exited, status=20)
- Sep 23 05:02:22 web01 corosync[4680]: [TOTEM ] Initializing transport (UDP/IP Unicast)
- Sep 23 05:02:22 web01 corosync[4680]: [TOTEM ] Initializing transmit/receive security
- Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 notice [TOTEM ] The network inter
- Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 info [QB ] server name: cmap
- Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 info [QB ] server name: cfg
- Sep 23 05:02:22 web01 corosync[4680]: Sep 23 05:02:22 info [QB ] server name: cpg
- Sep 23 05:02:22 web01 systemd[1]: corosync.service: Main process exited, code=exited, st
- Sep 23 05:02:22 web01 systemd[1]: Failed to start Corosync Cluster Engine.
- Sep 23 05:02:22 web01 systemd[1]: corosync.service: Unit entered failed state.
- Sep 23 05:02:22 web01 systemd[1]: corosync.service: Failed with result 'exit-code'.
- lines 1-16/16 (END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement