Feature #1675
Add a probe that lists current_vms per host, to enable vm affnity out of the box
Status: | Closed | Start date: | 12/02/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Carlos Martín | % Done: | 100% | |
Category: | Drivers - Auth | |||
Target version: | Release 4.0 | |||
Resolution: | fixed | Pull request: |
Description
VM affinity can be implemented by using a user-defined probe that lists the current running vms (per host), like this:
CURRENT_VMS=":26:27:34:102:"
And adding to the VM template the following requirement:
REQUIREMENTS = "CURRENT_VMS = \"*:27:*\""
It would be easier for users if they had that probe out-of-the-box so there's no need for coding.
Associated revisions
Feature #1675: In requirements, keyword CURRENT_VMS searches the Host's running VM ids
Feature #1675: Compile parsers
feature #1675: Level lex and yacc versions across parsers
History
#1 Updated by Carlos Martín over 8 years ago
- Assignee set to Carlos Martín
#2 Updated by Carlos Martín over 8 years ago
- % Done changed from 0 to 100
Done in master, syntax:
To deploy in the host where VM 5 is running:
REQUIREMENTS="CURRENT_VMS = 5"
To deploy in any host, except the one where VM 5 is running
REQUIREMENTS="CURRENT_VMS != 5"
Needs tests and doc.
#3 Updated by Ruben S. Montero over 8 years ago
- Status changed from New to Closed
- Resolution set to fixed