Description

Anti-Affinity Rules ensure that two Cloud Servers do not reside on the same host. This article describes how to manage Server Anti-Affinity Rules, including:
 

Prerequisites:

  1. Only the Primary Administrator or a User with the Server role can create Anti-Affinity rules.
  2. Data Center must not be in Network Maintenance.
  3. Anti-Affinity Rules can be applied to any two (2) Cloud Servers, subject to the following rules:

    • Both Cloud Servers must be in the same Network (MCP 1.0) or Advanced Network Domain (MCP 2.0)
    • Neither Cloud Server can already be associated with another Anti-Affinity rule
    • The Network Domain must be an "Advanced" Network Domain. This feature is not available in Essentials Network Domains.
    • Both Cloud Servers must reside on the same User-Manageable Cluster
  4. Cloud Servers can only be associated with one (1) Anti-Affinity rule at a time.
  5. You cannot add an Anti-Affinity Rule to a Server if it is in Snapshot Preview. You must first migrate the Snapshot Preview Server to a Normal Server. See Introduction to Cloud Server Snapshots
  6. You cannot add an Anti-Affinity Rule to a Server if the Server is in a state which requires it to be restarted. See How do I determine if my Server Requires a Restart Using REST API?

Content / Solution:

  1. From the Home page, select the Data Center where you want to manage Server Anti-Affinity:


  2. The Data Center dashboard will be displayed. Select the Network (MCP 1.0) or Network Domain (MCP 2.0) on which you want to manage Server Anti-Affinity:


  3. The Network (MCP 1.0) or Network Domain (MCP 2.0) Dashboard will be displayed:

Create Anti-Affinity Rule

 

  1. Click on the Anti-Affinity Rules tab, then click the Add Anti-Affinity Rule button:


  2. The Add Anti-Affinity Rule dialog will be displayed:


  3. Fill out the form by entering the Name or IP of the Cloud Servers you want to be associated with the Anti-Affinity Rule. The system will provide suggestions based on available Cloud Severs:


  4. The system will display a message indicating that the operation is in progress:


  5. The UI will indicate that the operation is in progress:

     

  6. Once complete, the system will display a success message:


  7. The Anti-Affinity Rule will be created and the UI will update to reflect the change: 

    1. Note: Hovering your mouse over the Anti-Affinity Rule icon will display a popup which includes the status of the Anti-Affinity Rule, and it's ID:
       

Delete Anti-Affinity Rule

  1. Click on the Anti-Affinity Rules tab, then click on the Manage gear next to the Anti-Affinity Rule you want to delete and select Delete Anti-Affinity Rule from the menu:
     
     

  2. The system will display the Delete Anti-Affinity Rule dialog. Click Delete:
     

  3. The system will display a message indicating that the operation is in progress:


  4. The UI will indicate that the operation is in progress:


  5. The system will display a success message:
     
     

  6. The system will delete the Anti-Affinity Rule and the UI will be updated to reflect the change: