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. You can configure a custom property so
that the application placement controller does not overuse resources
on the shared hosts.
Before you begin
- Configure the cells and create the nodes within each cell.
About this task
For application placement controller to properly use resources
on the cells that share the same nodes, you can define the OverlappingCells
custom property in each cell to give information about the hosts that
are sharing the same node.
For example, if you have a cell_1 cell
and a cell_2 cell, you 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.
Procedure
- Enabling communication between cells that have security enabled
.
If your cells have security enabled,
such as Lightweight Directory Access Protocol (LDAP) administration
security, you must set up communication between the cells.
- Optional: If you do not want the password for
the deployment manager cells to display as plain text in the administrative
console, you can encode the passwords for each of your cells.
To encode a password, use the encodePassword script.
The script is in the install_root\bin directory.
To run the script, use the following command:
./encodePassword.sh my_password
./encodePassword.bat my_password
The
encoded password is displayed. You can use this encoded password when
you 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.SOAP
For example, you might enter:user1:user1pwd@mydmgrhost.mycompany.com:8879.SOAP in
the value field. .
If you 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
- Save and synchronize your 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.