Operating System - HP-UX
1844580 Members
3873 Online
110233 Solutions
New Discussion

Cannot read the cluster configuration file

 
Manuales
Super Advisor

Cannot read the cluster configuration file


Hi ... could you help me to resolve the following error ?


server1:/->cmviewcl
cmviewcl : Cannot read the cluster configuration file. Either it does not exist, or it is corrupted, or it is empty.


what is the cluster configuration file?
why could be corrupted?

Thank

3 REPLIES 3
Wouter Jagers
Honored Contributor

Re: Cannot read the cluster configuration file

Do you have a ServiceGuard cluster running ?

The cluster configuration file is pretty much what its name says. It contains the information about your ServiceGuard cluster and is present on all nodes. (Can you run the command on another node ?)

If you have a cluster setup, I would expect at least one ascii-version of the configuration to be around in /etc/cmcluster on one of the nodes.

If you have a running cluster, you should be able to retrieve an ascii version of the cluster configuration with the command 'cmgetconf -C clconfig.ascii'

If you don't have a high availability setup with several machines taking over for each other, I'd just wonder how the software ends up on your machine :-)
an engineer's aim in a discussion is not to persuade, but to clarify.
administrador
Advisor

Re: Cannot read the cluster configuration file

i'm working with "manuales"

we have restored the file named cmlconfig and it does not work.

how can i create that file again?

Regards
Wouter Jagers
Honored Contributor

Re: Cannot read the cluster configuration file

You can use the cmapplyconf command to create and distribute the binary configuration file. For example:
cmapplyconf -k -v -C /etc/cmcluster/mycluster.config

mycluster.config would be your text-based config file, found in /etc/cmcluster or retrieved from your running cluster with
'cmgetconf -C mycluster.config'.

If you can't get your config back like this, it might be time to go find it on a backup or in your documentation. Your HP support team could also be of help, have you checked with them as well ?

Good luck !
Cheers,
Wout

an engineer's aim in a discussion is not to persuade, but to clarify.