byon with phycal machine, SLA is global, how to ensure that the applications are not be installed on the same machine

≡放荡痞女 提交于 2019-12-12 02:05:39

问题


I hava scenario like this:

I have applications A,B,C,D..., and I hava physical machines M,N,O,P,Q...

I use byon to manage physical machine, because the physial machine is "strong", so I want to deploy several application on it, so I set the SLA is global, at this time I have a question: when application A is deployed on machine M, I deploy other application B,C,D...,whether application A,B,C,D...will install on M machine only, rather than install on machine N,O,P,Q...(in this case, the host A's pressure will be very large.) Is this problem exist, if exists, how to resolve it? thank you very much!


回答1:


It's possible to limit the number of services on a specific machine by specifying the memory required for each service. As part of the global isolation SLA You can set the amount of memory required by each service, so when there isn't enough memory left on the machine - the next one will be used.

The syntax is:

isolationSLA {      
    global { 
        instanceCpuCores 0
        instanceMemoryMB 128 // each instance needs 128MB allocated for it on the VM.
        useManagement true // Enables installing services on the management server. Defaults to false.
    }

Please note that the above code also allows services to be installed on the management machine itself, which you can set to false.

A more detailed explanation is available here, under "Isolation SLA".



来源:https://stackoverflow.com/questions/27551029/byon-with-phycal-machine-sla-is-global-how-to-ensure-that-the-applications-are

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!