Update node information
PATCH /cluster/nodes/{uuid}
Updates the node information or performs shutdown/reboot actions on a node.
Learn more
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
uuid |
string |
path |
True |
|
action |
string |
query |
False |
The shutdown action shuts the node down and transfers storage control to its HA group if storage failover is enabled. The reboot action reboots the node and transfers storage control to its HA group if storage failover is enabled.
|
shutdown_reboot_reason |
string |
query |
False |
Indicates the reason for the reboot or shutdown. This only applies when an action of reboot or shutdown is provided. |
allow_data_outage |
boolean |
query |
False |
This only applies when an action of reboot or shutdown is provided. It allows storage failover to be bypassed along with any failures related to mainintaing quorum in the cluster.
|
Request Body
Name | Type | Description |
---|---|---|
_links |
||
cluster_interface |
The cluster network IP address of the node to be added. |
|
cluster_interfaces |
array[cluster_interfaces] |
|
controller |
Controller information |
|
date |
string |
Specifies the ISO-8601 format date and time on the node. |
ha |
||
location |
string |
|
management_interface |
The management interface of the node to be added. The netmask is set based on the management interface of the cluster or the managment interfaces of other nodes. |
|
management_interfaces |
array[management_interfaces] |
|
membership |
string |
Possible values:
|
model |
string |
|
name |
string |
|
serial_number |
string |
|
service_processor |
||
uptime |
integer |
The total time, in seconds, that the node has been up. |
uuid |
string |
|
version |
This returns the cluster version information. When the cluster has more than one node, the cluster version is equivalent to the lowest of generation, major, and minor versions on all nodes. |
Example request
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"cluster_interface": {
"ip": {
"address": "10.10.10.7"
}
},
"cluster_interfaces": [
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"ip": {
"address": "10.10.10.7"
},
"name": "lif1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
],
"controller": {
"flash_cache": [
{
"capacity": 1024000000000,
"firmware_version": "NA05",
"hardware_revision": "A1",
"model": "X1970A",
"part_number": "119-00207",
"serial_number": "A22P5061550000187",
"slot": "6-1",
"state": "string"
}
],
"frus": [
{
"id": 0,
"state": "string",
"type": "string"
}
],
"over_temperature": "string"
},
"date": "2017-01-25 11:20:13 +0400",
"ha": {
"partners": [
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "node1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
]
},
"location": "rack 2 row 5",
"management_interface": {
"ip": {
"address": "10.10.10.7"
}
},
"management_interfaces": [
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"ip": {
"address": "10.10.10.7"
},
"name": "lif1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
],
"membership": "string",
"model": "FAS3070",
"name": "node-01",
"serial_number": "4048820-60-9",
"service_processor": {
"firmware_version": "string",
"ipv4_interface": {
"address": "10.10.10.7",
"gateway": "10.1.1.1",
"netmask": "24"
},
"ipv6_interface": {
"address": "10.10.10.7",
"gateway": "10.1.1.1",
"netmask": "24"
},
"link_status": "string",
"mac_address": "string",
"state": "string"
},
"uptime": 300536,
"uuid": "4ea7a442-86d1-11e0-ae1c-123478563412",
"version": {
"full": "NetApp Release 9.4.0: Sun Nov 05 18:20:57 UTC 2017",
"generation": 9,
"major": 4,
"minor": 0
}
}
Response
Status: 202, Accepted
Name | Type | Description |
---|---|---|
job |
Example response
{
"job": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"uuid": "string"
}
}
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
852046 |
HA partner node |
65562 |
Internal RPC error |
852115 |
The reboot/shutdown is prevented because LIFs cannot be moved away from the node |
9240606 |
The reboot/shutdown is prevented due to quorum warnings. |
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
Name | Type | Description |
---|---|---|
self |
node_setup_ip
The IP configuration for cluster setup.
Name | Type | Description |
---|---|---|
address |
string |
IPv4 or IPv6 address |
cluster_interface
The cluster network IP address of the node to be added.
Name | Type | Description |
---|---|---|
ip |
The IP configuration for cluster setup. |
ip
IP information
Name | Type | Description |
---|---|---|
address |
string |
IPv4 or IPv6 address |
cluster_interfaces
Network interface
Name | Type | Description |
---|---|---|
_links |
||
ip |
IP information |
|
name |
string |
The name of the interface. |
uuid |
string |
The UUID that uniquely identifies the interface. |
flash_cache
Name | Type | Description |
---|---|---|
capacity |
integer |
Size in bytes |
firmware_version |
string |
|
hardware_revision |
string |
|
model |
string |
|
part_number |
string |
|
serial_number |
string |
|
slot |
string |
|
state |
string |
frus
Name | Type | Description |
---|---|---|
id |
integer |
|
state |
string |
|
type |
string |
controller
Controller information
Name | Type | Description |
---|---|---|
flash_cache |
array[flash_cache] |
A list of Flash-Cache devices. Only returned when requested by name. |
frus |
array[frus] |
A list of frus in the node. Only returned when requested by name. |
over_temperature |
string |
Specifies whether the hardware is currently operating outside of its recommended temperature range. The hardware shuts down if the temperature exceeds critical thresholds. |
partners
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
|
uuid |
string |
ha
Name | Type | Description |
---|---|---|
auto_giveback |
boolean |
Specifies whether giveback is automatically initiated when the node that owns the storage is ready. |
enabled |
boolean |
Specifies whether or not storage failover is enabled. |
partners |
array[partners] |
The nodes in this node's High Availability (HA) group. |
management_interface
The management interface of the node to be added. The netmask is set based on the management interface of the cluster or the managment interfaces of other nodes.
Name | Type | Description |
---|---|---|
ip |
The IP configuration for cluster setup. |
management_interfaces
Network interface
Name | Type | Description |
---|---|---|
_links |
||
ip |
IP information |
|
name |
string |
The name of the interface. |
uuid |
string |
The UUID that uniquely identifies the interface. |
ipv4_interface
Object to setup an interface along with its default router.
Name | Type | Description |
---|---|---|
address |
string |
IPv4 or IPv6 address |
gateway |
string |
The IPv4 or IPv6 address of the default router. |
netmask |
string |
Input as netmask length (16) or IPv4 mask (255.255.0.0). For IPv6, you must set the netmask length. The default value is 64. Output is always netmask length. |
ipv6_interface
Object to setup an interface along with its default router.
Name | Type | Description |
---|---|---|
address |
string |
IPv4 or IPv6 address |
gateway |
string |
The IPv4 or IPv6 address of the default router. |
netmask |
string |
Input as netmask length (16) or IPv4 mask (255.255.0.0). For IPv6, you must set the netmask length. The default value is 64. Output is always netmask length. |
service_processor
Name | Type | Description |
---|---|---|
dhcp_enabled |
boolean |
Set to true to use DHCP to configure an IPv4 interface. |
firmware_version |
string |
The version of firmware installed. |
ipv4_interface |
Object to setup an interface along with its default router. |
|
ipv6_interface |
Object to setup an interface along with its default router. |
|
link_status |
string |
|
mac_address |
string |
|
state |
string |
version
This returns the cluster version information. When the cluster has more than one node, the cluster version is equivalent to the lowest of generation, major, and minor versions on all nodes.
Name | Type | Description |
---|---|---|
full |
string |
The full cluster version string. |
generation |
integer |
The generation portion of the version. |
major |
integer |
The major portion of the version. |
minor |
integer |
The minor portion of the version. |
node
Complete node information
Name | Type | Description |
---|---|---|
_links |
||
cluster_interface |
The cluster network IP address of the node to be added. |
|
cluster_interfaces |
array[cluster_interfaces] |
|
controller |
Controller information |
|
date |
string |
Specifies the ISO-8601 format date and time on the node. |
ha |
||
location |
string |
|
management_interface |
The management interface of the node to be added. The netmask is set based on the management interface of the cluster or the managment interfaces of other nodes. |
|
management_interfaces |
array[management_interfaces] |
|
membership |
string |
Possible values:
|
model |
string |
|
name |
string |
|
serial_number |
string |
|
service_processor |
||
uptime |
integer |
The total time, in seconds, that the node has been up. |
uuid |
string |
|
version |
This returns the cluster version information. When the cluster has more than one node, the cluster version is equivalent to the lowest of generation, major, and minor versions on all nodes. |
job_link
Name | Type | Description |
---|---|---|
_links |
||
uuid |
string |
The UUID of the asynchronous job that is triggered by a POST, PATCH, or DELETE operation. |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |