och-instance move

Move copier from current node to another node.

Syntax

CLI
maprcli och-instance move -name copier name -node FQDN of the destination OCH service node
REST
Request Type PUT
Request URL
http[s]://<host>:<port>/rest/och-instance/move?name="<copier name>"&node="<node FQDN>"

Parameters

Parameter Description
name

(Required) Name of the copier to move

node (Required) FQDN of the node to which the copier is to be moved

Examples

Example 1: Move copier "ochinst-multi" to the node with FQDN "node1.mlp.coco.hpecp.net"

CLI

maprcli och-instance move -name ochinst-multi -node node1.mlp.coco.hpecp.net -json
{
        "timestamp":1791499256058,
        "timeofday":"2026-10-08 10:40:56.058 GMT+0000 PM",
        "status":"OK",
        "total":1,
        "data":[
                {
                        "name":"ochinst-multi",
                        "fromNode":"node3.mlp.coco.hpecp.net",
                        "toNode":"node1.mlp.coco.hpecp.net",
                        "message":"Moving och-instance 'ochinst-multi' from node 'node3.mlp.coco.hpecp.net' to node 'node1.mlp.coco.hpecp.net': stopping it on 'node1.mlp.coco.hpecp.net' first; it is assigned to the new node once that node confirms. Use 'och-instance list' to follow progress."
                }
        ]
}

REST

curl -u <username>:<password> -X GET https://server.sj.us:8443/rest/och-instance/move?name=test-och