+

Search Tips   |   Advanced Search

Configure application placement for cells that share the same nodes

When two cells share the same workstation, such as the same physical machine, the same blade in a blade center, and so on, overuse of memory can occur. We can configure a custom property so that the application placement controller does not overuse resources on the shared hosts.

Configure the cells and create the nodes within each cell.

For application placement controller to properly use resources on the cells that share the same nodes, we can define the OverlappingCells custom property in each cell to give information about the hosts that are sharing the same node.

For example, if we have a cell_1 cell and a cell_2 cell, we can create this custom property in cell_1 using information about cell_2, and create the custom property in cell_2 using information about cell_1.

  1. Enable communication between cells that have security enabled.

    If the cells have security enabled, such as LDAP administration security, set up communication between the cells.

  2. Optional: If we do not want the password for the deployment manager cells to display as plain text in the console, we can encode the passwords for each of the cells. To encode a password, use the encodePassword script. The script is in the app_server_root\bin directory. To run the script, use the following command:

      ./wve_encodePassword.sh my_password

    The encoded password is displayed. We can use this encoded password when you define the custom property value.

  3. Set the OverlappingCells custom property in each cell.

    1. In the console, click Operational policies > Autonomic managers > Application placement controller > Custom properties > New.

    2. In the Name, type OverlappingCells.

    3. Enter the custom property value. Use the following format, where each one of these variables is referring to the information for the other cell:

        user_name:password@deployment_manager_host:port.SOAP

      For example, you might enter:user1:user1pwd@mydmgrhost.mycompany.com:8879.SOAP in the value field. .

      If we are connecting three or more cells, you might enter multiple values by separating the values with a comma, for example: user1:user1pwd@mydmgrhost.mycompany.com:8879.SOAP, user2:user2pwd@mydmgrhost2.mycompany.com:8879.SOAP

  4. Save and synchronize the changes.


Results

When the custom property is configured in two or more cells, the application placement controller for each cell contacts the application placement controllers in the other cells to ensure that only one application placement controller is running. By having one application placement controller among all the connected cells running at a single point in time, the application placement controllers do not try to manipulate the same node.


Related concepts

  • Overview of application placement


    Related tasks

  • Enable communication between cells that have security enabled

  • wve_encodePassword script


    Related information:

  • Intelligent Management: application placement custom properties