Install duplicate DMTF schema

Elliot Justice <[email protected]> Mon, 22 Sep 2014 17:45:37 +0000 (UTC)
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
First some background.
We have clients using software on legacy servers that have OpenPegasus 
installed with versions ranging from 2.6 to 2.11 and we are planning to 
use OpenPegasus to augment one of our existing projects.We operating 
under the assumption that some of the clients may be using OP for some 
in house project. So for testability we would like to install a 
duplicate copy of the DMTF standard schema in a separate namespace so we 
can have some consistency for the project.

So far I've downloaded  and compiled the MOF files into a seperate 
namespace on a test server using 

cimmof -n root/testNamespace CIM_SCHEMA.mof 

which displayed a duplicate class warning (which I expected). I then 
added R/W permissions to the new namespace using 

cimauth -a -u testUser -n root/testNamespace -R -W

and checked if the classes were available using 

cimcli gc -n root/testNamespace CIM_OperatingSystem

However trying to get an instance of a class with

cimcli gi -n root/testNamespace CIM_OperatingSystem 

gives a CIM_ERR_NOT_SUPPORTED error. Upon further investigation I 
realized that no instances of any classes were created when the MOF was 
compiled, so I tried using

cimcli ci -n root/testNamespace CIM_OperatingSystem

but this also gave a CIM_ERR_NOT_SUPPORTED. I feel that I missed a step 
somewhere, or that there is some other recommended way to do this. Can 
anyone provide assistance?