iscsi initiator Konfiguration

Dieses Thema im Forum "Linux & BSD" wurde erstellt von Excelsus, 17. April 2012 .

Schlagworte:
  1. 17. April 2012
    Hallo zusammen,

    vielleicht weiß hier einer ja einen rat für mich...

    Ich habe hier eine Linux Maschine (Oracle Enterprise Linux 5 Update 7 x64). Dieser Server soll sich mit dem OpenFiler verbinden per ISCSI. Das funktioniert auch soweit.

    IPs

    OpenFiler:

    Code:
    [root@openfiler ~]# ifconfig
    bond0 Link encap:Ethernet HWaddr YY:YY:YY:YY:YY
     inet addr:192.168.6.251 Bcast:192.168.6.255 Mask:255.255.255.0
     inet6 addr: fe80::250:56ff:fe85:11/64 Scope:Link
     UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
     RX packets:23214 errors:0 dropped:0 overruns:0 frame:0
     TX packets:2403 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:2099750 (2.0 MiB) TX bytes:285022 (278.3 KiB)
    
    bond1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX
     inet addr:192.168.8.251 Bcast:192.168.8.255 Mask:255.255.255.0
     inet6 addr: fe80::250:56ff:fe85:1d/64 Scope:Link
     UP BROADCAST RUNNING MASTER MULTICAST MTU:9000 Metric:1
     RX packets:2840 errors:0 dropped:0 overruns:0 frame:0
     TX packets:1326 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:257517 (251.4 KiB) TX bytes:436597 (426.3 KiB)
    Linux Maschine:

    Code:
    [root@config380vm0 ~]# ifconfig
    eth0 Link encap:Ethernet HWaddr CC:CC:CC:CC:CC
     inet addr:192.168.6.78 Bcast:192.168.6.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:7634 errors:0 dropped:0 overruns:0 frame:0
     TX packets:343 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:662172 (646.6 KiB) TX bytes:52949 (51.7 KiB)
    
    eth1 Link encap:Ethernet HWaddr BB:BB:BB:BB:BB
     inet addr:192.168.8.22 Bcast:192.168.8.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
     RX packets:232 errors:0 dropped:0 overruns:0 frame:0
     TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:20043 (19.5 KiB) TX bytes:2927 (2.8 KiB)
    
    eth2 Link encap:Ethernet HWaddr AA:AA:AA:AA:AA
     inet addr:192.168.8.23 Bcast:192.168.8.255 Mask:255.255.255.0
     UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
     RX packets:6577 errors:0 dropped:0 overruns:0 frame:0
     TX packets:3213 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:1000
     RX bytes:14298575 (13.6 MiB) TX bytes:280363 (273.7 KiB)
    

    Code:
    [root@config380vm0 ~]# iscsiadm -m session
    tcp: [1] 192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1
    
    Nun möchte ich aber, das die iSCSI Verbindung nur über die Netzwerkkarte eth2 zum Openfiler geht.

    Habe mit folgendene Befehlen aus dem Internet die Konfiguration angelegt:

    Code:
    iscsiadm -m iface -I eth2 -o new
    iscsiadm -m iface -I eth2 -o update -n iface.net_ifacename -v eth2


    Code:
    [root@config380vm0 ~]# cat /var/lib/iscsi/ifaces/eth2
    # BEGIN RECORD 2.0-872
    iface.iscsi_ifacename = eth2
    iface.net_ifacename = eth2
    iface.transport_name = tcp
    # END RECORD
    
    Code:
    [root@config380vm0 ~]# iscsiadm --mode iface --interface eth2
    # BEGIN RECORD 2.0-872
    iface.iscsi_ifacename = eth2
    iface.net_ifacename = eth2
    iface.ipaddress = <empty>
    iface.hwaddress = <empty>
    iface.transport_name = tcp
    iface.initiatorname = <empty>
    # END RECORD
    
    Verbinden zum iscsi tue ich mich mit folgendem Befehl:

    Code:
    iscsiadm -m discovery -t sendtargets -p 192.168.8.251
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1 -p 192.168.8.251
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1 -p 192.168.8.251 -l
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1 -p 192.168.8.251 -o update -n node.startup -v automatic
    Löschen des zweiten iscsi Targets was der mist immer über die falsche IP Bezieht nämlich über die 192.168.6.251 mache ich wie folgt: (das passiert nachm Neustart zum Beispiel immer!)

    Code:
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1 -p 192.168.6.251 -u
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1 -p 192.168.6.251 -o update -n node.startup -v manual
    iscsiadm -m node --op delete --targetname iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1
    Code:
    [root@config380vm0 ~]# iscsiadm -m node -l
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1, portal: 192.168.6.251,3260]
    iscsiadm: Could not login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1, portal: 192.168.8.251,3260].
    iscsiadm: initiator reported error (15 - session exists)
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1, portal: 192.168.6.251,3260] successful.
    iscsiadm: Could not log into all portals
    
    Falls ihr mehr Infos bracuht, sagt einfach Bescheid!

    Viele Grüße
    Exce
     
  2. 18. April 2012
    AW: iscsi initiator Konfiguration

    Hallo zusammen,

    ich hoffe einer von Euch kann mir bei dem Problem hier helfen. Ich habe einen OpenFile auf dem ich mehrere ISCSI Targets Konfiguriert habe, jedes ISCSI Target soll für drei VMs sein (für RAC-Schulung). Ich sehe die ISCSI Targets soweit auch.

    Ich gehe wie folgt vor:

    1.
    Code:
     
    [root@config381vm0 ~]# iscsiadm -m iface -I eth2 -o new
    New interface eth2 added
    [root@config381vm0 ~]# iscsiadm -m iface -I eth2 -o update -n iface.net_ifacename -v eth2
    eth2 updated.
    [root@config381vm0 ~]# iscsiadm --mode iface --interface eth2
    # BEGIN RECORD 2.0-872
    iface.iscsi_ifacename = eth2
    iface.net_ifacename = eth2
    iface.ipaddress = <empty>
    iface.hwaddress = <empty>
    iface.transport_name = tcp
    iface.initiatorname = <empty>
    # END RECORD
    [root@config381vm0 ~]# ip link set dev eth2 mtu 9000
    [root@config381vm0 ~]# echo MTU=9000 >> /etc/sysconfig/network-scripts/ifcfg-eth2
     
    Code:
     
    [root@config381vm0 ~]# ifconfig
    eth0      Link encap:Ethernet  HWaddr YYYYYYYYYYYYYy
              inet addr:192.168.6.93  Bcast:192.168.6.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:4159 errors:0 dropped:0 overruns:0 frame:0
              TX packets:141 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:357483 (349.1 KiB)  TX bytes:16782 (16.3 KiB)
     
    eth1      Link encap:Ethernet  HWaddr CCCCCCCCCCC
              inet addr:192.168.8.40  Bcast:192.168.8.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:166 errors:0 dropped:0 overruns:0 frame:0
              TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:14419 (14.0 KiB)  TX bytes:3404 (3.3 KiB)
     
    eth2      Link encap:Ethernet  HWaddr VVVVVVVVVVVVV
              inet addr:192.168.8.41  Bcast:192.168.8.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
              RX packets:145 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:16250 (15.8 KiB)  TX bytes:2702 (2.6 KiB)
     
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1347 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1347 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2243692 (2.1 MiB)  TX bytes:2243692 (2.1 MiB)
     
    Code:
     
    [root@config381vm0 ~]# shutdown -r now
     
    Nach dem Neustart sieht alles soweit gut aus.

    Code:
    [root@config381vm0 ~]#
    login as: root
    root@192.168.6.93's password:
    Last login: Wed Apr 18 08:37:23 2012 from 10.2.100.25
    [root@config381vm0 ~]# iscsiadm -m session
    iscsiadm: No active sessions.
    [root@config381vm0 ~]# ifconfig eth2
    eth2      Link encap:Ethernet  HWaddr IIIIIIIIIII
              inet addr:192.168.8.41  Bcast:192.168.8.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
              RX packets:44 errors:0 dropped:0 overruns:0 frame:0
              TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:4730 (4.6 KiB)  TX bytes:2759 (2.6 KiB)
     
    Nun Verbinde ich mich mit dem Iscsi Target:
    Code:
    [root@config381vm0 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.8.251
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.aa014c35cbaa.rac10
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.aa014c35cbaa.rac10
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.b9a02a75c958.rac9
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.b9a02a75c958.rac9
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.44f7c9b5834b.rac8
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.44f7c9b5834b.rac8
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.1624c3b18a49.rac7
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.1624c3b18a49.rac7
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.23b983be40c4.rac6
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.23b983be40c4.rac6
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.6deffd098d08.rac5
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.6deffd098d08.rac5
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.e6d9d863bd0c.rac4
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.e6d9d863bd0c.rac4
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.71402d09643d.rac3
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.71402d09643d.rac3
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2
    192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1
    192.168.6.251:3260,1 iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1
     
    Nun Lösche ich das Target 192.68.6.251 komplett, da er sich von da keine Targets ziehen soll...
    Code:
    iscsiadm -m node -p 192.168.6.251 --op=delete
    Nun Verbinde ich mich mit dem Target
    Code:
    [root@config381vm0 ~]# iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2  -p 192.168.8.251
    # BEGIN RECORD 2.0-872
    node.name = iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2
    node.tpgt = 1
    node.startup = automatic
    iface.hwaddress = <empty>
    iface.ipaddress = <empty>
    iface.iscsi_ifacename = eth2
    iface.net_ifacename = eth2
    iface.transport_name = tcp
    iface.initiatorname = <empty>
    node.discovery_address = 192.168.8.251
    node.discovery_port = 3260
    node.discovery_type = send_targets
    node.session.initial_cmdsn = 0
    node.session.initial_login_retry_max = 8
    node.session.xmit_thread_priority = -20
    node.session.cmds_max = 128
    node.session.queue_depth = 32
    node.session.auth.authmethod = None
    node.session.auth.username = <empty>
    node.session.auth.password = <empty>
    node.session.auth.username_in = <empty>
    node.session.auth.password_in = <empty>
    node.session.timeo.replacement_timeout = 120
    node.session.err_timeo.abort_timeout = 15
    node.session.err_timeo.lu_reset_timeout = 30
    node.session.err_timeo.tgt_reset_timeout = 30
    node.session.err_timeo.host_reset_timeout = 60
    node.session.iscsi.FastAbort = Yes
    node.session.iscsi.InitialR2T = No
    node.session.iscsi.ImmediateData = Yes
    node.session.iscsi.FirstBurstLength = 262144
    node.session.iscsi.MaxBurstLength = 16776192
    node.session.iscsi.DefaultTime2Retain = 0
    node.session.iscsi.DefaultTime2Wait = 2
    node.session.iscsi.MaxConnections = 1
    node.session.iscsi.MaxOutstandingR2T = 1
    node.session.iscsi.ERL = 0
    node.conn[0].address = 192.168.8.251
    node.conn[0].port = 3260
    node.conn[0].startup = manual
    node.conn[0].tcp.window_size = 524288
    node.conn[0].tcp.type_of_service = 0
    node.conn[0].timeo.logout_timeout = 15
    node.conn[0].timeo.login_timeout = 15
    node.conn[0].timeo.auth_timeout = 45
    node.conn[0].timeo.noop_out_interval = 5
    node.conn[0].timeo.noop_out_timeout = 5
    node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
    node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
    node.conn[0].iscsi.HeaderDigest = None
    node.conn[0].iscsi.IFMarker = No
    node.conn[0].iscsi.OFMarker = No
    # END RECORD
     
    Nun logge ich mich ein:

    Code:
    [root@config381vm0 ~]# iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2  -p 192.168.8.251 -l
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2, portal: 192.168.8.251,3260]
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2, portal: 192.168.8.251,3260] successful.
     
    Letzte Schritt für dieses Target ist das automatische wieder verbinden nach einem Neustart:

    Code:
    [root@config381vm0 ~]# iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2  -p 192.168.8.251 -o update -n node.startup -v automatic
    Das Session Überprüfen zeigt das alles in Ordnung ist
    Code:
    [root@config381vm0 ~]# iscsiadm -m session
    tcp: [1] 192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2
     
    Ein fdisk -l zeigt mir auch die richtige Festplatte:

    Code:
    Disk /dev/sdb: 22.0 GB, 22045261824 bytes
    64 heads, 32 sectors/track, 21024 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
     
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1        2442     2500592   83  Linux
    /dev/sdb2            2443        4884     2500608   83  Linux
    /dev/sdb3            4885        7326     2500608   83  Linux
    /dev/sdb4            7327       21024    14026752    5  Extended
    /dev/sdb5            7327        9768     2500592   83  Linux
    /dev/sdb6            9769       12210     2500592   83  Linux
    /dev/sdb7           12211       14652     2500592   83  Linux
    /dev/sdb8           14653       15630     1001456   83  Linux
    /dev/sdb9           15631       16608     1001456   83  Linux
    /dev/sdb10          16609       17586     1001456   83  Linux
    /dev/sdb11          17587       18564     1001456   83  Linux
    /dev/sdb12          18565       19542     1001456   83  Linux
     
    Nach einem Neustart habe ich plötzlich alle Targets verbunden...

    Beim Überprüfen der Nodes:

    Code:
    root@config381vm0 ~]# iscsiadm -m node -l
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.44f7c9b5834b.rac8, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.aa014c35cbaa.rac10, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.b9a02a75c958.rac9, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.1624c3b18a49.rac7, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.23b983be40c4.rac6, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.e6d9d863bd0c.rac4, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.71402d09643d.rac3, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.6deffd098d08.rac5, portal: 192.168.8.251,3260]
    Logging in to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1, portal: 192.168.8.251,3260]
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.44f7c9b5834b.rac8, portal: 192.168.8.251,3260] successful.
    iscsiadm: Could not login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2, portal: 192.168.8.251,3260].
    iscsiadm: initiator reported error (15 - session exists)
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.aa014c35cbaa.rac10, portal: 192.168.8.251,3260] successful.
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.b9a02a75c958.rac9, portal: 192.168.8.251,3260] successful.
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.1624c3b18a49.rac7, portal: 192.168.8.251,3260] successful.
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.23b983be40c4.rac6, portal: 192.168.8.251,3260] successful.
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.e6d9d863bd0c.rac4, portal: 192.168.8.251,3260] successful.
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.71402d09643d.rac3, portal: 192.168.8.251,3260] successful.
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.6deffd098d08.rac5, portal: 192.168.8.251,3260] successful.
    Login to [iface: eth2, target: iqn.2006-01.com.openfiler:tsn.d6d1c7af534f.rac1, portal: 192.168.8.251,3260] successful.
    iscsiadm: Could not log into all portals
     
    Hier habe ich gerade gelernt, das ich da selbst schuld bin da ich da -l einfach mal wegnehmen sollte... dann passt das auch mit dem Nachbarn...Aber irgendwie funktioniert hier trotzdem nicht alles so wie es soll...

    Weiß einer von Euch wie ich mich mit einem expliziten angegeben iscsi Target verbinde und den rest komplett ignoriere!

    Als Beispiel:

    Code:
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2  -p 192.168.8.251 
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2  -p 192.168.8.251 -l
    iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2  -p 192.168.8.251 -o update -n node.startup -v automatic
    Ebenso habe ich das Problem das wenn ich auf VM1 das iscsi Target verbunden habe, ich mich auf VM2 verbinden kann, er aber die Festplatten nicht sehen tut. :-/

    Code:
    [root@config381vm1 ~]# iscsiadm -m session
    tcp: [1] 192.168.8.251:3260,1 iqn.2006-01.com.openfiler:tsn.aa396ccf6b5e.rac2
    Ein Ping funktioniert auch....

    Code:
    [root@config381vm1 ~]# ping -I eth2 192.168.8.251
    PING 192.168.8.251 (192.168.8.251) from 192.168.8.43 eth2: 56(84) bytes of data.
    64 bytes from 192.168.8.251: icmp_seq=1 ttl=64 time=0.360 ms
    64 bytes from 192.168.8.251: icmp_seq=2 ttl=64 time=0.519 ms
    64 bytes from 192.168.8.251: icmp_seq=3 ttl=64 time=0.430 ms
    64 bytes from 192.168.8.251: icmp_seq=4 ttl=64 time=0.363 ms
    64 bytes from 192.168.8.251: icmp_seq=5 ttl=64 time=0.330 ms
    
    Ich verstehe die Welt nicht mehr :-/

    Code:
    Apr 18 09:16:53 config381vm1 kernel: sd 3:0:0:0: [sdb] Unhandled error code
    Apr 18 09:16:53 config381vm1 kernel: sd 3:0:0:0: [sdb] Result: hostbyte=DID_TRANSPORT_DISRUPTED driverbyte=DRIVER_OK
    Apr 18 09:16:53 config381vm1 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    Apr 18 09:16:53 config381vm1 kernel: end_request: I/O error, dev sdb, sector 0
    Apr 18 09:16:53 config381vm1 kernel: Buffer I/O error on device sdb, logical block 0
    Apr 18 09:16:53 config381vm1 iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)
    Apr 18 09:16:56 config381vm1 iscsid: connection1:0 is operational after recovery (1 attempts)
    Apr 18 09:17:06 config381vm1 kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4296059541, last ping 4296064541, now 4296069541
    Apr 18 09:17:06 config381vm1 kernel: connection1:0: detected conn error (1011)
    Apr 18 09:17:07 config381vm1 iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)
    Apr 18 09:17:10 config381vm1 iscsid: connection1:0 is operational after recovery (1 attempts)
    Apr 18 09:17:19 config381vm1 kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4296072748, last ping 4296077748, now 4296082748
    Apr 18 09:17:19 config381vm1 kernel: connection1:0: detected conn error (1011)
    Apr 18 09:17:20 config381vm1 iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)
    Apr 18 09:17:22 config381vm1 iscsid: connection1:0 is operational after recovery (1 attempts)
    Apr 18 09:17:32 config381vm1 kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4296085704, last ping 4296090704, now 4296095704
    Apr 18 09:17:32 config381vm1 kernel: connection1:0: detected conn error (1011)
    Apr 18 09:17:33 config381vm1 iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)
    Apr 18 09:17:37 config381vm1 iscsid: connection1:0 is operational after recovery (1 attempts)
    Apr 18 09:17:47 config381vm1 kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4296100470, last ping 4296105470, now 4296110470
    Apr 18 09:17:47 config381vm1 kernel: connection1:0: detected conn error (1011)
    Apr 18 09:17:48 config381vm1 iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)
    Apr 18 09:17:53 config381vm1 iscsid: connection1:0 is operational after recovery (1 attempts)
    Apr 18 09:18:04 config381vm1 kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4296117095, last ping 4296122095, now 4296127095
    Apr 18 09:18:04 config381vm1 kernel: connection1:0: detected conn error (1011)
    Apr 18 09:18:04 config381vm1 iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)
    Apr 18 09:18:07 config381vm1 iscsid: connection1:0 is operational after recovery (1 attempts)
    Apr 18 09:18:17 config381vm1 kernel: connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4296130552, last ping 4296135552, now 4296140552
    Apr 18 09:18:17 config381vm1 kernel: connection1:0: detected conn error (1011)
    Apr 18 09:18:18 config381vm1 kernel: sd 3:0:0:0: [sdb] Unhandled error code
    Apr 18 09:18:18 config381vm1 kernel: sd 3:0:0:0: [sdb] Result: hostbyte=DID_TRANSPORT_DISRUPTED driverbyte=DRIVER_OK
    Apr 18 09:18:18 config381vm1 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    Apr 18 09:18:18 config381vm1 kernel: end_request: I/O error, dev sdb, sector 0
    Apr 18 09:18:18 config381vm1 kernel: Buffer I/O error on device sdb, logical block 0
    Apr 18 09:18:18 config381vm1 iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)
    Apr 18 09:18:20 config381vm1 iscsid: connection1:0 is operational after recovery (1 attempts)
    
    Und diese drei Server für den RAC nur diese dämliche iscsi Target benutzen soll und er komplett den Rest einfach nicht benutzen soll...

    Network ACL auf der OpenFIler ebene ist leider keine Lösung, da ich hier von 30 VMs rede und halt auch 30 IPs. Die sich immer ändern können...

    Über jede Idee / Anregung bin ich Glücklich!

    Danke und Viele Grüße
     
  3. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.