How does life cycle state work?

Document ID : KB000102688
Last Modified Date : 19/06/2018
Show Technical Document Details
Question:
How does life cycle state work between CAPM and Spectrum?
Environment:
CAPM 3.x
Spectrum 10.x
Answer:
Let's start with what Spectrum/PC supports.  In all these scenarios, the device exists in both DA and Spectrum, are consolidated, both are ACTIVE (unless otherwise stated), and Spectrum has checkbox to sync lifecycle.

Note: life cycle state from Spectrum is dependent on OneClick seeing the event for the start/end time of the sync cycle.  No event, no way for OneClick to tell PC about the life cycle change.

1. Device in Spectrum is deleted.  Spectrum should sync a delete of the device to remove it from dst_device table in PC, as well as RETIRED state so it sets the t_device to RETIRED.  DA is pushed RETIRED to stop monitoring.
2. Device in Spectrum is removed from IP Domain GC ONLY, not deleted (it can be later deleted).  Spectrum will sync a delete of the device to remove it from dst_device table in PC.  That's all that happens, no lifecycle change.  So t_device and DA device remain ACTIVE.
3. Device in Spectrum is put into MAINT mode.  Spectrum should sync the MAINTENANCE state to PC so it sets the t_device to MAINTENANCE. DA is pushed MAINT state and will stop polling depending on settings for Maint state.
4. Device in Spectrum is taken out of MAINT mode.  Spectrum should sync the ACTIVE state to PC so it sets the t_device to ACTIVE.  DA is pushed ACTIVE state and will resume polling.
5. Device is RETIRED in PC and exists only in DA.  Spectrum pushes new device with same IP.  We will consolidate the 2 devices together.  I believe we will set the device to ACTIVE also.  DA will be pushed ACTIVE and resume polling.
6. Device in Spectrum while in MAINT mode is deleted.  Spectrum should sync a delete of the device to remove it from dst_device table in PC, as well as RETIRED state so it sets the t_device to RETIRED.  DA is pushed RETIRED to stop monitoring.
7. Device in Spectrum while in MAINT mode is removed from IP Domain GC ONLY, not deleted (it can be later deleted).  Spectrum will sync a delete of the device to remove it from dst_device table in PC.  That's all that happens, no life cycle change.  So t_device and DA device remains in MAINTENANCE mode.
Additional Information: