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 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA -n$INTEROPNS $PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA/CIM_Core$PEGASUS_CIM_SCHEMA.mof
28 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA -n$INTEROPNS $PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA/CIM_Event$PEGASUS_CIM_SCHEMA.mof
29 $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 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA -n$INTERNALNS $PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA/Core$PEGASUS_CIM_SCHEMA\_Qualifiers.mof
38 $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 w.otsuka 1.1
44 MANAGEDSYSTEMNS=root/cimv2
45
46 $PEGASUS_BIN_DIR/cimmof -I$PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA -n$MANAGEDSYSTEMNS $PEGASUS_MOF_DIR/CIM$PEGASUS_CIM_SCHEMA/CIM_Schema$PEGASUS_CIM_SCHEMA.mof
47 $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
|