Advanced OAR
Jump to navigation
Jump to search
- OAR
- OARGRID
- cigri
Reserve several resource types with constraints
We want 2 nodes and 4 /22 subnets with the following constraints:
- Nodes are on 2 different clusters of the same site (Hint: use a site with several clusters :-D)
- Nodes have virtualization capability enabled
- /22 subnets are on two different /19 subnets
- 2 subnets belonging to the same /19 subnet are consecutive
oarsub -I -l /slash_19=2/slash_21=1+'{"virtual"!="none"}'/cluster=2/nodes=1
Lets verify the reservation:
uniq $OAR_NODE_FILE paradent-6.rennes.grid5000.fr parapluie-7.rennes.grid5000.fr
g5k-subnets -p 10.158.8.0/22 10.158.32.0/22 10.158.36.0/22 10.158.12.0/22
g5k-subnets -ps 10.158.8.0/21 10.158.32.0/21