Hi,

On Fri, May 14, 2010 at 01:24:00PM -0700, Matthew F. Hymowitz wrote:
> Hi
> 
> I am trying to use heartbeat 2.1.3

That's very old, you should really upgrade.

> with the 1.0.3 resource
> agents to move a iSCSI (LIO) target across two machines.   The
> two machines are named sedona and toltec.  Sedona is an HP
> DL180g5 and toltec is a whitebox with an ASUS P7P55D
> motherboard.  Each machine has 3 nics   (management,
> heartbeat/DRBD, and iSCSI).   I modified the resource scripts
> to support chap authentication.

Perhaps you'd like to contribute the modification.

> If I bring up sedona by
> itself I can connect vai iscsi with no problem.   If I bring up
> toltec by itself I get a stacktrace from target_core_mod
> 
> 
> May 13 22:14:20 toltec kernel: [  997.276079] RIP: 0010:[<ffffffffa0338183>]  
> [<
> ffffffffa0338183>] iblock_do_task+0x24/0x2c2 [target_core_mod]
> May 13 22:14:20 toltec kernel: [  997.276079] RSP: 0018:ffff880130d91d40  
> EFLAGS
> : 00010246
> May 13 22:14:20 toltec kernel: [  997.276079] RAX: ffffffffa035eb80 RBX: 
> ffff880
> 130439200 RCX: 0000000000000246
> May 13 22:14:20 toltec kernel: [  997.276079] RDX: 0000000000000000 RSI: 
> 0000000
> 000000246 RDI: ffff88012f953a80
> May 13 22:14:20 toltec kernel: [  997.276079] RBP: ffff880130d91e30 R08: 
> ffff880
> 130d90000 R09: 00000000ffffffff
> May 13 22:14:20 toltec kernel: [  997.276079] R10: 0000000000000000 R11: 
> ffff880
> 130439200 R12: ffff88012fcd9c00
> May 13 22:14:20 toltec kernel: [  997.276079] R13: ffff88012f953a80 R14: 
> ffff880
> 130439200 R15: ffff88012f953a80
> May 13 22:14:20 toltec kernel: [  997.276079] FS:  0000000000000000(0000) 
> GS:fff
> fffff80895080(0000) knlGS:0000000000000000
> May 13 22:14:20 toltec kernel: [  997.276079] CS:  0010 DS: 0018 ES: 0018 
> CR0: 0
> 
> 
> 
> full trace is attached to this email.   The configuration is
> DRBD on top of a LVM block device and then LVM (again) ontop of
> DRBD).   
> 
> 
> If I bring up the LIO targets on toltec not under heartbeat but
> just by hand everything also works.   I am a newbie to
> heartbeat so if anyone can point me in the right direction I
> would appreciate it.  This is running on an openfiler
> implementations of rpath linux:   on toltec my kernel is
> 2.6.29-6-0.28.smp.gcc3.4.x86_64 
> 
> on sedona my kernel is 2.6.29.6-0.24.smp.gcc.4.x86_64
> 
> Let me know what addtional information is needed, or even if I
> am posting this to the right list.

You should file a bug report for the oops. Not sure, but it looks
like it's in iscsi code.

Thanks,

Dejan

> Thank you
> 
> -Matt

> <group ordered="true" collocated="true" id="rg_openfiler">
>   <primitive class="heartbeat" type="drbddisk"
>              provider="heartbeat" id="drbddisk_cluster_metadata">
>     <meta_attributes>
>       <attributes>
>         <nvpair name="target_role" value="started"/>
>       </attributes>
>     </meta_attributes>
>     <instance_attributes>
>       <attributes>
>         <nvpair name="drbd_resource" value="cluster_metadata"/>
>       </attributes>
>     </instance_attributes>
>   </primitive>
>   <primitive class="heartbeat" type="drbddisk"
>               provider="heartbeat" id="disk_vg0drbd">
>       <meta_attributes>
>           <attributes>        
>               <nvpair name="target_role" value="started"/>
>           </attributes>       
>       </meta_attributes>
>         <instance_attributes>
>       <attributes>
>               <nvpair name="drbd_resource" value="vg0drbd"/>
>       </attributes>
>       </instance_attributes>
>   </primitive>
>   <primitive class="ocf" type="Filesystem" is_managed="true"
>              provider="heartbeat" id="fs_openfiler">
>     <instance_attributes>
>       <attributes>
>         <nvpair name="device" value="/dev/drbd0"/>
>         <nvpair name="directory" value="/cluster_metadata"/>
>         <nvpair name="type" value="ext3"/>
>       </attributes>
>     </instance_attributes>
>   </primitive>
>   <primitive class="ocf" type="LVM" is_managed="true"
>       provider="heartbeat" id="lvmvg0drbd"> 
>       <instance_attributes id="lvmvg0drbdattributes">
>          <attributes>
>               <nvpair name="volgrpname" value="vg0drbd" 
> id="vg0_volgroupname"/>
>          </attributes>        
>       </instance_attributes>
>         <operations>
>               <op name="monitor" interval="120s" timeout="5s" id="lvmvg0mon"/>
>       </operations>
>   </primitive>
>    <primitive class="ocf"  type="iSCSILogicalUnit" provider="heartbeat" 
> id="lun1" >
>       <instance_attributes id="lun1attributes">
>             <attributes>
>               <nvpair name="implementation" value="lio" id="lio1"/>
>               <nvpair name="target_iqn"  
> value="iqn.2003-01.org.linux.iscsi.sedona.x86.sn:db4bd3aa64eb" id="iqn1"/>
>               <nvpair name="lun" value="0"/>
>               <nvpair name="path" value="/dev/vg0drbd/vmstorage"/>
>             </attributes>
>       </instance_attributes>
>   </primitive>
>   <primitive class="ocf" type="IPaddr2"
>              provider="heartbeat" id="ip_iscsi">
>     <instance_attributes>
>       <attributes>
>         <nvpair name="ip" value="192.168.7.4"/>
>         <nvpair name="cidr_netmask" value="24"/>
>         <nvpair name="nic" value="eth2"/>
>       </attributes>
>     </instance_attributes>
>   </primitive>
> 
>    <primitive class="ocf" type="iSCSITarget" provider="heartbeat" 
> id="target1" is_managed="true" >
>       <instance_attributes id="targetinstance">
>               <attributes>
>                       <nvpair name="implementation" value="lio"/>
>                       <nvpair name="iqn" 
> value="iqn.2003-01.org.linux.iscsi.sedona.x86.sn:db4bd3aa64eb" id="iqn2"/>
>                       <nvpair name="allowed_initiators" 
> value="iqn.1991-05.com.microsoft:verde"/>
>                       <nvpair name="portals" value="192.168.7.4:3261"/>
>               </attributes>
>       </instance_attributes>
>    </primitive>
> 
>   <primitive class="ocf" type="IPaddr2"
>              provider="heartbeat" id="ip_openfiler">
>     <instance_attributes>
>       <attributes>
>         <nvpair name="ip" value="192.168.1.14"/>
>         <nvpair name="cidr_netmask" value="24"/>
>         <nvpair name="nic" value="eth0"/>
>       </attributes>
>     </instance_attributes>
>   </primitive>
>       
> 
> 
> 
> 
>   <primitive class="lsb" type="openfiler"
>              provider="heartbeat" id="openfiler"/>
> </group>






> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to