Discussion:
[drbd-mc] Node Attribute check
nozawat
2011-03-10 01:47:18 UTC
Permalink
Hi

I use drbd-mc-0.9.0.
How can I check Node Attribute?

Regards,
Tomo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110310/cda98a93/attachment.htm>
Rasto Levrinc
2011-03-10 08:05:07 UTC
Permalink
Post by nozawat
Hi
I use drbd-mc-0.9.0.
How can I check Node Attribute?
At the moment you can see only "standby" node attribute. Which node
attributes do you have in mind?

Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
nozawat
2011-03-10 09:25:02 UTC
Permalink
Hi Rasto,

Thank you for your reply.
I ran crm_mon -fA -1 command.
Then I understand that A becomes D.
Then gui0101-eth2 becomes dead.
I want to confirm this from DRBD-MC.Is it possible?

-----
============
Last updated: Thu Mar 10 18:11:33 2011
Stack: Heartbeat
Current DC: gui0104 (08207973-231c-450e-9ad6-
fcc6fd3f8dcb) - partition with quorum
Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
4 Nodes configured, unknown expected votes
10 Resources configured.
============

Online: [ gui0104 gui0103 gui0102 gui0101 ]

Resource Group: grpPostgreSQLDB1
prmExPostgreSQLDB1 (ocf::heartbeat:sfex): Started gui0101
prmFsPostgreSQLDB1 (ocf::heartbeat:Filesystem): Started gui0101
prmIpPostgreSQLDB1 (ocf::heartbeat:IPaddr2): Started gui0101
prmApPostgreSQLDB1 (ocf::heartbeat:pgsql): Started gui0101
Resource Group: grpPostgreSQLDB2
prmExPostgreSQLDB2 (ocf::heartbeat:sfex): Started gui0102
prmFsPostgreSQLDB2 (ocf::heartbeat:Filesystem): Started gui0102
prmIpPostgreSQLDB2 (ocf::heartbeat:IPaddr2): Started gui0102
prmApPostgreSQLDB2 (ocf::heartbeat:pgsql): Started gui0102
Resource Group: grpPostgreSQLDB3
prmExPostgreSQLDB3 (ocf::heartbeat:sfex): Started gui0103
prmFsPostgreSQLDB3 (ocf::heartbeat:Filesystem): Started gui0103
prmIpPostgreSQLDB3 (ocf::heartbeat:IPaddr2): Started gui0103
prmApPostgreSQLDB3 (ocf::heartbeat:pgsql): Started gui0103
Resource Group: grpStonith1
prmStonith1-1 (stonith:external/stonith-helper): Started
gui0104
prmStonith1-2 (stonith:external/xen0): Started gui0104
prmStonith1-3 (stonith:meatware): Started gui0104
Resource Group: grpStonith2
prmStonith2-1 (stonith:external/stonith-helper): Started
gui0101
prmStonith2-2 (stonith:external/xen0): Started gui0101
prmStonith2-3 (stonith:meatware): Started gui0101
Resource Group: grpStonith3
prmStonith3-1 (stonith:external/stonith-helper): Started
gui0102
prmStonith3-2 (stonith:external/xen0): Started gui0102
prmStonith3-3 (stonith:meatware): Started gui0102
Resource Group: grpStonith4
prmStonith4-1 (stonith:external/stonith-helper): Started
gui0103
prmStonith4-2 (stonith:external/xen0): Started gui0103
prmStonith4-3 (stonith:meatware): Started gui0103
Clone Set: clnPingd
Started: [ gui0104 gui0103 gui0102 gui0101 ]
Clone Set: clnDiskd1
Started: [ gui0104 gui0103 gui0102 gui0101 ]
Clone Set: clnDiskd2
Started: [ gui0104 gui0103 gui0102 gui0101 ]

Node Attributes:
* Node gui0104:
+ default_ping_set : 100
+ diskcheck_status : normal
+ diskcheck_status_internal : normal
+ gui0101-eth2 : dead
+ gui0101-eth3 : up
+ gui0102-eth2 : up
+ gui0102-eth3 : up
+ gui0103-eth2 : up
+ gui0103-eth3 : up
* Node gui0103:
+ default_ping_set : 100
+ diskcheck_status : normal
+ diskcheck_status_internal : normal
+ gui0101-eth2 : dead
+ gui0101-eth3 : up
+ gui0102-eth2 : up
+ gui0102-eth3 : up
+ gui0104-eth2 : up
+ gui0104-eth3 : up
* Node gui0102:
+ default_ping_set : 100
+ diskcheck_status : normal
+ diskcheck_status_internal : normal
+ gui0101-eth2 : dead
+ gui0101-eth3 : up
+ gui0103-eth2 : up
+ gui0103-eth3 : up
+ gui0104-eth2 : up
+ gui0104-eth3 : up
* Node gui0101:
+ default_ping_set : 100
+ diskcheck_status : normal
+ diskcheck_status_internal : normal
+ gui0102-eth2 : up
+ gui0102-eth3 : up
+ gui0103-eth2 : up
+ gui0103-eth3 : up
+ gui0104-eth2 : up
+ gui0104-eth3 : up

Migration summary:
* Node gui0104:
* Node gui0101:
* Node gui0103:
* Node gui0102:
--------

Regards,
Tomo

2011/3/10 Rasto Levrinc <rasto.levrinc at linbit.com>
Post by Rasto Levrinc
Post by nozawat
Hi
I use drbd-mc-0.9.0.
How can I check Node Attribute?
At the moment you can see only "standby" node attribute. Which node
attributes do you have in mind?
Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110310/c9b239ca/attachment.htm>
Rasto Levrinc
2011-03-10 11:11:16 UTC
Permalink
Post by nozawat
Hi Rasto,
Thank you for your reply.
I ran crm_mon -fA -1 command.
Then I understand that A becomes D.
Then gui0101-eth2 becomes dead.
I want to confirm this from DRBD-MC.Is it possible?
It is not possible at the moment, but it's on the TODO list.

Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
Loading...