Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

6.12. Affinity Labels

download PDF

6.12.1. About Affinity Labels

You can create and modify Affinity Labels in the Administration Portal.

Affinity Labels are used together with Affinity Groups to set any kind of affinity between virtual machines and hosts (hard, soft, positive, negative). See the Affinity Groups section for more information about affinity hardness and polarity.

Warning

Affinity labels are a subset of affinity groups and can conflict with them. If there is a conflict, the virtual machine will not start.

6.12.2. Creating an Affinity Label

You can create affinity labels from the details view of a virtual machine, host, or cluster. This procedure uses the cluster details view.

Creating an Affinity Label

  1. Click Compute Clusters and select the appropriate cluster.
  2. Click the cluster’s name to go to the details view.
  3. Click the Affinity Labels tab.
  4. Click New.
  5. Enter a Name for the affinity label.
  6. Use the drop-down lists to select the virtual machines and hosts to be associated with the label. Use the + button to add additional virtual machines and hosts.
  7. Click OK.

6.12.3. Editing an Affinity Label

You can edit affinity labels from the details view of a virtual machine, host, or cluster. This procedure uses the cluster details view.

Editing an Affinity Label

  1. Click Compute Clusters and select the appropriate cluster.
  2. Click the cluster’s name to go to the details view.
  3. Click the Affinity Labels tab.
  4. Select the label you want to edit.
  5. Click Edit.
  6. Use the + and - buttons to add or remove virtual machines and hosts to or from the affinity label.
  7. Click OK.

6.12.4. Deleting an Affinity Label

You can only remove an Affinity Label from the details view of a cluster after it is deleted from each entity.

Deleting an Affinity Label

  1. Click Compute Clusters and select the appropriate cluster.
  2. Click the cluster’s name to go to the details view.
  3. Click the Affinity Labels tab.
  4. Select the label you want to remove.
  5. Click Edit.
  6. Use the - buttons to remove all virtual machines and hosts from the label.
  7. Click OK.
  8. Click Delete.
  9. Click OK.
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.