Scroll to navigation

oarnodesetting(1) OAR commands oarnodesetting(1)

NAME

oarnodesetting - Change the state and properties of resources in OAR.

SYNOPSIS

oarnodesetting -a -h hostname [-p "property=value" [-p ...]]

oarnodesetting -h hostname [-s state] [-p "property=value" [-p ...]] [-m on | off]] [-d on | off]

oarnodesetting -r resource_id [-s state] [-p "property=value" [-p ...]] [-m on | off]] [-d on | off]

oarnodesetting --sql "SQL where clause" [-s state] [-p "property=value" [-p ...]] [-m on | off]] [-d on | off]

DESCRIPTION

This command is used to Change the state and properties of resources in OAR.

OPTIONS

Resource id of the resource to modify
Hostname for the resources to modify
Select resources to modify from database using a SQL where clause on the resource table (e.g.: "type = 'default'")
Get a hostname list from a file (1 hostname by line) for resources to modify
Add a new resource.
Set the new state of the resource. Possible states are: Alive, Absent, Dead and Suspected.
Set/unset maintenance mode for resources, this is equivalent to setting its state to Absent and its available_upto to 0
Prevent new job to be scheduled on resources, this is equivalent to setting the drain property to YES
Set the property of resources to the given value.
Unset the property of resources.
Do not wait for job ends when resources switch to Absent or Dead.
Get the last value used for a property (as sorted by SQL's ORDER BY DESC)

EXAMPLES

COPYRIGHTS

 Copyright 2003-2021 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU General Public License Version 2 or above. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2024-04-10 oarnodesetting