- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hanfs package went down when DNS was not resolving
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 02:38 AM
10-26-2006 02:38 AM
hanfs package went down when DNS was not resolving
At the time DNS was not resolving, hanfs package went down. Any settings to check to prevent package being sensitive to DNS issues?
Oct 25 18:14:58 - WARNING: couldn't ping /usr/sbin/rpc.lockd. Retrying 1 more times before giving up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 03:07 AM
10-26-2006 03:07 AM
Re: hanfs package went down when DNS was not resolving
1) Change your /etc/nsswitch.conf file so it looks to files first and then DNS for hosts.
2) Put the host names and packages names for your cluster in /etc/hosts.
This way when DNS fails you are still able to look the names up locally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 03:10 AM
10-26-2006 03:10 AM
Re: hanfs package went down when DNS was not resolving
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 03:15 AM
10-26-2006 03:15 AM
Re: hanfs package went down when DNS was not resolving
The preferred method is to use /etc/hosts first, putting in the most important addresses and hostnames for the server. This does not have to be 1000 lines long since most servers only talk to a dozen or two systems. If the host is not found in /etc/hosts, then fallback to DNS. This has an added advantage: many commercial backup programs including HP's DataProtector will ask for the hostname for EVERY file during backup. This not only overloads the DNS server but creates a lot of network traffic. When hosts is used first, the hostname and IP addresses are in memory.
Change the file:
/etc/nsswitch.conf
to have the host: file read like this:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 03:16 AM
10-26-2006 03:16 AM
Re: hanfs package went down when DNS was not resolving
Your nsswitch.conf should look like:
hosts: files [NOTFOUND=continue] dns
Another option would be to make your local machine a slave DNS server. That way if your primary goes down for some reason, you still have the slave.