# WSREP: no nodes coming from prim view, prim not possible

**URL:** <https://forums.percona.com/t/wsrep-no-nodes-coming-from-prim-view-prim-not-possible/2511>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [November 29, 2012, 5:32pm UTC](https://forums.percona.com/t/wsrep-no-nodes-coming-from-prim-view-prim-not-possible/2511 "2012-11-29T17:32:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveb](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@steveb](https://forums.percona.com/u/steveb)\
**Post date:** [November 29, 2012, 5:32pm UTC](https://forums.percona.com/t/wsrep-no-nodes-coming-from-prim-view-prim-not-possible/2511/1 "2012-11-29T17:32:53Z")

</div>

Setting up a 4 node XtraDB cluster for eval at work. The first three notes went pretty smoothly, but number 4 is another story. It was working then I ran apt-get upgrade and it wont restart. Well it did restart once I ran another apt-get to install a utility and boom mysql won’t restart.

So a few questions

I can’t find a answer to how wsrep\_cluster\_address=gcomm://192.168.0.83:3306 should be set see lot of different answers on the internet.

I have:  
node 1 ip .81  
wsrep\_cluster\_address=gcomm://  
node 2 ip .82  
wsrep\_cluster\_address=gcomm://192.168.0.83:3306  
node 3 ip .83  
wsrep\_cluster\_address=gcomm://192.168.0.81:3306  
node 4 ip .100  
wsrep\_cluster\_address=gcomm://192.168.0.82:3306

I’ve seen on net saying point 2-4 at node 1, others saying daisy chain them.

Then when a node won’t restart no errors just the warning " WSREP: no nodes coming from prim view, prim not possible"

Any idea what’s wrong things were working until the apt-get upgrade and now everytime I run apt-get it stop mysql and restart it.

---

<div class="post-metadata">

**Author:** ![steveb](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@steveb](https://forums.percona.com/u/steveb)\
**Post date:** [November 29, 2012, 7:13pm UTC](https://forums.percona.com/t/wsrep-no-nodes-coming-from-prim-view-prim-not-possible/2511/2 "2012-11-29T19:13:05Z")

</div>

the my.cnf I’m using…

# Generated by Percona Configuration Wizard

[mysql]

# CLIENT

port = 3306  
socket = /mysql/mysql.sock

[mysqld]

# GENERAL

user = mysql  
default\_storage\_engine = InnoDB  
socket = /mysql/mysql.sock  
pid\_file = /mysql/mysql.pid

# MyISAM

key\_buffer\_size = 32M  
myisam\_recover = FORCE,BACKUP

# SAFETY

max\_allowed\_packet = 16M  
max\_connect\_errors = 1000000

# DATA STORAGE

datadir = /mysql/

# BINARY LOGGING

log\_bin = /mysql/mysql-bin  
expire\_logs\_days = 14  
sync\_binlog = 1

# REPLICATION

log\_slave\_updates = 1  
relay\_log = /mysql/relay-bin  
slave\_net\_timeout = 60  
sync\_master\_info = 1  
sync\_relay\_log = 1  
sync\_relay\_log\_info = 1

# CACHES AND LIMITS

tmp\_table\_size = 32M  
max\_heap\_table\_size = 32M  
query\_cache\_type = 0  
query\_cache\_size = 0  
max\_connections = 500  
thread\_cache\_size = 50  
open\_files\_limit = 65535  
table\_definition\_cache = 4096  
table\_open\_cache = 4096

# INNODB

innodb\_flush\_method = O\_DIRECT  
innodb\_log\_files\_in\_group = 2  
innodb\_log\_file\_size = 512M  
innodb\_flush\_log\_at\_trx\_commit = 1  
innodb\_file\_per\_table = 1  
innodb\_buffer\_pool\_size = 26G

# LOGGING

log\_error = /mysql/mysql-error.log  
log\_queries\_not\_using\_indexes = 1  
slow\_query\_log = 1  
slow\_query\_log\_file = /mysql/mysql-slow.log

---

<div class="post-metadata">

**Author:** ![steveb](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@steveb](https://forums.percona.com/u/steveb)\
**Post date:** [December 5, 2012, 5:49pm UTC](https://forums.percona.com/t/wsrep-no-nodes-coming-from-prim-view-prim-not-possible/2511/3 "2012-12-05T17:49:00Z")

</div>

Can’t someone at least say how the gcomm should be configured?

I have:  
node 1 ip .81  
wsrep\_cluster\_address=gcomm://  
node 2 ip .82  
wsrep\_cluster\_address=gcomm://192.168.0.83:3306  
node 3 ip .83  
wsrep\_cluster\_address=gcomm://192.168.0.81:3306  
node 4 ip .100  
wsrep\_cluster\_address=gcomm://192.168.0.82:3306

I’ve seen on net saying point 2-4 at node 1, others saying daisy chain them.

first node works when set to nothing, but other info say set it to and address once 2nd and 3th nodes are up.

Please advise.
