# How-to-Enable-Enhanced-CI-LIfecycle_688988308
### 1\. Enable the Enhanced CI Lifecycle mode from JMX Console

- On UCMDB server, go to **JMX Console > UCMDB:service=Settings Services > setSettingValue**
- **customerID**: Enter your Customer ID
- In the **name** field, enter **[enable.enhanced.ci](http://enable.enhanced.ci/).lifecycle**
- In the **value** field, enter **true.**
- Click **Invoke.**

After you enable the Enhanced CI Lifecycle mode, you also have to enable the CI aging.

### 2\. Enabling aging

First please check if the aging is already enabled by following the next steps:

- On UCMDB server, go to **JMX Console > UCMDB:service=Settings Services > showSettingsByCategory.**
- **customerID**: Enter your Customer ID
- **category**: leave it empty
- check the **value** of setting: **[model.aging.is](http://model.aging.is/).aging.enabled**

If aging is already enabled, then you can skip this step and go directly to step 3.

Otherwise, please proceed with enabling aging, either from Local Client:

- Log into Local Client with the specific customer
- Access the Aging Status tab on the CI Lifecycle page (**Managers** **\> Administration > CI Lifecycle**). Select the **Enable Aging** check box.

Or from jmx-console:

- On UCMDB server, go to **JMX Console > UCMDB:service=Settings Services > setSettingValue**
- **customerID**: Enter your Customer ID
- In the **name** field, enter **[model.aging.is](http://model.aging.is/).aging.enabled**
- In the **value** field, enter **true.**
- Click **Invoke.**

Restart the customer for the changed setting to take effect. Start/Stop customer should be enough, without having to restart the entire server.

> **Please be aware that enabling aging might trigger data deletion!**
> 
> **If you use the option to enable it from Local Client, it should show a summary of the no of CIs to be deleted (in case the number of CIs to be deleted is greater than 10,000, a confirmation message is displayed)**

### 3\. Calculate CILifecycleState attribute for the existing CIs:

Once Enhanced CI Lifecycle is enabled, you need to manually calculate the value of the **CI Lifecycle State** attribute for all the existing CIs by invoking the **calculateCILifecycleStateAttribute** from jmx:

- On UCMDB server, go to **JMX Console > UCMDB:service=Model Services > calculateCILifecycleStateAttribute**
- **customerID**: Enter your Customer ID
- In the **className** field, leave it empty
- Click **Invoke.**
