ESX: Restoring S/W iscsi volumes

View: New views
6 Messages — Rating Filter:   Alert me  

ESX: Restoring S/W iscsi volumes

by rehmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Colleagues

I am experiencing a strange phenomenon on my ESX 3.5 Update 2 (and
before on 3.02, 3.5, ...) platform.

I have a single iSCSI target attached to my ESX platform (single ESX
host) which I use to store ISOs on and as backup target for
VCB consolidated backup.

The LUN is initialized with VMFS3 file system and works as expected.

The problem I am facing is when the ESX system starts up. Everything is
fine until the system comes to the point where it says:

*Restoring S/W iscsi volumes*

The system is sitting there for around 5-7 minutes before prints the
*iscsi negotiation data* received from IETD to the console on moves on
in the startup process. As I said; when up and running everything is
fine. But everytime I reboot the system (which happens from time to time)
it takes ages to "Restore the iscsi volumes"

Any idea why this is the case ?

Here is my Target/Lun definition:

Target iqn.2007-09.com.company:ESX.Volume01
        IncomingUser iSCSI <secret>
        Lun 0 Path=/dev/VGStorage00/LViscsi01,Type=fileio,ScsiSN=VMWARE-0001
        Alias ESX-Volume01


I tried the same thing with a test system running ESXi 3.5  Update 2
(The new FREE Hypervisor of VMWare) and I am experiencing the same problem.
Is my *ietd.conf* definition wrong ? The LAN is Gigabit and the IET host
is a Fedora Core 8 box.

I have no problems with Windows iSCSI initiators connecting to the same
system. Fast and reliable.

Regards,
Oliver



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: ESX: Restoring S/W iscsi volumes

by Joseph L. Casale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>The problem I am facing is when the ESX system starts up. Everything is
>fine until the system comes to the point where it says:
>
>*Restoring S/W iscsi volumes*

I always saw this behavior, and if I ssh'ed in and rebooted it, it would
pass this stage immediately...

Never knew why.

jlc

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: ESX: Restoring S/W iscsi volumes

by rswwalker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joseph L. Casale wrote:

>
> >The problem I am facing is when the ESX system starts up. Everything is
> >fine until the system comes to the point where it says:
> >
> >*Restoring S/W iscsi volumes*
>
> I always saw this behavior, and if I ssh'ed in and rebooted it, it would
> pass this stage immediately...
>
> Never knew why.

It sounds like DNS, if it's routinely 5 minutes then it is some timeout,
ipv6 maybe?

Try making sure all iSCSI IPs are in the local hosts file, and if you
aren't using IPv6 disable it.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: ESX: Restoring S/W iscsi volumes

by rehmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ross S. W. Walker wrote:

> Joseph L. Casale wrote:
>  
>>> The problem I am facing is when the ESX system starts up. Everything is
>>> fine until the system comes to the point where it says:
>>>
>>> *Restoring S/W iscsi volumes*
>>>      
>> I always saw this behavior, and if I ssh'ed in and rebooted it, it would
>> pass this stage immediately...
>>
>> Never knew why.
>>    
>
> It sounds like DNS, if it's routinely 5 minutes then it is some timeout,
> ipv6 maybe?
>
> Try making sure all iSCSI IPs are in the local hosts file, and if you
> aren't using IPv6 disable it.
>
> -Ross
>
> ______________________________________________________________________
> This e-mail, and any attachments thereto, is intended only for use by
> the addressee(s) named herein and may contain legally privileged
> and/or confidential information. If you are not the intended recipient
> of this e-mail, you are hereby notified that any dissemination,
> distribution or copying of this e-mail, and any attachments thereto,
> is strictly prohibited. If you have received this e-mail in error,
> please immediately notify the sender and permanently delete the
> original and any copy or printout thereof.
>
>  

Sorry... Forgot to post to the list...
========================

Ross

Do you mean that I should enter the IP Addresses of my iSCSI target
(Fedora 8 Box) in the ESXs host file ?
As far as I can remember I used IP addresses directly to connect to the
target/portal. So Name Resolution shouldn't
be an issue. But I will double check.

IPv6: Tell me if I am wrong; but I can't find any IPv6 configuration on
ESX/ESXi management LANs (through VI client).
Issuing *esxcfg-vmknic -l* on the ESX service console or on the ESXi SSH
console shows me only IPv4 configuration.

My Fedora Box indeed has IPv6 enabled but this shouldn't be an issue as
ESX/ESXi would only communicate with IPv4. Wrong ?

Does IETD listen on IPv6 and if so can I disable this ?

Regards,
Oliver

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: ESX: Restoring S/W iscsi volumes

by rehmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joseph L. Casale wrote:

>> The problem I am facing is when the ESX system starts up. Everything is
>> fine until the system comes to the point where it says:
>>
>> *Restoring S/W iscsi volumes*
>>    
>
> I always saw this behavior, and if I ssh'ed in and rebooted it, it would
> pass this stage immediately...
>
> Never knew why.
>
> jlc
>  
Sorry.... Forgot to post to the list...
=========================

Jospeh

What do you mean ?

You are rebooting your ESX host during iSCSI volume restoration !?!? Is
this a good idea ? And doesn't this
take more time as waiting until the process goes on anyway ? I mean some
servers take quite long to process
BIOS/RAID Firmwares, etc...

Regards,
Oliver

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel

Re: ESX: Restoring S/W iscsi volumes

by Joseph L. Casale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>You are rebooting your ESX host during iSCSI volume restoration !?!? Is
>this a good idea ? And doesn't this
>take more time as waiting until the process goes on anyway ? I mean some
>servers take quite long to process
>BIOS/RAID Firmwares, etc...

What I mean is the first time I saw this, I thought it was hung. I ssh'ed
in and rebooted it then it started immediately. After this, I was able to
reproduce this. So no, it was faster to start it, then reboot it. At this
point the server is obviously way past initializing any hardware as we no
longer in the POST.

I no longer have any esx servers using iscsi but when I do I will verify
the dns reco Ross made.

jlc

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Iscsitarget-devel mailing list
Iscsitarget-devel@...
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel
LightInTheBox - Buy quality products at wholesale price!