<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello!<br>
<span id="result_box" class="short_text" lang="en"><span
 style="background-color: rgb(230, 236, 249); color: rgb(0, 0, 0);"
 title="">Recently i</span></span> began to use drbd-mc for configuring
heartbeat(crm) cluster.<br>
When i create IPaddr2 resource parameter "Network interface" = "eth0"
is ignored.<br>
<br>
look at this command, when parameter "Network interface" is eth0 (NOT
NULL!!) and press "Apply":<br>
<br>
[root@v1:~#] /usr/sbin/cibadmin --obj_type resources -R -X
'&lt;primitive id="res_IPaddr2_v1_2" class="ocf" provider="heartbeat"
type="IPaddr2" &gt;&lt;instance_attributes
id="res_IPaddr2_v1_2-instance_attributes"&gt;&lt;nvpair
id="nvpair-res_IPaddr2_v1_2-ip" name="ip"
value="10.80.2.1"/&gt;&lt;nvpair
id="nvpair-res_IPaddr2_v1_2-cidr_netmask" name="cidr_netmask"
value="24"/&gt;&lt;/instance_attributes&gt;&lt;operations
id="res_IPaddr2_v1_2-operations"&gt;&lt;op interval="0"
id="op-res_IPaddr2_v1_2-start" name="start" timeout="20"/&gt;&lt;op
interval="0" id="op-res_IPaddr2_v1_2-stop" name="stop"
timeout="20"/&gt;&lt;op id="op-res_IPaddr2_v1_2-monitor" name="monitor"
interval="10" timeout="20"
start-delay="0"/&gt;&lt;/operations&gt;&lt;meta_attributes
id="res_IPaddr2_v1_2-meta_attributes"&gt;&lt;nvpair
id="res_IPaddr2_v1_2-meta_attributes-target-role" name="target-role"
value="stopped"/&gt;&lt;/meta_attributes&gt;&lt;/primitive&gt;'<br>
<br>
and this command, when parameter "Network interface" is not "eth0"
(=eth1):<br>
<br>
[root@v1:~#] /usr/sbin/cibadmin --obj_type resources -R -X
'&lt;primitive id="res_IPaddr2_v1_2" class="ocf" provider="heartbeat"
type="IPaddr2" &gt;&lt;instance_attributes
id="res_IPaddr2_v1_2-instance_attributes"&gt;&lt;nvpair
id="nvpair-res_IPaddr2_v1_2-ip" name="ip"
value="10.80.2.1"/&gt;&lt;nvpair id="nvpair-res_IPaddr2_v1_2-nic"
name="nic" value="eth1"/&gt;&lt;nvpair
id="nvpair-res_IPaddr2_v1_2-cidr_netmask" name="cidr_netmask"
value="24"/&gt;&lt;/instance_attributes&gt;&lt;operations
id="res_IPaddr2_v1_2-operations"&gt;&lt;op interval="0"
id="op-res_IPaddr2_v1_2-start" name="start" timeout="20"/&gt;&lt;op
interval="0" id="op-res_IPaddr2_v1_2-stop" name="stop"
timeout="20"/&gt;&lt;op id="op-res_IPaddr2_v1_2-monitor" name="monitor"
interval="10" timeout="20"
start-delay="0"/&gt;&lt;/operations&gt;&lt;meta_attributes
id="res_IPaddr2_v1_2-meta_attributes"&gt;&lt;nvpair
id="res_IPaddr2_v1_2-meta_attributes-target-role" name="target-role"
value="stopped"/&gt;&lt;/meta_attributes&gt;&lt;/primitive&gt;'<br>
<br>
it's bug or <span style="visibility: visible;" id="search">feature?</span>
<pre class="moz-signature" cols="72">--  
Kind regards, Eugene B Dmitriev
Skype: dmitrieve
ICQ: 256999110
</pre>
</body>
</html>