Eugene B Dmitriev
2010-11-02 07:10:14 UTC
Hello!
Recently i began to use drbd-mc for configuring heartbeat(crm) cluster.
When i create IPaddr2 resource parameter "Network interface" = "eth0" is
ignored.
look at this command, when parameter "Network interface" is eth0 (NOT
NULL!!) and press "Apply":
[root at v1:~#] /usr/sbin/cibadmin --obj_type resources -R -X '<primitive
id="res_IPaddr2_v1_2" class="ocf" provider="heartbeat" type="IPaddr2"
id="nvpair-res_IPaddr2_v1_2-cidr_netmask" name="cidr_netmask"
value="24"/></instance_attributes><operations
id="res_IPaddr2_v1_2-operations"><op interval="0"
id="op-res_IPaddr2_v1_2-start" name="start" timeout="20"/><op
interval="0" id="op-res_IPaddr2_v1_2-stop" name="stop" timeout="20"/><op
id="op-res_IPaddr2_v1_2-monitor" name="monitor" interval="10"
timeout="20" start-delay="0"/></operations><meta_attributes
id="res_IPaddr2_v1_2-meta_attributes"><nvpair
id="res_IPaddr2_v1_2-meta_attributes-target-role" name="target-role"
value="stopped"/></meta_attributes></primitive>'
and this command, when parameter "Network interface" is not "eth0" (=eth1):
[root at v1:~#] /usr/sbin/cibadmin --obj_type resources -R -X '<primitive
id="res_IPaddr2_v1_2" class="ocf" provider="heartbeat" type="IPaddr2"
id="nvpair-res_IPaddr2_v1_2-nic" name="nic" value="eth1"/><nvpair
id="nvpair-res_IPaddr2_v1_2-cidr_netmask" name="cidr_netmask"
value="24"/></instance_attributes><operations
id="res_IPaddr2_v1_2-operations"><op interval="0"
id="op-res_IPaddr2_v1_2-start" name="start" timeout="20"/><op
interval="0" id="op-res_IPaddr2_v1_2-stop" name="stop" timeout="20"/><op
id="op-res_IPaddr2_v1_2-monitor" name="monitor" interval="10"
timeout="20" start-delay="0"/></operations><meta_attributes
id="res_IPaddr2_v1_2-meta_attributes"><nvpair
id="res_IPaddr2_v1_2-meta_attributes-target-role" name="target-role"
value="stopped"/></meta_attributes></primitive>'
it's bug or feature?
--
Kind regards, Eugene B Dmitriev
Skype: dmitrieve
ICQ: 256999110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20101102/04faa3f4/attachment.htm>
Recently i began to use drbd-mc for configuring heartbeat(crm) cluster.
When i create IPaddr2 resource parameter "Network interface" = "eth0" is
ignored.
look at this command, when parameter "Network interface" is eth0 (NOT
NULL!!) and press "Apply":
[root at v1:~#] /usr/sbin/cibadmin --obj_type resources -R -X '<primitive
id="res_IPaddr2_v1_2" class="ocf" provider="heartbeat" type="IPaddr2"
<instance_attributes id="res_IPaddr2_v1_2-instance_attributes"><nvpair
id="nvpair-res_IPaddr2_v1_2-ip" name="ip" value="10.80.2.1"/><nvpairid="nvpair-res_IPaddr2_v1_2-cidr_netmask" name="cidr_netmask"
value="24"/></instance_attributes><operations
id="res_IPaddr2_v1_2-operations"><op interval="0"
id="op-res_IPaddr2_v1_2-start" name="start" timeout="20"/><op
interval="0" id="op-res_IPaddr2_v1_2-stop" name="stop" timeout="20"/><op
id="op-res_IPaddr2_v1_2-monitor" name="monitor" interval="10"
timeout="20" start-delay="0"/></operations><meta_attributes
id="res_IPaddr2_v1_2-meta_attributes"><nvpair
id="res_IPaddr2_v1_2-meta_attributes-target-role" name="target-role"
value="stopped"/></meta_attributes></primitive>'
and this command, when parameter "Network interface" is not "eth0" (=eth1):
[root at v1:~#] /usr/sbin/cibadmin --obj_type resources -R -X '<primitive
id="res_IPaddr2_v1_2" class="ocf" provider="heartbeat" type="IPaddr2"
<instance_attributes id="res_IPaddr2_v1_2-instance_attributes"><nvpair
id="nvpair-res_IPaddr2_v1_2-ip" name="ip" value="10.80.2.1"/><nvpairid="nvpair-res_IPaddr2_v1_2-nic" name="nic" value="eth1"/><nvpair
id="nvpair-res_IPaddr2_v1_2-cidr_netmask" name="cidr_netmask"
value="24"/></instance_attributes><operations
id="res_IPaddr2_v1_2-operations"><op interval="0"
id="op-res_IPaddr2_v1_2-start" name="start" timeout="20"/><op
interval="0" id="op-res_IPaddr2_v1_2-stop" name="stop" timeout="20"/><op
id="op-res_IPaddr2_v1_2-monitor" name="monitor" interval="10"
timeout="20" start-delay="0"/></operations><meta_attributes
id="res_IPaddr2_v1_2-meta_attributes"><nvpair
id="res_IPaddr2_v1_2-meta_attributes-target-role" name="target-role"
value="stopped"/></meta_attributes></primitive>'
it's bug or feature?
--
Kind regards, Eugene B Dmitriev
Skype: dmitrieve
ICQ: 256999110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20101102/04faa3f4/attachment.htm>