ccm swhistory command

Last Updated : Aug 28, 2020 |

Command description

The ccm swhistory command output displays the history of the results of the ccm install, ccm upgrade, ccm delete, ccm uninstall, ccm restore, and any patching commands that modify the system's software products. The output also includes versions of the software before and after modification.

When you execute a command that modifies the system's software products, a section is added to the output of the ccm swhistory command. Each section contains:
  • An entry for the initialization (INIT) of the command on the affected products.

  • A list of component entries, where each entry contains:
    • The initialization of the action performed on the component. The action can include install, upgrade, delete, uninstall, restore, and patch.

    • An entry for the success or failure of the action performed on the component.

  • An entry for the success or failure of the command on the affected products.

Example

The following sample output contains the following sections:
  • CCM OVA DEPLOYMENT

  • ccm install <spreadsheet-INSTALL.xlsx>

  • ccm upgrade spec <spreadsheet-UPGRADE.xlsx>

Each section is divided by a line of equal signs (======).

 Timestamp                User  Command             Product_Modification_Status    Product         product_from_version     product_to_version
----------------------------------------------------------------------------------------------------------------------------------
07/12/2020 22:12:45      -     CCM OVA DEPLOYMENT  INIT                           CommonServices  -                        -
 
 
Timestamp                Component  Component_Product  Component_Status  component_from_version   component_to_version
----------------------------------------------------------------------------------------------------------------------------------
07/12/2020 22:13:15      CCM        Common Services    SUCCESS           -                        1.1.0.0.95748
 
 
Timestamp                User  Command             Product_Modification_Status    Product         product_from_version     product_to_version
----------------------------------------------------------------------------------------------------------------------------------
07/12/2020 22:13:15      -     CCM OVA DEPLOYMENT  SUCCESS                        CommonServices  -                        -
 
 
==================================================================================================================================
 
 
Timestamp                User  Command                                                   Product_Modification_Status    Product         product_from_version     product_to_version
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
07/13/2020 16:57:15      cust  ccm install solution-deployment-spreadsheet-INSTALL.xslx  INIT                           CommonServices  -                        1.1.0.0.95001
 
 
Timestamp                Component          Component_Product  Component_Status  component_from_version   component_to_version
-------------------------------------------------------------------------------------------------------------------------------------------------------------
07/13/2020 16:57:15      Infra              CommonServices     INIT              -                        1.1.0.0.95028
07/13/2020 18:24:53      Infra              CommonServices     SUCCESS           -                        1.1.0.0.95028
07/13/2020 19:12:05      common-crds        CommonServices     INIT              -                        1.1.0.0.93020
07/13/2020 19:15:15      common-crds        CommonServices     SUCCESS           -                        1.1.0.0.93020
07/13/2020 19:15:15      cert-manager       CommonServices     INIT              -                        1.1.0.0.95382
07/13/2020 19:21:55      cert-manager       CommonServices     SUCCESS           -                        1.1.0.0.95382
07/13/2020 19:21:55      istio              CommonServices     INIT              -                        1.5.0.0.95184
07/13/2020 19:29:04      istio              CommonServices     SUCCESS           -                        1.5.0.0.95184
07/13/2020 19:29:04      postgres-operator  CommonServices     INIT              -                        1.1.0.0.95199
07/13/2020 19:31:05      postgres-operator  CommonServices     SUCCESS           -                        1.1.0.0.95199
07/13/2020 19:31:05      common-services    CommonServices     INIT              -                        1.1.0.0.95157
07/13/2020 19:35:04      common-services    CommonServices     SUCCESS           -                        1.1.0.0.95157
07/13/2020 19:35:05      eventing-kafka     CommonServices     INIT              -                        1.1.0.0.95555
07/13/2020 19:38:13      eventing-kafka     CommonServices     SUCCESS           -                        1.1.0.0.95555
 
 
Timestamp                User  Command                                                   Product_Modification_Status    Product         product_from_version     product_to_version
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
07/13/2020 19:38:13      cust  ccm install solution-deployment-spreadsheet-INSTALL.xslx  SUCCESS                        CommonServices  -                        1.1.0.0.95001
 
 
================================================================================================================================================
 
 
Timestamp                User  Command                                                         Product_Modification_Status    Product         product_from_version     product_to_version
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
07/14/2020 04:01:24      cust  ccm upgrade spec solution-deployment-spreadsheet-UPGRADE.xslx   INIT                           CommonServices  1.1.0.0.95001            1.1.0.1.99001
 
 
Timestamp                Component        Component_Product  Component_Status  component_from_version   component_to_version
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
07/14/2020 04:01:24      common-services  CommonServices     INIT              1.1.0.0.95157            1.1.0.1.99350
07/14/2020 04:04:06      common-services  CommonServices     SUCCESS           1.1.0.0.95157            1.1.0.1.99350
07/14/2020 04:04:07      eventing-kafka   CommonServices     INIT              1.1.0.0.95555            1.1.0.1.99777
07/14/2020 04:06:25      eventing-kafka   CommonServices     SUCCESS           1.1.0.0.95555            1.1.0.1.99777
 
 
Timestamp                User  Command                                                         Product_Modification_Status    Product         product_from_version     product_to_version
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
07/14/2020 04:06:25      cust  ccm upgrade spec solution-deployment-spreadsheet-UPGRADE.xslx   SUCCESS                        CommonServices  1.1.0.0.95001            1.1.0.1.99001