Operating System - HP-UX
1833325 Members
2807 Online
110051 Solutions
New Discussion

Re: Error in Telenet or FTP

 
Piyush Verma_1
Advisor

Error in Telenet or FTP

Dear All,

I have a setup of three servers HP9000 series, clustered together. One server is running the database and the other is running my application. The third server is acting as a failover server. Now when i am removing the failover server from the cluster (by cmhaltnode) and shutting it down, the other two servers are taking a lot of time for telnet.. and ftp is timed out. So i can't stop this server. Also the same problem is coming even when i am disabling the primary LAN interface of this failover server.
Can anybody tell me what is the problem and how can it be resolved.

Thanks and Regards

Piyush.
8 REPLIES 8

Re: Error in Telenet or FTP

Are you sure this 3rd server isn't also providing DNS services for the cluster?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Piyush Verma_1
Advisor

Re: Error in Telenet or FTP

Dear Duncan,

Your assumption is absolutely correct. The failover server is the DNS also.. but here the point is that, if i am stopping the DNS service, then no problem occurs.. that means it is still able to resolv addressed through /etc/hosts.. but the problem is only there if i am disabling the LAN interface or shutting the server down. So i believe that DNS is not a problem here.. that's why i didn't mention it earlier..

Thanks

Piyush.
harry d brown jr
Honored Contributor

Re: Error in Telenet or FTP

That depends upon how you have DNS resolving on the other hosts. Personally I find it silly that one of the servers in the cluster, especially the failover server, would be a DNS server. It just isn't a good practice!

Post the following files from each of your three servers:

/etc/resolv.conf
/etc/nsswitch.conf
/etc/named.conf

Also the output of:

what `which named`

You are at least running HP-ux 11i with the Dec '04 patch bundle?

live free or die
harry d brown jr
Live Free or Die

Re: Error in Telenet or FTP

There's a big difference between a DNS request going to an active IP address which isn't actually running a DNS service and a DNS request going to a non existant IP address (either because the server isn't present or the interface is down).

You have two choices:

1. edit your /etc/nsswitch.conf file and make sure you go to FILES first and then DNS - make sure all the most common IP addresses are in /etc/hosts

2. Edit your /etc/resolv.conf file and add add some lines to reduce the number of retries and timeouts:

e.g.

retry 1
retrans 600

means that DNS will only retry once and will only wait 600ms before restransmitting.


I'd go with option 1 if you can.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Piyush Verma_1
Advisor

Re: Error in Telenet or FTP

hello all,

I agree with the point Duncan.. i will check it in the less busy hours... Though i dont have any nsswitch.conf file. I believe i am using the default options only..

The content of my /etc/resolv.conf is:
domain iobas.bsnl.com
nameserver 172.168.1.34

The output for 'what named' is as below:
# what named
named:
Copyright (c) 1986, 1989, 1990 The Regents of the University of California.
named 8.1.2 Fri Nov 21 05:54:28 GMT 2003 PHNE_30068.

The output for 'which named' is as below:
# which named
/usr/sbin/named.

Can u plz explain what does it signifiy.

Thanks

Piyush
Piyush Verma_1
Advisor

Re: Error in Telenet or FTP

Dear Harry,

Here is the /etc/named.conf file.

// generated by named-bootconf.pl

options {
check-names response fail; // do not change this
check-names slave warn;
directory "/etc/named.data"; // running directory for named
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// type domain source file
//
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "db.127.0.0";
};

zone "iobas.bsnl.com" {
type master;
file "db.iobas";
};

zone "1.168.172.IN-ADDR.ARPA" {
type master;
file "db.172.168.1";
};

zone "." {
type hint;
file "db.cache";
};

Thanks

Piyush.
harry d brown jr
Honored Contributor

Re: Error in Telenet or FTP

The "" what `which named` "" tells us what version of BIND you are running, which is 8.1.2.

What server did you get /etc/named.conf from (the one you posted)? Is it from the DNS server?

BTW, Bind 9.2 is available: http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BIND9.2


WHAT does this return (BECAUSE THE DEFAULTS WILL VARY DEPENDING UPON OTHER INSTALLED/ACTIVATED items):

nslookup <
or

nslookup
policy
exit



live free or die
harry d brown jr
Live Free or Die
Piyush Verma_1
Advisor

Re: Error in Telenet or FTP

Dear Harry,

The /etc/named.conf is from the DNS server itself.

the nslookup>policy gave me :

> policy
#Lookups = 3
dns [RCCC] nis [RCCC] files [RRRR]

Now what does RCCC and RRRR signify here??

Thanks and regards,

Piyush