Re: iscsistart VLAN ID ??

2014-09-17 Thread Rob Roschewsk
I'm just trying to understand how that all works  so EVERYTHING that is 
set in the BIOS gets set with iscsistart -b regardless if I can see it or 
not  meaning when I do iscsistart -f I don't see the vlan settings.

# BEGIN RECORD 2.0-873
iface.initiatorname = iqn.0101-01.kvmi.host01
iface.transport_name = be2iscsi
iface.hwaddress = ac:16:2d:b8:c7:d1
iface.bootproto = STATIC
node.name = iqn.0101-01.kvmi.host01
node.conn[0].address = 192.168.100.101
node.conn[0].port = 3260
# END RECORD
# BEGIN RECORD 2.0-873
iface.initiatorname = iqn.0101-01.kvmi.host01
iface.transport_name = be2iscsi
iface.hwaddress = ac:16:2d:b8:c7:d5
iface.bootproto = STATIC
node.name = iqn.0101-01.kvmi.host01
node.conn[0].address = 192.168.101.101
node.conn[0].port = 3260
# END RECORD


It's working . but I didn't know why :)

Thanks!!
-- Rob


On Wednesday, September 17, 2014 6:44:07 AM UTC, Mike Christie wrote:

 Nevermind. When you wrote you can set it in the BIOS, that means that 
 userspace should not have to set it as far as I can tell from the code. 
 It will just get set like other net settings if not passed in from 
 userspace during session login time.. 

 On 09/17/2014 01:39 AM, Mike Christie wrote: 
  See the email subject. What about iscsistart? It only takes info found 
  in /sys/firmware. iscsiadm can set any info in /etc/iscsi or 
  /var/lib/iscsi, so yeah that should work. 
  
  On 09/16/2014 11:25 PM, Jayamohan Kallickal wrote: 
  
  We do have code to set vlan id, so,  we can set vlanid using iscsiadm 
  
  Also, the Emulex BIOS allows for setting of vlan id. 
  
  Thanks 
  Jay 
  
  -Original Message- 
  From: Mike Christie [mailto:mich...@cs.wisc.edu javascript:] 
  Sent: Monday, September 15, 2014 10:42 AM 
  To: open-...@googlegroups.com javascript: 
  Cc: Jayamohan Kallickal 
  Subject: Re: iscsistart VLAN ID ?? 
  
  If you are using be2iscsi, then you would not use ibft. If you are 
 using a custom boot script then you need be2iscsi and iscsi_boot_sysfs 
 only. 
  If you are using a distro boot script then it might be more general and 
 loading ibft (loading ibft loads iscsi_boot_sysfs) because other drivers 
 need it. 
  
  I think for be2iscsi boot, there is no code to get the vlan id and then 
 pass that down to the driver. However, I think be2iscsi might store the 
 vlan info in firmware like it does with the other net info. So as long as 
 the vlan id did not change then you are ok. Jay, is that correct? 
  
  
  
  On 09/15/2014 12:34 PM, Rob Roschewsk wrote: 
  be2iscsi  but I've made more progress since this post ... see: 
  https://groups.google.com/d/msg/open-iscsi/JZVK8BBImg0/QS08QsAwX_wJ 
  
  The configuration of the VLAN still seems to be automagic  but 
  it's working  
  
  
  On Monday, September 15, 2014 5:23:25 PM UTC, Mike Christie wrote: 
  
  On 09/11/2014 10:43 AM, Rob Roschewsk wrote: 
   Hi all ... I've searched but have found no answers  maybe my 
   google-juice is low ... 
   
   I need to be able to pass a VLAN ID and enable VLAN TAGGING in 
  iscsistart 
   
   I'm using an EMULEX 10G NETWORK / ISCSI HBA and our iscsi 
 traffic 
  is on 
   a specific vlan 
   
   Emulex Corporation OneConnect 10Gb NIC (be3) (rev 01) 
   
  
  Are you using the Emulex iscsi offload driver (be2iscsi) or using 
  software iscsi (iscsi_tcp) over the Emulex network driver 
 (be2net)? 
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups open-iscsi group. 
  To unsubscribe from this group and stop receiving emails from it, send 
  an email to open-iscsi+...@googlegroups.com javascript: 
  mailto:open-iscsi+unsubscr...@googlegroups.com javascript:. 
  To post to this group, send email to open-...@googlegroups.com 
 javascript: 
  mailto:open-...@googlegroups.com javascript:. 
  Visit this group at http://groups.google.com/group/open-iscsi. 
  For more options, visit https://groups.google.com/d/optout. 
  
  



-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: iscsistart VLAN ID ??

2014-09-15 Thread Rob Roschewsk
Thanks  but vconfig doesn't apply here  this is an iscsi hba  
so it's not using the network stack at all ... besides that it's too early 
in the boot process  still running on initramfs ...


