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.
Tasks
- Enable communication between cells that have security enabled.
If our cells have security enabled, such as LDAP administration security, we must set up communication between the cells.
- Optional: If we do not want the password for the deployment manager cells to display as plain text in the administrative console, we can encode the passwords for each of our cells. To encode a password, use the encodePassword script.
The script is in the app_server_root\bin directory.
To run the script.
./wve_encodePassword.sh my_password
The encoded password is displayed. Use this encoded password when we define the custom property value.
- Set the OverlappingCells custom property in each cell.
- In the administrative console, click...
Operational policies | Autonomic managers | Application placement controller | Custom properties | New
- In the Name, type OverlappingCells.
- 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.SOAPFor example, we might enter:user1:user1pwd@mydmgrhost.mycompany.com:8879.SOAP in the value field. .
If we are connecting three or more cells, we 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
- Save and synchronize changes.
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:
Overview of application placement wve_encodePassword script Intelligent Management: application placement custom properties