DLM Administration
Also available as:
PDF
loading table of contents...

dp dlm policy instance list

This command retrieves replication policy instance information. It prints the last ten policy instances.

Usage

dp dlm policy instance list [command options] [arguments…]

Options

Name Description
--name value, -n name Specifies the replication policy name.
--id value Specifies the replication policy identity value.
--start value Specifies the start time of the policy instance. Supported format: yyyy-MM-dd 'T' HH:mm:ss in UTC
--end value Specifies the end time of the policy instance. Supported format: yyyy-MM-dd 'T' HH:mm:ss in UTC

Parent command

dp dlm policy instance

Example

dp dlm policy instance list --id

[
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@471",
 "startTime": "2019-05-10T07:10:28",
 "endTime": "2019-05-10T07:12:34",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@470",
 "startTime": "2019-05-10T07:05:28",
 "endTime": "2019-05-10T07:07:34",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@469",
 "startTime": "2019-05-10T07:00:28",
 "endTime": "2019-05-10T07:02:33",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@468",
 "startTime": "2019-05-10T06:55:28",
 "endTime": "2019-05-10T06:57:34",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@467",
 "startTime": "2019-05-10T06:50:28",
 "endTime": "2019-05-10T06:52:33",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@466",
 "startTime": "2019-05-10T06:45:28",
 "endTime": "2019-05-10T06:47:34",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@465",
 "startTime": "2019-05-10T06:40:28",
 "endTime": "2019-05-10T06:42:33",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@464",
 "startTime": "2019-05-10T06:35:28",
 "endTime": "2019-05-10T06:37:33",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@463",
 "startTime": "2019-05-10T06:30:28",
 "endTime": "2019-05-10T06:32:33",
 "status": "FAILED"
 },
 {
 "id": "/default/mycluster0/default/mycluster1/HdfsPolicyRename/0/1557331228979/000000001@462",
 "startTime": "2019-05-10T06:25:28",
 "endTime": "2019-05-10T06:27:34",
 "status": "FAILED"
 }
]