- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Multiple Named Daemon running at the same time
Operating System - HP-UX
1753918
Members
7644
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-17-2009 10:44 AM
тАО12-17-2009 10:44 AM
Multiple Named Daemon running at the same time
Hi. Are there any issues when there are multiple named daemon running at the same time? I know that I wil not be able to stop named using "/sbin/init.d/named stop". I believe utilization will increase as well due to this?
Thanks alot
Thanks alot
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 11:15 AM
тАО12-17-2009 11:15 AM
Re: Multiple Named Daemon running at the same time
Technically you can but there are some problems. You would need to provide each named with a separate config file and a different port number. You could even have different sets of rc.config and start scripts.
A major issue would be the port number. You would have to point the DNS clients to a nonstandard port while connecting the the "second" named. The unix nslookup has this option but the actual hp-ux client configuration (resolv.conf) does not.
Also,
you can not use the "stop" script option as you mentioned because it relies on the /var/run/named.pid. Each named would write to the same pid filename and the named that started last, would overwrite the named.pid file.
You would not be able to use the sig_named utility either. You would have to send the appropriate kill signal to the PID of each named that you wanted to signal.
Other problems would be the debug files that named writes based on signals. Thefilenames would be the same for both named processes and they are listed at the bottom of the man page.
Now why would you want to do this? named supports multiple domains and networks in the same environment. I would imagine if you needed a test environment you would do this but it is too risky to mess up the production named while playing with the test named.
There may be other issues as well. Utilization might be ok based on the server that you have.
A major issue would be the port number. You would have to point the DNS clients to a nonstandard port while connecting the the "second" named. The unix nslookup has this option but the actual hp-ux client configuration (resolv.conf) does not.
Also,
you can not use the "stop" script option as you mentioned because it relies on the /var/run/named.pid. Each named would write to the same pid filename and the named that started last, would overwrite the named.pid file.
You would not be able to use the sig_named utility either. You would have to send the appropriate kill signal to the PID of each named that you wanted to signal.
Other problems would be the debug files that named writes based on signals. Thefilenames would be the same for both named processes and they are listed at the bottom of the man page.
Now why would you want to do this? named supports multiple domains and networks in the same environment. I would imagine if you needed a test environment you would do this but it is too risky to mess up the production named while playing with the test named.
There may be other issues as well. Utilization might be ok based on the server that you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 12:19 PM
тАО12-17-2009 12:19 PM
Re: Multiple Named Daemon running at the same time
Hello,
Although possible, not very advisable or
needed.
Most of root DNS servers run BIND,
so there are many things to set before
one would jump to conclusion to use
multiple named processes:
http://www.root-servers.org/map/
If you suspect performance problems,
firstly check where the bottlenecks are (disk I/O, CPU, RAM, and so on).
a) How to run two named processes on a single host? One could be configured as a
delegated name server, another as a
resolving name server.
Since remote servers or resolvers query
the name servers on a port 53 (default DNS
port), you have to run your named servers on different IP addresses or ports.
If your host already has more than one network interface, that's no problem.
If it has only one network interface, the
operating system may support IP address
aliases. These allow you to attach more than
one IP address to a single network interface.
One named process can listen on each.
b) Check some tests for high-performance
BIND:
http://zaphods.net/~zaphodb/high-performance-bind9.html
In other words, verify if multi-threading
really works on your server, and if
max-cache-size might need to be
increased.
Regards,
VK2COT
Although possible, not very advisable or
needed.
Most of root DNS servers run BIND,
so there are many things to set before
one would jump to conclusion to use
multiple named processes:
http://www.root-servers.org/map/
If you suspect performance problems,
firstly check where the bottlenecks are (disk I/O, CPU, RAM, and so on).
a) How to run two named processes on a single host? One could be configured as a
delegated name server, another as a
resolving name server.
Since remote servers or resolvers query
the name servers on a port 53 (default DNS
port), you have to run your named servers on different IP addresses or ports.
If your host already has more than one network interface, that's no problem.
If it has only one network interface, the
operating system may support IP address
aliases. These allow you to attach more than
one IP address to a single network interface.
One named process can listen on each.
b) Check some tests for high-performance
BIND:
http://zaphods.net/~zaphodb/high-performance-bind9.html
In other words, verify if multi-threading
really works on your server, and if
max-cache-size might need to be
increased.
Regards,
VK2COT
VK2COT - Dusan Baljevic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2009 04:33 PM
тАО12-17-2009 04:33 PM
Re: Multiple Named Daemon running at the same time
Are you trying to serve different sets of names out different interfaces?
As already pointed-out you will want to bind the different servers to different IP addresses.
As for load, while I suppose number of daemons may be a factor, load is really a function of the number of queries being processed per unit time, not how many server processes are serving them.
I believe there may be ways to configure a single instance of named to serve differnt sets of names out different interfaces. I've never tried myself, but suspect that some of the documentation on www.isc.org will describe it.
As already pointed-out you will want to bind the different servers to different IP addresses.
As for load, while I suppose number of daemons may be a factor, load is really a function of the number of queries being processed per unit time, not how many server processes are serving them.
I believe there may be ways to configure a single instance of named to serve differnt sets of names out different interfaces. I've never tried myself, but suspect that some of the documentation on www.isc.org will describe it.
there is no rest for the wicked yet the virtuous have no pillows
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP