(file) Return to init_repository CVS log (file) (dir) Up to [Pegasus] / pegasus / installs / scripts

 1 w.otsuka 1.1 #
 2              #
 3              # WARNING:
 4              # This script can be run in order to re-create the repository.
 5              # It will REMOVE the entire contents of any existing repository
 6              # first, so care should be used when running this.
 7              #
 8              
 9              #
10              # GET RID OF THE OLD REPOSITORY ...
11              # Actually, you need to do this by hand without cimserver
12              # running, and then start up cimserver again.
13              #
14              
15              ##### rm -rf $PEGASUS_REPOSITORY_DIR
16              
17              #
18              # CREATE CLEAN REPOSITORY ...
19              #
20              
21              #
22 w.otsuka 1.1 # The following are for the InterOp Namespace
23              #
24              
25              INTEROPNS=root/PG_InterOp
26              
27 w.otsuka 1.2 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_CIMXX_MOF_DIR -n$INTEROPNS $PEGASUS_CIMXX_MOF_DIR/CIM_Core$PEGASUS_CIM_SCHEMA.mof
28              $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_CIMXX_MOF_DIR -n$INTEROPNS $PEGASUS_CIMXX_MOF_DIR/CIM_Event$PEGASUS_CIM_SCHEMA.mof
29 w.otsuka 1.1 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/Pegasus -n$INTEROPNS $PEGASUS_MOF_DIR/Pegasus/PG_InterOpSchema20.mof
30              
31              #
32              # The following are for the Internal Namespace
33              #
34              
35              INTERNALNS=root/PG_Internal
36              
37 w.otsuka 1.2 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_CIMXX_MOF_DIR -n$INTERNALNS $PEGASUS_CIMXX_MOF_DIR/Core$PEGASUS_CIM_SCHEMA\_Qualifiers.mof
38 w.otsuka 1.1 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/Pegasus -n$INTERNALNS $PEGASUS_MOF_DIR/Pegasus/PG_InternalSchema20.mof
39              
40              #
41              # The following are for the ManagedSystem Namespace
42              #
43              
44              MANAGEDSYSTEMNS=root/cimv2
45              
46 w.otsuka 1.2 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_CIMXX_MOF_DIR -n$MANAGEDSYSTEMNS $PEGASUS_CIMXX_MOF_DIR/CIM_Schema$PEGASUS_CIM_SCHEMA.mof
47 w.otsuka 1.1 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/Pegasus -n$MANAGEDSYSTEMNS $PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20.mof
48              $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/Pegasus -n$INTEROPNS $PEGASUS_MOF_DIR/Pegasus/PG_ManagedSystemSchema20R.mof

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2