Operating System - HP-UX
1833130 Members
3276 Online
110051 Solutions
New Discussion

Re: in cluster base pkg1 shows error

 
fizan
Super Advisor

in cluster base pkg1 shows error

cmcheckconf -v -C cluster.conf -p pkg1/pkg1.cntl
Begin cluster verification...
Checking cluster file: cluster.conf
Note : a NODE_TIMEOUT value of 2000000 was found in line 158. This value
is recommended if the top priority is to reform the cluster as fast
as possible in case of failure. If the top priority is to minimize
reformations, consider using a higher setting. For more information see
the cluster configuration ASCII file or the Managing Serviceguard manual.
Checking nodes ... Done
Checking existing configuration ... Done
Gathering storage information
Found 9 devices on node rx26-185
Found 9 devices on node rx26-186
Analysis of 18 devices should take approximately 2 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 2 volume groups on node rx26-185
Found 2 volume groups on node rx26-186
Analysis of 4 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Gathering network information
Beginning network probing (this may take a while)
Completed network probing
Cluster Nishar is an existing cluster
"-p" option specified. Opening package reference file: pkg1/pkg1.cntl.
Parsing package file: . ${SGCONFFILE:=/etc/cmcluster.conf}.

cmcheckconf: Nonexistent package ascii file: . ${SGCONFFILE:=/etc/cmcluster.conf}.
4 REPLIES 4
fizan
Super Advisor

Re: in cluster base pkg1 shows error

# pwd
/etc/cmcluster
[rx26-185]/etc/cmcluster
# ll
total 128
drwxr-xr-x 2 bin bin 8192 May 21 2008 cfs
-rw-rw-rw- 1 root sys 9746 Apr 14 04:13 cluster.conf
-rw------- 1 root root 10352 Apr 14 04:16 cmclconfig
-rw------- 1 root root 0 Apr 14 04:16 cmclconfig.tmp
-rw-rw-rw- 1 root sys 31 Apr 14 04:04 cmclnodelist
-r-------- 1 bin bin 118 Mar 15 2007 cmknowncmds
---------- 1 root root 0 Apr 14 04:15 config.lck
dr-xr-xr-x 2 bin bin 96 May 21 2008 examples
dr-xr-xr-x 2 bin bin 8192 Apr 14 01:34 lib
dr-xr-xr-x 4 root root 96 May 21 2008 modules
drwxrwxrwx 2 root sys 96 Apr 14 06:49 pkg1
dr-xr-xr-x 5 bin bin 96 Apr 14 01:34 scripts
Horia Chirculescu
Honored Contributor

Re: in cluster base pkg1 shows error

Hello,

>-p pkg1/pkg1.cntl

I believe you should specify here the package configuration file (the one with .conf or .config), not the package control script (.cntl).


See man cmcheckconf

Horia.
Best regards from Romania,
Horia.
S.N.S
Valued Contributor

Re: in cluster base pkg1 shows error

Fizan,

There would be no file by the name pkg1/pkg1.cntl"

As mentioned, you need to specify the name pkg config file with the -P option...

You can also tell Us what exactly you want to do..that wud make things clearer.
Let Us know your progress..

HTH
SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison
melvyn burnard
Honored Contributor

Re: in cluster base pkg1 shows error

two issues here:
1) you are using -p instead of -P
2) you are specifying a control script and not a configuration file (if you have done standard naming conventions)

Rectify these and it should work.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!