Hi Andrew

Pgsql RA uses crm_attribute to  change slave's master-socre from master like
 # crm_attribute -l reboot  -N host2 -n "master-pgsql:1" -v "1000"
Because the Slave of PostgreSQL can't get replication status.

In addition the RA uses "uname -n" to compare hostname to
$OCF_RESKEY_CRM_meta_notify_****_uname.
Mysql RA does the same way.

But we can't use "crm_node --name" in Pacemaker 1.0.x.
How do we keep compatibility?
HOSTNAME=`crm_node --name 2>/dev/null || uname -n` ?  :(

Regards,
Takatoshi MATSUO

2012/11/8 Andrew Beekhof <and...@beekhof.net>:
> You'd have to ask the resource-agents maintainers.
> crm_master is already setup to use it.
>
> On Wed, Nov 7, 2012 at 10:14 PM, Yuusuke Iida
> <iiday...@intellilink.co.jp> wrote:
>>> You can use crm_node --name to get the same name that Pacemaker is using.
>>
>> I want "crm_node --name" to replace "uname -n" using in RA.
>> Is there the plan to perform this?
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to