## Flexible Capacity for Cyber Resiliency planning tool

Always ensure to use the latest version of the tool available from Seismic.
Otherwise, pricing team might not want to process the pricing request.

Should that happen, it is possible to simply copy and paste the values from the original file into the new one. No need to replay all scenarios.

Update 13/11/2024 : la dernière version de l'outil inclut une solution de copie des données depuis une version plus ancienne, ce qui permet de conserver l'intégrité (les formules) du fichier. /!\ les scénarios ne sont pas recopiés.

## Flex Capacity record capacity

When defining the base capacity setting (the capacity that will never leave the machine), keep in mind it's not possible to install more MIPS in the Flexible Capacity record than the customer has purchased.

The first comment in the Flexible Capacity modelling tool was misleading: 

![[Pasted image 20240814111536.png]]

In the example, customer has purchased two machines (active / active):
* z16-706: 11965 MIPS
* z16-705: 10129 MIPS
* Total installed capacity = 22094 MIPS; that's also the maximum allowed capacity to be transferred with Flex Cap.

Both machines can be be donor or receiver of Flex Capacity.

Assuming we are transferring all capacity from one machine to the other:
* the receiving machine (Target) becomes a z16-711 (20371 MIPS).
* the donor machine remains a z16-701 (2253 MIPS).

This means the total installed capacity (after all capacity has been transferred from the donor to the receiver machine) is 20371 + 2253 = 22624 MIPS, which is 530 MIPS larger than the purchased capacity (22094 MIPS). 

**In this example, the base capacity MUST be a z16-401 (280 MIPS)**

## Configuration of the Flex Capa record MES

All example videos show the configuration of both the downgrade and the Flex Capacity record in the same MES.

While that's OK for pricing purposes, it's practically not advisable...

Imagine a client running a production z16-706 machine being downgraded to a z16-401 at the same time the Flex Capa record gets installed...

**That's a recipe for critsits.**

Recommandation from Dalibor is to split the MES into 2 parts:
* one MES for downgrade
* one MES for the Flex Capa record itself

Installation process should be:
* Installation of the Flex Capa record
* Activation of the Flex Capa record itself to bring the machine to its "nominal" capacity
* Installation of downgrade MES

**Question: What happens in practice when the machine gets downgraded ?**
Answer : Nothing. The permanent capacity is modified, but the TER remains active as expected.

**Question: Do we have pictures of how the actual activation works in the HMC ?**

## Flexible Capacity and software billing

**ONGOING investigation**: How does zSW billing work with Flexible Capacity transfers ?

Let's use an example for which we need answers.

### Nominal conditions

Under "nominal" conditions, the two machines at the client have Flex Capa records activated to bring them to their purchased capacity, as follows:
* z16-706: 11965 MIPS, representing 1449 MSU.
* z16-705: 10129 MIPS, representing 1232 MSU.

That makes a total of 22094 MIPS, representing 2681 MSUs. This ensures the client is eligible to a 30% TTO.

![[Pasted image 20240814111631.png]]

For reference, see the contract details here: https://www.ibm.com/support/customer/csol/terms/internal/?ref=Z125-8994-09-06-2022-us-en 

### Flexible Capacity transfer and zSW billing (TTO)

When transferring everything:
* the donor machine becomes a z16-401 (280 MIPS, 35 MSU)
* the receiver machine becomes a z16-711 (20371 MIPS, 2442 MSU)

Once everything is transferred, the total represents 20651 MIPS or 2477 MSUs. Which is **below** the 30% TTO lower limit, hence the TTO would be 25%...

**ONGOING investigation**: How does zSW billing work with Flexible Capacity transfers ?
For zSW billing, what info do we look at to determine TTO ? Do we look at the Capa Marker inside the configs (which does not change) ?
Or do we look at the activated capacity ?

### Flexible capacity and partial transfers

/!\ qd on fait des transferts partiels de ressources dans un environnement partagé, il faut prendre à garde à préserver assez de ressources sur le système source pour en garantir l'intégrité fonctionnelle.

Ex : un client a besoin de transférer 131 MIPS d'une machine à une autre via Flex Capa. En pratique, on va transférer un CP entier. La source va donc "perdre" environ 1500 MIPS (environ 10 fois plus que la capacité transférée), la source en gagne autant (10 fois plus que nécessaire)....

La recommandation est de "overprovisionner" la source pour assurer qu'il reste assez de capacité après transfert.