NAME¶
oarnodesetting - Change the state and properties of a node in OAR.
SYNOPSIS¶
oarnodesetting [-h hostname | [[-r resource_number][--sql "sql
syntax"] | -a]]
DESCRIPTION¶
This command is used to Change the state and properties of a node in OAR.
OPTIONS¶
- -a, --add
- Add a new resource.
- -s, --state STATE
- Set the new state of the node. The available states are:
Alive, Absent and Dead.
- -m, --maintenance on/off
- Set the maintenance mode on/off (resource state will be set
to absent and available_upto field set to 0).
- -h, --hostname HOSTNAME
- Set the node hostname.
- -r, --resource
- Set the resource.
- --sql
- Get resource identifiers which respond to the SQL where
clause on the table jobs (ex: "type = 'default'").
- -p, --property "PROPERTY=VALUE"
- Set the property of the node to the given value.
- -n, --nowait
- Do not wait for job ends when the node switches to Absent
or Dead.
EXAMPLES¶
- oarnodesetting -s Alive -h node012
- oarnodesetting -s Absent -h node012
COPYRIGHTS¶
Copyright 2003-2012 LIG http://lig.imag.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.