LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-20-2015, 01:51 PM   #1
gszabo
LQ Newbie
 
Registered: Sep 2015
Posts: 11

Rep: Reputation: Disabled
ISCSI connection slow after restart


I have a problem with my ISCSI storage, and hop you can help me to solve this problem. The system was made following this tutorial:

https://help.ubuntu.com/community/Hi...bleiSCSITarget

So i have two nodes, 1-1 NIC for DRBD replication, ietd to connect the storage and heartbeat to keep them in sync.

Everything works fine, a tested it with restarting heartbeat as written in the last point. i was watching /proc/net/ietd/session, and the change is OK, the session builds up very quick. The problem comes when i restart the passive node . The connection to the storage still works, but if i restart heartbeat again to give control to the system i have rebooted i have to wait for ietd for about 20-30 sec. in this period the sessions build up, and the connection works again but very slow. After this first change will the change fast again untill i reboot one node... I made logs when i restarted heartbeat after boot and one of the heartbeat restart after. I was looking for differences in these logs but found nothing. Do you have any idea why the session build up so slow in the first heartbeat restart?

thanks for your help
 
Old 11-21-2015, 08:16 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Measure disk, CPU and I/O during the event so you have some actual data to help debug.
 
Old 11-21-2015, 10:16 AM   #3
gszabo
LQ Newbie
 
Registered: Sep 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Measure disk, CPU and I/O during the event so you have some actual data to help debug.
I analysed the log files after reboot, and in normal switching. I calculate on I/O because the DRBD, but the disks were synced in few sec after the boot. I tsharked the network's traffic in both case, but nothing. maybe the CPU.. don't think but going to test it soon. thanks.

Last edited by gszabo; 11-21-2015 at 10:29 AM.
 
Old 11-24-2015, 12:07 AM   #4
gszabo
LQ Newbie
 
Registered: Sep 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
So, i have found something in tshark. In normal case, if i restart heartbeat i see the login - login succesful messages in the iscsi communication in 2-3 sec. If i reboot the node and try to restart heartbeat it takes more than 20 (!) sec to start iscsi login communication.

Last edited by gszabo; 11-24-2015 at 01:20 AM.
 
Old 11-24-2015, 12:02 PM   #5
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Check for a DNS lookup that is timing out.
 
Old 11-25-2015, 02:38 AM   #6
gszabo
LQ Newbie
 
Registered: Sep 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Check for a DNS lookup that is timing out.
I do not think so. as i see lookups are okay. See the config ald log files here:

https://www.dropbox.com/sh/vffxcrsuq...ssO7u11za?dl=0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] iSCSI connection Thunderw Linux - Server 2 03-07-2014 12:45 AM
[SOLVED] slow open-iscsi connection starmonche Linux - Virtualization and Cloud 2 03-21-2010 05:59 PM
iSCSI Connection Mount Points carlosinfl Red Hat 4 02-19-2010 09:13 PM
iSCSI really slow jeriryan Linux - Hardware 8 06-23-2008 04:33 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration