scripts: Changed uses of "ctdb xpnn" to ctdb_get_pnn()
authorMartin Schwenke <martin@meltin.net>
Sat, 18 Apr 2015 12:00:49 +0000 (22:00 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 24 Feb 2016 10:44:27 +0000 (21:44 +1100)
commitd7e496eefffbabe3a894177729112effdf3d0564
tree35c51755d40817cd185bd71ec8106a52c48ced7a
parentab5761b0cfa4804fc10dafa82588148bd2b48cef
scripts: Changed uses of "ctdb xpnn" to ctdb_get_pnn()

"ctdb xpnn" does not work when sysctl net.ipv4.ip_nonlocal_bind=1,
since it determines the node by attempting to bind to each addres in
the nodes file.  The solution is to not use "ctdb xpnn".  After the
initial call, ctdb_get_pnn() will be more efficient that "ctdb xpnn".

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(Imported from commit 09b5e4978ab1df09f47156147848a6bf099ea665)
config/events.d/00.ctdb
config/events.d/70.iscsi
config/statd-callout