Announcement

Collapse
No announcement yet.

cannot connect to iSCSI target on ESX 3i

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • cannot connect to iSCSI target on ESX 3i

    Hi,

    please excuse me, if this question is a total noob question

    I am evaluating the VMware ESX 3i on a IBM 3650 XEON with a number of Linux vm's - an Endian firewall on 10.4.3.1, a nameserver on 10.4.3.2, an Apache web server on 10.4.3.221, a ruby 1.8 and a ruby 1.9 server - and an Openfiler virtual appliance meant to provide iSCSI SAN to the webserver and ruby servers -

    I'v used Daniel Petri's great articles to setup the Openfiler and tried to use another of Petri's articles on how to connect VMware to free iSCSI SAN using Openfiler.

    I've added the iSCSI Adaptor and scanned - but I cannot connect to the target - it shows zero targets on the status window - and if I try (after yum install iscsi-initiator on the webserver vm) to connect from the webserver, it replies with 'login failed'

    I've tried to setup CHAP and I've tried to leave config without CHAP

    Does anybody have any ideas on what I should try out to make this work (I read from other posts on this forum, that it is doable to run a iSCSI target as a vm) - so I'm clearly missing something - probably something quite embarassingly fundamentally simple

    best regards and thanks for a great forum and lot's of kudos to you, Petri!
    Walther

  • #2
    Re: cannot connect to iSCSI target on ESX 3i

    I am trying to understand.

    You are trying to connect the esx3i - to the openfiler iscsi volume that is a VM on the same esx3i server?
    Maish
    ----------------------------------------------------------
    Technodrone|@maishsk|Author of VMware vSphere Design
    VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
    MSCA 2000/2003, MCSE 2000/2003
    A proud husband and father of 3 girls
    ----------------------------------------------------------
    If you find the information useful please don't forget to give reputation points sigpic.

    Have a good one!!

    Comment


    • #3
      Re: cannot connect to iSCSI target on ESX 3i

      Hi Maish,

      well - when I see you spell it out like that - it kind'a looks bad, doesn't it?

      - but, yes, I guess that is what I'm trying; connecting an initiator to a target and both being vm's on the same 'metal'

      is this a fantasy that I should hurry to wake up from?

      regards,
      walther

      Comment


      • #4
        Re: cannot connect to iSCSI target on ESX 3i

        Theoretically it should work...

        Performance might not be the best, but it would work

        Where exactly are you encountering problems? Have you set up the iscsi correctly?

        Ping in all directions works?
        Maish
        ----------------------------------------------------------
        Technodrone|@maishsk|Author of VMware vSphere Design
        VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
        MSCA 2000/2003, MCSE 2000/2003
        A proud husband and father of 3 girls
        ----------------------------------------------------------
        If you find the information useful please don't forget to give reputation points sigpic.

        Have a good one!!

        Comment


        • #5
          Re: cannot connect to iSCSI target on ESX 3i

          Hi Maish,

          that's encouraging!

          I have (in my point of view, at least) 3 vm's taking part in this:

          - endian firewall (10.4.3.1)
          - nas-silk Openfiler (10.4.3.3)
          - webhotel3 Apache (10.4.3.221)

          ssh'ing into each of them let me ping the other two

          I'm not sure how to answer your second question - 'cause I downloaded a VMware Appliance, believing it to be a perfectly working Openfiler vm, but let me start by showing you the process list - that might perhaps tell you what detailed information to ask for

          PID TTY STAT TIME COMMAND
          1 ? Ss 0:01 init [3]
          2 ? S< 0:00 [kthreadd]
          3 ? S< 0:00 [migration/0]
          4 ? S< 0:00 [ksoftirqd/0]
          5 ? S< 0:00 [watchdog/0]
          6 ? S< 0:00 [events/0]
          7 ? S< 0:00 [khelper]
          61 ? S< 0:00 [kblockd/0]
          63 ? S< 0:00 [kacpid]
          64 ? S< 0:00 [kacpi_notify]
          122 ? S< 0:00 [ksuspend_usbd]
          128 ? S< 0:00 [khubd]
          131 ? S< 0:00 [kseriod]
          166 ? S 0:00 [pdflush]
          167 ? S 0:00 [pdflush]
          168 ? S< 0:00 [kswapd0]
          239 ? S< 0:00 [aio/0]
          450 ? S< 0:00 [kpsmoused]
          777 ? S< 0:00 [ata/0]
          778 ? S< 0:00 [ata_aux]
          889 ? S< 0:00 [scsi_eh_0]
          1085 ? S< 0:00 [kjournald]
          1431 ? S<s 0:00 udevd
          1794 ? S< 0:00 [kstriped]
          1802 ? S< 0:00 [ksnapd]
          1806 ? S< 0:00 [kmpathd/0]
          1814 ? S< 0:00 [kdmflush]
          1818 ? S< 0:00 [kdmflush]
          1851 ? S< 0:00 [xfslogd/0]
          1852 ? S< 0:00 [xfsdatad/0]
          1857 ? S< 0:00 [xfs_mru_cache]
          1860 ? S< 0:00 [xfsbufd]
          1861 ? S< 0:00 [xfsaild]
          1863 ? S< 0:00 [xfssyncd]
          2485 ? Ss 0:00 portmap
          2493 ? Ss 0:00 syslogd -m 0
          2496 ? Ss 0:00 klogd -x
          2514 ? Ss 0:00 rpc.statd
          2522 ? Ss 0:00 /usr/sbin/acpid
          2540 ? S< 0:00 [aoe_tx]
          2541 ? S< 0:00 [aoe_ktio]
          2584 ? SLl 0:00 /sbin/multipathd
          2608 ? S< 0:00 [iscsi_eh]
          2620 ? S< 0:00 [ib_addr]
          2631 ? S< 0:00 [ib_mcast]
          2635 ? S< 0:00 [iw_cm_wq]
          2641 ? S< 0:00 [ib_cm/0]
          2645 ? S< 0:00 [rdma_cm]
          2653 ? Ss 0:00 iscsid
          2654 ? S<Ls 0:00 iscsid
          2684 ? S< 0:00 [rpciod/0]
          2691 ? Ss 0:00 rpc.idmapd
          2716 ? Ss 0:00 /usr/sbin/sshd
          2772 ? Ss 0:00 /usr/sbin/ietd
          2774 ? S< 0:00 [istd1]
          2775 ? S< 0:00 [istiod1]
          2776 ? S< 0:00 [istiod1]
          2777 ? S< 0:00 [istiod1]
          2778 ? S< 0:00 [istiod1]
          2779 ? S< 0:00 [istiod1]
          2780 ? S< 0:00 [istiod1]
          2781 ? S< 0:00 [istiod1]
          2782 ? S< 0:00 [istiod1]
          2885 ? S 0:00 /usr/sbin/snmpd -Lsd -A -Lf /var/log/snmpd.log -p /var/run/snmpd -a
          2893 ? Ss 0:00 /usr/sbin/snmptrapd -Lsd -p /var/run/snmptrapd.pid
          2904 ? S< 0:00 [vmmemctl]
          2906 ? Ss 0:01 /usr/sbin/vmware-guestd --background /var/run/vmware-guestd.pid
          2924 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
          2951 ? Ss 0:00 ntpd -p /var/run/ntpd.pid -g
          2968 ? Ss 0:00 sendmail: accepting connections
          2975 ? Ss 0:00 sendmail: Queue [email protected]:00:00 for /var/spool/clientmqueue
          2984 ? Ss 0:00 gpm -m /dev/input/mice -t ps2
          2993 ? Ss 0:00 /opt/openfiler/sbin/openfiler -f /opt/openfiler/etc/httpd/conf/httpd.conf
          3001 ? Ss 0:00 crond
          3009 ? Ss 0:00 /usr/sbin/atd
          3035 ? S 0:00 /opt/openfiler/sbin/openfiler -f /opt/openfiler/etc/httpd/conf/httpd.conf
          3036 ? S 0:00 /opt/openfiler/sbin/openfiler -f /opt/openfiler/etc/httpd/conf/httpd.conf
          3063 tty2 Ss+ 0:00 /sbin/mingetty tty2
          3064 tty3 Ss+ 0:00 /sbin/mingetty tty3
          3065 tty4 Ss+ 0:00 /sbin/mingetty tty4
          3066 tty5 Ss+ 0:00 /sbin/mingetty tty5
          3067 tty6 Ss+ 0:00 /sbin/mingetty tty6
          3376 ? Rs 0:00 sshd: [email protected]/0
          3380 pts/0 Ss 0:00 -bash
          3432 tty1 Ss+ 0:00 /sbin/mingetty tty1
          3567 pts/0 R+ 0:00 ps ax

          best regards,
          Walther

          Comment


          • #6
            Re: cannot connect to iSCSI target on ESX 3i

            Have you created an iscsi volume?

            Shared it to the correct network?

            If not then your iscsi will not work
            Maish
            ----------------------------------------------------------
            Technodrone|@maishsk|Author of VMware vSphere Design
            VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
            MSCA 2000/2003, MCSE 2000/2003
            A proud husband and father of 3 girls
            ----------------------------------------------------------
            If you find the information useful please don't forget to give reputation points sigpic.

            Have a good one!!

            Comment


            • #7
              Re: cannot connect to iSCSI target on ESX 3i

              On the Openfiler vm - nas-silk/10.4.3.3 - I've added network access to 10.4.3.221 on the System-tab (using the web interface on 10.4.3.3:446) and I've attached a pic to demonstrate that a iscsi volume has been established. Further under iSCSI Targets I've made the LUN Mapping for this volume and on the Network ACL Tab, I've allowed 10.4.3.221 access, and finally under CHAP Authentication, I've not added any users/passwords.

              On the Services Tab, I've enabled iSCSI Target Server and iSCSI Initiator

              Would that not qualify for setting up my iscsi volume and sharing it for the correct network?

              Cheers,
              Walther
              Attached Files

              Comment


              • #8
                Re: cannot connect to iSCSI target on ESX 3i

                I will try and get back to you tomrrow evening to help you further
                Maish
                ----------------------------------------------------------
                Technodrone|@maishsk|Author of VMware vSphere Design
                VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
                MSCA 2000/2003, MCSE 2000/2003
                A proud husband and father of 3 girls
                ----------------------------------------------------------
                If you find the information useful please don't forget to give reputation points sigpic.

                Have a good one!!

                Comment


                • #9
                  Re: cannot connect to iSCSI target on ESX 3i

                  Well it was a bit longer than this evening but this might help you out

                  http://www.techhead.co.uk/how-to-con...ith-vmware-esx
                  Maish
                  ----------------------------------------------------------
                  Technodrone|@maishsk|Author of VMware vSphere Design
                  VMware vExpert 2013-2010,VCAP5-DCA/DCD,VCP
                  MSCA 2000/2003, MCSE 2000/2003
                  A proud husband and father of 3 girls
                  ----------------------------------------------------------
                  If you find the information useful please don't forget to give reputation points sigpic.

                  Have a good one!!

                  Comment

                  Working...
                  X