cancel
Showing results for 
Search instead for 
Did you mean: 

DNS ServiceGuard

Vladimir Coca
Occasional Advisor

DNS ServiceGuard

Is it mandatory to configure and have a DNS installing ServiceGuard?
4 REPLIES
Steven E. Protter
Exalted Contributor

Re: DNS ServiceGuard

No.

It is not mandatory. SG will work quite nicely with only /etc/hosts networking.

It is quite useful however.

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
Vladimir Coca
Occasional Advisor

Re: DNS ServiceGuard

Thanks,

And so, if it's not necessary, why I can't resolve any IP (it's atwo node cluster)?

May I force the nodes to /etc/hosts file?

Telnet, SSH, ping works with the file, but don't host or any ServiceGuard command...

I have /etc/cmclnodelist configured as

node1 root
node2 root
+

Some questions..

Must cmcluster service be running?

No firewall runnig, all the ports OK...

What I doing wrong?
I'll go crazy...

Thanks
Stuart Browne
Honored Contributor

Re: DNS ServiceGuard

This is very much sounding like standard resolver information.

You have a few simple choices..

1) Use a DNS server which is correctly populated.

2) Populate the '/etc/hosts' files on all associated nodes with the correct information.

So basically, populate the '/etc/hosts' files with the IP and hostnames of all your nodes, distributed to all nodes, and you should be alright.

All Network daemons should use the hosts file assuming the '/etc/nsswitch.conf' has the line:

hosts: files dns


This tells your resolver to look at the '/etc/hosts' file before looking at the DNS server.
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: DNS ServiceGuard

That would make it a networking problem.

check /etc/hosts

make sure for host resolution, files comes before dns.

Then make sure the /etc/hosts database has good data in it.

Also, SG is very finicky that every configured network interface be pingable.

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