1repupgrade(1)                                                    repupgrade(1)
2
3
4

NAME

6       repupgrade  - enables upgrading to a newer version of the CIM schema by
7       recreating schema extensions from an old repository in a new repository
8       that  has  been initialized with the new version of the schema. It also
9       sets the SystemName key property in Filter, Handler instances to  empty
10       since SystemName is generated dynamically from the current system name.
11       Corresponding subscriptions are also modified with the modified  filter
12       and handler references.
13

SYNOPSIS

15       repupgrade -o oldrepositorypath -n newrepositorypath
16
17       repupgrade -h | --help
18
19       repupgrade -v | --version
20

DESCRIPTION

22       The utility will recreate schema extensions from an older repository in
23       a new repository. New namespaces, class  extensions,  qualifier  exten‐
24       sions  and  instances  in the old repository will be created in the new
25       repository.
26
27       If an error occurs during the upgrade an error message is displayed and
28       the  upgrade  is  aborted.  If an error occurs during the creation of a
29       schema element, the CIM/XML request for creating the schema element  is
30       logged.
31
32   Options
33       repupgrade recognizes the following options:
34
35              -o                  Specifies  the  old repository path.  If the
36                                  old repository path does not exist, an error
37                                  message is returned and no action is taken.
38
39              -n                  Specifies  the  new repository path.  If the
40                                  new repository path does not exist, an error
41                                  message is returned and no action is taken.
42
43              -h | --help         Displays the command help message.
44
45              -v | --version      Displays the CIMServer version number.
46

EXIT STATUS

48       When  an  error  occurs,  an  error message is written to stderr and an
49       error value 1 is returned.  The following values are returned:
50
51              0      Success
52              1      Error
53

EXAMPLE

55       Upgrade   the   contents   of   an   old    repository    located    in
56       /home/test/prev_repository    to    a   new   repository   located   in
57       /home/test/repository:
58
59       repupgrade -o /home/test/prev_repository -n /home/test/repository
60
61
62
63                                                                 repupgrade(1)
Impressum