Operating System - HP-UX
1834811 Members
2273 Online
110070 Solutions
New Discussion

SG 11.18: cmcheckconf -P: ERROR: Missing directory

 
SOLVED
Go to solution
mschulz67
Occasional Advisor

SG 11.18: cmcheckconf -P: ERROR: Missing directory

Hi *
I've got a problem with creating new packages with the new configuration file format.

Cluster: Two nodes, both running 11v2
SG: 11.18

Included modules:
include sg/failover.1
include sg/package_ip.1
include sg/volume_group.1
include sg/filesystem.1
include sg/external.1

The configuration file is consistent on both nodes, the VG and the base mountpoint (/test) as well.

The package directory tree looks like that:
/dev/vgtest/lvol1 /test1
/dev/vgtest/lvol2 /test1/foo

When executing an "cmcheckconf -P " I get following error:

Failed to validate /etc/cmcluster/scripts/mscripts/master_control_script.sh.

On node validation failed with:
ERROR: Function sg_validate_filesystems
ERROR: Missing directory /test/foo
ERROR: Failed to validate /etc/cmcluster/scripts/sg/filesystem.sh

On node validation failed with:
ERROR: Function sg_validate_filesystems
ERROR: Missing directory /test/foo
ERROR: Failed to validate /etc/cmcluster/scripts/sg/filesystem.sh

cmcheckconf: Error found in package file: test.cntl.

Well, of course this directory doesn't exist yet - it's part of the filesystem mounted with /dev/vgtest/lvol1 which of course is not activated on at least one node in the cluster because it's exclusive.

Am I missing something here, did I overlook something in the manual?
Or is it really the case that I have either to mount all package F/S on all nodes (at least readonly) or create dummy directories (which worked but is nonsense) or apply a package configuration without filesystems and add them later.
2 REPLIES 2
Solution

Re: SG 11.18: cmcheckconf -P: ERROR: Missing directory

Hi,

It's a "feature"... install patch PHSS_37094 to resolve.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
mschulz67
Occasional Advisor

Re: SG 11.18: cmcheckconf -P: ERROR: Missing directory

Thanks, that does the trick :-)