Operating System - HP-UX
1829703 Members
2239 Online
109992 Solutions
New Discussion

Re: ftp on first RAC node is very slow

 
nabeel
Occasional Contributor

ftp on first RAC node is very slow

I have two oracle RAC nodes buit on hp-ux 11iv23 Server RX4640 with two cpu and 2GB RAM.

When I tried to ftp the first node it is very slow. and this happen also sometimes to telnet. What could be the reasons?
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: ftp on first RAC node is very slow

Shalom,

To answer more information is required.

Is there a long connect time when using ftp to the node, before the prompt? If so, try connecting to the numeric ip address of the system.

If numeric is fast and by hostname is slow, the problem is probably DNS servers, probably configuration or response time.

In other RX4640 systems, I've had to add an entry for self lookup to /etc/hosts to speed up connect time since files are used first.

Lets say the system IP address is 192.168.0.20 hostname is shalom1

So in /etc/hosts I add an entry.

192.168.0.20 shalom1


Suddenly the problem is solved.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
F Verschuren
Esteemed Contributor

Re: ftp on first RAC node is very slow

if the speet is slow during the conection, the reason can be network problems.
can you check your networkspeed of the server and the switches?
to see what lan is used:
netstat -in
to check the cart numbre:
lanscan

and final the comand to check the speet: lanadmin -x 0
the last numbre is the cart numbre that lanscan will give...
nabeel
Occasional Contributor

Re: ftp on first RAC node is very slow

Hello All,

both the hostname or ip address are slow when using ftp.

The hostname is already there in /etc/hosts file.

The speed for the card using the command lanadmin -x card Instance is 1000 full duplex for all lan cards which connected to the servers.

Note this problem only happen on node1 ( the node which the installation done from it)

Regards

Hein van den Heuvel
Honored Contributor

Re: ftp on first RAC node is very slow

'very slow' is not very precise.
Give us an indication in mb/sec!?

Any errors being logged?
Do tools like netstat give high error/retry/collision counts?

You may want to read up on some of Dave Olker's papers to get an overview of the things to check. For example:

http://docs.hp.com/en/10388/DesigningaHighPerformanceNFSServer.pdf

For my money I would first a) swap ports on the back of the server, try and then b) swap the connection from the know to be fast with the known to be slow lines at the back of servers.
a) would check for bad interface and/or connection
b) test for the cable, connections, switch port. Does the problem move?

hth,
Hein.
Bill Hassell
Honored Contributor

Re: ftp on first RAC node is very slow

> both the hostname or ip address are slow when using ftp.

I am assuming that you do not mean using the IP or hostname is slow to get started, that it is just slow when transferring data.

> The hostname is already there in /etc/hosts file.

That will make no differfence unless nsswitch.conf has files listed first on the hosts: line, something like this:

hosts: files [NOTFOUND=continue UNAVAIL=continue] dns

And this will only affect getting started, not during the actual transfer.

> The speed for the card using the command lanadmin -x card Instance is 1000 full duplex for all lan cards which connected to the servers.

This should be set to auto so that speed and duplex negotiation is automatic. Use lanadmin to look at the statistics. There should be no errors on the second page of the lanadmin listing for this interface.

> Note this problem only happen on node1 ( the node which the installation done from it)

If there were only two computers involved, you would have to investigate both, but if several computers have problems with node1, then investigate just node1. I am assuming when you say telnet is also slow that it is slow after you have logged in. If telnet is slow only when you get started, then look at nsswitch.conf as mentioned above.


Bill Hassell, sysadmin
palaniappan.sp
Regular Advisor

Re: ftp on first RAC node is very slow

Hi,
I also faced the same issue in Linux.I got a time delay after login authentication completes whil doing ftp,telnet and ssh.
I resolved it after installing and configuring the swap in other hdd(other than root hdd).
In ur case, u can add device swap or fileswap to the sysytem and see performance.

Regds
Palani.SP.
Everything is Possible and Anything is Feasible if u try