⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sharedschema.readme

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 README
字号:
//%2006//////////////////////////////////////////////////////////////////////////// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation, The Open Group.// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; Symantec Corporation; The Open Group.//// Permission is hereby granted, free of charge, to any person obtaining a copy// of this software and associated documentation files (the "Software"), to// deal in the Software without restriction, including without limitation the// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or// sell copies of the Software, and to permit persons to whom the Software is// furnished to do so, subject to the following conditions:// // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.////==============================================================================////%/////////////////////////////////////////////////////////////////////////////Shared Schema support - PEP 129Shared Schema support has been added, see PEP 130 for a detailed description.The namespace directories now carry additional informatio about namespace sharing.In addition to the classes, qualifiers and instances directories a special direcory entryis used to carry namespace sharing information. This directory start with the letter "S",its format is: the letter "S" followed by either the letter "R" or "W" (defining read-onlyor read-write), followed by the letter "S or "F" (defining whether this namspace can be sharedor not), optionally followed by the name of the parent namespace directory name. The directoryitself is empty.examples:SRF                     Meaning a read-only, non-shareable primary namespace. This is                        normally set after the namespace is loaded with schema data.SWF                     Meaning a read-write, non-shareable primary namespace. This is                        the default namespace setting. If no sharing information is found,			this is assumed.SWS                     Meaning a read-write, shareable primary namespace.SWSroot#cim_v27         Meaning this is a secondary, read-write, shareable namespace.                        Its parent namespace directory is root#cim_v27SRSroot#cim_v27         Meaning this is a secondary, read-only, shareable namespace.                        Its parent namespace directory is root#cim_v27SRFroot#cim_v27         Meaning this is a secondary, read-only, non-shareable namespace.                        Its parent namespace directory is root#cim_v27This special directory entry is the sole soure of shared schema information. The CIM_Namespaceprovider uses this information. This implies, that by modifying this diretory entry (and performinga subsequent cimserver restart) one can modify the schema sharing characteristics.Since the CIM_Namespace control provider is not ready yet, the following script can be usedto create a shared schema environment for Pegasus 2.4 basd im CIM schema version 2.7:When executed, the repository will have the following charecteristics:root#PG_Internal        Default primary namespace (implied SWF)root#cim_v27            Read-write, shareable, primary namespace containing all CIM 2.7 schemasroot#PG_InterOp         Read-write, non-shareable secondaty namespace. Parent is root#cim_v27.                        Contains InterOp schema onlyroot#cimv2              Read-write, shareable, secondary namespace. Parent is root#cim_v27.                        This namespace is empty and can be used to hold provider schemata.echo clear repository directory structuremkdir -p $PEGASUS_HOME/repository/rm -rf $PEGASUS_HOME/repository/*echo create root/PG_Internal - primary namespace directory structuremkdir -p $PEGASUS_HOME/repository/root#PG_Internal/classesmkdir -p $PEGASUS_HOME/repository/root#PG_Internal/qualifiersmkdir -p $PEGASUS_HOME/repository/root#PG_Internal/instancesecho create root/cim_v27 - primary namespace directory structuremkdir -p $PEGASUS_HOME/repository/root#cim_v27/classesmkdir -p $PEGASUS_HOME/repository/root#cim_v27/qualifiersmkdir -p $PEGASUS_HOME/repository/root#cim_v27/instancesmkdir -p $PEGASUS_HOME/repository/root#cim_v27SWSecho create root/PG_InterOp - secondary RW namespace directory structure - parent root/cim_v27mkdir -p $PEGASUS_HOME/repository/root#PG_InterOp/classesmkdir -p $PEGASUS_HOME/repository/root#PG_InterOp/qualifiersmkdir -p $PEGASUS_HOME/repository/root#PG_InterOp/instancesmkdir -p $PEGASUS_HOME/repository/root#PG_InterOp/SWFroot#cim_v27echo create root/cimv2 - secondary RW namespace directory structure - parent root/cim_v27mkdir -p $PEGASUS_HOME/repository/root#cimv2/classesmkdir -p $PEGASUS_HOME/repository/root#cimv2/qualifiersmkdir -p $PEGASUS_HOME/repository/root#cimv2/instancesmkdir -p $PEGASUS_HOME/repository/root#cimv2/SWSroot#cim_v27echo +++++ Loading Core27_Qualifiers.mof into root/PG_Internal namespace ...cimmofl -R$PEGASUS_HOME -nroot/PG_Internal $PEGASUS_HOME/Schemas/CIM27/Core27_Qualifiers.mofecho +++++ Loading PG_InternalSchema20.mof into root/PG_Internal namespace...cimmofl -R$PEGASUS_HOME -I$PEGASUS_HOME/Schemas/Pegasus/Internal/VER20 -nroot/PG_Internal $PEGASUS_HOME/Schemas/Pegasus/Internal/VER20/PG_InternalSchema20.mofecho +++++ Loading CIM_Schema27 into root/cim_v27 namespace ...cimmofl -R$PEGASUS_HOME -I$PEGASUS_HOME/Schemas/CIM27 -nroot/cim_v27 $PEGASUS_HOME/Schemas/CIM27/CIM_Schema27.mofecho +++++ Loading PG_ManagedSystemSchema20 into root/cim_v27 namespace ...cimmofl -R$PEGASUS_HOME -I$PEGASUS_HOME/Schemas/Pegasus/ManagedSystem/VER20 -nroot/cim_v27 $PEGASUS_HOME/Schemas/Pegasus/ManagedSystem/VER20/PG_ManagedSystemSchema20.mofecho +++++ Loading PG_InterOpSchema20.mof into root/PG_InterOp namespace...cimmofl -R$PEGASUS_HOME -I$PEGASUS_HOME/Schemas/Pegasus/InterOp/VER20 -nroot/PG_InterOp $PEGASUS_HOME/Schemas/Pegasus/InterOp/VER20/PG_InterOpSchema20.mofecho +++++ Registering Providers for PG_ManagedSystemSchema20 ...cimmofl -R$PEGASUS_HOME -I$PEGASUS_HOME/Schemas/Pegasus/ManagedSystem/VER20 -nroot/PG_InterOp $PEGASUS_HOME/Schemas/Pegasus/ManagedSystem/VER20/PG_ManagedSystemSchema20R.mof

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -