1827649 Members
3564 Online
109966 Solutions
New Discussion

Re: error in cmappyconf.

 
baiju_3
Esteemed Contributor

error in cmappyconf.

Hi ,

When I run cmapplyconf it comes out with error
unable to verify cluster config file.

Err
-----
cmapplyconf : Unable to verify cluster file: /etc/cmcluster/cluster.ascii

I checked all the Volume groups configured and all configured in cluster nodes .(I have same shared VGs too whcih are specified in ascii file as
OPS_VOLUME_GROUP )

Is there any way to make cmapplyconf to generate a deatiled error output.

I like to know, what is the impact if all the cluster VGs are not properly configued in cluster ascii files ?, all my packages are running perfectly with out doing this .

Thanks in advance ,






Good things Just Got better (Plz,not stolen from advertisement -:) )
12 REPLIES 12
John Poff
Honored Contributor

Re: error in cmappyconf.

Hi,

You can run cmapplyconf with the '-v' option to get verbose output which might help.

Just a simple question, but you do have a /etc/cmcluster/cluster.ascii file on each node, and all those files are identical?

JP
baiju_3
Esteemed Contributor

Re: error in cmappyconf.

Hi John,

Its not necessary to have the same cluster ascii file in all servers when you execute cmapplyconf.

Once acmapplyconf is seccessful we can copy the ascii file to other nodes.

I am running cmapplyconf with -v option .
But still does give any detailed error messages.

Thanks.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Nguyen Anh Tien
Honored Contributor

Re: error in cmappyconf.

Can you post the result of 'cmscancl -C ascii -n nodes" and "cmcheckconf -C ascii -n nodes"
nodes: means node name
asscii: path and ascii file name.
tienna
HP is simple
Hoang Minh Tuan
Regular Advisor

Re: error in cmappyconf.

Hi Lalb,

One time, I had the same error as you and the reason is IP address of one node did not correct.
Of course, you can compare your file you want to apply with the output of file by command #cmquery -C cluster_ascii_file -n node1 -n node2.
I think there are some mistake in your file you want to apply (note: before apply, you can check it by cmapplyconf -C cluster_ascii_file

HMT
Bus wait at bus station, Work wait at my work station
Hoang Minh Tuan
Regular Advisor

Re: error in cmappyconf.

Sorry Lalb,

The correct command is : cmquerycl (not cmquery)
Bus wait at bus station, Work wait at my work station
nsjayasundar
Advisor

Re: error in cmappyconf.

Dear lalb,

before applying conf file..

use #cmcheckconf -v -C /etc/cmcluster/cluster.ascii for check the ascii file.

If there is no error then u can try apply config thro cmapplyconf..

Cheers

Sundar
bgdh2005
New Member

Re: error in cmappyconf.

Dear lalb,

Pls check the file /var/adm/syslog.log.good luck

sincerely
Paul Torp
Regular Advisor

Re: error in cmappyconf.

my first thought is that u have used a small -c insted of a Capitol -C.

Shared vg's are a bit tricky though.

Run manually vgchange -c y -S y on the vg on one node.

then run vgchange -a s on both nodes.

Also check that u have chosen -a s in stead of -a e in the controlfile.

"sendmail is kind of fun..."
melvyn burnard
Honored Contributor

Re: error in cmappyconf.

It might help if you posted the command line you used, as well as a copy of the ascii file you are trying to apply.
There mayu also be further information displayed when this fails that you have not posted.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Geoff Wild
Honored Contributor

Re: error in cmappyconf.

First, let me clear up a couple of things.

Only 1 node needs the cluster ascii file - and this has to be the node you run the cmapplyconf from.

Second, cmapplyconf runs a cmcheckconf - everytime - so no need to run cmcheckconf unless you have no intention of applying.

First thing you need to do, generate an ascii file:

cmquerycl -v -C /etc/cmcluster/cluster.ascii -n node1 -n node2


Then, edit it, then apply it:


cmapplyconf -v -C /etc/cmcluster/cluster.ascii

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Rita C Workman
Honored Contributor

Re: error in cmappyconf.

One thing I like to do is run the following and output it to a file. Then print the file and check my cluster that way.

cmviewconf -o /tmp/clustercheck.output

I find when I look at things using this method...I tend to find the error that I just couldn't see on the screen.

Just a thought,
Rita
Rita C Workman
Honored Contributor

Re: error in cmappyconf.

Almost forgot to address your question:

"...what is the impact if all the cluster VG;s are not properly configured in cluster ascii files?...all my packages are running perfectly without doing this"

Let's think about this...
..yes your packages are running, because you can create a package with your cluster running and start it up. It is strictly running on that node, so once you get it running...voila...perfect !

...or almost...Remember you have ONLY created and started a PACKAGE..and that on one node.

So think about it...Service Guard fails over packages from node to node; and what is one thing SG wants to gain and give exclusive rights to ?
>> Answer: The Volume Groups.
And how does SG know what volume groups do deal with ?
>> Answer: The cluster ascii file.

So if you want an automated failover, then you need to ensure your cluster.ascii file is correct and working.

Rgrds,
Rita