Page 1 of 1

CCM : reverting Changes before Applying Configuration

Posted: Tue May 21, 2019 9:07 am
by hoegh
Hi Team,

Unfortunately, Sometimes we end up with deleting important config Host/Service in CCM,
In this case, if I've not applied configurations, then is it possible for me to revert deleted Host/Service ? As I've not Applied any configuration changes yet.
  • Incident happened with me:
    1. I've deleted one host [host XY] unknowingly. [Don't know how it got deleted, whereas there are Services in dependencies]
    2. Now, when i entered CCM next time, It's asking me to Apply config changes made Previously.
    3. Since Dependencies are not resolved, So Apply Config throws error, That service group x has not able to find host XY, [as it is deleted in step 1]
    4. Since, I've not Committed CCM changes by Apply Configuration options.
    5. So, here i expect, the Changes [deletion of host XY] should get reverted.
I hope i made my query clear :|

Thanks
Hoegh

Re: CCM : reverting Changes before Applying Configuration

Posted: Tue May 21, 2019 2:37 pm
by scottwilkerson
Yes.

Configure -> CCM -> Configuration Snapshots
Select the latest good configuration and click the "restore" icon
Click Ok

The CCM DB will be restore to the point where it was at the time of the last successful Apply Configuration

Re: CCM : reverting Changes before Applying Configuration

Posted: Wed May 22, 2019 6:22 am
by hoegh
Thanks @scottwilkerson.
I was not knowing this.
Thanks for your help. Please close this thread.

Regards,
Hoegh

Re: CCM : reverting Changes before Applying Configuration

Posted: Wed May 22, 2019 6:38 am
by scottwilkerson
hoegh wrote:Thanks @scottwilkerson.
I was not knowing this.
Thanks for your help. Please close this thread.

Regards,
Hoegh
Great!

Closing