1 configure

  Description

   Enables you to export, import, and display component configuration
   settings in a baseline.

  Syntax

   hpsum configure --export baseline=<baselinename> dir=<directoryname>
   [component=<componentname> includeCredentials=true|false>]

   hpsum configure --import baseline=<baselinename> dir=<directoryname>
   [component=<componentname>]

   hpsum configure --show baseline=<baselinename> [component=<componentname>

  Parameters/Options/Flags/Strings/...

   /export

           This parameter exports component configuration to a specified
           directory.

   /import

           This parameter imports component configuration from a specified
           directory.

   /show

           This parameter displays the component configuration options for
           the components in a baseline.

   baseline=<baselinename>

           Use this parameter to specify the baseline that contains the
           component you want to import, export, or show.

   dir=<directoryname>

           Use this parameter to specify the directory where you want to
           export or from where you want to import component configuration
           settings.

   component=<componentname>

           This is an optional parameter. This specifies the name of the
           component that you want to import, export, or show. If you do not
           specify a component, HP SUM exports, imports, or shows all
           components in a baseline.

   includeCredentials=<true|false>

           This is an optional parameter. If you select true, HP SUM includes
           the user credentials when it exports configuration settings. The
           default for this parameter is true.

  Windows usage

   C:\>hpsum configure /import baseline=C:\spp.2012.01 dir=C:\Components

   In this example, all the component configurations present under
   C:\Components directory for C:\spp.2012.01 baseline will be loaded into HP
   SUM.

   C:\>hpsum configure /import baseline=C:\spp.2012.01
   dir=C:\Components\cp022423_conf component=cp022423.exe

   In this example, HP SUM only imports the configuration for the component
   cp022423.exe of the baseline C:\spp.2012.01 in the directory
   C:\Components.

   C:\>hpsum configure /show baseline=C:\spp.2012.01

   In this example, HP SUM displays all the component configurations from the
   baseline C:\spp.2012.01.

  Linux usage

   $ ./hpsum configure --export baseline=/root/SPP.2012.01
   dir=/root/Components

   In this example, HP SUM exports all the component configurations from the
   baseline /root/SPP.2012.01 to the directory /root/Components.

   $ ./hpsum configure --export baseline=/root/SPP.2012.01
   dir=/root/Components component=hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm
   includeCredentials=false

   In this example, HP SUM only exports the configuration for the component
   hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm from the baseline
   /root/SPP.2012.01 present in the directory /root/Components. HP SUM does
   not export credentials in this example.

   $ ./hpsum configure --show baseline=/root/SPP.2012.01
   component=hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm

   In this example, HP SUM displays only the configuration for the component
   hp-snmp-agents-10.10-2657.7.rhel6.i686.rpm from the baseline
   /root/SPP.2012.01.

  Return codes

   SUCCESS

           Windows: 0

           Linux: 0

           Text: This returns if HP SUM successfully exports, imports, or
           displays the component configuration.

   FAILURE

           Windows: -1

           Linux: 255

           Text: This returns if HP SUM failed to export, import, or display
           the component configuration.