- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DNS Server Change
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
08-15-2006 09:26 PM
08-15-2006 09:26 PM
DNS Server Change
We have 5 HPUX boxes running 11.23 hosting Oracle 9.2 and SAP R3 4.7
I need to change the servers to point at new DNS servers, everything should be configured on the DNS side and I know how to change through SAM to point at different DNS servers but is there anything I should watch out for?
Do I need to shutdown oracle or anything?
Two servers are part of a serviceguard cluster so is there anything I need to be wary of here.
Can the change be made on the fly?
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 09:42 PM
08-15-2006 09:42 PM
Re: DNS Server Change
Actually you can just edit /etc/resolv.conf using vi.
I always advise you to put very crucial information (such as the names of the servers in the cluster) to the /etc/hosts files, just in case the DNS server(s) become unavailable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 09:42 PM
08-15-2006 09:42 PM
Re: DNS Server Change
ideally I'd shut down any external connections and then change the order of DNS servers via SAM. But it should work on the fly.
Oracle would not have to be shut down.
After a while you can then remove your current active server entry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 09:56 PM
08-15-2006 09:56 PM
Re: DNS Server Change
nameserver
nameserver
SG does use it - and the recommended way for SG is to have files first. So change nsswitch.conf:
hosts: files [NOTFOUND=return] dns
And make sure you have all hosts in your /etc/hosts file.
10.0.0.2 server1.company.com server1
10.0.0.3 server2.company.com server2
...
Hope it helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 10:02 PM
08-15-2006 10:02 PM
Re: DNS Server Change
I shutdown all external connections and have added the two new DNS servers into /etc/resolv.conf commenting out the old ones for now.
I can no longer use X-windows to logon but can telnet through command prompt. Does it mess up the display variable? if so how to fix?
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 10:31 PM
08-15-2006 10:31 PM
Re: DNS Server Change
is your terminal ip known to the DNSs?
nslookup youripaddress
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 10:54 PM
08-15-2006 10:54 PM
Re: DNS Server Change
# grep ipnodes /etc/nsswitch.conf
ipnodes: files[NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 11:04 PM
08-15-2006 11:04 PM
Re: DNS Server Change
This was what I got.
grep ipnodes /etc/nsswitch.conf
ipnodes: files[NOTFOUND=return UNAVAIL=continue TRYAGAIN=return] files
Could this be a reverse DNS issue with our new DNS servers or is our switching wrong?
I guess it should look at host table first and then if not in there use DNS.
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 11:32 PM
08-15-2006 11:32 PM
Re: DNS Server Change
Also, after telneting to the box, check to see if the IP you are trying to connect from can be resolved. Enter
# who am i -R
and look in the string within parentheses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2006 12:36 PM
08-16-2006 12:36 PM
Re: DNS Server Change
You can confirm or deny this with a small test program that makes gethostbyname() calls in a loop with some sleep() in between. Tusc that application, and IIRC you will see it open /etc/resolv.conf only once and not stat() or otherwise check for changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 03:47 AM
08-31-2006 03:47 AM
Re: DNS Server Change
I ahve made the DNS server changes direct in resolv.conf commenting out the old DNS servers.
I re-booted the server to make sure there were no processes using the old servers.
If I do an nslookup I get the errors;
*** Can't find server name for address 10.212.16.150: Non-existent domain
*** Can't find server name for address 10.212.16.152: Non-existent domain
*** Default servers are not available
Using /etc/hosts on: covbwdq
I can then not see certain systems for example vax.vaxes.
In nslookup if I then type server 10.212.16.150 to make sure it is using this server and type vax.vaxes it works fine.
Do I have some sort of reverse DNS issue going on here?
Chad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 05:18 AM
08-31-2006 05:18 AM
Re: DNS Server Change
Actually, almost all may already be well - gethostbyname and the replacement call your apps should be making - getaddrinfo - do not IIRC care about PTR records for the server's they query. Neither do 'dig' nor 'host' one of which you might want to consider as a replacement for nslookup.