On Monday, September 15, 2014 8:14:01 AM UTC, Cip wrote:

  
 How about using vconfig to create a VLAN interface? Tagging then becomes a 
 kernel problem and thus no longer relevant to iscsi. 


 On 09/11/2014 05:43 PM, Rob Roschewsk wrote:
  
 Hi all ... I've searched but have found no answers  maybe my 
 google-juice is low ... 

  I need to be able to pass a VLAN ID and enable VLAN TAGGING in 
 iscsistart 

  I'm using an EMULEX 10G NETWORK / ISCSI HBA and our iscsi traffic is on 
 a specific vlan 

  Emulex Corporation OneConnect 10Gb NIC (be3) (rev 01)
  
  I am able to connect to the device from the command line using iscsiadm 
  but during the boot process I want to mount the iscsi lun as root.

  I see nothing in the scripts / configs / man pages about VLAN support 
 

  FYI ... trying to do this on Ubunti Server 14.04.1

  Thanks ...

  -- Rob

  -- 
 You received this message because you are subscribed to the Google Groups 
 open-iscsi group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to open-iscsi+...@googlegroups.com javascript:.
 To post to this group, send email to open-...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/open-iscsi.
 For more options, visit https://groups.google.com/d/optout.


   

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


iscsistart Ubuntu server 14.01.1 LTS / HP proliant DL380p GEN 8

2014-09-15 Thread Rob Roschewsk
OK ... so I've made a lot of progress since my last post about VLAN id  
discovered I should be using ISCSI_AUTO and ibft  However ... I'm still 
getting grief 

from the init script local-top/iscsi, iscsistart -b is *failing* with the 
message:
*Could not get boot entry.*

I have hacked at the iscsi script and pared it down to the bare essentials:
echo loading ibft module
modprobe iscsi_ibft
echo load ibft module
echo sleep 5
sleep 5
echo wake up
echo running iscsistart
/sbin/iscsistart -b
echo ended iscsistart
echo running udevadm settle
udevadm settle
echo ended udevadm settle
echo ended iscsi script

 no joy 

but here is the kicker  

when the initscript fails to find root and drops me to the initramfs shell 
 I run iscsistart -b at the command line it all works fine!  
configures the hba and connects to the lun  on both interfaces .. exit 
out of the shell ... root gets mounted and all is well.

The box is using emulex lan/iscsi adapters:
03:00.2 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI 
Initiator (be3) (rev 01)
03:00.3 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI 
Initiator (be3) (rev 01)


I'm stumped ... is it a timing thing??? Any and all help appreciated !!!

Thanks!

-- Rob





-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: iscsistart Ubuntu server 14.01.1 LTS / HP proliant DL380p GEN 8

2014-09-15 Thread Rob Roschewsk
OK  I might be onto something  even though ibft_iscsi loads ... it 
seems the /sys/ entries the iscsistart needs aren't ready after modprobe 
returns . adding a sleep 60 allowed iscsistart to connect to the luns 
without dropping to a shell



On Monday, September 15, 2014 3:06:40 PM UTC, Rob Roschewsk wrote:

 OK ... so I've made a lot of progress since my last post about VLAN id 
  discovered I should be using ISCSI_AUTO and ibft  However ... I'm 
 still getting grief 

 from the init script local-top/iscsi, iscsistart -b is *failing* with 
 the message:
 *Could not get boot entry.*

 I have hacked at the iscsi script and pared it down to the bare essentials:
 echo loading ibft module
 modprobe iscsi_ibft
 echo load ibft module
 echo sleep 5
 sleep 5
 echo wake up
 echo running iscsistart
 /sbin/iscsistart -b
 echo ended iscsistart
 echo running udevadm settle
 udevadm settle
 echo ended udevadm settle
 echo ended iscsi script

  no joy 

 but here is the kicker  

 when the initscript fails to find root and drops me to the initramfs shell 
  I run iscsistart -b at the command line it all works fine!  
 configures the hba and connects to the lun  on both interfaces .. exit 
 out of the shell ... root gets mounted and all is well.

 The box is using emulex lan/iscsi adapters:
 03:00.2 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI 
 Initiator (be3) (rev 01)
 03:00.3 Mass storage controller: Emulex Corporation OneConnect 10Gb iSCSI 
 Initiator (be3) (rev 01)


 I'm stumped ... is it a timing thing??? Any and all help appreciated !!!

 Thanks!

 -- Rob







-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: iscsistart VLAN ID ??

2014-09-15 Thread Rob Roschewsk
be2iscsi  but I've made more progress since this post ... see:
https://groups.google.com/d/msg/open-iscsi/JZVK8BBImg0/QS08QsAwX_wJ

The configuration of the VLAN still seems to be automagic  but it's 
working  


On Monday, September 15, 2014 5:23:25 PM UTC, Mike Christie wrote:

 On 09/11/2014 10:43 AM, Rob Roschewsk wrote: 
  Hi all ... I've searched but have found no answers  maybe my 
  google-juice is low ... 
  
  I need to be able to pass a VLAN ID and enable VLAN TAGGING in 
 iscsistart 
  
  I'm using an EMULEX 10G NETWORK / ISCSI HBA and our iscsi traffic is on 
  a specific vlan 
  
  Emulex Corporation OneConnect 10Gb NIC (be3) (rev 01) 
  

 Are you using the Emulex iscsi offload driver (be2iscsi) or using 
 software iscsi (iscsi_tcp) over the Emulex network driver (be2net)? 


-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.