Re: CentOS 7 Pacemake/Corosync

Lukas Grossar <[email protected]> Mon, 9 Mar 2015 11:40:39 +0100
Newsgroups gmane.linux.highavailability.user
Organization Adfinis SyGroup AG
Message-ID <20150309114039.1ea3da36@tongpu>
--===============1341615084==
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/k11W.CBrXK6hRSmo+lCIQRx"; protocol="application/pgp-signature"

--Sig_/k11W.CBrXK6hRSmo+lCIQRx
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi,

I can't offer a solution, but I remember having run into similar issues
when the output of hostname showed the FQDN.

Maybe that helps you narrow down the problem.

Best regards
Lukas Grossar

On Fri, 06 Mar 2015 09:12:47 +0100
Willi Fehler <[email protected]> wrote:

> Hi,
>=20
> I'm trying to build a Pacemaker/Corosync Cluster on CentOS7. The
> default Corosync configuration with one ring is working but then I
> only have 1 ring and no encryption.
>=20
> RING ID 1
>      id    =3D 10.10.10.1
>      status    =3D ring 1 active with no faults
>=20
> I've tried to activate the following configuration but it doesn't
> work.
>=20
> [root@linsrv006 corosync]# cat /etc/corosync/corosync.conf
> totem {
>          version: 2
>          secauth: on
>          threads: 0
>          rrp_mode: active
>          interface {
>                  ringnumber: 0
>                  bindnetaddr: 192.168.0.0
>                  mcastaddr: 226.94.42.7
>                  mcastport: 5411
>          }
>          interface {
>                  ringnumber: 1
>                  bindnetaddr: 10.10.10.0
>                  mcastaddr: 226.94.42.11
>                  mcastport: 5419
>          }
>          token: 10000
>          token_retransmits_before_loss_const: 40
>          rrp_problem_count_timeout: 20000
>          nodeid: 3
> }
> quorum {
>      provider: corosync_votequorum
>      expected_votes: 3
> }
>=20
> logging {
> to_syslog: yes
> }
>=20
>=20
> The problem is also than, that pcs status is showing 3 nodes.
>=20
> [root@linsrv006 corosync]# pcs status
> Cluster name:
> Last updated: Fri Mar  6 09:10:41 2015
> Last change: Fri Mar  6 09:10:30 2015 via crmd on
> linsrv006.willi-net.local Stack: corosync
> Current DC: NONE
> 4 Nodes configured
> 9 Resources configured
>=20
>=20
> OFFLINE: [ linsrv006 linsrv006.willi-net.local
> linsrv006.willi-net.local linsrv007 ]
>=20
> Full list of resources:
>=20
>   Master/Slave Set: ms_drbd_mysql [drbd_mysql] (unmanaged)
>       Stopped: [ linsrv006 linsrv006.willi-net.local=20
> linsrv006.willi-net.local linsrv007 ]
>   Clone Set: ping-clone [ping] (unmanaged)
>       Stopped: [ linsrv006 linsrv006.willi-net.local=20
> linsrv006.willi-net.local linsrv007 ]
>   Resource Group: mysql
>       fs_mysql    (ocf::heartbeat:Filesystem):    Stopped (unmanaged)
>       mysqld    (ocf::heartbeat:mysql):    Stopped (unmanaged)
>       ip_mysql    (ocf::heartbeat:IPaddr2):    Stopped (unmanaged)
>=20
> PCSD Status:
> Error: no nodes found in corosync.conf
>=20
> Please support me to fix my Corosync issue.

--=20
Adfinis SyGroup AG
Lukas Grossar, System Engineer

Keltenstrasse 98 | CH-3018 Bern
Tel. 031 550 31 11 | Direkt 031 550 31 06

--Sig_/k11W.CBrXK6hRSmo+lCIQRx
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJU/XinAAoJENgHJtn08BTETPQQAJc3eVTyqYaWtGaYoy9IgKMv
nrVwwDNRWw65f+uMXWMxZzdudHD7gWZ5wH6zk8XqlD5SalcmdYHOhVe6b3PsItt6
Z87+SQlgH8ti523dcgmUfGGvhmNuW+00abPQM59krYqUhnZcgY1pxLLCIMpGhkfY
PXqKjHoqU7q92Hq2AfOpcXze5OQsQ4lpCf3iE/rwkIMyJFlh/z1n0qi86rM2qGX9
okkxOxRdSpUP/urVrf0bBGxT8X50v6c4TLjcWYxJ5HGvYSXq3DdEgUm3D6Tb2muX
k8xHuZCsayXGs/AtZ/9Sd5YBF138M7WPVTLPCqL9YIfCYvskVabZ8UK5xAHfvJDM
EUM58F7uRORs5bAdiMCfEET9UQLrJMxMexeAEfw8ZuZmuNNt69/5z0EDM3wyb6f3
dSZ9VDtn7jkjkrJqARmahmUlKezQkQsUtlDZA/+3lETclnJC7XjJ5obNLnrhVakr
soh9dfUnCd1PZEvHA78EYQyeYdSos3aBq8dYKcU9uZz3D38xQQlx2P55pBoYrUQ1
3K8I+pFBGx73SVOVlno6DqQBJvRE6eHP55nurkfxMzrNoOfm+YmUG9WHFclUt1Bc
66YwQ9ZAaIPxtuZn04WI2VNj+fv/OTcl/kA58OdE3mWHaQYgl6jYnjGhLNuODVZ0
xC9pCjmpH8Suwjg8lmPk
=QRjV
-----END PGP SIGNATURE-----

--Sig_/k11W.CBrXK6hRSmo+lCIQRx--

--===============1341615084==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
--===============1341615084==--