I'm running Oracle Linux 6.4 (2.6.39-400.17.1.el6uek.x86_64) High Availability Cluster.
For some reason I cannot determine, the Resource "named" is not presented in the GUI interface presented by luci.
In the directory /usr/share/cluster/ there are the correct files, named.metadata and named.sh
If I manually edit the /etc/cluster/cluster.conf and add in a named service, then it displays properly in the web interface, but still named is not offered in either the Resources section or as a Resource that can be added to a Service Group.
This isn't a 'show stopper' since I can edit the cluster.conf file by hand, but I would prefer to keep the GUI functional so less daring co-workers are comfortable making changes.
Anyone know what's going on?
Updating the cluster configuration means editing the cluster configuration file and propagating it to each node in the cluster.
Have you tried the following:
1. Edit /etc/cluster/cluster.conf on any node and increment config_version.
2. Run cman_tool version -r to propagate the the configuration.
You might want to run "ccs_config_validate" to verify your configuration. Depending on what resource you changed you may have to restart the cluster software.
That's how I do the manual edits.
What I'm looking for is a fix to the luci (Web) "High Availability Management" interface so that named shows up as an option.
Interestingly, once you manually add it to the cluster.conf file, the GUI shows it correctly.
Restarting has no effect.
I believe either named is,
a) Disabled deliberately somehow in the definition (not 'production ready?)
b) has an error in the definition (xml code?) causing it to fail to parse correctly and as a result 'vanish'.
Unfortunately, I lack the knowledge of exactly how luci gets it's data for resources. I THINK it is from /usr/share/cluster/*
Depending on how you edit files it can generally introduce problems with hidden characters and the parsing of text.
Perhaps someone will be able to spot the issue if you describe in more detail what you are doing and how to reproduce the problem.
You're over thinking this a bit.
With a brand new empty cluster, the Resource "named" does not appear in the pull down lists of luci.
As far as I can tell, that is a bug.
The resource "named" can be used if manually configured by editing /etc/cluster.conf properly.
Many people think they have discovered a bug which turned out to be something else. Maybe it is a bug, ok.
However, if you want to report a bug, then detailed information to be able to reproduce or troubleshoot the issue is typically required. The current information may be your own and valid assumption and conclusion, but I'm afraid it is not sufficient to confirm a bug.
Perhaps someone else has run into the very same or similar issue and knows the solution. Good luck.
Well, that's pretty arrogant..
"However, if you want to report a bug, then detailed information to be able to reproduce or troubleshoot the issue is typically required. The current information may be your own and valid assumption and conclusion, but I'm afraid it is not sufficient to confirm a bug."
What part of the previous statement,
"With a brand new empty cluster, the Resource "named" does not appear in the pull down lists of luci."
fails to meet any of the requirements to report a bug?
Did you try that simple test on any cluster system you have access to? It is harmless to check.
As a follow up, I have also verified the lack of named in the pull down of a similar Redhat cluster, suggestion there may be a 'common issue' in the base code somewhere. The named.sh and named.metadata files DO exist in /usr/share/cluster/.
Bugs are not logged by making a post to these user community forums.
I don't happen to know what mechanism is proper, but I do know that it isn't here.
Now, before emotions get out of control, I've arranged to have this thread locked for a cool-down.