<commit_before>---
title: InClusterUpgrade
authors: rmohr
wiki_title: Features/InClusterUpgrade
wiki_revision_count: 47
wiki_last_updated: 2016-01-12
feature_name: In Cluster Upgrade
feature_modules: engine
feature_status: Development
---

# InClusterUpgrade

*   Owner: <NAME>
*   Email: <<EMAIL>>

### Overview of activated and deactivated features

| PolicyUnit                   | Considerations               |
|------------------------------|------------------------------|
| EmulatedMachineFilter        | mandatory                    |
| NoneBalance                  | disabled                     |
| EvenDistributionBalance      | disabled                     |
| HaReservationWeight          | disabled                     |
| PowerSavingWeight            | disabled                     |
| EvenDistributionWeight       | disabled                     |
| HostedEngineHAClusterFilter  | disabled                     |
| HaReservationBalance         | disabled                     |
| CpuAndMemoryBalancing        | disabled                     |
| PowerSavingBalance           | disabled                     |
| EvenGuestDistributionWeight  | disabled                     |
| Network                      | keep?                        |
| EvenGuestDistributionBalance | disabled                     |
| HostedEngineHAClusterWeight  | disabled, HE is out of scope |
| Migration                    | keep                         |
| NoneWeight                   | disabled                     |
| Memory                       | keep                         |
| CPU                          | keep                         |
| VmAffinityFilter             | disabled                     |
| VmAffinityWeight             | disabled                     |
| PinToHost                    | keep                         |
| HostDeviceFilter             | keep                         |
| CpuLevelFilter               | keep                         |
| CpuPinningPolicy             | keep (not yet merged)        |
| NumaPinningPolicy            | keep (not yet merged)        |
| InClusterUpgradeFilter       | mandatory                    |
| InClusterUpgradeWeight       | mandatory                    |

#### Preconditions to allow Policy activation

*   No paused VMs are allowed in the cluster

#### What might stop you from putting a host to maintenance

*   CPU pinning
*   NUMA pinning
*   Host pinning
*   PCI pass through
*   Missing networks

Since affinity will be ignored through the upgrade process, the affinity rules enforcement manager will be disabled.

### Upgrade activation Flow

### Host upgrade Flow<commit_msg>Preconditions to allow Policy activation<commit_after>---
title: InClusterUpgrade
authors: rmohr
wiki_title: Features/InClusterUpgrade
wiki_revision_count: 47
wiki_last_updated: 2016-01-12
feature_name: In Cluster Upgrade
feature_modules: engine
feature_status: Development
---

# InClusterUpgrade

*   Owner: <NAME>
*   Email: <<EMAIL>>

### Overview of activated and deactivated features

| PolicyUnit                   | Considerations               |
|------------------------------|------------------------------|
| EmulatedMachineFilter        | mandatory                    |
| NoneBalance                  | disabled                     |
| EvenDistributionBalance      | disabled                     |
| HaReservationWeight          | disabled                     |
| PowerSavingWeight            | disabled                     |
| EvenDistributionWeight       | disabled                     |
| HostedEngineHAClusterFilter  | disabled                     |
| HaReservationBalance         | disabled                     |
| CpuAndMemoryBalancing        | disabled                     |
| PowerSavingBalance           | disabled                     |
| EvenGuestDistributionWeight  | disabled                     |
| Network                      | keep?                        |
| EvenGuestDistributionBalance | disabled                     |
| HostedEngineHAClusterWeight  | disabled, HE is out of scope |
| Migration                    | keep                         |
| NoneWeight                   | disabled                     |
| Memory                       | keep                         |
| CPU                          | keep                         |
| VmAffinityFilter             | disabled                     |
| VmAffinityWeight             | disabled                     |
| PinToHost                    | keep                         |
| HostDeviceFilter             | keep                         |
| CpuLevelFilter               | keep                         |
| CpuPinningPolicy             | keep (not yet merged)        |
| NumaPinningPolicy            | keep (not yet merged)        |
| InClusterUpgradeFilter       | mandatory                    |
| InClusterUpgradeWeight       | mandatory                    |

#### Preconditions to allow policy activation

*   No paused VMs are allowed in the cluster

#### What might stop you from putting a host to maintenance

*   CPU pinning
*   NUMA pinning
*   Host pinning
*   PCI pass through
*   Missing networks

Since affinity will be ignored through the upgrade process, the affinity rules enforcement manager will be disabled.

### Upgrade activation Flow

### Host upgrade Flow
{'fraction_non_alphanumeric': 0.07888280807699566, 'fraction_numerical': 0.0037742970371768257, 'mean_word_length': 1.2185014650481374, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6121566', 'n_tokens_mistral': 1184, 'n_tokens_neox': 1087, 'n_words': 311}