Adding balancing profiles
For example, consider a database service with a base database connected with at least 10 databases in a cluster configuration. Assume that for a service to be healthy, you need to have at least four databases running successfully at all times. Without a balancing profile, the service is impacted even if a single database in the cluster is impacted. With a balancing profile threshold set to four database CIs, the service is impacted only when less than four database CIs are in the OK state.
As a service designer, you can add a balancing profile to an individual service while creating or editing the service. In addition, as an administrator, you can define global balancing profiles for multiple services from the Configurations > Manage Service Health page. For information about how to configure the global balancing profile, see Configuring-global-settings-for-service-health.
To add a balancing profile
- Click Services and then click Create New Service.
- Provide the service definition for a service.
- Click Health Profile and then click the service (for example, Database) for which you want to add the balancing profile.
(Controlled availability customers only) If you have defined the health profiles from the Manage Service Health page and if the service meets the defined criteria, the health profile details are displayed in the Define Health Profile section of the service. The Use default configuration checkbox is enabled by default, and the global balancing profile is applied to the service. For details, see Configuring-global-settings-for-service-health.
- If you do not want to use the global balancing profile, clear the Use default configuration checkbox and click Add Balancing Profile to add a profile specific to the service.
- Enter a unique profile name.
- Select a base CI Category and based on that, select the base CI Kind.
The categories are displayed based on the CIs that are a part of the service. A base CI is the CI node from where you want to start applying the balancing profile rule.
For example, select Host and Host Containers, and then select Cluster.
- From the list of CI names displayed, select the CI name.
Based on the selection the CI relationships are displayed. - Select the link kind and the scope:
- Link Kind: Select the type of relationship between the Base CI and the related CI nodes.
- Evaluation scope CI Kind: Select the related CI kind.
- In the Fault tolerance policy section, select the quantifier by which you want to define the balancing rule:
- CI Percentage: Specify the percentage threshold after which the service is impacted.
For example, if you specify 80%, the service is impacted when more than 20% of the resources stop working. A minimum of 80% of the CIs from the evaluation scope must be in the OK state. CI Count: Specify the number of resources after which the service is impacted.
For example, if you specify 20, the service is impacted if more than 20 resources stop working. A minimum of 20 CIs from the evaluation scope must be in the OK state.
- CI Percentage: Specify the percentage threshold after which the service is impacted.
- Click Save and Close.
You can add up to 10 balancing profiles to a service, all of which are considered when the health score is computed. You cannot add multiple balancing profiles for the same CIs.
- Click Save and Close.
The count of balancing profiles is shown as part of the service.
To edit a balancing profile
- From the Services page, search and select a service for which you want to edit the balancing profiles.
- From the action menu , select Edit Service.
- Click Health Profile and then click a service.
- In the Define Health Profile pane, expand Balancing Profiles, click the Actions menu for a profile, and select Edit.
If you have selected the Use default configuration checkbox and are using the global balancing profile, the Actions menu is disabled. You cannot edit the global health profile from this page. For information about how to edit the global health profile, see Configuring-global-settings-for-service-health. Edit the profile as required.
- Click Save and Close.
To delete a balancing profile
If there are no balancing profiles, when a service is impacted, all CI nodes are considered for computing a health score.
- Click Services and then click a service name for which you want to delete the profile.
- Click the action menu and select Edit Service.
- On the Edit Service page, click Health Profile and then click a service that has a balancing profile.
The Define Service Health processing displays the number of profiles. - Expand Balancing Profiles and select Action > Delete against the profile that you want to delete.
If you have selected the Use default configuration checkbox and are using the global balancing profile, the Actions menu is disabled. You cannot delete the global health profile from this page. For information about how to delete the global health profile, see Configuring-global-settings-for-service-health . - Click Save and Close.
Where to go from here
Based on what you want to configure for your services, perform the following optional tasks: