Hi Jonu Joy,
Please note you shall only restrict the memory of secondary site until that site is not actively used by applications.
How to do:
- login to secondary site Linux server using sidadm user of HANA. example <hdbadm>
- Goto location: /hana/shared/<SID>/global/hdb/custom/config/
- You will find a file global.ini.
- Edit that file with sidadm user.
- Add 2 lines to that file:
[memorymanager]
global_allocation_limit = <memory amount in MB>
example 200GB limit:
[memorymanager]
global_allocation_limit = 200000
6. Save and quit the file.
There is no restart of HANA required after this and you are all set to go.
After takeover there shall not be any other HANA system running on secondary site.
Happy HANA
Deepak Chodha.