och-instance list

Lists all active and inactive copiers.

You can use the och-instance list command to list all active (running) and inactive (stopped) copiers.

Syntax

CLI
maprcli och-instance list
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/och-instance/list

Parameters

None.

Examples

Example 1: List all copiers

NOTE
"placementPolicy":"OCH_PLACEMENT_STICKY" indicates that the copier is tied to the node with FQDN to which it was initially assigned and cannot be moved to another node during auto load-balancing. "placementPolicy":"OCH_PLACEMENT_FLOATING"
CLI
maprcli och-instance list
[
                {c6-rtc21-88s-mgmt.fmg.polo.hpecp.net
                        "name":"ochinst6",
                        "assignedNode":"c6-rtc21-88s-mgmt.fmg.polo.hpecp.net",
                        "liveNode":"c6-rtc21-88s-mgmt.fmg.polo.hpecp.net",
                        "preferredNode":"c6-rtc21-88s-mgmt.fmg.polo.hpecp.net",
                        "moveToNode":"",
                        "placementPolicy":"OCH_PLACEMENT_STICKY",
                        "running":false,
                        "bucketCount":0
                },
                {
                        "name":"ochinst4",
                        "assignedNode":"c6-rtc28-98s-mgmt.fmg.polo.hpecp.net",
                        "liveNode":"c6-rtc28-99s-mgmt.fmg.polo.hpecp.net",
                        "preferredNode":"",
                        "moveToNode":"",
                        "placementPolicy":"OCH_PLACEMENT_FLOATING",
                        "running":true,
                        "bucketCount":1
                },

REST

curl -u <username> -X GET https://server.sj.us:8443/rest/och-instance/list